Difference between revisions of "Template talk:Infobox Item"
Jump to navigation
Jump to search
(spooky skeleton) |
m (Added) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
==Item infobox skeleton == | ==Item infobox skeleton == | ||
− | |||
− | |||
<pre> | <pre> | ||
{{Infobox Item | {{Infobox Item | ||
+ | | name = | ||
| image = | | image = | ||
| caption = | | caption = | ||
| itemtype = | | itemtype = | ||
| shortname = | | shortname = | ||
+ | | codename = | ||
| slotname = | | slotname = | ||
| baseprice = | | baseprice = | ||
Line 18: | Line 17: | ||
| accuracy = | | accuracy = | ||
| sexiness = | | sexiness = | ||
+ | | resolve = | ||
| critbonus = | | critbonus = | ||
| evasion = | | evasion = | ||
Line 27: | Line 27: | ||
| deftarget = | | deftarget = | ||
| addflags = | | addflags = | ||
+ | | hardLightEquipped = | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | == Convert TiTS ActionScript variables to Infobox == | ||
+ | |||
+ | <pre> | ||
+ | {{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 | ||
}} | }} | ||
</pre> | </pre> |
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 }}