diff options
author | George L. Albany <Megacake1234@gmail.com> | 2023-05-26 00:23:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-26 00:23:57 +0200 |
commit | ba3e974f30b8a2e7611b753ddc274dec8ff28283 (patch) | |
tree | 31d37e00cf6c010180fb3212b45ac5f70728cc8f /game/src/Autoload/Arguments/ArgumentParser.tscn | |
parent | 0a1a50cde54fee469bc0069978cd27a2bd1a2fb0 (diff) | |
parent | 9843807154aa70324c84692ce9d3b54414e2b5e0 (diff) |
Merge pull request #125 from OpenVicProject/import-fix
Diffstat (limited to 'game/src/Autoload/Arguments/ArgumentParser.tscn')
-rw-r--r-- | game/src/Autoload/Arguments/ArgumentParser.tscn | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/game/src/Autoload/Arguments/ArgumentParser.tscn b/game/src/Autoload/Arguments/ArgumentParser.tscn new file mode 100644 index 0000000..8fda8f1 --- /dev/null +++ b/game/src/Autoload/Arguments/ArgumentParser.tscn @@ -0,0 +1,32 @@ +[gd_scene load_steps=6 format=3 uid="uid://dayjmgc34tqo6"] + +[ext_resource type="Script" path="res://src/Autoload/Arguments/ArgumentParser.gd" id="1_pc7xr"] +[ext_resource type="Script" path="res://src/Autoload/Arguments/ArgumentOption.gd" id="2_4hguj"] + +[sub_resource type="Resource" id="Resource_tq3y4"] +script = ExtResource("2_4hguj") +name = &"help" +aliases = Array[StringName]([&"h"]) +type = 1 +description = "Displays help and quits." +default_value = false + +[sub_resource type="Resource" id="Resource_j1to4"] +script = ExtResource("2_4hguj") +name = &"game-debug" +aliases = Array[StringName]([&"d", &"-debug", &"-debug-mode"]) +type = 1 +description = "Start in debug mode." +default_value = false + +[sub_resource type="Resource" id="Resource_tiax1"] +script = ExtResource("2_4hguj") +name = &"compatibility-mode" +aliases = Array[StringName]([&"-compat"]) +type = 4 +description = "Load Victoria 2 assets from this path." +default_value = "" + +[node name="ArgumentParser" type="Node"] +script = ExtResource("1_pc7xr") +option_array = Array[ExtResource("2_4hguj")]([SubResource("Resource_tq3y4"), SubResource("Resource_j1to4"), SubResource("Resource_tiax1")]) |