diff options
Diffstat (limited to 'items')
-rw-r--r-- | items/equip-2hand/_include.xml | 1 | ||||
-rw-r--r-- | items/equip-2hand/item906_KidBook.xml | 15 | ||||
-rw-r--r-- | items/racesprite/_include.xml | 4 | ||||
-rw-r--r-- | items/racesprite/item-110_Troll.xml (renamed from items/racesprite/item-11054_Troll.xml) | 4 |
4 files changed, 19 insertions, 5 deletions
diff --git a/items/equip-2hand/_include.xml b/items/equip-2hand/_include.xml index 1694be86..b9c99813 100644 --- a/items/equip-2hand/_include.xml +++ b/items/equip-2hand/_include.xml @@ -18,5 +18,6 @@ <include name="items/equip-2hand/item758_WoodenStaff.xml"/> <include name="items/equip-2hand/item878_BansheeBow.xml"/> <include name="items/equip-2hand/item903_SlingShot.xml"/> + <include name="items/equip-2hand/item906_KidBook.xml"/> <include name="items/equip-2hand/item1200_Bow.xml"/> </items> diff --git a/items/equip-2hand/item906_KidBook.xml b/items/equip-2hand/item906_KidBook.xml new file mode 100644 index 00000000..5b825982 --- /dev/null +++ b/items/equip-2hand/item906_KidBook.xml @@ -0,0 +1,15 @@ +<?xml version="1.0"?> +<items> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> + <its:translateRule selector="//item/@name" translate="yes"/> + <its:translateRule selector="//item/@description" translate="yes"/> + <its:translateRule selector="//item/@effect" translate="yes"/> + <its:translateRule selector="//*" translate="no"/> + </its:rules> + <item id="906" image="equipment/weapon/kidbook.png" name="Kid Book" description="A big spell book used to transform humans into Trolls." effect="Damage +1" type="equip-2hand" weight="100" missile-particle="graphics/particles/monster-troll-foefire.particle.xml" sellProtected="true"> + <replace/> + <replace sprite="race"> + <item from="-100" to="-110"/> + </replace> + </item> +</items> diff --git a/items/racesprite/_include.xml b/items/racesprite/_include.xml index 5cec3a30..f1830b4f 100644 --- a/items/racesprite/_include.xml +++ b/items/racesprite/_include.xml @@ -1,6 +1,4 @@ <?xml version="1.0"?> -<!-- Note: When adding races with mob sprites: - ID = -1xxxx , xxxx = mob ID --> <items> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> <its:translateRule selector="//item/@name" translate="yes"/> @@ -9,5 +7,5 @@ <its:translateRule selector="//*" translate="no"/> </its:rules> <include name="items/racesprite/item-100_Human.xml"/> - <include name="items/racesprite/item-11054_Troll.xml"/> + <include name="items/racesprite/item-110_Troll.xml"/> </items> diff --git a/items/racesprite/item-11054_Troll.xml b/items/racesprite/item-110_Troll.xml index baf9e12b..732f9e61 100644 --- a/items/racesprite/item-11054_Troll.xml +++ b/items/racesprite/item-110_Troll.xml @@ -6,7 +6,7 @@ <its:translateRule selector="//item/@effect" translate="yes"/> <its:translateRule selector="//*" translate="no"/> </its:rules> - <item id="-11054" type="racesprite" name="Troll"> + <item id="-110" type="racesprite" name="Troll"> <sprite>monsters/troll-race.xml|#FFDEC2;#FF4D4D;#FF99FF;#FFC88A</sprite> </item> -</items>
\ No newline at end of file +</items> |