Add new Micro AI parameters to schema and emacs_mode

This commit is contained in:
mattsc 2021-03-21 16:23:59 -07:00
parent af86d00e91
commit 4562bbae56
2 changed files with 3 additions and 1 deletions

View file

@ -1460,6 +1460,8 @@
{DEPRECATED_KEY id string}
{REQUIRED_KEYS_LOC_OR_XY waypoint string_list s_range_list}
{SIMPLE_KEY attack string_list}
{DEFAULT_KEY attack_range s_int 1}
{DEFAULT_KEY attack_invisible_enemies s_bool no}
{DEFAULT_KEY ca_score s_unsigned 300000}
{DEFAULT_KEY one_time_only s_bool no}
{DEFAULT_KEY out_and_back s_bool no}

View file

@ -1151,7 +1151,7 @@
("y" "x" "terrain"))
("micro_ai"
("avoid_unit" "filter_location_enemy" "mobilize_condition" "avoid" "filter_location_wander" "filter_location" "unit" "probability" "filter_second" "filter")
("weapon" "disable_move_leader_to_keep" "avoid_type" "tusklet_type" "tusker_type" "rabbit_type" "deer_type" "active_side_leader" "leadership_y" "leadership_x" "healer_y" "healer_x" "enemy_y" "enemy_x" "y" "x" "show_messages" "rest_turns" "use_straight_line" "avoid_enemies" "unique_goals" "release_all_units_at_goal" "release_unit_at_goal" "ca_id" "seek_x" "distance" "aggression" "injured_units_only" "stationary" "out_and_back" "attack" "one_time_only" "waypoint_y" "waypoint_x" "id" "skip_low_gold_recruiting" "ca_score" "pack_size" "show_pack_number" "action" "ai_type" "side"))
("weapon" "disable_move_leader_to_keep" "avoid_type" "tusklet_type" "tusker_type" "rabbit_type" "deer_type" "active_side_leader" "leadership_y" "leadership_x" "healer_y" "healer_x" "enemy_y" "enemy_x" "y" "x" "show_messages" "rest_turns" "use_straight_line" "avoid_enemies" "unique_goals" "release_all_units_at_goal" "release_unit_at_goal" "ca_id" "seek_x" "distance" "aggression" "injured_units_only" "stationary" "out_and_back" "attack" "attack_range" "attack_invisible_enemies" "one_time_only" "waypoint_y" "waypoint_x" "id" "skip_low_gold_recruiting" "ca_score" "pack_size" "show_pack_number" "action" "ai_type" "side"))
("petrify" nil
("id"))
("background_layer" nil