Template:Block: Difference between revisions

From Vintage Story Wiki
m (stackable default and image getting)
m (change how drops are done- will need global fixing)
Line 14: Line 14:
}} }}
}} }}
|-
|-
|'''Drops'''
{{#if: {{{DropCode1|}}} | {{#!:
|{{{Drops|None}}}
{{Drops
|Code1={{{DropCode1|}}}
|Avg1={{{DropAvg1|}}}
|Var1={{{DropVar1|}}}
|Code2={{{DropCode2|}}}
|Avg2={{{DropAvg2|}}}
|Var2={{{DropVar2|}}}
|Code3={{{DropCode3|}}}
|Avg3={{{DropAvg3|}}}
|Var3={{{DropVar3|}}}
|Code4={{{DropCode4|}}}
|Avg4={{{DropAvg4|}}}
|Var4={{{DropVar4|}}}
}}
}} }}
{{#if: {{{Fertility|}}} |{{#!:
{{#if: {{{Fertility|}}} |{{#!:
|-
|-
Line 47: Line 61:
|Stackable=64
|Stackable=64
|Material=Soil
|Material=Soil
|Drops=Dirt
|DropsCode1=Dirt
|DropsAvg1=1
|Fertility=65%
|Fertility=65%
|LightLevel=5
|LightLevel=5
Line 62: Line 77:
| ''Image'' || Required || <nowiki>File:Grid Dirt Block.png</nowiki>
| ''Image'' || Required || <nowiki>File:Grid Dirt Block.png</nowiki>
|-
|-
| ''Stackable'' || Optional, 64 || 64
| ''Stackable'' || Optional, 64 || 16
|-
|-
| ''Material'' || Optional || Soil
| ''Material'' || Optional || Soil
|-
|-
| ''Drops'' || Optional, None || Dirt
| Drops || Optional || See [[Template:Drops]]
|-
|-
| ''Fertility'' || Optional || 65%
| ''Fertility'' || Optional || 65%

Revision as of 14:13, 22 June 2020



Dirt
[[Grid Dirt Block.png|100px]]
Material Soil
Stackable 64
Drops None
Fertility 65%
Light Level 5
Fuel
Temperature 100°C
Duration 20 s
Blocks



Parameter Required or Optional, default if applicable Example
Name Required Dirt
Image Required File:Grid Dirt Block.png
Stackable Optional, 64 16
Material Optional Soil
Drops Optional See Template:Drops
Fertility Optional 65%
LightLevel Optional 5
Temp Optional 100
Duration Optional 20