Skip to content

Commit

Permalink
Schema: Remove the condition on [endlevel]
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Apr 12, 2018
1 parent ba88c8b commit 749462d
Showing 1 changed file with 24 additions and 29 deletions.
53 changes: 24 additions & 29 deletions data/schema/core/actionwml.cfg
Expand Up @@ -131,36 +131,31 @@
name="endlevel"
max=infinite
{INSERT_TAG}
{REQUIRED_KEY result endlevel_result}
{DEFAULT_KEY result endlevel_result victory}
{SIMPLE_KEY side s_unsigned}
[if]
result=victory
[then]
{DEFAULT_KEY bonus s_bool,s_unsigned yes}
{DEFAULT_KEY carryover_report s_bool yes}
{DEFAULT_KEY save s_bool yes}
{DEFAULT_KEY replay_save s_bool yes}
{DEFAULT_KEY linger_mode s_bool yes}
{DEFAULT_KEY reveal_map s_bool yes}
{SIMPLE_KEY next_scenario string}
{SIMPLE_KEY carryover_percentage int}
{DEFAULT_KEY carryover_add s_bool no}
{SIMPLE_KEY music string_list}
{DEFAULT_KEY end_credits s_bool yes}
{SIMPLE_KEY end_text t_string}
{SIMPLE_KEY end_text_duration s_unsigned}
[tag]
name="result"
max=infinite
{INSERT_TAG}
{REQUIRED_KEY result endlevel_result}
{REQUIRED_KEY side s_unsigned}
{DEFAULT_KEY bonus s_bool,s_unsigned yes}
{SIMPLE_KEY carryover_percentage int}
{DEFAULT_KEY carryover_add s_bool no}
[/tag]
[/then]
[/if]
{DEFAULT_KEY bonus s_bool,s_unsigned yes}
{DEFAULT_KEY carryover_report s_bool yes}
{DEFAULT_KEY save s_bool yes}
{DEFAULT_KEY replay_save s_bool yes}
{DEFAULT_KEY linger_mode s_bool yes}
{DEFAULT_KEY reveal_map s_bool yes}
{SIMPLE_KEY next_scenario string}
{SIMPLE_KEY carryover_percentage int}
{DEFAULT_KEY carryover_add s_bool no}
{SIMPLE_KEY music string_list}
{DEFAULT_KEY end_credits s_bool yes}
{SIMPLE_KEY end_text t_string}
{SIMPLE_KEY end_text_duration s_unsigned}
[tag]
name="result"
max=infinite
{INSERT_TAG}
{REQUIRED_KEY result endlevel_result}
{REQUIRED_KEY side s_unsigned}
{DEFAULT_KEY bonus s_bool,s_unsigned yes}
{SIMPLE_KEY carryover_percentage int}
{DEFAULT_KEY carryover_add s_bool no}
[/tag]
[/tag]
[tag]
name="unit"
Expand Down

0 comments on commit 749462d

Please sign in to comment.