Minor change in Dwarven Doors (if you have bandit-like units) (part 1 from 2)

This commit is contained in:
Francisco Muñoz 2004-04-12 20:53:54 +00:00
parent 4f3315eda4
commit 6bc18a0f71

View file

@ -353,6 +353,83 @@ Defeat:
description=Konrad
message="This does not please me, but I will listen to your advice."
[/message]
#define TALK_ABOUT_UNCLE
[set_variable]
name=unclesmuggler
value=1
[/set_variable]
#enddef
[role]
type=Footpad,Thug,Poacher,Outlaw,Trapper,Bandit
role=Advisor
[/role]
[recall]
role=Advisor
[/recall]
[message]
id=msg11_17a
role=Advisor
message="My uncle used to smuggle...err I mean trade food for the dwarves, he could get them grain carts under the very ugly noses of the orcs."
[/message]
[message]
id=msg11_17b
role=Advisor
message="He must be hidding in one of those villages."
[/message]
[if]
[have_unit]
type=Footpad
[/have_unit]
[then]
{TALK_ABOUT_UNCLE}
[/then]
[else]
[have_unit]
type=Outlaw
[/have_unit]
[then]
{TALK_ABOUT_UNCLE}
[/then]
[/else]
[/if]
[/event]
[event]
name=moveto
[filter]
side=1
x=18
y=24
[/filter]
[if]
[variable]
name=unclesmuggler
numerical_equals=1
[/variable]
[then]
[unit]
side=1
type=Bandit
description=Uncle Somf
x=18
y=24
[/unit]
[message]
description=Uncle Somf
id=msg11_17c
message="Haw! My niece's friends are mine friends too"
[/message]
# [message]
# description=Uncle Somf
# id=msg11_17d
# message="The best way to reach the old doors is to use one of the service tunnels, they have old railcarts and you could travel fast across them."
# [/message]
[set_variable]
name=unclesmuggler
value=2
[/set_variable]
[/then]
[/if]
[/event]
{deaths.cfg}