Difference between revisions of "Item Weapon"
From P6 Spheres
| (8 intermediate revisions by the same user not shown) | |||
| Line 26: | Line 26: | ||
'''Source'''=OGL Codes<br> | '''Source'''=OGL Codes<br> | ||
| − | {{#cargo_declare:_table=Items_Weapons|Proficiency=Text (allowed values=simple,martial,exotic)|Hands=Text (allowed values=light,one-handed,two-handed)|RangeType=Text (allowed values=melee,ranged)|Damage=Text|Critical=Text|RangeInc= | + | {{#cargo_declare:_table=Items_Weapons|Proficiency=Text (allowed values=simple,martial,exotic)|Hands=Text (allowed values=light,one-handed,two-handed)|RangeType=Text (allowed values=melee,ranged,ammunition,misc)|Damage=Text|Critical=Text|RangeInc=Text|DamageTypes=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=Weapons|TreasureUse=Weapon|Tags={{{Tags|}}}|Price={{{Price| | + | --><includeonly>{{#cargo_store:_table=Base_Items|Name={{{Name}}}|SortName={{{SortName|{{{Name}}}}}}|UrlName={{InterCargoEncode|{{{Name}}}}}|ItemType=Weapons|TreasureUse=Weapon|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_Weapons|Proficiency={{{Proficiency}}}|Hands={{{Hands}}}|RangeType={{{RangeType}}}|Damage={{{Damage|}}}|Critical={{{Critical|}}}|RangeInc={{{RangeInc|}}}|DamageTypes={{{DamageTypes| | + | -->{{#cargo_store:_table=Items_Weapons|Proficiency={{{Proficiency}}}|Hands={{{Hands}}}|RangeType={{{RangeType}}}|Damage={{{Damage|—}}}|Critical={{{Critical|—}}}|RangeInc={{{RangeInc|—}}}|DamageTypes={{{DamageTypes|—}}} }}<!-- |
-->{{#vardefine:CategoryTag|{{#replace:{{{ItemType}}}||_}}}}{{#vardefine:SubCategoryTag|{{#replace:{{{ItemSubType}}}||%20}}}}<!-- | -->{{#vardefine:CategoryTag|{{#replace:{{{ItemType}}}||_}}}}{{#vardefine:SubCategoryTag|{{#replace:{{{ItemSubType}}}||%20}}}}<!-- | ||
| Line 44: | Line 44: | ||
{{#!:{| class="wikitable" | {{#!:{| class="wikitable" | ||
|- | |- | ||
| − | ! Proficiency !! Damage !! Critical !! Type !!{{#if: {{{ | + | ! Proficiency !! Damage !! Critical !! Type !!{{#if: {{{RangeInc|}}}| Range !!|}} Special !! Cost !! Weight |
|- | |- | ||
| − | | {{{Proficiency}}} {{{Hands}}} {{{RangeType}}} || {{{Damage|—}}} || {{{Critical|—}}} || {{Item_Weapon_DamageType|{{{DamageTypes|—}}}}} ||{{#if: {{{ | + | | {{{Proficiency}}} {{{Hands}}} {{{RangeType}}} || {{{Damage|—}}} || {{{Critical|—}}} || {{Item_Weapon_DamageType|{{{DamageTypes|—}}}}} ||{{#if: {{{RangeInc|}}}| {{{RangeInc}}} {{#!:||}}|}} {{{Short|—}}} || {{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=simple / martial / exotic
Hands=light / one-handed / two-handed
RangeType=melee / ranged
Damage=Medium damage
Critical=x4 / 19-20 / 19-20/x2
RangeInc=As an integer
DamageTypes=Types of damage = B / B or P / B and P
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_Weapons". View table. This template adds rows to the table "Base_Items", which is declared by the template Item. View table.