wesnoth/data/test/macros/start_position_common_keep_a_b.cfg

60 lines
1.1 KiB
INI

#textdomain wesnoth-test
##
# Starting state:
# Side 1 leader Alice (Elvish Archer)
# Side 2 leader Bob (Orcish Grunt)
#
# Both leaders are on a single keep, adjacent to each other.
# There is no free castle hex to recruit onto.
##
#define COMMON_KEEP_A_B_UNIT_TEST NAME CONTENT
#arg SIDE1_LEADER
Elvish Archer#endarg
#arg SIDE2_LEADER
Orcish Grunt#endarg
#arg SIDE1_CONTROLLER
human#endarg
#arg SIDE2_CONTROLLER
human#endarg
#arg TIME
DAWN#endarg
[test]
name=_ "Unit Test " + {NAME}
map_file=test/maps/2p_single_castle.map
turns=unlimited
id={NAME}
random_start_time=no
is_unit_test=yes
{{TIME}}
[side]
side=1
controller={SIDE1_CONTROLLER}
name=_ "Alice"
type={SIDE1_LEADER}
id=alice
fog=no
team_name=West
[/side]
[side]
side=2
controller={SIDE2_CONTROLLER}
name=_ "Bob"
type={SIDE2_LEADER}
id=bob
fog=no
team_name=East
[/side]
{CONTENT}
[/test]
#enddef