Template:Tool: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
(added item Id variable)
(Added charges per use. Updated pricing. (So you can input the same values as the json files).)
Line 36: Line 36:
|data8={{{drainturns|0}}} turns
|data8={{{drainturns|0}}} turns


|header9=Other
{{#if:{{{charges_per_use|}}}|
|label9=Charges per use
|data9={{{charges_per_use|0}}}|}}


|label9=Price
|header10=Other
|data9={{#expr:{{{price|0}}}/10}} $


|label10=Use Action
|label10=Price
|data10={{{use_action|}}}
|data10={{#expr:{{{price|0}}}/100}} $


|label11=Flags
|label11=Use Action
|data11={{#if:{{{flag1|}}}|<abbr title="{{toolflags|{{{flag1}}}}}">{{uc:{{{flag1}}}}}</abbr>|}}{{#if:{{{flag2|}}}|, <abbr title="{{toolflags|{{{flag2}}}}}">{{uc:{{{flag2}}}}}</abbr>|}}{{#if:{{{flag3|}}}|, <abbr title="{{toolflags|{{{flag3}}}}}">{{uc:{{{flag3}}}}}</abbr>|}}{{#if:{{{flag4|}}}|, <abbr title="{{toolflags|{{{flag4}}}}}">{{uc:{{{flag4}}}}}</abbr>|}}{{#if:{{{flag5|}}}|, <abbr title="{{toolflags|{{{flag5}}}}}">{{uc:{{{flag5}}}}}</abbr>|}}{{#if:{{{flag6|}}}|, <abbr title="{{toolflags|{{{flag6}}}}}">{{uc:{{{flag6}}}}}</abbr>|}}
|data11={{{use_action|}}}


|header12=As a Melee Weapon
|label12=Flags
|data12={{#if:{{{flag1|}}}|<abbr title="{{toolflags|{{{flag1}}}}}">{{uc:{{{flag1}}}}}</abbr>|}}{{#if:{{{flag2|}}}|, <abbr title="{{toolflags|{{{flag2}}}}}">{{uc:{{{flag2}}}}}</abbr>|}}{{#if:{{{flag3|}}}|, <abbr title="{{toolflags|{{{flag3}}}}}">{{uc:{{{flag3}}}}}</abbr>|}}{{#if:{{{flag4|}}}|, <abbr title="{{toolflags|{{{flag4}}}}}">{{uc:{{{flag4}}}}}</abbr>|}}{{#if:{{{flag5|}}}|, <abbr title="{{toolflags|{{{flag5}}}}}">{{uc:{{{flag5}}}}}</abbr>|}}{{#if:{{{flag6|}}}|, <abbr title="{{toolflags|{{{flag6}}}}}">{{uc:{{{flag6}}}}}</abbr>|}}


|label12=Bash Dmg
|header13=As a Melee Weapon
|data12={{{bash|0}}}


|label13=Cut Dmg
|label13=Bash Dmg
|data13={{{cut|0}}}
|data13={{{bash|0}}}


|label14=To Hit
|label14=Cut Dmg
|data14={{{tohit|<nowiki>+0</nowiki>}}}
|data14={{{cut|0}}}


|label15=Techniques
|label15=To Hit
|data15={{#if:{{{technique1|}}}|<abbr title="{{techniquetodescr|{{{technique1}}}}}">{{uc:{{{technique1}}}}}</abbr>|}}{{#if:{{{technique2|}}}|, <abbr title="{{techniquetodescr|{{{technique2}}}}}">{{uc:{{{technique2}}}}}</abbr>|}}{{#if:{{{technique3|}}}|, <abbr title="{{techniquetodescr|{{{technique3}}}}}">{{uc:{{{technique3}}}}}</abbr>|}}{{#if:{{{technique4|}}}|, <abbr title="{{techniquetodescr|{{{technique4}}}}}">{{uc:{{{technique4}}}}}</abbr>|}}{{#if:{{{technique5|}}}|, <abbr title="{{techniquetodescr|{{{technique5}}}}}">{{uc:{{{technique5}}}}}</abbr>|}}{{#if:{{{technique6|}}}|, <abbr title="{{techniquetodescr|{{{technique6}}}}}">{{uc:{{{technique6}}}}}</abbr>|}}
|data15={{{tohit|<nowiki>+0</nowiki>}}}
 
|label16=Techniques
|data16={{#if:{{{technique1|}}}|<abbr title="{{techniquetodescr|{{{technique1}}}}}">{{uc:{{{technique1}}}}}</abbr>|}}{{#if:{{{technique2|}}}|, <abbr title="{{techniquetodescr|{{{technique2}}}}}">{{uc:{{{technique2}}}}}</abbr>|}}{{#if:{{{technique3|}}}|, <abbr title="{{techniquetodescr|{{{technique3}}}}}">{{uc:{{{technique3}}}}}</abbr>|}}{{#if:{{{technique4|}}}|, <abbr title="{{techniquetodescr|{{{technique4}}}}}">{{uc:{{{technique4}}}}}</abbr>|}}{{#if:{{{technique5|}}}|, <abbr title="{{techniquetodescr|{{{technique5}}}}}">{{uc:{{{technique5}}}}}</abbr>|}}{{#if:{{{technique6|}}}|, <abbr title="{{techniquetodescr|{{{technique6}}}}}">{{uc:{{{technique6}}}}}</abbr>|}}


}}
}}

Revision as of 16:18, 4 August 2016

/ Tool
General
Materials unknown
Volume 0
Weight 0 gr
As a Tool
Ammo (start/max) (0 / 0)
Ammo Type none
Duration 0 turns
Other
Price 0 $
As a Melee Weapon
Bash Dmg 0
Cut Dmg 0
To Hit +0
 A tool.