- Apr 18, 2018
- 160
- 171
It works fine
ok so ,aparently it does work, i mean it unlocks the gallery but i cant see anything new. its the same gallery from 0.7. am i missing someting ?TOPython:def check_achievement(str): if achievements_labels.has_key(str): achLabel = achievements_labels[str] if persistent.achievements.has_key(achLabel) == False: persistent.achievements[achLabel] = True # renpy.save_persistent() print "Achievement reached!" return True return False def get_achievement(achLabel): if persistent.achievements.has_key(achLabel) and persistent.achievements[achLabel] == True: return True return False
False ==>TruePython:def check_achievement(str): if achievements_labels.has_key(str): achLabel = achievements_labels[str] if persistent.achievements.has_key(achLabel) == False: persistent.achievements[achLabel] = True # renpy.save_persistent() print "Achievement reached!" return True return True def get_achievement(achLabel): if persistent.achievements.has_key(achLabel) and persistent.achievements[achLabel] == True: return True return True