Or, more simply, just type SugarCube.State.active.variables.inventory.menuInv.food.list[0]["qty"] = 9000I'm using Google Translate so there may be errors.
Cheats, we all love cheats, gentlemen. Using SugarCube.State.active.variables and changing the food indicator doesn’t work? I have a solution!!! Applause for me. Thank you, thank you. So, you follow the path as in the screenshot that I will try to attach to the message and change the indicator of any food in your warehouse. In my case, my family will die from overeating citrus fruits.
Perhaps someone has already written about this method, but it doesn’t matter. Enjoy
list[x] is the index of whatever you want to edit
You can add whatever you want to your inventory by designating the next unused inventory slot. So, if you have four items, adding a fifth looks like SugarCube.State.active.variables.inventory.menuInv.inventory.list[4] = {"key": "wood", "qty": 9000}
"key" is whatever the name of what you want to add is. It's not necessarily what you see printed in the game (eg. Green Crown in game is "greenCrown" in the key--don't take that as a fool-proof pattern, though).
Last edited: