Actions

Template

Difference between revisions of "MagicItem"

From Titan's Teeth

Line 7: Line 7:
 
|Subtype=Generally used for wondrous items; Belt, Mask, Hammer
 
|Subtype=Generally used for wondrous items; Belt, Mask, Hammer
 
|Aura=Aura detected by detect magic
 
|Aura=Aura detected by detect magic
|CL=Caster Level of creator
+
|CL=Caster Level of creator (Int)
 
|Slot=Slot when worn
 
|Slot=Slot when worn
|Price=Buying price
+
|Price=Buying price in gp (Float)
 
|Weight=Weight of the item
 
|Weight=Weight of the item
 
|Description=Full description
 
|Description=Full description
Line 21: Line 21:
 
|CL=1
 
|CL=1
 
|Slot=none
 
|Slot=none
|Price=150 gp
+
|Price=150
 
|Weight=-
 
|Weight=-
 
|Description=This grenade is considered a thrown splash weapon.
 
|Description=This grenade is considered a thrown splash weapon.
 
|Construction=Distill Compound, Destruction sphere, Explosive Orb, Crystal Blast
 
|Construction=Distill Compound, Destruction sphere, Explosive Orb, Crystal Blast
 
|ConstructionCost=75 gp}}
 
|ConstructionCost=75 gp}}
{{#cargo_declare:_table=MagicItems|Name=Wikitext|Type=Wikitext|Subtype=Wikitext|Aura=Wikitext|CL=Wikitext|Slot=Wikitext|Price=Wikitext|Weight=Wikitext|Description=Wikitext|Construction=Wikitext|ConstructionCost=Wikitext|ForPlayer=Boolean}}
+
{{#cargo_declare:_table=MagicItems|Name=Wikitext|Type=Wikitext|Subtype=Wikitext|Aura=Wikitext|CL=Integer|Slot=Wikitext|Price=Float|Weight=Wikitext|Description=Wikitext|Construction=Wikitext|ConstructionCost=Wikitext|ForPlayer=Boolean}}
 
</noinclude><includeonly>{{#cargo_store:_table=MagicItems|Name={{{Name|{{PAGENAME}}}}}|Type={{{Type|}}}|Subtype={{{Subtype|}}}|Aura={{{Aura|}}}|CL={{{CL|—}}}|Slot={{{Slot|—}}}|Price={{{Price|}}}|Weight={{{Weight|}}}|Description={{{Description|}}}|Construction={{{Construction|}}}|ConstructionCost={{{ConstructionCost|}}}|ForPlayer={{{ForPlayer|}}} }}<!--
 
</noinclude><includeonly>{{#cargo_store:_table=MagicItems|Name={{{Name|{{PAGENAME}}}}}|Type={{{Type|}}}|Subtype={{{Subtype|}}}|Aura={{{Aura|}}}|CL={{{CL|—}}}|Slot={{{Slot|—}}}|Price={{{Price|}}}|Weight={{{Weight|}}}|Description={{{Description|}}}|Construction={{{Construction|}}}|ConstructionCost={{{ConstructionCost|}}}|ForPlayer={{{ForPlayer|}}} }}<!--
  

Revision as of 13:30, 3 January 2020

Usage:

{{MagicItem
|Name=Name for use when sorting and display; "Healing Potion, Minor"
|Type=Armor, Potion, Wondrous Item
|Subtype=Generally used for wondrous items; Belt, Mask, Hammer
|Aura=Aura detected by detect magic
|CL=Caster Level of creator (Int)
|Slot=Slot when worn
|Price=Buying price in gp (Float)
|Weight=Weight of the item
|Description=Full description
|Construction=Construction requirements
|ConstructionCost=Construction price
|ForPlayer=Whether this item should be visible on player lists (bool, optional)}}

Example Item

Aura faint Destruction; CL 1
Slot none; Price 150; Weight -
Description
This grenade is considered a thrown splash weapon.
Construction Requirements
Distill Compound, Destruction sphere, Explosive Orb, Crystal Blast; Cost 75 gp

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