Template talk:Infobox Item

From Trials in Tainted Space Wiki
Jump to navigation Jump to search

Item infobox skeleton

{{Infobox Item
| name = 
| image = 
| caption =
| itemtype = 
| shortname = 
| slotname = 
| baseprice = 
| damage = 
| damagetype = 
| defense = 
| shielddefense = 
| bonusshield = 
| accuracy = 
| sexiness = 
| resolve =
| critbonus = 
| evasion = 
| fortification = 
| bonusresistances = 
| lustvuln = 
| usable = 
| combatusable = 
| deftarget = 
| addflags = 
| hardLightEquipped =
}}


Convert TiTS ActionScript variables to Infobox

{{Infobox Item
| name = this.shortName
| image = 
| caption = 
| itemtype = 
| shortname = 
| slotname = 
| baseprice = this.basePrice
| damage = baseDamage.kinetic/electric/burning
| damagetype = baseDamage.addFlag
| defense = this.defense
| shielddefense = this.shieldDefense
| bonusshield = this.shields
| accuracy = this.attack
| sexiness = this.sexiness
| resolve = this.resolve
| critbonus = this.critBonus
| evasion = this.evasion
| fortification = this.fortification
| bonusresistances = resistances.kinetic/electric/burning/freezing/drug/tease/pheromone/psionic
| lustvuln = 
| usable = this.isUsable
| combatusable = this.combatUsable
| deftarget = this.targetsSelf/requiresTarget
| addflags = addFlag
| hardLightEquipped = this.hardLightEquipped 
}}