Use a role for the first humans encountered.

Prevents interaction problems between their deaths and the main human
army.
This commit is contained in:
Simon Forsyth 2012-06-30 16:22:17 +00:00
parent 402f269657
commit ba4a23a004

View File

@ -529,11 +529,6 @@
value=1
[/set_variable]
[set_variable]
name=humans_killed
value=0
[/set_variable]
[set_variable]
name=healing_rune1
value=1
@ -1107,7 +1102,8 @@
y=42,43,43,44
[/move_unit_fake]
{NAMED_UNIT 2 (Javelineer) 33 44 (Bellerin) ( _ "Bellerin") (upkeep=free)}
{NAMED_UNIT 2 (Javelineer) 33 44 (Bellerin) ( _ "Bellerin") (upkeep=free
role=human_scout)}
[redraw]
[/redraw]
@ -1119,7 +1115,8 @@
y=42,43,43,44
[/move_unit_fake]
{NAMED_UNIT 2 (Swordsman) 34 44 (Durth) ( _ "Durth") (upkeep=free)}
{NAMED_UNIT 2 (Swordsman) 34 44 (Durth) ( _ "Durth") (upkeep=free
role=human_scout)}
[redraw]
[/redraw]
@ -1131,7 +1128,8 @@
y=42,43,43
[/move_unit_fake]
{NAMED_UNIT 2 (Bowman) 34 43 (Othgar) ( _ "Othgar") (upkeep=free)}
{NAMED_UNIT 2 (Bowman) 34 43 (Othgar) ( _ "Othgar") (upkeep=free
role=human_scout)}
[redraw]
[/redraw]
@ -1147,7 +1145,8 @@
y=42,43,43,44
[/move_unit_fake]
{NAMED_UNIT 2 (Javelineer) 33 44 (Bellerin) ( _ "Bellerin") (upkeep=free)}
{NAMED_UNIT 2 (Javelineer) 33 44 (Bellerin) ( _ "Bellerin") (upkeep=free
role=human_scout)}
[redraw]
[/redraw]
@ -1159,7 +1158,8 @@
y=42,43,43,44
[/move_unit_fake]
{NAMED_UNIT 2 (Swordsman) 34 44 (Durth) ( _ "Durth") (upkeep=free)}
{NAMED_UNIT 2 (Swordsman) 34 44 (Durth) ( _ "Durth") (upkeep=free
role=human_scout)}
[redraw]
[/redraw]
@ -1171,7 +1171,8 @@
y=42,43,43
[/move_unit_fake]
{NAMED_UNIT 2 (Longbowman) 34 43 (Othgar) ( _ "Othgar") (upkeep=free)}
{NAMED_UNIT 2 (Longbowman) 34 43 (Othgar) ( _ "Othgar") (upkeep=free
role=human_scout)}
[redraw]
[/redraw]
@ -1187,7 +1188,8 @@
y=42,43,43,44
[/move_unit_fake]
{NAMED_UNIT 2 (Javelineer) 33 44 (Bellerin) ( _ "Bellerin") (upkeep=free)}
{NAMED_UNIT 2 (Javelineer) 33 44 (Bellerin) ( _ "Bellerin") (upkeep=free
role=human_scout)}
[redraw]
[/redraw]
@ -1199,7 +1201,8 @@
y=42,43,43,44
[/move_unit_fake]
{NAMED_UNIT 2 (Swordsman) 34 44 (Durth) ( _ "Durth") (upkeep=free)}
{NAMED_UNIT 2 (Swordsman) 34 44 (Durth) ( _ "Durth") (upkeep=free
role=human_scout)}
[redraw]
[/redraw]
@ -1211,7 +1214,8 @@
y=42,43,43
[/move_unit_fake]
{NAMED_UNIT 2 (Master Bowman) 34 43 (Othgar) ( _ "Othgar") (upkeep=free)}
{NAMED_UNIT 2 (Master Bowman) 34 43 (Othgar) ( _ "Othgar") (upkeep=free
role=human_scout)}
[redraw]
[/redraw]
@ -1318,18 +1322,14 @@
[filter]
side=2
role=human_scout
[/filter]
[set_variable]
name=humans_killed
add=1
[/set_variable]
[if]
[variable]
name=humans_killed
numerical_equals=3
[/variable]
[have_unit]
role=human_scout
count=0
[/have_unit]
[then]
# Vary dialogue depending on what kind of sea life the humans originally
@ -2948,14 +2948,6 @@
side=1
[/remove_shroud]
# this command is to keep Durth, Othgar, and Bellerin's death counter
# from firing once side 2 humans start dying
[set_variable]
name=humans_killed
add=10
[/set_variable]
{CHECK_EXPLORER}
[message]
speaker=$explorer.id
@ -5190,7 +5182,6 @@
animate=no
[/kill]
{CLEAR_VARIABLE humans_killed}
{CLEAR_VARIABLE broke_circle}
{CLEAR_VARIABLE healing_rune1,healing_rune2}