Difference between revisions of "MagicItem"
From Titan's Teeth
Dicemonger (talk | contribs) |
Dicemonger (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
|Price=Buying price in gp (Float) | |Price=Buying price in gp (Float) | ||
|Weight=Weight of the item | |Weight=Weight of the item | ||
+ | |Fluff=Fluff description | ||
|Description=Full description | |Description=Full description | ||
|Construction=Construction requirements | |Construction=Construction requirements | ||
|ConstructionCost=Construction price | |ConstructionCost=Construction price | ||
− | |ForPlayer=Whether this item should be visible on player lists (bool, optional)}}</nowiki> | + | |Source=TotS |
+ | |ForPlayer=Whether this item should be visible on player lists (bool(yes/no), optional)}}</nowiki> | ||
{{MagicItem | {{MagicItem | ||
Line 23: | Line 25: | ||
|Price=150 | |Price=150 | ||
|Weight=- | |Weight=- | ||
+ | |Fluff=The handle of this mahogany wand has the words “fortune favors the bold” engraved in sylvan. | ||
|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=Integer|GL=Integer|Slot=Wikitext|Price=Float|Weight=Wikitext|Description=Wikitext|Construction=Wikitext|ConstructionCost=Wikitext|ForPlayer=Boolean}} | + | {{#cargo_declare:_table=MagicItems|Name=Wikitext|Type=Wikitext|Subtype=Wikitext|Aura=Wikitext|CL=Integer|GL=Integer|Slot=Wikitext|Price=Float|Weight=Wikitext|Fluff=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|—}}}|GL={{GetGearLevel|{{{Price|0}}}}}|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|—}}}|GL={{GetGearLevel|{{{Price|0}}}}}|Slot={{{Slot|—}}}|Price={{{Price|}}}|Weight={{{Weight|}}}|Fluff={{{Fluff|}}}|Description={{{Description|}}}|Construction={{{Construction|}}}|ConstructionCost={{{ConstructionCost|}}}|ForPlayer={{{ForPlayer|}}} }}<!-- |
− | -->{{ColCard|{{{Name|{{PAGENAME}}}}}|3|W|{{#if:{{{Aura|}}}|'''Aura''' {{{Aura}}}; <wbr>|}}'''CL''' {{{CL|—}}}<br><!-- | + | -->{{ColCard|{{{Name|{{PAGENAME}}}}}|3|W|{{#if:{{{Fluff|}}}|''{{{Fluff}}}''<br>|}}<!-- |
+ | |||
+ | -->{{#if:{{{Aura|}}}|'''Aura''' {{{Aura}}}; <wbr>|}}'''CL''' {{{CL|—}}}<br><!-- | ||
-->{{#if:{{{Slot|}}}|'''Slot''' {{{Slot}}}; <wbr>|}}{{#if:{{{Price|}}}|'''Price''' {{#number_format:{{{Price}}}|_}} gp; <wbr>|}}{{#if:{{{Weight|}}}|'''Weight''' {{{Weight}}}|}}{{#if:{{{Slot|}}}{{{Price|}}}{{{Weight|}}}|<br>|}}<!-- | -->{{#if:{{{Slot|}}}|'''Slot''' {{{Slot}}}; <wbr>|}}{{#if:{{{Price|}}}|'''Price''' {{#number_format:{{{Price}}}|_}} gp; <wbr>|}}{{#if:{{{Weight|}}}|'''Weight''' {{{Weight}}}|}}{{#if:{{{Slot|}}}{{{Price|}}}{{{Weight|}}}|<br>|}}<!-- | ||
Line 38: | Line 43: | ||
{{{Construction|}}}{{#if: {{{ConstructionCost|}}}|; '''Cost''' {{{ConstructionCost}}}|}}|}}<!-- | {{{Construction|}}}{{#if: {{{ConstructionCost|}}}|; '''Cost''' {{{ConstructionCost}}}|}}|}}<!-- | ||
− | -->}}</includeonly> | + | -->}} |
+ | [[Category:Magic Items]]</includeonly> |
Latest revision as of 11:20, 3 July 2021
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 |Fluff=Fluff description |Description=Full description |Construction=Construction requirements |ConstructionCost=Construction price |Source=TotS |ForPlayer=Whether this item should be visible on player lists (bool(yes/no), optional)}}
Example Item
The handle of this mahogany wand has the words “fortune favors the bold” engraved in sylvan.
Aura faint Destruction;
Slot none;
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.