Removal of items in scenarios.

This commit is contained in:
Cédric Duval 2004-07-18 21:42:06 +00:00
parent 0389827945
commit 3f75e237ab
6 changed files with 39 additions and 7 deletions

View file

@ -789,6 +789,12 @@ find_vacant=yes
duration=forever
description=This water will make all of your weapons holy for your whole life!
cannot_use_message="I am not suited to using this item! Let another take it."
[then]
[removeitem]
x=12
y=4
[/removeitem]
[/then]
[effect]
apply_to=attack
range=short

View file

@ -163,6 +163,12 @@ Defeat:
duration=forever
description=This water will make all of your weapons holy for your whole life!
cannot_use_message="I am not suited to using this item! Let another take it."
[then]
[removeitem]
x=12
y=2
[/removeitem]
[/then]
[effect]
apply_to=attack
range=short

View file

@ -392,6 +392,12 @@ name=die
duration=forever
description=This water will make all of your weapons holy for your whole life!
cannot_use_message="I am not suited to using this item! Let another take it."
[then]
[removeitem]
x=30
y=15
[/removeitem]
[/then]
[effect]
apply_to=attack
range=short

View file

@ -234,6 +234,12 @@ Defeat:
duration=forever
description=This water will make all of your weapons holy for your whole life!
cannot_use_message="I am not suited to using this item! Let another take it."
[then]
[removeitem]
x=20
y=12
[/removeitem]
[/then]
[effect]
apply_to=attack
range=short

View file

@ -531,12 +531,18 @@ Defeat
duration=level
description=This potion contains a strange fluid designed to imbue a weapon with the power of cold.
[effect]
[filter]
unit=Revenant
[filter]
unit=Revenant
x={X}
y={Y}
[/filter]
[then]
[removeitem]
x={X}
y={Y}
[/filter]
[/removeitem]
[/then]
[effect]
apply_to=attack
range=short
set_type=cold

View file

@ -364,6 +364,11 @@ If the destination is far away a unit may need more than one turn to reach it. T
[filter]
description=Konrad
[/filter]
[then]
[removeitem]
x,y=21,22
[/removeitem]
[/then]
[effect]
apply_to=new_attack
name=staff
@ -395,9 +400,6 @@ If the destination is far away a unit may need more than one turn to reach it. T
[/missile_frame]
[/effect]
[/object]
[removeitem]
x,y=21,22
[/removeitem]
[/event]
[event]
name=moveto