Actions

Template

Difference between revisions of "Equipment"

From Titan's Teeth

Line 19: Line 19:
 
|Hidden=Yes/No (defaults No)<br>
 
|Hidden=Yes/No (defaults No)<br>
 
|Source=OGL Codes}}
 
|Source=OGL Codes}}
 +
 +
Example:
 +
{{Equipment
 +
|Name=Acid
 +
|Category=Alchemy
 +
|SubCategory=Weapon
 +
|CraftDC=15
 +
|CraftType=alchemy
 +
|CostGp=10
 +
|Weight=1 lb.
 +
|Short=Thrown splash weapon dealing 1d6 acid damage
 +
|Benefit=You can throw a flask of acid as a splash weapon with a range increment of 10 feet.
 +
 +
A direct hit deals 1d6 points of acid damage. Every creature within 5 feet of the point where the acid hits takes 1 point of acid damage from the splash.
 +
|Source=Core}}
  
 
{{#cargo_declare:_table=Equipment|Name=Wikitext|Category=Wikitext|SubCategory=Wikitext|CraftDC=Integer|CraftType=Wikitext|Cost=Wikitext|CostGp=Integer|GL=Integer|Weight=Wikitext|Stones=Wikitext|Short=Wikitext|Fluff=Wikitext|Description=Wikitext|Benefit=Wikitext|Note=Wikitext|Source=Wikitext|Hidden=Boolean}}
 
{{#cargo_declare:_table=Equipment|Name=Wikitext|Category=Wikitext|SubCategory=Wikitext|CraftDC=Integer|CraftType=Wikitext|Cost=Wikitext|CostGp=Integer|GL=Integer|Weight=Wikitext|Stones=Wikitext|Short=Wikitext|Fluff=Wikitext|Description=Wikitext|Benefit=Wikitext|Note=Wikitext|Source=Wikitext|Hidden=Boolean}}
Line 33: Line 48:
 
-->{{#!:{| class="wikitable"
 
-->{{#!:{| class="wikitable"
 
|-
 
|-
! Cost !! Weight {{#if:{{{CraftDC|}}}|!! Craft DC|}}
+
! Cost !! Weight  
 
|-
 
|-
| {{{Cost|{{{CostGp|—}}} gp}}} || {{{Weight|—}}} {{#if:{{{CraftDC|}}}|{{!}}{{!}} {{{CraftDC}}}|}}
+
| {{{Cost|{{{CostGp|—}}} gp}}} || {{{Weight|—}}}
 
|}}}<!--
 
|}}}<!--
  
Line 54: Line 69:
 
<wbr>|}}<!--
 
<wbr>|}}<!--
  
-->{{#if: {{{CraftDC|}}}|'''Craft''' ({{{CraftType|}}}): {{{CraftDC}}}
+
-->{{#if: {{{CraftDC|}}}|{{#!:{| class="wikitable"
 +
|-
 +
! Craft DC !! Craft Points !! Craft Cost
 +
|-
 +
| '''Craft''' ({{{CraftType|}}}): {{{CraftDC}}} || {{#expr:{{{CostGp}}} * 100}} || {{#expr:{{{CostGp}}} / 3 round 2}} gp
 +
|}}} 
  
 
<wbr>|}}<!--
 
<wbr>|}}<!--
  
 
-->[[Category:Equipment]]</includeonly>
 
-->[[Category:Equipment]]</includeonly>

Revision as of 11:04, 15 January 2022

Usage:

{Equipment
|Name=Name for use when sorting; "Climbing Kit, Basic" and "Climbing Kit, Deluxe"
|Category=Category
|SubCategory=SubCategory
|CraftDC=The Craft DC for the item
|CraftType=The Craft skill used for the item
|Cost=Cost in sp/gp
|CostGp=Cost in gp (integer)
|Weight=Weight in pounds = 1 lb.
|Stones=Weight in stones
|Short=Short summary of benefits for tables
|Fluff=fluff
|Description=basic description
|Benefit=specific rule benefits
|Note=note
|Hidden=Yes/No (defaults No)
|Source=OGL Codes}}

Example:

Cost Weight
10 gp 1 lb.

Benefit: You can throw a flask of acid as a splash weapon with a range increment of 10 feet.

A direct hit deals 1d6 points of acid damage. Every creature within 5 feet of the point where the acid hits takes 1 point of acid damage from the splash.

Craft DC Craft Points Craft Cost
Craft (alchemy): 15 1000 3.33 gp

This template defines the table "Equipment". View table.