def save_savefile(): tts.enter_chat("~save~") tts.wait_for_image("res/chat/saving_complete.png", 300) return tts.get_notebook("new_savefile")
def upgrade_savefile(savefile_content): tts.create_notebook("Savefile", savefile_content) tts.enter_chat("~upgrade~") time.sleep(UPGRADE_TIME) return tts.get_notebook("new_savefile")
def load_savefile(savefile_content): tts.create_notebook("Savefile", savefile_content) tts.enter_chat("~load~") time.sleep(LOAD_TIME)