Schema: Support for turns=unlimited
This commit is contained in:
parent
79eed95f98
commit
12e78df9f4
3 changed files with 13 additions and 2 deletions
|
@ -295,7 +295,7 @@
|
|||
name="modify_turns"
|
||||
max=infinite
|
||||
{INSERT_TAG}
|
||||
{SIMPLE_KEY value s_unsigned}
|
||||
{SIMPLE_KEY value s_unsigned,turns}
|
||||
{SIMPLE_KEY add s_int}
|
||||
{SIMPLE_KEY current s_unsigned}
|
||||
[/tag]
|
||||
|
|
|
@ -301,7 +301,7 @@
|
|||
{SIMPLE_KEY next_scenario string}
|
||||
{SIMPLE_KEY name t_string}
|
||||
{SIMPLE_KEY map_data map_data}
|
||||
{DEFAULT_KEY turns int -1}
|
||||
{DEFAULT_KEY turns turns unlimited}
|
||||
{DEFAULT_KEY turn_at int 1}
|
||||
{DEFAULT_KEY random_start_time bool,int_list no} # Note: Is it random_start_time or random_starting_time? (There's some uses of the latter)
|
||||
{DEPRECATED_KEY music string}
|
||||
|
|
|
@ -364,6 +364,17 @@
|
|||
[/type]
|
||||
[/union]
|
||||
[/type]
|
||||
[type]
|
||||
name="turns"
|
||||
[union]
|
||||
[type]
|
||||
link=unsigned
|
||||
[/type]
|
||||
[type]
|
||||
value="-1|unlimited"
|
||||
[/type]
|
||||
[/union]
|
||||
[/type]
|
||||
{SUBST_TYPE coordinates}
|
||||
[tag]
|
||||
name="root"
|
||||
|
|
Loading…
Add table
Reference in a new issue