Difference between revisions of "Item Armor"
From P6 Spheres
| (3 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
'''Campaigns'''=Filtering. "All" by default<br> | '''Campaigns'''=Filtering. "All" by default<br> | ||
'''Proficiency'''=light armor / medium armor / heavy armor / shields / misc<br> | '''Proficiency'''=light armor / medium armor / heavy armor / shields / misc<br> | ||
| − | '''ACBonus'''=<br> | + | '''ACBonus'''=As integer<br> |
| − | '''MaxDex'''=Maximum Dexterity Bonus<br> | + | '''MaxDex'''=Maximum Dexterity Bonus, as integer<br> |
| − | '''ACP'''=Armor Check Penalty<br> | + | '''ACP'''=Armor Check Penalty, as integer<br> |
'''ASF'''=Arcane Spell Failure Chance<br> | '''ASF'''=Arcane Spell Failure Chance<br> | ||
'''Speed'''=<br> | '''Speed'''=<br> | ||
| Line 25: | Line 25: | ||
'''Source'''=OGL Codes<br> | '''Source'''=OGL Codes<br> | ||
| − | {{#cargo_declare:_table=Items_Armors|Proficiency=Text (allowed values=light armor,medium armor,heavy armor,shields,misc)|ACBonus=Text|MaxDex=Text|ACP=Text|ASF=Text|Speed=Text}} | + | {{#cargo_declare:_table=Items_Armors|Proficiency=Text (allowed values=light armor,medium armor,heavy armor,shields,misc)|ACBonus=Int|PrettyAC=Text|MaxDex=Int|PrettyMaxDex=Text|ACP=Int|PrettyACP=Text|ASF=Text|Speed=Text}} |
{{#cargo_attach:_table = Base_Items}}</noinclude><!-- | {{#cargo_attach:_table = Base_Items}}</noinclude><!-- | ||
| − | --><includeonly>{{#cargo_store:_table=Base_Items|Name={{{Name}}}|SortName={{{SortName|{{{Name}}}}}}|ItemType=Armors|TreasureUse=Protection|Tags={{{Tags|}}}|Price={{{Price|0}}}|PrettyPrice={{MapPrice|{{{Price|0.0}}}}}|Weight={{{Weight|0}}}|PrettyWeight={{MapWeight|{{{Weight|0.0}}}}}|Short={{{Short|—}}}|Fluff={{{Fluff|}}}|Description={{{Description|}}}|Benefit={{{Benefit|}}}|Note={{{Note|}}}|CraftRequirements={{{CraftRequirements|}}}|CraftDC={{{CraftDC|}}}|CraftSkill={{{CraftSkill|}}}|CraftCost={{{CraftCost|}}}|Source={{{Source|}}}|Campaigns={{{Campaigns|}}} }}<!-- | + | --><includeonly>{{#cargo_store:_table=Base_Items|Name={{{Name}}}|SortName={{{SortName|{{{Name}}}}}}|UrlName={{InterCargoEncode|{{{Name}}}}}|ItemType=Armors|TreasureUse=Protection|Tags={{{Tags|}}}|Price={{{Price|0}}}|PrettyPrice={{MapPrice|{{{Price|0.0}}}}}|Weight={{{Weight|0}}}|PrettyWeight={{MapWeight|{{{Weight|0.0}}}}}|Short={{{Short|—}}}|Fluff={{{Fluff|}}}|Description={{{Description|}}}|Benefit={{{Benefit|}}}|Note={{{Note|}}}|CraftRequirements={{{CraftRequirements|}}}|CraftDC={{{CraftDC|}}}|CraftSkill={{{CraftSkill|}}}|CraftCost={{{CraftCost|}}}|Source={{{Source|}}}|Campaigns={{{Campaigns|}}} }}<!-- |
| − | -->{{#cargo_store:_table=Items_Armors|Proficiency={{{Proficiency|—}}}|ACBonus={{{ACBonus| | + | -->{{#cargo_store:_table=Items_Armors|Proficiency={{{Proficiency|—}}}|ACBonus={{{ACBonus|}}}|PrettyAC={{MapBonus|{{{ACBonus|}}}}}|MaxDex={{{MaxDex|}}}|PrettyMaxDex={{MapBonus|{{{MaxDex|}}}}}|ACP={{{ACP|}}}|PrettyACP={{MapBonus|{{{ACP|}}}}}|ASF={{{ASF|—}}}|Speed={{{Speed|—}}} }}<!-- |
-->{{#vardefine:CategoryTag|{{#replace:{{{ItemType}}}||_}}}}{{#vardefine:SubCategoryTag|{{#replace:{{{ItemSubType}}}||%20}}}}<!-- | -->{{#vardefine:CategoryTag|{{#replace:{{{ItemType}}}||_}}}}{{#vardefine:SubCategoryTag|{{#replace:{{{ItemSubType}}}||%20}}}}<!-- | ||
| Line 45: | Line 45: | ||
! Proficiency !! AC<br>Bonus !! Maximum<br>Dexterity<br>Bonus !! Armor<br>Check<br>Penalty !!{{#if: {{{ASF|}}}| Arcane<br>Spell<br>Failure !!|}} Speed !! Cost !! Weight | ! Proficiency !! AC<br>Bonus !! Maximum<br>Dexterity<br>Bonus !! Armor<br>Check<br>Penalty !!{{#if: {{{ASF|}}}| Arcane<br>Spell<br>Failure !!|}} Speed !! Cost !! Weight | ||
|- | |- | ||
| − | | {{{Proficiency}}} || {{{ACBonus| | + | | {{{Proficiency}}} || {{MapBonus|{{{ACBonus|}}}}} || {{MapBonus|{{{MaxDex|}}}}} || {{MapBonus|{{{ACP|}}}}} ||{{#if: {{{ASF|}}}| {{{ASF}}} {{#!:||}}|}} {{{Speed|—}}} || {{MapPrice|{{{Price|0.0}}}}} || {{MapWeight|{{{Weight|0.0}}}}} |
|}}}<!-- | |}}}<!-- | ||
Latest revision as of 19:54, 24 March 2020
This is the "Item" template.
Name=Real name of item
SortName=Name for use when sorting; "Climbing Kit, Basic" and "Climbing Kit, Deluxe"
Tags=Any further tags used for filtering
Price=Buying price in gp (Float)
Weight=Weight of the item in lbs. (Float)
Campaigns=Filtering. "All" by default
Proficiency=light armor / medium armor / heavy armor / shields / misc
ACBonus=As integer
MaxDex=Maximum Dexterity Bonus, as integer
ACP=Armor Check Penalty, as integer
ASF=Arcane Spell Failure Chance
Speed=
Short=Short summary of benefits/use for tables
Fluff=Fluff description
Description=Full description
Benefit=Specific rule benefits
Note=Note
CraftRequirements=Workshop, feats, materials, talents
CraftDC=The Craft DC for the item (Integer)
CraftSkill=The Craft skill used for the item or Spellcraft
CraftCost=Cost in sp/gp (Float)
Source=OGL Codes
This template defines the table "Items_Armors". View table. This template adds rows to the table "Base_Items", which is declared by the template Item. View table.