const root = 'C:/Users/ASUS/Documents/deepseek-harness/default-workspace/desktop-pet/' const m = require(root + 'out/shared/petState.js') const s = m.createSave(0) s.money = 100 const before = s.exp const r1 = m.useItem(s, 'riceball') console.log('use riceball:', r1.ok, '| exp +', s.exp - before, '| satiety', s.stats.satiety) const r2 = m.useItem(s, 'oil') console.log('use oil (liked):', r2.message, '| paraffin', s.stats.paraffin, '(30*1.2=36 =>', s.stats.paraffin === 75 + 36, ')') const r3 = m.useItem(s, 'cake') console.log('use cake (liked):', r3.message, '| satiety', s.stats.satiety, '| mood', s.stats.mood) const r4 = m.useItem(s, 'book1') console.log('use book:', r4.ok, '| exp now', s.exp, '(40+80+5+12+2=139 =>', s.exp === 139, ')') const daily = m.levelOf(s.exp) console.log('level:', daily)