Hey there im working on a mod and i dont know if my code work. If someone can see if the code is okey, it will be nice (My ItemsDB.XML is like this) ....................................................................................................................................................... <!-- Warrior shields --> <item name="Obsidian shield" iconFile="items/Obsidian_shield.png"> <price amount="4500"/> <armour level="8" type="shield"/> <secondarybuff id="7" amount="10"/> <!-- block --> <secondarybuff id="10" amount="4"/> <!-- armour absorption --> <primarybuff id="2" amount="-2"/> <!-- nim --> <secondarybuff id="3" amount="-3"/> <!-- magic power --> <resistbuff piercing="5"/> <resistbuff conflagratory="5"/> <description text=""/> </item> <!-- Regular Swords --> <item name="Blocky Wooden Sword" iconFile="items/Wood_sword.png" level="1" type="0"> <price amount="60"/> <weapon crushing="3"/> <description text=""/> </item> <item name="Blocky Stone Sword" iconFile="items/Stone_sword.png" level="3" type="0"> <price amount="125"/> <weapon crushing="5"/> <description text=" "/> </item> <item name="Blocky Iron Sword" iconFile="items/cp_Iron_sword.png" level="6" type="0"> <price amount="350"/> <weapon slashing="6" piercing="3"/> <description text=""/> </item> <item name="Diamond sword" iconFile="items/Diamond_sword.png" level="8" type="0"> <price amount="2500"/> <weapon slashing="15" piercing="8"/> <description text=""/> </item> <item name="Blocky Gold sword" iconFile="items/Gold_sword.png" level="5" type="0"> <price amount="1000"/> <weapon slashing="1" piercing="1"/> <description text=""/> </item> .................................................................................................................................................................. thank you
I hope I come closer to make it work Code: <itemDB> <!-- Warrior shields --> <item name="Simple Obsidian shield" iconFile="mod/items/Obsidian_shield.png"> <price amount="4500"/> <armour level="8" type="shield"/> <secondarybuff id="7" amount="10"/> <!-- block --> <secondarybuff id="10" amount="4"/> <!-- armour absorption --> <primarybuff id="2" amount="-2"/> <!-- nim --> <secondarybuff id="3" amount="-3"/> <!-- magic power --> <resistbuff piercing="5"/> <resistbuff conflagratory="5"/> <description text="Hard And Fierce Like Russian Vodka! It's Even Fire Proff!"/> </item> <!-- Regular Swords --> <item name="Blocky Wooden Sword" iconFile="mod/items/Wood_sword.png" level="1" type="0"> <price amount="60"/> <weapon crushing="3"/> <description text="A Very Large Wooden Pixel Sword, Can't Cut But It Will Make a Fine Blunt Weapon."/> </item> <item name="Blocky Stone Sword" iconFile="mod/items/Stone_sword.png" level="3" type="0"> <price amount="125"/> <weapon crushing="5"/> <description text="Who Makes Stone Swords Anymore ?! Russians Or CaveMen? "/> </item> <item name="Blocky Iron Sword" iconFile="mod/items/cp_Iron_sword.png" level="6" type="0"> <price amount="350"/> <weapon slashing="6" piercing="3"/> <description text="A Iron Sword, hmm, Abit Blocky But What The Hell, It Can Still Hurt Someone!"/> </item> <item name="Diamond sword" iconFile="mod/items/Diamond_sword.png" level="8" type="0"> <price amount="2500"/> <weapon slashing="15" piercing="8"/> <description text="Someone Else's Diamond Sword! F*** It, Its Mine Now! (I Hope You Feel Bad About Yourself Now) "/> </item> <item name="Blocky Gold sword" iconFile="mod/items/Gold_sword.png" level="5" type="0"> <price amount="1000"/> <weapon slashing="1" piercing="1"/> <description text="A Golden Sword, Whoop! Nice Bling Man ! What ?! So Soft That It Can't Even Cut A F****** Flower In Half !"/> </item> </itemDB>