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:
sigurdfdragon 2019-06-30 22:36:17 -04:00 committed by Jeffrey 'Sigurd' Westcoat
parent c94abfaad1
commit 6e2fbc7b1a

View file

@ -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]