Bug - Fixed Using a Tales of Spelunking strips me naked

Hellno

Member
The following CLI log should tell the entire tale!

Code:
> use tales of spel

Searching for "Tales of Spelunking"...
Search complete.
Purchasing Tales of Spelunking (1 @ 6,400)...
Purchases complete.
Using 1 Tales of Spelunking...
Encounter: Tales of Spelunking
Updating inventory...
Finished using 1 Tales of Spelunking.
Taking off spelunking fedora...
Equipment changed.
Taking off trusty whip...
Equipment changed.

This only happens since I set the following property (the choice adventure which comes from using the tale):

Code:
set_property("choiceAdventure993", 1);

This is not a purely cosmetic issue, as unequipping the fedora loses you 5hp.
 
Last edited:

Hellno

Member
I forgot to add- I assume this behavior is related to how rocks/torches/skulls are auto-unequipped after any (automated) combat in which they are picked up.
 

lostcalpolydude

Developer
Staff member
It's caused by the fact that when you enter Spelunky limitmode, mafia sets all your equipment slots to empty. Then when it finally sees that you have something equipped, it thinks it needs to restore the state you started in, with everything unequipped, which is a thing that only happens during automation.

I have no idea how to address the issue. My last attempt to deal with something like this didn't accomplish anything.
 

Veracity

Developer
Staff member
Try revision 17205: if "using" an item leaves you in a different limitmode, discard the implicit checkpoint rather than restoring it
 
Top