Template:Weapon: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 11: Line 11:
|Power={{{Power}}}
|Power={{{Power}}}
|Range={{{Range}}}
|Range={{{Range}}}
|Tier={{{Tier}}}
|Tier={{#if: {{{Tier|}}} | {{{Tier}}} }}
}}
}}


{{#if: {{{Wood|}}}{{{Leaves|}}} |
{{#if: {{{Wood|}}}{{{Leaves|}}} |
{{Tool/MiningSpeed
{{Tool/MiningSpeed
|Wood={{{Wood}}}
|Wood={{#if: {{{Wood|}}} | {{{Wood}}} }}
|Leaves={{{Leaves}}}
|Leaves={{#if: {{{Leaves|}}} | {{{Leaves}}} }}
}} }}
}} }}


Line 35: Line 35:
|Power=1.5
|Power=1.5
|Range=2.5
|Range=2.5
|Tier=3
|Wood=2.6
|Wood=2.6
}}
}}

Revision as of 13:45, 30 August 2021


Template for weapons.

Test
100px
Durability 100
Attack
Power 1.5 hp
Range 2.5 m
Tier 3
Mining Speed
Wood 2.6x


Weapons



Parameter Required or Optional, default if applicable Example
Name Required Sewn Linen
Image Required [[File:Grid Sewn Linen Armor.png]]
Durability Required 100
Power Required 1.5
Range Required 2.5
Tier Optional 3
Wood Optional 2.0
Leaves Optional 2.2