Anyone got a list of sugarcube vars to change, or by chance know any of the functions to do stuff like remove a piece of clothing, or add an item to inventory? Ive done a little digging and I can change basic stuff like stats and money, but I dont know how to find the functions that I assume are there for something like something.under_bottom.remove() etc.
I mostly enjoy just fucking around in tehse games, but these sugarcube ones just have a metric fuckton of vars to dig through in console and I dont know the best way to dig through the code itself to find this stuff. I have a very basic javascript knowledge.
I have searched through this thread a bit looking for basic shit like "sugarcube" and other keywords but didnt find much.
Actually, I think I found out a bit that will help me find more. I found tons of actions in the html file by searching for text in the debug screen. Then I did more digging to find out how to run those actions (which seem to be called widgets?). The following is one I made by mixing the two that seems to work correctly (strips you nude and stores the clothes in the wardrobe so they are not lost)
Wikifier.wikifyEval(' <<undress "wardrobe">>');
This one just takes off a single piece:
Wikifier.wikifyEval(' <<underlowerundress "wardrobe">>');