https://f95zone.to/threads/how-to-debug-or-cheat-twine-sugarcube-variables.6553/I don't know console in chrome.
https://f95zone.to/threads/how-to-debug-or-cheat-twine-sugarcube-variables.6553/I don't know console in chrome.
where are the variables saved ? can't change my numbers on any resource, they always get revertedOnly patreons have that mate. But you can use console in chrome. You know how?
SugarCube.State.active.variables
SugarCube.State.active.variables.PlayerCoins=5000
thank youFirst of all, to determine the names of the individual variables:
Expand that display and look for anything you want to change. It helps to have a value displayed in game to find the appropriate variable - for example, if you have 1428 coins, it's easy to find that the variable for coins is called PlayerCoins. To change the value, you need to type this:Code:SugarCube.State.active.variables
This would set your coins to 5000. You will have to do something in game to update the display.Code:SugarCube.State.active.variables.PlayerCoins=5000
Same concept goes for all those variables.
thank youto change stuff in your inventory you need to go for :
SugarCube.State.variables.EntityValues[0].ConsumablesInventory
there you will have to check which number the Object has that you want to change, for me Timber was number 9 so to change the amount :
SugarCube.State.variables.EntityValues[0].ConsumablesInventory[9].Quantity = 99999
Tried to gift them, some just lost magic resistance and others denied. Oh, well, I attacked them and f*cked them anyway. I wont take 'no' as an answer from such beauties. (lel)Thank you. Have you tried gifting? That should give affection too. Every NPC will eventually have some quests/activities associated with them which will make them affectionate to you, making the small talk a redundant feature. It's only really there right now in the off-chance the player is like 3-5 affection points away from a milestone.
People answered first but here you go: Open the game with Chrome, then edit char. When in the cave, hit F12, select 'console' tab and type "SugarCube.State.Active.Variables" (will suggest itself some, so it will save you some seconds). Hit enter when all of it is complete, and click the small arrow on the left. It will expand and there you go. You can edit many things in there.where are the variables saved ? can't change my numbers on any resource, they always get reverted
I could swear I've seen this game before. Way before. Is it just looking very much alike, or is there some very old alpha version or smth. floating around somewhere?
[/QOUTE]
yer thinking of The Realm