This commit is contained in:
Gouvernathor 2024-03-29 21:04:30 +01:00
parent 17ebf50170
commit 750d8dff4d

View File

@ -57,7 +57,6 @@ init python hide:
del persistent.achievements
init python:
class Achievements(object):
"""
Useless class, can't be rolled out because of pickle and save compatibility.
@ -70,9 +69,7 @@ init python:
if not renpy.loadable(i.icon):
raise IOError(repr(i.icon))
@staticmethod
def status(id):
return achievement.has(id)
status = staticmethod(achievement.has)
@staticmethod
def unlock(id, silent=False):
@ -86,9 +83,7 @@ init python:
renpy.play('sounds/achievement.ogg')
__popup_stack.append(id)
@staticmethod
def lock(self, id):
achievement.clear(id)
lock = staticmethod(achievement.clear)
def achievement_sortfilter(lst, sortby="A-z", filtering=None):
"""