diff --git a/data/schema/core/actionwml.cfg b/data/schema/core/actionwml.cfg index 2f56d2d91b66..ae050d99edeb 100644 --- a/data/schema/core/actionwml.cfg +++ b/data/schema/core/actionwml.cfg @@ -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] diff --git a/data/schema/game_config.cfg b/data/schema/game_config.cfg index 03eaab68f582..1e216705509e 100644 --- a/data/schema/game_config.cfg +++ b/data/schema/game_config.cfg @@ -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