Skip to main content
GameDev.net gamedev.net

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

Items.

Items.

Deranged
Deranged
Essembi Devlog · · 1 min read
1,386 0
It's not the prettiest XML, but it's very functional.

itemlist1.itl
"weapon_melee_sword_of_the_lion" type="equippable" mesh="sword.mesh" material="Weapons/Sword" name="Sword of the Lion" worth="40" maxDurability="40" icon="Icons/BasicSword">	"meleeweapon">		"attackpower" value="42" />		"strength" value="10" />	"trade_gold" type="trade" mesh="gold.mesh" material="Trade/Gold" name="Gold" worth="1" maxDurability="-1" icon="Icons/Gold" />


itemlist2.itl
"armor_shield_basic_shield" type="equippable" mesh="shield.mesh" material="Armor/Shield" name="Basic Shield" worth="50" maxDurability="45" icon="Icons/BasicSword">	"shield">		"armor" value="70" />	


and the log
18:37:28: Item 'Sword of the Lion' successfully added18:37:28: Item 'Gold' successfully added18:37:28: itemlist1.itl successfully parsed18:37:28: Item 'Basic Shield' successfully added18:37:28: itemlist2.itl successfully parsed

Discussion

Loading comments...