mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-24 22:49:30 +00:00
89 lines
1.7 KiB
INI
89 lines
1.7 KiB
INI
|
|
# All keys here are strings, because there could be variable substitutions
|
|
[tag]
|
|
name="$conditional_wml"
|
|
max=0
|
|
{INSERT_TAG}
|
|
[tag]
|
|
name="true"
|
|
max=infinite
|
|
{INSERT_TAG}
|
|
[/tag]
|
|
[tag]
|
|
name="false"
|
|
max=infinite
|
|
{INSERT_TAG}
|
|
[/tag]
|
|
{FILTER_TAG "have_unit" unit (
|
|
max=infinite
|
|
{INSERT_TAG}
|
|
{DEFAULT_KEY search_recall_list string no}
|
|
{SIMPLE_KEY count string}
|
|
)}
|
|
{FILTER_TAG "have_location" location (
|
|
max=infinite
|
|
{INSERT_TAG}
|
|
{SIMPLE_KEY count string}
|
|
)}
|
|
{FILTER_TAG "have_side" side (
|
|
max=infinite
|
|
{INSERT_TAG}
|
|
{SIMPLE_KEY count string}
|
|
)}
|
|
[tag]
|
|
name="has_achievement"
|
|
max=infinite
|
|
{INSERT_TAG}
|
|
{SIMPLE_KEY content_for string}
|
|
{SIMPLE_KEY id string}
|
|
[/tag]
|
|
[tag]
|
|
name="has_sub_achievement"
|
|
max=infinite
|
|
{INSERT_TAG}
|
|
{SIMPLE_KEY content_for string}
|
|
{SIMPLE_KEY id string}
|
|
{SIMPLE_KEY sub_id string}
|
|
[/tag]
|
|
[tag]
|
|
name="variable"
|
|
max=infinite
|
|
{INSERT_TAG}
|
|
{SIMPLE_KEY name string}
|
|
{SIMPLE_KEY contains any}
|
|
{SIMPLE_KEY equals any}
|
|
{SIMPLE_KEY not_equals any}
|
|
{SIMPLE_KEY numerical_equals s_int}
|
|
{SIMPLE_KEY numerical_not_equals s_int}
|
|
{SIMPLE_KEY greater_than s_int}
|
|
{SIMPLE_KEY greater_than_equal_to s_int}
|
|
{SIMPLE_KEY less_than s_int}
|
|
{SIMPLE_KEY less_than_equal_to s_int}
|
|
{SIMPLE_KEY boolean_equals s_bool}
|
|
{SIMPLE_KEY boolean_not_equals s_bool}
|
|
{SIMPLE_KEY formula formula}
|
|
{SIMPLE_KEY as_type string}
|
|
[/tag]
|
|
[tag]
|
|
name="found_item"
|
|
max=infinite
|
|
{INSERT_TAG}
|
|
{REQUIRED_KEY id string}
|
|
[/tag]
|
|
{EMPTY_TAG "proceed_to_next_scenario" 0 infinite}
|
|
{LINK_TAG "lua"}
|
|
[tag]
|
|
name="and"
|
|
super="$conditional_wml"
|
|
[/tag]
|
|
[tag]
|
|
name="or"
|
|
super="$conditional_wml"
|
|
[/tag]
|
|
[tag]
|
|
name="not"
|
|
super="$conditional_wml"
|
|
[/tag]
|
|
any_tag=yes
|
|
[/tag]
|