SPOILERS: Difference between revisions
added variables section - only half complete - and will move it later |
mNo edit summary |
||
| Line 3: | Line 3: | ||
Peruse at risk of spoiling the enjoyment that discovering this stuff for yourself during gameplay might bring. | Peruse at risk of spoiling the enjoyment that discovering this stuff for yourself during gameplay might bring. | ||
'''? MAYBE MOVE CONSOLE COMMANDS ETC. TO A SEPARATE SECTION?''' | '''? MAYBE MOVE CONSOLE COMMANDS ETC. TO A SEPARATE SECTION?''' | ||
Latest revision as of 19:42, 24 July 2026
Answers to questions that many players ask but that many other players don't want to see, are stashed away here.
Peruse at risk of spoiling the enjoyment that discovering this stuff for yourself during gameplay might bring.
? MAYBE MOVE CONSOLE COMMANDS ETC. TO A SEPARATE SECTION?
Game variables
Skill variables for players are stored in SugarCube.State.variables
Skill variables for NPCs are found in the NPC object (e.g. for Lovisa, Av1 = SugarCube.State.variables.npc.av1).
Story variables are marked with $ in game files, and are found in SugarCube.State.variables ; variable names are generally self-explanatory.
ownenergy ownplasma owngrenade owngl
MC armors: ownpadded ownleather ownhleather owncombat ownduraplate ownweave ownstealth ownhulc
NPC armors: value = number from 0 to 200; padded = ownslpadded, leather = ownslleather, heavy leather = ownslhleather, combat armore = ownslcombat, weve = ownslweave, duraplate = ownslduraplate, stealth = ownslstealth, aetheria = ownslaet, WEGA = ownslwega, HULC = ownslhulc
Melee weapons: cane = ownwhipstick, combat knife = ownknife, combat staff = ownstaff, spear = ownspear, sledge hammer = ownsledge, sword = ownsword, wakizashi = ownwaki, power katana = ownpowerkatana, greatsword = owngsword, great axe = owngaxe,
Ranged weapons: owncrossbow ownpistol ownrevolver ownshotgun ownprifle ownrifle ownautorifle own50c owncoil
Ammo: crossbow = bolts, 9mm pistol and pipegun =a9mm, rifle = a306, autorifle = a556, shotgun shells = a12g, revolver bullets = a45, energy cells for plasma rifles = aenergy, coilgun MAGs = acoil, grenades = agl, WEGA cybercannon = awega .
Editing saves
What, why, how, when to use, pros and cons...
TBA
How to use Console
What, why, how, when to use, pros and cons...
TBA
Console Commands
Most (maybe all?) of these variable changes can also be made by editing saves, but it is quicker to use console, and easier in some cases for instance where a variable is undefined so you have to create it.
Also note that these changes are not guaranteed to work - some are old, and may no longer be supported in the current version of the game.
And as ever, save your game before tinkering with it in case you break it and have to go back.
N.B. in the examples below, SugarCube.State.active.variables tends to be used, whereas SugarCube.State.variables usually suffices; the .active part may be unnecessary. (Anyone who understands the relevance of this part of the variables, please explain!)
| CONSOLE COMMAND | EFFECT/PURPOSE | NOTE | |
|---|---|---|---|
| Abortion | SugarCube.State.active.variables.npc.avNNN.pregnant = 0
|
removes an NPC's pregnancy, using the NPC's GirlID number, where NNN is a number between 1 and 199. | GirlID number rarely matches an NPC's AVxxx image set for Avs above 99. |
| Addiction | SugarCube.State.active.variables.npc.av##.reserved2 = 0
|
To remove Addiction | might be deprecated and replaced by new trait now |
| Black Scorpion | SugarCube.State.active.variables.raien1 = 1
|
Resets the Black Scorpion POI so you can find him again | these details vague; someone please improve |
| Red River Circlet | SugarCube.State.active.variables.ownrrc = 1
|
adds the Red River Circlet to the MC's inventory | |
| Control | SugarCube.State.active.variables.faction.ikaanos.control = NN
|
Sets the Control of Ikaanos to a number between 1 and 99
|
values below 1 or above 99 may function but aren't recommended. |
| Corruption | SugarCube.State.active.variables.faction.ikaanos.corruption = NN
|
Sets the Corruption of Ikaanos to a number between 1 and 99
|
values below 1 or above 99 may function but aren't recommended. |
| Goran Ika | SugarCube.State.active.variables.terrormonster = 1
|
to spawn the big charuck in Kasey's Park; alternatively, set = 0 so it can respawn.
|
|
| Haruto Pai | SugarCube.State.active.variables.oldmonk = undefined
|
Resets the bounty quest leading to meeting Haruto Pai and Talika; alternatively set the variable to = 2 then find his POI at the docks.
|
|
| Hate | ...hatemodoff = true
|
to disable | new feature; not fully implemented yet; may not be in public version yet. |
| Holy Hammer | SugarCube.State.active.variables.ownmal = 1
|
adds the Christian faction hero's unique sacred mallet to the MC's inventory | |
| Influence | SugarCube.State.active.variables.credit = NNNNNNNNN
|
Sets how much Influence the MC has | values from 0 to 999,999,999 OK |
| Juno | SugarCube.State.active.variables.ownjuno = 0
|
resets the Juno encounter so you can find her as POI in Stokke Hills | |
| Kate | SugarCube.State.active.variables.redsen2 = 1
|
Kate's gang will make a comeback in the hills of South Redhaven | |
| Kelly | SugarCube.State.active.variables.ownkelly = 0
|
makes Kelly appear as an interactable POI in the MC's yard | |
| Liberty | SugarCube.State.active.variables.faction.ikaanos.lib = NN
|
Sets the Liberty of Ikaanos to a number between 1 and 99 | values below 1 or above 99 may function but aren't recommended. |
| Lovisa | |||
| Mae | |||
| Mai-Lynn | |||
| Michelle | |||
| Money | SugarCube.State.active.variables.cash = NNNNNNNNN
|
Sets how many Ikaanian dollars the MC has | values from 0 to 999,999,999 OK |
| Monk | SugarCube.State.active.variables.stokkeen2 = 1
|
sets the lone cultist monk to appear in Stokke Hills | |
| Multi-capture | SugarCube.State.variables.dd = 1
|
allows capture of multiple captives per fight if the limit is one | deprecated; this is now standard |
| Prosperity | SugarCube.State.variables.faction.ikaanos.prosp = NN
|
Sets the Prosperity of Ikaanos to a number between 1 and 99
|
values below 1 or above 99 may function but aren't recommended. |
| QUITTING | set "$interacting = false"
|
should allow you to lave any screen via clicking any button | these details vague; someone please improve |
| SAVING | SugarCube.Save.export("MORday"+SugarCube.State.active.variables.days+"time"+SugarCube.State.active.variables.daycount+"comment")
|
to force a save at a point of the game where this option isn't presented on the screen | useful for capturing issues to submit as bug reports |
| Stormchild | SugarCube.State.active.variables.stormchild = undefined
|
resets Stormchild if you've lost her | may not work now that Stormchild's availability has changed; someone please confirm |
| Talika | see Haruto Pai above | to get Talika if you've lost her, one way is to re-do the Haruto Pai quest (see above) | |
| TIME | SugarCube.State.active.variables.gameDate.setHours(HH)
then
|
To set the time, first add a number between 1-24 for HOURS, then add a number from 0-59 for MINUTES. | |
| Tuner | SugarCube.State.active.variables.tuner = 1
|
makes Tuner appear at his POI in the south-west of the Docks | |
| Urban Titans | SugarCube.State.active.variables.anta1.state = 1
|
resets the Urban Titans to appear if you've lost them | these details vague; someone please improve |
| Urchin | SugarCube.State.variables.killurch = 99
|
resets the Urchin to appear if you've lost her | these details vague; someone please improve |
| Valkyria | SugarCube.State.active.variables.slavtest = undefined
|
resets the Valkyria encounter so you can find her as a POI in Marston Avenue again | probably made irrelevant or non-functional by recent changes |
| Workshop | SugarCube.State.variables.oldworkshop = 1
|
to keep the original Workshop cap of 10 workers |