diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2026-02-23 12:46:37 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2026-02-23 12:46:37 -0500 |
| commit | 0049d2995ca09324a9c973460c0a4acf97eba907 (patch) | |
| tree | 1f684326f01c4fdfdb9a555f31d51821b9b3323e /apworld/client/manager.gd | |
| parent | e38516f2436cb7c403da86d6d588b75644c8cdcf (diff) | |
| download | lingo2-archipelago-0049d2995ca09324a9c973460c0a4acf97eba907.tar.gz lingo2-archipelago-0049d2995ca09324a9c973460c0a4acf97eba907.tar.bz2 lingo2-archipelago-0049d2995ca09324a9c973460c0a4acf97eba907.zip | |
Add settings to prioritize locations on current map
Diffstat (limited to 'apworld/client/manager.gd')
| -rw-r--r-- | apworld/client/manager.gd | 5 |
1 files changed, 5 insertions, 0 deletions
| diff --git a/apworld/client/manager.gd b/apworld/client/manager.gd index f10a0b7..9b790c0 100644 --- a/apworld/client/manager.gd +++ b/apworld/client/manager.gd | |||
| @@ -14,6 +14,7 @@ var connection_history = [] | |||
| 14 | var show_compass = false | 14 | var show_compass = false |
| 15 | var show_locations = false | 15 | var show_locations = false |
| 16 | var show_minimap = false | 16 | var show_minimap = false |
| 17 | var prioritize_current_map = false | ||
| 17 | 18 | ||
| 18 | var client | 19 | var client |
| 19 | var keyboard | 20 | var keyboard |
| @@ -130,6 +131,9 @@ func _init(): | |||
| 130 | if data.size() > 6: | 131 | if data.size() > 6: |
| 131 | show_minimap = data[6] | 132 | show_minimap = data[6] |
| 132 | 133 | ||
| 134 | if data.size() > 7: | ||
| 135 | prioritize_current_map = data[7] | ||
| 136 | |||
| 133 | # We need to create a mapping from material paths to the original colors of | 137 | # We need to create a mapping from material paths to the original colors of |
| 134 | # those materials. We force reload the materials, overwriting any custom | 138 | # those materials. We force reload the materials, overwriting any custom |
| 135 | # textures, and create the mapping. We then reload the textures in case the | 139 | # textures, and create the mapping. We then reload the textures in case the |
| @@ -185,6 +189,7 @@ func saveSettings(): | |||
| 185 | show_compass, | 189 | show_compass, |
| 186 | show_locations, | 190 | show_locations, |
| 187 | show_minimap, | 191 | show_minimap, |
| 192 | prioritize_current_map, | ||
| 188 | ] | 193 | ] |
| 189 | file.store_var(data, true) | 194 | file.store_var(data, true) |
| 190 | file.close() | 195 | file.close() |
