diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-11-04 14:56:04 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-11-04 14:56:04 -0500 |
| commit | 452289b3b6247bb512b9353e0f2c6a9b7090be55 (patch) | |
| tree | 499bb3c365cb91cb161b8b0e9bf51c6d5c0d72f8 /apworld/client/apworld_runtime.gd | |
| parent | 24a59794f408c6aa878a8477a920a1d7b7d9c4c5 (diff) | |
| download | lingo2-archipelago-452289b3b6247bb512b9353e0f2c6a9b7090be55.tar.gz lingo2-archipelago-452289b3b6247bb512b9353e0f2c6a9b7090be55.tar.bz2 lingo2-archipelago-452289b3b6247bb512b9353e0f2c6a9b7090be55.zip | |
Split map-specific initialization into separate files
Diffstat (limited to 'apworld/client/apworld_runtime.gd')
| -rw-r--r-- | apworld/client/apworld_runtime.gd | 5 |
1 files changed, 5 insertions, 0 deletions
| diff --git a/apworld/client/apworld_runtime.gd b/apworld/client/apworld_runtime.gd index faf8e0c..03568bf 100644 --- a/apworld/client/apworld_runtime.gd +++ b/apworld/client/apworld_runtime.gd | |||
| @@ -15,6 +15,11 @@ func _get_true_path(path): | |||
| 15 | return "lingo2/client/%s" % path | 15 | return "lingo2/client/%s" % path |
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | func path_exists(path): | ||
| 19 | var true_path = _get_true_path(path) | ||
| 20 | return apworld_reader.file_exists(true_path) | ||
| 21 | |||
| 22 | |||
| 18 | func load_script(path): | 23 | func load_script(path): |
| 19 | var true_path = _get_true_path(path) | 24 | var true_path = _get_true_path(path) |
| 20 | 25 | ||
