Schema: side=global is valid in [*_global_variable]

This commit is contained in:
Celtic Minstrel 2018-04-07 10:45:48 -04:00
parent 56cbabcae9
commit 2a5e8c7b41
2 changed files with 7 additions and 3 deletions

View file

@ -1483,7 +1483,7 @@
name="clear_global_variable"
{REQUIRED_KEY global string}
{REQUIRED_KEY namespace string}
{SIMPLE_KEY side s_unsigned}
{DEFAULT_KEY side s_unsigned,global global}
{DEFAULT_KEY immediate s_bool no}
[/tag]
[tag]
@ -1491,14 +1491,14 @@
{REQUIRED_KEY from_global string}
{REQUIRED_KEY to_local string}
{REQUIRED_KEY namespace string}
{SIMPLE_KEY side s_unsigned}
{DEFAULT_KEY side s_unsigned,global global}
[/tag]
[tag]
name="set_global_variable"
{REQUIRED_KEY to_global string}
{REQUIRED_KEY from_local string}
{REQUIRED_KEY namespace string}
{SIMPLE_KEY side s_unsigned}
{DEFAULT_KEY side s_unsigned,global global}
{DEFAULT_KEY immediate s_bool no}
[/tag]
[tag]

View file

@ -405,6 +405,10 @@
{SUBST_TYPE terrain_code}
{SUBST_TYPE dir}
{SUBST_TYPE int_percent}
[type]
name="global"
value="global"
[/type]
[tag]
name="root"
min=1