How do I edit the quests arraylist in console?

iwannakmsalot

New Member
Nov 15, 2024
1
0
I messed up the land of milky honey quest real bad i.e. (didnt reload a save and am now stuck on the "bad end").
I dont want to edit the save file directly so I dont have to deal with the constant cheater notification, but my knowledge of javascript is almost nonexistent.

After some searching in the forums and in the messing around in the save file I managed to figure out that if I set the flags "flags.HIVE_CORRUPT = undefined;" it gives me the option to cleanse the hive but not actually select it, and if i combine that with editing the quest array directly it allows me to get the good end.

The quest is the 19th array in the quests arraylist (counting from 0), which looks like this [0,1,2,3,4,5,9]. I want to remove the 9 from the array which would allow me to redo the final part of the quest and get the "good end". Ive tried messing around with the questManager option in the console and got nowhere.
 

Tarnakus

Well-Known Member
Oct 31, 2020
296
99
In general I would need a save to experiment - but you can try this:
QuestManager.quests[19].currStates - console should show your current status so [0,1,2,3,4,5,9]. Then do QuestManager.quests[19].currStates.pop() and enter - it should remove the 9 - then save and reload and check if this worked.