Schema: [do_command] supports a sequence of commands

This commit is contained in:
Celtic Minstrel 2021-04-10 12:11:49 -04:00
parent 0839feed00
commit 0aded2dcf8

View file

@ -517,6 +517,7 @@
# Don't link from SaveWML schema since these accept variable substitution
[tag]
name="attack"
max=infinite
{INSERT_TAG}
{SIMPLE_KEY weapon s_int}
{SIMPLE_KEY defender_weapon s_int}
@ -533,12 +534,14 @@
[/tag]
[tag]
name="move"
max=infinite
{SIMPLE_KEY x s_range_list}
{SIMPLE_KEY y s_range_list}
{SIMPLE_KEY skip_sighted string} # TODO: Make this an enum type
[/tag]
[tag]
name="recruit"
max=infinite
{INSERT_TAG}
{SIMPLE_KEY type string}
{SIMPLE_KEY x s_int}
@ -551,6 +554,7 @@
[/tag]
[tag]
name="recall"
max=infinite
{INSERT_TAG}
{SIMPLE_KEY value string}
{SIMPLE_KEY x s_int}
@ -564,10 +568,12 @@
[/tag]
[tag]
name="disband"
max=infinite
{SIMPLE_KEY value string}
[/tag]
[tag]
name="fire_event"
max=infinite
{INSERT_TAG}
{SIMPLE_KEY raise string}
[tag]
@ -584,11 +590,13 @@
[/tag]
[tag]
name="lua_ai"
max=infinite
deprecated=yes
{SIMPLE_KEY code string}
[/tag]
[tag]
name="custom_command"
max=infinite
{SIMPLE_KEY name string}
{DATA_TAG "data" 1 1}
[/tag]