i7 / counterfeit-monkey

Counterfeit Monkey by Emily Short
http://ifdb.tads.org/viewgame?id=aearuuxv83plclpl
Other
164 stars 30 forks source link

Run-time problem P60: when soap falls onto floor #223

Closed Stealthii closed 10 months ago

Stealthii commented 10 months ago

After removing the sinks, and utilising the soap dispenser, we get a P60 error when the target is no longer the Sink but the Public Convenience:

>wave s-remover at sinks
>take soap
We give the dispenser a squeeze and it deposits some soap on the floor, the sink having been removed from the area.

*** Run-time problem P60: Attempt to set a variable to the wrong kind of object: you wrote 'now target is the location', which sets the value to the Public Convenience - but that doesn't have the kind 'thing'.
angstsmurf commented 10 months ago

Thanks for reporting this! I obviously did not test this part of the code properly.

Fixed by https://github.com/i7/counterfeit-monkey/commit/8c4e715860fbdb4d71ce4935c965ef9e40cde4d5.