File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -259,14 +259,14 @@ Global shortcut functions are available for common operations:
259259 totalSlots: 100 , // Total available slots
260260 usedSlots: 45 , // Slots with items
261261 emptySlots: 55 , // Empty slots
262- uniqueItems: 30 , // Number of unique item types
262+ uniqueItems: 30 , // Number of unique item types (should be equal to usedSlots....)
263263 items: [ // Array of non-empty items
264264 {
265265 name: " Yo-kai Watch" ,
266266 id: 12345 ,
267- count: 1
267+ count: 1 // should ideally never be 2+
268268 }
269- // ... more items
269+ // ... more items here lol
270270 ]
271271}
272272```
@@ -286,7 +286,7 @@ watches.forEach(watch => {
286286 console .log (` ${ watch .name } at slot ${ watch .index } ` );
287287});
288288
289- // Give player 99 of first item
289+ // set num1 to 99 (will usually nuke (invalidate/delete) the item :<<<)
290290if (stats .usedSlots > 0 ) {
291291 SaveAPI .setItem (0 , { num1: 99 });
292292}
You can’t perform that action at this time.
0 commit comments