''' Based on the "MetalChicken" unlocker; Chicken Alive ''' init 999 python hide: Replay.locked = property(lambda _: False, lambda *_: None) class RenpyFwd: seen_image = seen_label = lambda *_: True def __getattr__(self, name): return getattr(renpy, name) renpyfwd = RenpyFwd() class PatchedContext(renpy.sl2.slast.SLContext): @property def scope(self): return getattr(self, "_scope_", {}) @scope.setter def scope(self, val): self._scope_ = val screen_name = renpy.display.screen.current_screen().screen_name[0] if screen_name == "scene_gallery": self.scope["renpy"] = renpyfwd renpy.sl2.slast.SLContext = PatchedContext