Address bug #13343: Sceptre of Fire: Krawg speaks "human".

The actual problem was that the moveto event gave a speech generic to any 
unit, but could be triggered by Krawg.  Solution: a conditional on unit ID
in the event and special dialog for Krawg.
This commit is contained in:
Eric S. Raymond 2009-04-08 00:32:34 +00:00
parent d672850ff8
commit 95a7c0a1a3

View file

@ -184,7 +184,7 @@
[message]
speaker=Krawg
message= _ "Wyy yoo no urrendrr? Alddey woont iz za wagic doun!" # wmllint: no spellcheck
# "Why don't we just surrender? All they want is that magic stone!"
#po: "Why don't we just surrender? All they want is that magic stone!"
[/message]
[message]
speaker=Rugnur
@ -279,10 +279,25 @@
x,y=16,25
side=1
[/filter]
[message]
speaker=unit
message= _ "Look, I've found something here. It looks like a forge, heated by the lava. It looks magic, and it looks hot enough to make the Sceptre."
[/message]
[if]
[variable]
name=unit.id
value=Krawg
[/variable]
[then]
[message]
speaker=Krawg
#po: "(excited bird cry) Look! Forge here!"
message= _ "Raaaawww! Loook! Forge heeeere!"
[/message]
[/then]
[else]
[message]
speaker=unit
message= _ "Look, I've found something here. It looks like a forge, heated by the lava. It looks magic, and it looks hot enough to make the Sceptre."
[/message]
[/else]
[/if]
[message]
speaker=Khrakrahs
message= _ "That pretty metal rock is mine! Get away from it!"