about summary refs log tree commit diff stats
path: root/Archipelago/client.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-28 13:19:53 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-28 13:19:53 -0500
commit17a51b95bd07c5291192ab6036550cb238c1ef4f (patch)
treefd426d7b352227b9f497003b087d4a36e87d1901 /Archipelago/client.gd
parent36d849d38730c04a89efc94e9f75ccaa8c7c0dd8 (diff)
downloadlingo-archipelago-0.16.0.tar.gz
lingo-archipelago-0.16.0.tar.bz2
lingo-archipelago-0.16.0.zip
Add ghost multiplayer v0.16.0
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r--Archipelago/client.gd6
1 files changed, 5 insertions, 1 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index 96e6d41..cdae2d8 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd
@@ -3,6 +3,7 @@ extends Node
3var SCRIPT_doorControl 3var SCRIPT_doorControl
4var SCRIPT_effects 4var SCRIPT_effects
5var SCRIPT_location 5var SCRIPT_location
6var SCRIPT_multiplayer
6var SCRIPT_mypainting 7var SCRIPT_mypainting
7var SCRIPT_notifier 8var SCRIPT_notifier
8var SCRIPT_panel 9var SCRIPT_panel
@@ -12,6 +13,7 @@ var ap_server = ""
12var ap_user = "" 13var ap_user = ""
13var ap_pass = "" 14var ap_pass = ""
14var confusify_world = false 15var confusify_world = false
16var enable_multiplayer = false
15 17
16const my_version = "0.15.1" 18const my_version = "0.15.1"
17const ap_version = {"major": 0, "minor": 4, "build": 0, "class": "Version"} 19const ap_version = {"major": 0, "minor": 4, "build": 0, "class": "Version"}
@@ -137,6 +139,8 @@ func _init():
137 _datapackages = data[3] 139 _datapackages = data[3]
138 if data.size() > 4: 140 if data.size() > 4:
139 confusify_world = data[4] 141 confusify_world = data[4]
142 if data.size() > 5:
143 enable_multiplayer = data[5]
140 144
141 processDatapackages() 145 processDatapackages()
142 146
@@ -431,7 +435,7 @@ func saveSettings():
431 var file = File.new() 435 var file = File.new()
432 file.open("user://settings/archipelago", File.WRITE) 436 file.open("user://settings/archipelago", File.WRITE)
433 437
434 var data = [ap_server, ap_user, ap_pass, _datapackages, confusify_world] 438 var data = [ap_server, ap_user, ap_pass, _datapackages, confusify_world, enable_multiplayer]
435 file.store_var(data, true) 439 file.store_var(data, true)
436 file.close() 440 file.close()
437 441