From 9b5c160f60a4e6c679b0c1afca82d9a58523eaab Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 30 Jan 2026 10:50:01 -0500 Subject: Worked on daed-only mode --- apworld/client/main.gd | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'apworld/client/main.gd') diff --git a/apworld/client/main.gd b/apworld/client/main.gd index c90d6e7..8cac24c 100644 --- a/apworld/client/main.gd +++ b/apworld/client/main.gd @@ -48,6 +48,7 @@ func _ready(): installScriptExtension(runtime.load_script("panel.gd")) installScriptExtension(runtime.load_script("pauseMenu.gd")) installScriptExtension(runtime.load_script("player.gd")) + installScriptExtension(runtime.load_script("rteMenu.gd")) installScriptExtension(runtime.load_script("saver.gd")) installScriptExtension(runtime.load_script("teleport.gd")) installScriptExtension(runtime.load_script("teleportListener.gd")) @@ -229,7 +230,11 @@ func startGame(): Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) global.user = ap.getSaveFileName() global.universe = "lingo" - global.map = "the_entry" + + if ap.daedalus_only: + global.map = "daedalus" + else: + global.map = "the_entry" unlocks.resetCollectables() unlocks.resetData() @@ -263,6 +268,7 @@ func startGame(): clearResourceCache("res://objects/nodes/teleport.tscn") clearResourceCache("res://objects/nodes/worldport.tscn") clearResourceCache("res://objects/scenes/menus/pause_menu.tscn") + clearResourceCache("res://objects/scenes/menus/rte_inner.tscn") var paintings_dir = DirAccess.open("res://objects/meshes/paintings") if paintings_dir: @@ -273,7 +279,7 @@ func startGame(): clearResourceCache("res://objects/meshes/paintings/" + file_name) file_name = paintings_dir.get_next() - switcher.switch_map.call_deferred("res://objects/scenes/the_entry.tscn") + switcher.switch_map.call_deferred("res://objects/scenes/%s.tscn" % global.map) func connectionUnsuccessful(error_message): -- cgit 1.4.1