mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 01:03:51 +00:00

Support (fe)male_name key in unit. Support FEMALE_NAME in macros for named units with random gender. Add female variants to generic unit names in DiD, TSG and UtBS.
107 lines
2.9 KiB
INI
107 lines
2.9 KiB
INI
|
|
[tag]
|
|
name="$unit"
|
|
max=0
|
|
{SIMPLE_KEY type string}
|
|
{SIMPLE_KEY variation string}
|
|
{SIMPLE_KEY side s_int}
|
|
{SIMPLE_KEY id string}
|
|
{SIMPLE_KEY gender gender,subst}
|
|
{SIMPLE_KEY name t_string}
|
|
{SIMPLE_KEY male_name t_string}
|
|
{SIMPLE_KEY female_name t_string}
|
|
{DEFAULT_KEY unrenamable s_bool no}
|
|
{DEFAULT_KEY canrecruit s_bool no}
|
|
{SIMPLE_KEY extra_recruit string_list}
|
|
{SIMPLE_KEY level s_int}
|
|
{SIMPLE_KEY upkeep upkeep}
|
|
{SIMPLE_KEY recall_cost s_int}
|
|
{SIMPLE_KEY overlays string_list}
|
|
{SIMPLE_KEY max_hitpoints s_int}
|
|
{SIMPLE_KEY max_experience s_int}
|
|
{SIMPLE_KEY max_moves 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 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 ai_usage}
|
|
{SIMPLE_KEY zoc s_bool}
|
|
{SIMPLE_KEY ellipse string}
|
|
{DEPRECATED_KEY ai_special string} # Not documented
|
|
{SIMPLE_KEY description t_string} # Not documented
|
|
{SIMPLE_KEY flag_icon string} # Not documented
|
|
{FILTER_TAG "filter_recall" unit ()}
|
|
{DATA_TAG variables 0 1 any}
|
|
[tag]
|
|
name="special_note"
|
|
max="infinite"
|
|
{REQUIRED_KEY note t_string}
|
|
[/tag]
|
|
[tag]
|
|
name="modifications"
|
|
{INSERT_TAG}
|
|
{LINK_TAG "units/$modifications/trait"}
|
|
{LINK_TAG "units/$modifications/advancement"}
|
|
{LINK_TAG "units/$modifications/object"}
|
|
[/tag]
|
|
[tag]
|
|
name="ai"
|
|
{SIMPLE_KEY formula formula}
|
|
{SIMPLE_KEY priority formula}
|
|
{SIMPLE_KEY loop_formula formula}
|
|
{DATA_TAG vars 0 1 any}
|
|
[tag]
|
|
name="micro_ai"
|
|
max=infinite
|
|
super="$ai/micro_ai"
|
|
{INSERT_TAG}
|
|
[/tag]
|
|
[tag]
|
|
name="candidate_action"
|
|
max=infinite
|
|
super="$ai/$candidate_action"
|
|
{DEFAULT_KEY stage string main_loop}
|
|
[/tag]
|
|
[/tag]
|
|
{LINK_TAG "event"}
|
|
{LINK_TAG "units/movetype/movement_costs"}
|
|
{LINK_TAG "units/movetype/vision_costs"}
|
|
{LINK_TAG "units/movetype/jamming_costs"}
|
|
{LINK_TAG "units/movetype/defense"}
|
|
{LINK_TAG "units/movetype/resistance"}
|
|
{LINK_TAG "units/unit_type/attack"}
|
|
{LINK_TAG "units/unit_type/abilities"}
|
|
|
|
{SIMPLE_KEY x s_coordinate}
|
|
{SIMPLE_KEY y s_coordinate}
|
|
{SIMPLE_KEY location_id string}
|
|
{SIMPLE_KEY facing s_dir}
|
|
{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 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 s_bool no}
|
|
{DEFAULT_KEY overwrite s_bool no}
|
|
{SIMPLE_KEY placement string}
|
|
[/tag]
|