Schema: Fix travis error by allowing additional keys in two situations
1. Allow carryover_percentage & carryover_add with victory_when_enemies_defeated=no. Code from newfrenchy83 2. Allow use of current_time in [time_area].
This commit is contained in:
parent
c94abfaad1
commit
6e2fbc7b1a
1 changed files with 5 additions and 0 deletions
|
@ -302,6 +302,10 @@
|
|||
{SIMPLE_KEY carryover_percentage int}
|
||||
{SIMPLE_KEY carryover_add bool}
|
||||
[/then]
|
||||
[else]
|
||||
{DEFAULT_KEY carryover_percentage int 80}
|
||||
{DEFAULT_KEY carryover_add bool no}
|
||||
[/else]
|
||||
[/if]
|
||||
{DEFAULT_KEY remove_from_carryover_on_defeat bool yes}
|
||||
{DEFAULT_KEY disallow_recall bool no}
|
||||
|
@ -468,6 +472,7 @@
|
|||
max=infinite
|
||||
{SIMPLE_KEY x range_list}
|
||||
{SIMPLE_KEY y range_list}
|
||||
{DEFAULT_KEY current_time int 0}
|
||||
{LINK_TAG "scenario/time"}
|
||||
[/tag]
|
||||
[tag]
|
||||
|
|
Loading…
Add table
Reference in a new issue