Difference between revisions of "Template talk:Infobox Item"

From Trials in Tainted Space Wiki
Jump to navigation Jump to search
(howto: Convert TiTS ActionScript variables to Infobox)
m (Added)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
 
==Item infobox skeleton ==
 
==Item infobox skeleton ==
 
 
 
<pre>
 
<pre>
 
{{Infobox Item
 
{{Infobox Item
Line 10: Line 7:
 
| itemtype =  
 
| itemtype =  
 
| shortname =  
 
| shortname =  
 +
| codename =
 
| slotname =  
 
| slotname =  
 
| baseprice =  
 
| baseprice =  
Line 19: Line 17:
 
| accuracy =  
 
| accuracy =  
 
| sexiness =  
 
| sexiness =  
 +
| resolve =
 
| critbonus =  
 
| critbonus =  
 
| evasion =  
 
| evasion =  
Line 42: Line 41:
 
| itemtype =  
 
| itemtype =  
 
| shortname =  
 
| shortname =  
 +
| codename = getClassName
 
| slotname =  
 
| slotname =  
 
| baseprice = this.basePrice
 
| baseprice = this.basePrice
Line 51: Line 51:
 
| accuracy = this.attack
 
| accuracy = this.attack
 
| sexiness = this.sexiness
 
| sexiness = this.sexiness
 +
| resolve = this.resolve
 
| critbonus = this.critBonus
 
| critbonus = this.critBonus
 
| evasion = this.evasion
 
| evasion = this.evasion

Latest revision as of 20:14, 31 October 2022

Item infobox skeleton

{{Infobox Item
| name = 
| image = 
| caption =
| itemtype = 
| shortname = 
| codename = 
| 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 = 
| codename = getClassName
| 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 
}}