diff options
author | hop311 <hop3114@gmail.com> | 2024-01-13 23:04:26 +0100 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-01-14 12:29:22 +0100 |
commit | 03ecd41a38acff5588f01568bdf5d61067a266ce (patch) | |
tree | ac4893e2a7cc33a5f60d910717da51962a9ceef7 /game/src/Game/Autoload/Argument/ArgumentParser.tscn | |
parent | dd008b3c0aa27be0cbe9a0ed5a9811c76f9cb13a (diff) |
Added mod command line option
Diffstat (limited to 'game/src/Game/Autoload/Argument/ArgumentParser.tscn')
-rw-r--r-- | game/src/Game/Autoload/Argument/ArgumentParser.tscn | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/game/src/Game/Autoload/Argument/ArgumentParser.tscn b/game/src/Game/Autoload/Argument/ArgumentParser.tscn index 32339ec..4da5cab 100644 --- a/game/src/Game/Autoload/Argument/ArgumentParser.tscn +++ b/game/src/Game/Autoload/Argument/ArgumentParser.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=7 format=3 uid="uid://dayjmgc34tqo6"] +[gd_scene load_steps=8 format=3 uid="uid://dayjmgc34tqo6"] [ext_resource type="Script" path="res://src/Game/Autoload/Argument/ArgumentParser.gd" id="1_pc7xr"] [ext_resource type="Script" path="res://src/Game/Autoload/Argument/ArgumentOption.gd" id="2_4hguj"] @@ -22,7 +22,7 @@ default_value = false [sub_resource type="Resource" id="Resource_tiax1"] script = ExtResource("2_4hguj") name = &"base-path" -aliases = Array[StringName]([]) +aliases = Array[StringName]([&"b"]) type = 4 description = "Load Victoria 2 assets from this exact path." default_value = "" @@ -30,12 +30,20 @@ default_value = "" [sub_resource type="Resource" id="Resource_sh3m3"] script = ExtResource("2_4hguj") name = &"search-path" -aliases = Array[StringName]([]) +aliases = Array[StringName]([&"s"]) type = 4 description = "Search for Victoria 2 assets at this path." default_value = "" +[sub_resource type="Resource" id="Resource_8ab4j"] +script = ExtResource("2_4hguj") +name = &"mod" +aliases = Array[StringName]([&"m"]) +type = 34 +description = "Load Victoria 2 mods with these names." +default_value = PackedStringArray() + [node name="ArgumentParser" type="Node"] editor_description = "SS-56" script = ExtResource("1_pc7xr") -option_array = Array[ExtResource("2_4hguj")]([SubResource("Resource_tq3y4"), SubResource("Resource_j1to4"), SubResource("Resource_tiax1"), SubResource("Resource_sh3m3")]) +option_array = Array[ExtResource("2_4hguj")]([SubResource("Resource_tq3y4"), SubResource("Resource_j1to4"), SubResource("Resource_tiax1"), SubResource("Resource_sh3m3"), SubResource("Resource_8ab4j")]) |