init 999 python: def replay_scope_setter(self, scope): import copy scope["pc"] = pc = copy.copy(scope["pc"]) scope["day"] = 1000000 pc.voyeurism = pc.knowledge = pc.lewdness = pc.money = float("inf") pc.first_masturbate_together = pc.first_finger_receive = "" pc.first_oral_give = 0 self._scope_ = scope for char_name in char_dict: scope[char_name] = char = copy.copy(scope[char_name]) char.scenes = float("inf") Replay.scope = property(lambda self: getattr(self, "_scope_", {}), replay_scope_setter) Replay.locked = property(lambda _: False, lambda *_: None) _m1_00gallery__GalleryImage.check_unlock = _m1_00gallery__GalleryButton.check_unlock = lambda *_: True class CharScenes: def __init__(self, s): self.scenes=s char_item_mapping=dict( bff=Replay_items_bff, a=Replay_items_ashley, e=Replay_items_ezri, s=Replay_items_scarlett, h=Replay_items_hannah, alex=Replay_items_alex, ap=Replay_items_april, em=Replay_items_emily, fr=Replay_items_freya, lg=Replay_items_library_girl, mad=Replay_items_madelline, maple=Replay_items_maple, mia=Replay_items_mia, vns=Replay_items_vns, ) char_dict = {k: CharScenes(len(scenes)) for k,scenes in char_item_mapping.items()} vars_dict = dict( physics_scenes=len(Replay_items_mei), art_scenes=len(Replay_items_harriet), day=float("inf"), living_room_scenes_BFF_Ezri=float("inf"), living_room_scenes_Scarlett_Ezri=float("inf"), hannah_ashley_living_room_scenes=float("inf"), rpg_scenes=float("inf"), ) 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.startswith("replay"): self._scope_.update(char_dict) self._scope_.update(vars_dict) renpy.sl2.slast.SLContext = PatchedContext