Difference between revisions of "Template talk:Infobox Item"

From Trials in Tainted Space Wiki
Jump to navigation Jump to search
(spooky skeleton)
 
(howto: Convert TiTS ActionScript variables to Infobox)
Line 5: Line 5:
 
<pre>
 
<pre>
 
{{Infobox Item
 
{{Infobox Item
 +
| name =
 
| image =  
 
| image =  
 
| caption =
 
| caption =
Line 27: Line 28:
 
| deftarget =  
 
| deftarget =  
 
| addflags =  
 
| addflags =  
 +
| hardLightEquipped =
 +
}}
 +
</pre>
 +
 +
 +
== Convert TiTS ActionScript variables to Infobox ==
 +
 +
<pre>
 +
{{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
 +
| 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
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 18:57, 8 September 2017

Item infobox skeleton

{{Infobox Item
| name = 
| image = 
| caption =
| itemtype = 
| shortname = 
| slotname = 
| baseprice = 
| damage = 
| damagetype = 
| defense = 
| shielddefense = 
| bonusshield = 
| accuracy = 
| sexiness = 
| 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
| 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 
}}