Template:Item/doc: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 67: Line 67:
|RequiresContainer || Whether or not smelting requires a container || boolean (y/n) || no
|RequiresContainer || Whether or not smelting requires a container || boolean (y/n) || no
|-
|-
|OutputLink || Smelting output container page link || string || no
|OutputLink || Smelting output container page link || string || yes if RequiresContainer is present
|-
|-
|OutputName || Smelting output container name || string || no
|OutputName || Smelting output container name || string || yes if RequiresContainer is present
|-
|-
|OutputAmount || Amount of items obtained after emptying the container || number || yes if Output is present
|OutputAmount || Amount of items obtained after emptying the container || number || yes if OutputName is present
|-
|-
|FreshTime || The amount of hours this item stays fresh / untransitioned || number || yes for Item/Transitionable
|FreshTime || The amount of hours this item stays fresh / untransitioned || number || yes for Item/Transitionable
|-
|-
|TransitionTime || Time in seconds the item takes to turn into something else (e.g. rotten food) || number || yes for Item/Transitionable
|TransitionTime || The amount of time it takes for the item to transition e.g. from 0% spoiled to 100% spoiled || number || yes for Item/Transitionable
|-
|-
|TransitionRatio || Conversion ratio of fresh stacksize to transitioned stack size || float || no
|TransitionRatio || Conversion ratio of fresh stacksize to transitioned stack size e.g. 10 apples transition to 5 rots = 0.50 || float || no
|-
|-
|Satiety || Satiety points the item provides || number || yes for Item/Food
|Satiety || Satiety points the item provides || number || yes for Item/Food
Line 94: Line 94:
| <pre>
| <pre>
{{Item
{{Item
|Name=Copper
|Name=Copper Ingot
|Image=File:Grid Copper Ingot.png
|Image=File:Grid Copper Ingot.png
|Material=Metal
|Material=Metal
|Stackable=16
|Stackable=16
|SmeltTemp=1084
|SmeltTemp=1084
|SmeltDuration=
|RequiresContainer=Yes
|RequiresContainer=Yes
|OutputLink=Ingot_mold
|OutputLink=Ingot_mold
Line 108: Line 107:
</pre>  
</pre>  
|| {{Item
|| {{Item
|Name=Copper
|Name=Copper Ingot
|Image=File:Grid Copper Ingot.png
|Image=File:Grid Copper Ingot.png
|Material=Metal
|Material=Metal
|Stackable=16
|Stackable=16
|SmeltTemp=1084
|SmeltTemp=1084
|SmeltDuration=
|RequiresContainer=Yes
|RequiresContainer=Yes
|OutputLink=Ingot_mold
|OutputLink=Ingot_mold
|OutputName=Ingot mold
|OutputName=Ingot mold
|OutputAmount=1
|FloatLeft=yes
|FloatLeft=yes
}}
}}
Confirmedusers, editor
37,784

edits