Schema: Fix a few more instances of keys not accepting variable substitution

This commit is contained in:
Celtic Minstrel 2018-04-03 22:17:51 -04:00
parent 0fba06c977
commit 6845b48697
2 changed files with 3 additions and 2 deletions

View file

@ -209,7 +209,7 @@
max=infinite
super="$filter_location"
{INSERT_TAG}
{REQUIRED_KEY terrain terrain_code}
{REQUIRED_KEY terrain s_terrain_code}
{DEFAULT_KEY layer terrain_layer both}
{DEFAULT_KEY replace_if_failed s_bool no}
[/tag]
@ -1209,7 +1209,7 @@
name="random_placement"
max=infinite
{INSERT_TAG}
{REQUIRED_KEY num_items f_unsigned}
{REQUIRED_KEY num_items f_unsigned,s_unsigned}
{REQUIRED_KEY variable string}
{DEFAULT_KEY min_distance s_unsigned 0}
{DEFAULT_KEY allow_less s_bool no}

View file

@ -382,6 +382,7 @@
[/type]
{SUBST_TYPE coordinates}
{SUBST_TYPE range_list}
{SUBST_TYPE terrain_code}
[tag]
name="root"
min=1