UtBS S06b Fix Dwarf Sergeant confusing a dust devil or human for a troll (#6198)

* Fix Dwarf Sergeant confusing a dust devil or human for a troll #6196

(cherry picked from commit 3b951350c8)
This commit is contained in:
Descacharrado 2021-11-10 04:15:14 +01:00 committed by Wedge009
parent 64c475f830
commit 9ada328249

View file

@ -671,18 +671,10 @@
message= _ "Oh let me guess, a big nasty troll, right? And when I turn around you flee like the cowards you are. Do you think Im stupid enough to fall for that one?"
[/message]
[if]
[variable]
name=unit.race
equals=quenoth
[/variable]
[or]
[variable]
name=unit.race
equals=elf
[/variable]
[/or]
[then]
[switch]
variable=unit.race
[case]
value=quenoth, elf
[message]
x,y=9,36
message= _ "No, its an elf!"
@ -697,8 +689,9 @@
id=Dwarf Sergeant
message= _ "What...?! Right... First task, boys, kill the intruder!"
[/message]
[/then]
[else]
[/case]
[case]
value=troll
[message]
x,y=9,36
message= _ "Im too young to die, save me!"
@ -713,8 +706,60 @@
speaker=Dwarf Sergeant
message= _ "Oh, grow a backbone... Huh? Hey, for once the runt was telling the truth. Come on, boys, kill the intruder!"
[/message]
[/case]
[case]
value=human
[message]
x,y=10,34
message= _ "No, its a... human?"
[/message]
[modify_unit]
[filter]
id=Dwarf Sergeant
[/filter]
facing=se
[/modify_unit]
[message]
speaker=Dwarf Sergeant
message= _ "What is a human doing here? Come on, boys, kill the intruder!"
[/message]
[/case]
[case]
value=monster
[message]
x,y=10,34
#po: "it" is referring to the dust devil
message= _ "No, its a... what is that?"
[/message]
[modify_unit]
[filter]
id=Dwarf Sergeant
[/filter]
facing=se
[/modify_unit]
[message]
speaker=Dwarf Sergeant
#po: "it" is referring to the dust devil
message= _ "What in the Earths Guts is that? Kill it!"
[/message]
[/case]
[else]
[message]
x,y=9,36
message= _ "No, look behind you!"
[/message]
[modify_unit]
[filter]
id=Dwarf Sergeant
[/filter]
facing=se
[/modify_unit]
[message]
id=Dwarf Sergeant
message= _ "What...?! Right... First task, boys, kill the intruder!"
[/message]
[/else]
[/if]
[/switch]
[/event]
# funny death message from one of the conscripts