wesnoth/data/misc/items.cfg
Eric S. Raymond a8343e7625 Hit the directory-organization problem with a hammer.
As much of the miscellaneous stuff under data/ as possible
goes into a misc/ subdirectory.
2007-05-11 15:37:12 +00:00

747 lines
11 KiB
INI

#
# Wesnoth Items and Objects
#
# Items require a X,Y location
# Objects require a X,Y location and an ID
#
# All images are GPL, many come from Worldforge.
# Worldforge images should be replaced with custom images.
#
# ITEMS
# ITM_BOOK1 ITM_BOOK2 ITM_BOOK3 ITM_BOOK4 ITM_FLOWER1 ITM_FLOWER2
# ITM_FLOWER3 ITM_FLOWER4 ITM_ORNATE1 ITM_ORNATE2 ITM_ROCK1
# ITM_ROCK2 ITM_ROCK3 ITM_ROCK4 ITM_DRAGONSTATUE ITM_MONOLITH1
# ITM_MONOLITH2 ITM_MONOLITH3 ITM_MONOLITH4 ITM_BALL_GREEN ITM_BALL_BLUE
# ITM_BARREL ITM_TREE1 ITM_TREE2 ITM_WELL ITM_WISHINGWELL
#
# OBJECTS
# OBJ_POTION_HEALING (10% HP) OBJ_POTION_POISON (Poisoned)
# OBJ_POTION_HOLY (Holy) OBJ_POTION_STRONG (Strong)
# OBJ_POTION_DECAY (-10% HP) *OBJ_RING_REGENERATION (Regeneration)
# OBJ_RING_SLOW (Slowed) OBJ_STAFF_SPEED (+2 movement)
# OBJ_TRIDENT_STORM (Weapon) OBJ_SWORD_FIRE (Weapon)
# OBJ_SCEPTER_FIRE (Weapon)
#
# ACTIONS
# {ACT_TELEPORT from_x from_y to_x to_y} - Teleport a unit
#
# * Item object or action does not yet function
#
#define ITM_BOOK1 X Y
[item]
x={X}
y={Y}
image=items/book1.png
[/item]
#enddef
#define ITM_BOOK2 X Y
[item]
x={X}
y={Y}
image=items/book2.png
[/item]
#enddef
#define ITM_BOOK3 X Y
[item]
x={X}
y={Y}
image=items/book3.png
[/item]
#enddef
#define ITM_BOOK4 X Y
[item]
x={X}
y={Y}
image=items/book4.png
[/item]
#enddef
#define ITM_FLOWER1 X Y
[item]
x={X}
y={Y}
image=items/flower1.png
[/item]
#enddef
#define ITM_FLOWER2 X Y
[item]
x={X}
y={Y}
image=items/flower2.png
[/item]
#enddef
#define ITM_FLOWER3 X Y
[item]
x={X}
y={Y}
image=items/flower3.png
[/item]
#enddef
#define ITM_FLOWER4 X Y
[item]
x={X}
y={Y}
image=items/flower4.png
[/item]
#enddef
#define ITM_BOX X Y
[item]
x={X}
y={Y}
image=items/box.png
[/item]
#enddef
#define ITM_ORNATE1 X Y
[item]
x={X}
y={Y}
image=items/ornate1.png
[/item]
#enddef
#define ITM_ORNATE2 X Y
[item]
x={X}
y={Y}
image=items/ornate2.png
[/item]
#enddef
#define ITM_ROCK1 X Y
[item]
x={X}
y={Y}
image=scenery/rock1.png
[/item]
#enddef
#define ITM_ROCK2 X Y
[item]
x={X}
y={Y}
image=scenery/rock2.png
[/item]
#enddef
#define ITM_ROCK3 X Y
[item]
x={X}
y={Y}
image=scenery/rock3.png
[/item]
#enddef
#define ITM_ROCK4 X Y
[item]
x={X}
y={Y}
image=scenery/rock4.png
[/item]
#enddef
#define ITM_DRAGONSTATUE X Y
[item]
x={X}
y={Y}
image=items/dragonstatue.png
[/item]
#enddef
#define ITM_MONOLITH1 X Y
[item]
x={X}
y={Y}
image=scenery/monolith1.png
[/item]
#enddef
#define ITM_MONOLITH2 X Y
[item]
x={X}
y={Y}
image=scenery/monolith2.png
[/item]
#enddef
#define ITM_MONOLITH3 X Y
[item]
x={X}
y={Y}
image=scenery/monolith3.png
[/item]
#enddef
#define ITM_MONOLITH4 X Y
[item]
x={X}
y={Y}
image=scenery/monolith4.png
[/item]
#enddef
#define ITM_BALL_GREEN X Y
[item]
x={X}
y={Y}
image=items/ball-green.png
[/item]
#enddef
#define ITM_BALL_BLUE X Y
[item]
x={X}
y={Y}
image=items/ball-blue.png
[/item]
#enddef
#define ITM_BARREL X Y
[item]
x={X}
y={Y}
image=items/barrel.png
[/item]
#enddef
#define ITM_LEANTO X Y
[item]
x={X}
y={Y}
image=scenery/leanto.png
[/item]
#enddef
#define ITM_TREE1 X Y
[item]
x={X}
y={Y}
image=scenery/pine1.png
[/item]
#enddef
#define ITM_TREE2 X Y
[item]
x={X}
y={Y}
image=scenery/pine2.png
[/item]
#enddef
#define ITM_WELL X Y
[item]
x={X}
y={Y}
image=scenery/well.png
[/item]
#enddef
#define ITM_WISHINGWELL X Y
[item]
x={X}
y={Y}
image=scenery/well.png
[/item]
[event]
name=moveto
first_time_only=no
[filter]
x={X}
y={Y}
[/filter]
[message]
id=WISHINGWELL1
speaker=narrator
message= _ "You have come across a wishing well.
What would you like to wish for?"
[option]
id=WISHINGWELL2a
message= _ "A swift victory"
[command]
[gold]
amount=-1
[/gold]
[message]
id=WISHINGWELL2b
speaker=unit
message= _ "With this golden coin, I wish that this battle end in a swift and safe victory."
[/message]
[/command]
[/option]
[option]
id=WISHINGWELL3
message= _ "Lots of gold"
[command]
[gold]
amount=-1
[/gold]
[message]
id=WISHINGWELL3b
speaker=unit
message= _ "I wish this single gold coin be returned ten-fold to me."
[/message]
[/command]
[/option]
[option]
id=WISHINGWELL4
message= _ "Peace throughout Wesnoth."
[command]
[gold]
amount=-1
[/gold]
[message]
id=WISHINGWELL4b
speaker=unit
message= _ "The only thing worth wishing for is peace throughout the land."
[/message]
[/command]
[/option]
[option]
id=WISHINGWELL5
message= _ "Don't make a wish."
[/option]
[/message]
[/event]
#enddef
#define OBJ_POTION_HEALING X Y ID
[item]
x={X}
y={Y}
image=items/potion-red.png
[/item]
[event]
name=moveto
first_time_only=no
[filter]
x={X}
y={Y}
[/filter]
[object]
id={ID}
name= _ "Potion of Healing"
image=items/potion-red.png
duration=level
description= _ "A feeling of well-being overwhelms the drinker."
cannot_use_message= _ "You are not worthy of healing."
[filter]
x={X}
y={Y}
[/filter]
[then]
[removeitem]
x,y={X},{Y}
[/removeitem]
[/then]
[effect]
apply_to=hitpoints
increase=10%
[/effect]
[/object]
[/event]
#enddef
#define OBJ_POTION_POISON X Y ID
[item]
x={X}
y={Y}
image=items/potion-yellow.png
[/item]
[event]
name=moveto
first_time_only=no
[filter]
x={X}
y={Y}
[/filter]
[object]
id={ID}
name= _ "Poison"
image=items/potion-yellow.png
duration=level
description= _ "Poison is seeping through the veins of this unit at this very moment."
cannot_use_message=NONE
[filter]
x={X}
y={Y}
[/filter]
[then]
[removeitem]
x,y={X},{Y}
[/removeitem]
[/then]
[effect]
apply_to=status
add=poisoned
[/effect]
[/object]
[/event]
#enddef
#define OBJ_POTION_HOLY X Y ID
[item]
x={X}
y={Y}
image=items/holy-water.png
[/item]
[event]
name=moveto
first_time_only=no
[filter]
x={X}
y={Y}
[/filter]
[object]
id={ID}
name= _ "Holy Water"
image=items/holy-water.png
duration=level
description= _ "This water will make melee weapons holy."
cannot_use_message= _ "I am not suited to the use of this item! Let another take it."
[filter]
x={X}
y={Y}
[/filter]
[then]
[removeitem]
x,y={X},{Y}
[/removeitem]
[/then]
[effect]
apply_to=attack
range=melee
set_type=arcane
[/effect]
[/object]
[/event]
#enddef
#define OBJ_POTION_STRONG X Y ID
[item]
x={X}
y={Y}
image=items/potion-red.png
[/item]
[event]
name=moveto
first_time_only=no
[filter]
x={X}
y={Y}
[/filter]
[object]
id={ID}
name= _ "Potion of Strength"
image=items/potion-red.png
duration=level
description= _ "Strength is given to the drinker."
cannot_use_message=NONE
[filter]
x={X}
y={Y}
[/filter]
[then]
[removeitem]
x,y={X},{Y}
[/removeitem]
[/then]
[effect]
apply_to=attack
range=melee
increase_damage=1
[/effect]
[effect]
apply_to=hitpoints
increase_total=2
heal_full=yes
[/effect]
[/object]
[/event]
#enddef
#define OBJ_POTION_DECAY X Y ID
[item]
x={X}
y={Y}
image=items/potion-blue.png
[/item]
[event]
name=moveto
first_time_only=no
[filter]
x={X}
y={Y}
[/filter]
[object]
id={ID}
name= _ "Potion of Decay"
image=items/potion-blue.png
duration=level
description= _ "This poor unit drank something really bad."
cannot_use_message=NONE
[filter]
x={X}
y={Y}
[/filter]
[then]
[removeitem]
x,y={X},{Y}
[/removeitem]
[/then]
[effect]
apply_to=hitpoints
increase=-10%
[/effect]
[/object]
[/event]
#enddef
#define OBJ_RING_REGENERATION X Y ID
[item]
x={X}
y={Y}
image=items/ring-red.png
[/item]
[event]
name=moveto
first_time_only=no
[filter]
x={X}
y={Y}
[/filter]
[object]
id={ID}
name= _ "Ring of Regeneration"
image=items/ring-red.png
duration=forever
description= _ "This ring will heal the bearer a little each turn."
cannot_use_message=NONE
[filter]
x={X}
y={Y}
[/filter]
[then]
[removeitem]
x,y={X},{Y}
[/removeitem]
[/then]
[effect]
apply_to=attack
range=melee
set_type=arcane
[/effect]
[/object]
[message]
speaker=narrator
message= _ "Can't set abilities yet, sorry."
[/message]
[/event]
#enddef
#define OBJ_RING_SLOW X Y ID
[item]
x={X}
y={Y}
image=items/ring-brown.png
[/item]
[event]
name=moveto
first_time_only=no
[filter]
x={X}
y={Y}
[/filter]
[object]
id={ID}
name= _ "Ring of Slowness"
image=items/ring-brown.png
duration=forever
description= _ "The bearer of this ring is slowed."
cannot_use_message=NONE
[filter]
x={X}
y={Y}
[/filter]
[then]
[removeitem]
x,y={X},{Y}
[/removeitem]
[/then]
[effect]
apply_to=status
add=slowed
[/effect]
[/object]
[/event]
#enddef
#define OBJ_STAFF_SPEED X Y ID
[item]
x={X}
y={Y}
image=items/staff.png
[/item]
[event]
name=moveto
first_time_only=no
[filter]
x={X}
y={Y}
[/filter]
[object]
id={ID}
name= _ "Staff of Swiftness"
image=items/staff.png
duration=forever
description= _ "This staff will grant the bearer swift movement."
cannot_use_message= _ "Only magical beings can wield such an object."
[filter]
x={X}
y={Y}
[/filter]
[then]
[removeitem]
x,y={X},{Y}
[/removeitem]
[/then]
[effect]
apply_to=movement
increase=2
[/effect]
[/object]
[/event]
#enddef
#define OBJ_TRIDENT_STORM X Y ID
[item]
x={X}
y={Y}
image=items/storm-trident.png
[/item]
[event]
name=moveto
first_time_only=no
[filter]
x={X}
y={Y}
[/filter]
[object]
id={ID}
name= _ "Storm Trident"
image=items/storm-trident.png
duration=forever
description= _ "This trident allows a merman to shoot electric bolts at his enemies!"
cannot_use_message= _ "Only the mermen can use this item!"
[filter]
type=Mermaid Diviner,Mermaid Enchantress,Mermaid Initiate,Mermaid Priestess,Mermaid Siren,Merman Entangler,Merman Fighter,Merman Hoplite,Merman Hunter,Merman Javelineer,Merman Netcaster,Merman Spearman,Merman Triton,Merman Warrior
x,y={X},{Y}
[/filter]
[then]
[removeitem]
x,y={X},{Y}
[/removeitem]
[/then]
[effect]
apply_to=new_attack
name= _ "storm trident"
# need a better attack image, but this will do for now, replaced fireball with lightingbolt
icon=attacks/lightning.png
type=fire
range=ranged
[specials]
{WEAPON_SPECIAL_MAGICAL}
[/specials]
damage=14
number=2
[animation]
[missile_frame]
begin=-150
end=0
image=projectiles/lightning-n.png
image_diagonal=projectiles/lightning-ne.png
[/missile_frame]
[if]
hits=no
[frame]
begin=-200
end=0
sound=lightning-miss.ogg
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-200
end=0
sound=lightning.ogg
[/frame]
[/else]
[/animation]
[/effect]
[/object]
[/event]
#enddef
#define ACT_TELEPORT X1 Y1 X2 Y2
[item]
x={X1}
y={Y1}
image=items/ball-blue.png
[/item]
[item]
x={X2}
y={Y2}
image=items/ball-green.png
[/item]
[event]
name=moveto
first_time_only=no
[filter]
x={X1}
y={Y1}
[/filter]
[teleport]
[filter]
x={X1}
y={Y1}
[/filter]
x={X2}
y={Y2}
[/teleport]
[scroll_to_unit]
x={X2}
y={Y2}
[/scroll_to_unit]
[message]
id=TELEPORT1
speaker=narrator
message= _ "Zap"
[/message]
[/event]
#enddef