Template:Weapon: Difference between revisions
From Vintage Story Wiki
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
|Plant={{#if: {{{Plant|}}} | {{{Plant}}} }} | |Plant={{#if: {{{Plant|}}} | {{{Plant}}} }} | ||
|Leaves={{#if: {{{Leaves|}}} | {{{Leaves}}} }} | |Leaves={{#if: {{{Leaves|}}} | {{{Leaves}}} }} | ||
}} }} | |||
|- | |||
{{#if: {{{Temp|}}} | {{#!: | |||
{{Item/Fuel | |||
|Temp={{{Temp}}} | |||
|Duration={{{Duration}}} | |||
}} | |||
}} }} | }} }} | ||
|- | |- | ||
Line 35: | Line 42: | ||
|Plant=2.5 | |Plant=2.5 | ||
|Leaves=2.2 | |Leaves=2.2 | ||
|Temp=600 | |||
|Duration=10 | |||
|FloatRight=yes | |FloatRight=yes | ||
|NoBreak=yes | |NoBreak=yes | ||
Line 64: | Line 73: | ||
|- | |- | ||
| ''Leaves'' || <translate><!--T:28--> Optional</translate> || 2.2 | | ''Leaves'' || <translate><!--T:28--> Optional</translate> || 2.2 | ||
|- | |||
| ''Temp'' || <translate><!--T:27--> Optional</translate> || 600 | |||
|- | |||
| ''Duration'' || <translate><!--T:28--> Optional</translate> || 10 | |||
|- | |- | ||
| ''FloatRight'' || <translate><!--T:29--> Optional</translate> || <translate><!--T:30--> | | ''FloatRight'' || <translate><!--T:29--> Optional</translate> || <translate><!--T:30--> |
Revision as of 16:15, 30 July 2023
Spear | |
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 |
Fuel | |
Temperature | 600°C |
Duration | 10 s |
Weapons |
Template for weapons.
Parameter | Required or Optional, default if applicable | Example |
---|---|---|
Name | Required | Spear |
Image | Required | [[File:File:Spear-copper.png.png]] |
Durability | Required | 100 |
Power | Required | 1.5 |
PowerThrown | Optional | 5.1 |
Range | Required | 2.5 |
Tier | Optional | 3 |
Wood | Optional | 2.6 |
Plant | Optional | 2.5 |
Leaves | Optional | 2.2 |
Temp | Optional | 600 |
Duration | Optional | 10 |
FloatRight | Optional | Whether or not the box should float on the right side of the page (so you don't have to use a tag) |
NoBreak | Optional | Whether or not the item box should end in a line break |