I've come across a bug. I've attached the error report.
On exploration.rpy line 572 and 573, it adds a persistent item. This is for the Steam achievement "True Detective" where you have to click on every item in the game.
Code: Select all
elif result == "phone":
if "phonetable" in found:
t "What else is here?"
else:
$ found.append("phonetable")
python: # line 572
persistent.itemcount.add("phone") # line 573
In script.rpy:
Code: Select all
label splashscreen:
python:
if type(persistent.itemcount) is not set:
persistent.itemcount = set(persistent.itemcount)
Code: Select all
init:
define persistent.itemcount = set( )
After an exploration, you return and this code is present (to register if you have looked at everything):
Code: Select all
if len(persistent.itemcount) == 31:
$achievement.grant("detective")
init:
$achievement.register("detective")