Converted the holy amulets in EI to use PICKUPPABLE_ITEM.
This commit is contained in:
parent
b29fc739b3
commit
4968f6ced9
4 changed files with 20 additions and 96 deletions
|
@ -199,33 +199,14 @@
|
|||
[/message]
|
||||
[/event]
|
||||
|
||||
#eternal holy water!
|
||||
[item]
|
||||
x=12
|
||||
y=2
|
||||
image=items/ankh-necklace.png
|
||||
[/item]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
side=1
|
||||
x=12
|
||||
y=2
|
||||
[/filter]
|
||||
{PICKUPPABLE_ITEM holy_amulet 12 2 side=1 items/ankh-necklace.png
|
||||
_"Wearing this amulet will cause every blow you deal to inflict arcane damage!"
|
||||
_"I am not suited to using this item! Let another take it." (
|
||||
[object]
|
||||
id=holyamulet
|
||||
name= _ "Holy Amulet"
|
||||
image=items/ankh-necklace.png
|
||||
duration=forever
|
||||
description= _ "Wearing this amulet will cause every blow you deal to inflict arcane damage!"
|
||||
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=melee
|
||||
|
@ -237,7 +218,7 @@
|
|||
set_type=arcane
|
||||
[/effect]
|
||||
[/object]
|
||||
[/event]
|
||||
)}
|
||||
|
||||
#treasure chest
|
||||
[item]
|
||||
|
|
|
@ -620,33 +620,14 @@
|
|||
{CLEAR_VARIABLE bandit_villages,cleared_villages,bandit_villages_visited}
|
||||
[/event]
|
||||
|
||||
#eternal holy water!
|
||||
[item]
|
||||
x=2
|
||||
y=25
|
||||
image=items/ankh-necklace.png
|
||||
[/item]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
side=1
|
||||
x=2
|
||||
y=25
|
||||
[/filter]
|
||||
{PICKUPPABLE_ITEM holy_amulet 2 25 side=1 items/ankh-necklace.png
|
||||
_"Wearing this amulet will cause every blow you deal to inflict arcane damage!"
|
||||
_"I am not suited to using this item! Let another take it." (
|
||||
[object]
|
||||
id=holyamulet
|
||||
name= _ "Holy Amulet"
|
||||
image=items/ankh-necklace.png
|
||||
duration=forever
|
||||
description= _ "Wearing this amulet will cause every blow you deal to inflict arcane damage!"
|
||||
cannot_use_message= _ "I am not suited to using this item! Let another take it."
|
||||
[then]
|
||||
[removeitem]
|
||||
x=2
|
||||
y=25
|
||||
[/removeitem]
|
||||
[/then]
|
||||
|
||||
[effect]
|
||||
apply_to=attack
|
||||
range=melee
|
||||
|
@ -658,5 +639,5 @@
|
|||
set_type=arcane
|
||||
[/effect]
|
||||
[/object]
|
||||
[/event]
|
||||
)}
|
||||
[/scenario]
|
||||
|
|
|
@ -317,33 +317,14 @@
|
|||
[/message]
|
||||
[/event]
|
||||
|
||||
#eternal holy water!
|
||||
[item]
|
||||
x=20
|
||||
y=12
|
||||
image=items/ankh-necklace.png
|
||||
[/item]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
side=1
|
||||
x=20
|
||||
y=12
|
||||
[/filter]
|
||||
{PICKUPPABLE_ITEM holy_amulet 20 12 side=1 items/ankh-necklace.png
|
||||
_"Wearing this amulet will cause every blow you deal to inflict arcane damage!"
|
||||
_"I am not suited to using this item! Let another take it." (
|
||||
[object]
|
||||
id=holyamulet
|
||||
name= _ "Holy Amulet"
|
||||
image=items/ankh-necklace.png
|
||||
duration=forever
|
||||
description= _ "Wearing this amulet will cause every blow you deal to inflict arcane damage!"
|
||||
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=melee
|
||||
|
@ -355,7 +336,7 @@
|
|||
set_type=arcane
|
||||
[/effect]
|
||||
[/object]
|
||||
[/event]
|
||||
)}
|
||||
|
||||
[event]
|
||||
name=enemies defeated
|
||||
|
|
|
@ -396,33 +396,14 @@
|
|||
#THE START EVENT ENDS HERE#
|
||||
###########################
|
||||
|
||||
#eternal holy water!
|
||||
[item]
|
||||
x=22
|
||||
y=38
|
||||
image=items/ankh-necklace.png
|
||||
[/item]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
side=1
|
||||
x=22
|
||||
y=38
|
||||
[/filter]
|
||||
{PICKUPPABLE_ITEM holy_amulet 22 38 side=1 items/ankh-necklace.png
|
||||
_"Wearing this amulet will cause every blow you deal to inflict arcane damage!"
|
||||
_"I am not suited to using this item! Let another take it." (
|
||||
[object]
|
||||
id=holyamulet
|
||||
name= _ "Holy Amulet"
|
||||
image=items/ankh-necklace.png
|
||||
duration=forever
|
||||
description= _ "Wearing this amulet will cause every blow you deal to inflict arcane damage!"
|
||||
cannot_use_message= _ "I am not suited to using this item! Let another take it."
|
||||
[then]
|
||||
[removeitem]
|
||||
x=22
|
||||
y=38
|
||||
[/removeitem]
|
||||
[/then]
|
||||
|
||||
[effect]
|
||||
apply_to=attack
|
||||
range=melee
|
||||
|
@ -434,7 +415,7 @@
|
|||
set_type=arcane
|
||||
[/effect]
|
||||
[/object]
|
||||
[/event]
|
||||
)}
|
||||
|
||||
#they start recruiting to chase you at turn 20
|
||||
[event]
|
||||
|
|
Loading…
Add table
Reference in a new issue