# The script of the game goes in this file. define e = Character("SDK") label start: scene black centered "Click to load game data" $ GAME_LOADER() label loop: menu: "Quest editor": jump quest_editors "Quit": return label restore: menu: "Save changes": python: f=open(get_path("quests.editor.json"), "r") alltquests["Main"]=json.load(f) f.close() f=open(get_path("quests.json"), "w") json.dump(alltquests, f, indent=1, separators=(',', ': ')) f.close() pass "Continue editing": pass jump loop