# # 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_BALL1 ITM_BALL2 # 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_SCEPTRE_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=item-book1.png [/item] #enddef #define ITM_BOOK2 X Y [item] x={X} y={Y} image=item-book2.png [/item] #enddef #define ITM_BOOK3 X Y [item] x={X} y={Y} image=item-book3.png [/item] #enddef #define ITM_BOOK4 X Y [item] x={X} y={Y} image=item-book4.png [/item] #enddef #define ITM_FLOWER1 X Y [item] x={X} y={Y} image=item-flower1.png [/item] #enddef #define ITM_FLOWER2 X Y [item] x={X} y={Y} image=item-flower2.png [/item] #enddef #define ITM_FLOWER3 X Y [item] x={X} y={Y} image=item-flower3.png [/item] #enddef #define ITM_FLOWER4 X Y [item] x={X} y={Y} image=item-flower4.png [/item] #enddef #define ITM_BOX X Y [item] x={X} y={Y} image=item-box.png [/item] #enddef #define ITM_ORNATE1 X Y [item] x={X} y={Y} image=item-ornate1.png [/item] #enddef #define ITM_ORNATE2 X Y [item] x={X} y={Y} image=item-ornate2.png [/item] #enddef #define ITM_ROCK1 X Y [item] x={X} y={Y} image=item-rock1.png [/item] #enddef #define ITM_ROCK2 X Y [item] x={X} y={Y} image=item-rock2.png [/item] #enddef #define ITM_ROCK3 X Y [item] x={X} y={Y} image=item-rock3.png [/item] #enddef #define ITM_ROCK4 X Y [item] x={X} y={Y} image=item-rock4.png [/item] #enddef #define ITM_DRAGONSTATUE X Y [item] x={X} y={Y} image=item-dragonstatue.png [/item] #enddef #define ITM_MONOLITH1 X Y [item] x={X} y={Y} image=item-monolith1.png [/item] #enddef #define ITM_MONOLITH2 X Y [item] x={X} y={Y} image=item-monolith2.png [/item] #enddef #define ITM_MONOLITH3 X Y [item] x={X} y={Y} image=item-monolith3.png [/item] #enddef #define ITM_MONOLITH4 X Y [item] x={X} y={Y} image=item-monolith4.png [/item] #enddef #define ITM_BALL1 X Y [item] x={X} y={Y} image=item-ball1.png [/item] #enddef #define ITM_BALL2 X Y [item] x={X} y={Y} image=item-ball2.png [/item] #enddef #define ITM_BARREL X Y [item] x={X} y={Y} image=item-barrel.png [/item] #enddef #define ITM_LEANTO X Y [item] x={X} y={Y} image=item-leanto.png [/item] #enddef #define ITM_TREE1 X Y [item] x={X} y={Y} image=item-pine1.png [/item] #enddef #define ITM_TREE2 X Y [item] x={X} y={Y} image=item-pine2.png [/item] #enddef #define ITM_WELL X Y [item] x={X} y={Y} image=item-well.png [/item] #enddef #define ITM_WISHINGWELL X Y [item] x={X} y={Y} image=item-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=misc/item-healingpotion.png [/item] [event] name=moveto first_time_only=no [filter] x={X} y={Y} [/filter] [object] id={ID} name=Healing image=misc/item-healingpotion.png duration=level description="A feeling of well-being overwhelms the drinker." cannot_use_message="You are not worthy of healing." [effect] apply_to=hitpoints increase=10% [/effect] [/object] [/event] #enddef #define OBJ_POTION_POISON X Y ID [item] x={X} y={Y} image=item-potion2.png [/item] [event] name=moveto first_time_only=no [filter] x={X} y={Y} [/filter] [object] id={ID} name=Poison image=item-potion2.png duration=level description="Poison is seeping through the veins of this unit at this very moment." cannot_use_message=NONE [effect] apply_to=status add=poisoned [/effect] [/object] [/event] #enddef #define OBJ_POTION_HOLY X Y ID [item] x={X} y={Y} image=misc/item-holywater.png [/item] [event] name=moveto first_time_only=no [filter] x={X} y={Y} [/filter] [object] id={ID} name=Holy Water image=misc/item-holywater.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." [effect] apply_to=attack range=short set_type=holy [/effect] [/object] [/event] #enddef #define OBJ_POTION_STRONG X Y ID [item] x={X} y={Y} image=item-potion3.png [/item] [event] name=moveto first_time_only=no [filter] x={X} y={Y} [/filter] [object] id={ID} name=Strong image=item-potion3.png duration=level description="Strength is given to the drinker." cannot_use_message=NONE [effect] apply_to=attack range=short 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=item-potion4.png [/item] [event] name=moveto first_time_only=no [filter] x={X} y={Y} [/filter] [object] id={ID} name=Decay image=item-potion4.png duration=level description="This poor unit drank something really bad." cannot_use_message=NONE [effect] apply_to=hitpoints increase=-10% [/effect] [/object] [/event] #enddef #define OBJ_RING_REGENERATION X Y ID [item] x={X} y={Y} image=item-ring1.png [/item] [event] name=moveto first_time_only=no [filter] x={X} y={Y} [/filter] [object] id={ID} name=Ring of Regeneration image=item-ring1.png duration=forever description="This ring will heal the bearer a little each turn." cannot_use_message=NONE [effect] apply_to=attack range=short set_type=holy [/effect] [/object] [message] id=OBJERROR 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=item-ring2.png [/item] [event] name=moveto first_time_only=no [filter] x={X} y={Y} [/filter] [object] id={ID} name=Ring of Slowness image=item-ring2.png duration=forever description="The bearer of this ring is slowed." cannot_use_message=NONE [effect] apply_to=status add=slowed [/effect] [/object] [/event] #enddef #define OBJ_STAFF_SPEED X Y ID [item] x={X} y={Y} image=misc/item-staff.png [/item] [event] name=moveto first_time_only=no [filter] x={X} y={Y} [/filter] [object] id={ID} name=Staff of Swiftness image=misc/item-staff.png duration=forever description="This staff will grant the bearer swift movement." cannot_use_message="Only magical beings can wield such an object." [effect] apply_to=movement increase=2 [/effect] [/object] [/event] #enddef #define OBJ_TRIDENT_STORM X Y ID [item] x={X} y={Y} image=misc/item-stormtrident.png [/item] [event] name=moveto first_time_only=no [filter] x={X} y={Y} [/filter] [object] id={ID} name=Storm Trident image=misc/item-stormtrident.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=Merman,Merman Lord,Triton [/filter] [effect] apply_to=new_attack name=storm trident type=fire range=long special=magical damage=14 number=2 [sound] time=-200 sound=lightning.wav [/sound] [missile_frame] begin=-100 end=0 image=lightning-n.png image_diagonal=lightning-ne.png [/missile_frame] [/effect] [/object] [/event] #enddef #define OBJ_SWORD_FIRE X Y ID [item] x={X} y={Y} image=misc/item-flamesword.png [/item] [event] name=moveto first_time_only=no [filter] side=1 x={X} y={Y} [/filter] [object] id={ID} name=Flaming Sword image=misc/item-flamesword.png duration=forever description="" cannot_use_message="Only the leader of an army can wield this sword!" [filter] description=Konrad [/filter] [effect] apply_to=new_attack name=flaming sword type=fire range=short special=magical damage=15 number=4 [sound] time=-200 sound=fire.wav [/sound] [/effect] [/object] [/event] #enddef #define OBJ_SCEPTRE_FIRE X Y ID [item] x={X} y={Y} image=misc/item-sceptreoffire.png [/item] [event] name=moveto first_time_only=no [filter] side=1 x={X} y={Y} [/filter] [object] id={ID} name=Sceptre of Fire image=misc/item-sceptreoffire.png duration=forever description="This ancient Sceptre was forged by the Dwarves. A symbol of the kingship of Wesnoth, the Sceptre has the power to shoot fireballs at enemies of the bearer!" cannot_use_message="This is the Sceptre of Fire. Only a true successor to the throne can possibly dare to take this!" [filter] type=Princess,Commander,Lord [/filter] [effect] apply_to=new_attack name=sceptre of fire type=fire range=long special=magical damage=16 number=4 [sound] time=-200 sound=fire.wav [/sound] [missile_frame] begin=-100 end=0 image=fireball.png image_diagonal=fireball.png [/missile_frame] [/effect] [/object] [/event] #enddef #define ACT_TELEPORT X1 Y1 X2 Y2 [item] x={X1} y={Y1} image=item-ball2.png [/item] [item] x={X2} y={Y2} image=item-ball1.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