Template:Weapon: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 11: Line 11:
|-
|-
| '''Durability''' || {{{Durability}}}
| '''Durability''' || {{{Durability}}}
{{tnt|Weapon/Attack
{{Weapon/Attack
|Power={{{Power}}}
|Power={{{Power}}}
|PowerThrown={{#if: {{{PowerThrown|}}} | {{{PowerThrown}}} }}
|PowerThrown={{#if: {{{PowerThrown|}}} | {{{PowerThrown}}} }}
Line 20: Line 20:
<!--T:3-->
<!--T:3-->
{{#if: {{{Wood|}}}{{{Plant|}}}{{{Leaves|}}} |
{{#if: {{{Wood|}}}{{{Plant|}}}{{{Leaves|}}} |
{{tnt|Tool/MiningSpeed
{{Tool/MiningSpeed
|Wood={{#if: {{{Wood|}}} | {{{Wood}}} }}
|Wood={{#if: {{{Wood|}}} | {{{Wood}}} }}
     |Plant={{#if: {{{Plant|}}} | {{{Plant}}} }}
     |Plant={{#if: {{{Plant|}}} | {{{Plant}}} }}

Revision as of 09:57, 13 July 2023

Other languages:


Template for weapons.

Test
100px
Durability 100
Attack
Power 1.5 hp
Power (Thrown) 5.1 hp
Range 2.5 m
Tier 3
Mining Speed
Wood 2.6x
Plant 2.5x
Leaves 2.2x
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
PowerThrown Optional 5.1
Range Required 2.5
Tier Optional 3
Wood Optional 2.0
Plant Optional 2.1
Leaves Optional 2.2