def do_date(self): if self.rel_level < 0: return "I only my closest friends." else: instance = DateChoose(bg_img=datingsim.snapshot()) instance.main_loop() if instance.success: return instance else: """The player changed his mind and pressed cancel.""" return "What?"
def statistics_fn(): text = datingsim.player.stats_dump() CoolDialogue(text, snapshot=datingsim.snapshot()).main_loop()
def inventory_fn(): text = datingsim.player.inventory.dump() d = CoolDialogue(text, snapshot=datingsim.snapshot()) d.main_loop()