Schema: Accept variable substitution in [unit]
This commit is contained in:
parent
67c6de0a4e
commit
3d05628fcf
1 changed files with 29 additions and 29 deletions
|
@ -4,35 +4,35 @@
|
|||
max=0
|
||||
{SIMPLE_KEY type string}
|
||||
{SIMPLE_KEY variation string}
|
||||
{SIMPLE_KEY side int}
|
||||
{SIMPLE_KEY side s_int}
|
||||
{SIMPLE_KEY id string}
|
||||
{SIMPLE_KEY gender gender}
|
||||
{SIMPLE_KEY name t_string}
|
||||
{DEFAULT_KEY unrenamable bool no}
|
||||
{DEFAULT_KEY canrecruit bool no}
|
||||
{DEFAULT_KEY unrenamable s_bool no}
|
||||
{DEFAULT_KEY canrecruit s_bool no}
|
||||
{SIMPLE_KEY extra_recruit string_list}
|
||||
{SIMPLE_KEY level int}
|
||||
{SIMPLE_KEY level s_int}
|
||||
{SIMPLE_KEY upkeep upkeep}
|
||||
{SIMPLE_KEY recall_cost int}
|
||||
{SIMPLE_KEY recall_cost s_int}
|
||||
{SIMPLE_KEY overlays string_list}
|
||||
{SIMPLE_KEY max_hitpoints int}
|
||||
{SIMPLE_KEY max_experience int}
|
||||
{SIMPLE_KEY max_moves int}
|
||||
{SIMPLE_KEY vision int}
|
||||
{SIMPLE_KEY max_attacks int}
|
||||
{SIMPLE_KEY max_hitpoints s_int}
|
||||
{SIMPLE_KEY max_experience s_int}
|
||||
{SIMPLE_KEY max_moves s_int}
|
||||
{SIMPLE_KEY vision s_int}
|
||||
{SIMPLE_KEY max_attacks s_int}
|
||||
{SIMPLE_KEY profile string}
|
||||
{SIMPLE_KEY small_profile string}
|
||||
{SIMPLE_KEY role string}
|
||||
{SIMPLE_KEY unit_description t_string}
|
||||
{SIMPLE_KEY hp_bar_scaling real}
|
||||
{SIMPLE_KEY xp_bar_scaling real}
|
||||
{SIMPLE_KEY hp_bar_scaling s_real}
|
||||
{SIMPLE_KEY xp_bar_scaling s_real}
|
||||
{SIMPLE_KEY traits_description t_string}
|
||||
{SIMPLE_KEY alignment string}
|
||||
{SIMPLE_KEY advances_to string_list}
|
||||
{SIMPLE_KEY race string}
|
||||
{SIMPLE_KEY undead_variation string}
|
||||
{SIMPLE_KEY usage usage}
|
||||
{SIMPLE_KEY zoc bool}
|
||||
{SIMPLE_KEY zoc s_bool}
|
||||
{SIMPLE_KEY ellipse string}
|
||||
{DEPRECATED_KEY ai_special string} # Not documented
|
||||
{SIMPLE_KEY description t_string} # Not documented
|
||||
|
@ -83,29 +83,29 @@
|
|||
name="units/unit_type/abilities"
|
||||
[/link]
|
||||
|
||||
{SIMPLE_KEY x int}
|
||||
{SIMPLE_KEY y int}
|
||||
{SIMPLE_KEY x s_int}
|
||||
{SIMPLE_KEY y s_int}
|
||||
{SIMPLE_KEY location_id string}
|
||||
{SIMPLE_KEY facing dir}
|
||||
{SIMPLE_KEY goto_x int}
|
||||
{SIMPLE_KEY goto_y int}
|
||||
{SIMPLE_KEY hitpoints int}
|
||||
{SIMPLE_KEY experience int}
|
||||
{SIMPLE_KEY moves int}
|
||||
{SIMPLE_KEY vision int} # Not documented
|
||||
{SIMPLE_KEY jamming int} # Not documented
|
||||
{SIMPLE_KEY resting bool}
|
||||
{SIMPLE_KEY attacks_left int}
|
||||
{SIMPLE_KEY goto_x s_int}
|
||||
{SIMPLE_KEY goto_y s_int}
|
||||
{SIMPLE_KEY hitpoints s_int}
|
||||
{SIMPLE_KEY experience s_int}
|
||||
{SIMPLE_KEY moves s_int}
|
||||
{SIMPLE_KEY vision s_int} # Not documented
|
||||
{SIMPLE_KEY jamming s_int} # Not documented
|
||||
{SIMPLE_KEY resting s_bool}
|
||||
{SIMPLE_KEY attacks_left s_int}
|
||||
[tag]
|
||||
name="status"
|
||||
{ANY_KEY bool}
|
||||
[/tag]
|
||||
|
||||
{DEFAULT_KEY generate_name bool yes}
|
||||
{DEFAULT_KEY random_traits bool yes}
|
||||
{DEFAULT_KEY random_gender bool no}
|
||||
{DEFAULT_KEY generate_name s_bool yes}
|
||||
{DEFAULT_KEY random_traits s_bool yes}
|
||||
{DEFAULT_KEY random_gender s_bool no}
|
||||
# TODO: Not quite sure if this is valid for all unit contexts
|
||||
{DEFAULT_KEY passable bool no}
|
||||
{DEFAULT_KEY overwrite bool no}
|
||||
{DEFAULT_KEY passable s_bool no}
|
||||
{DEFAULT_KEY overwrite s_bool no}
|
||||
{SIMPLE_KEY placement string}
|
||||
[/tag]
|
||||
|
|
Loading…
Add table
Reference in a new issue