Template:Item/Smeltable: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 26: Line 26:
! Parameter !! Required or Optional, default if applicable !! Example
! Parameter !! Required or Optional, default if applicable !! Example
|-
|-
| ''SmeltTemp'' || Required || 100
| ''SmeltTemp'' || Required || 1050
|-
| ''SmeltDuration'' || Required || 10
|-
| ''SmeltRatio'' || Optional, 1 || 0.5
|-
|-
| ''RequiresContainer'' || Optional, No || Yes
| ''RequiresContainer'' || Optional, No || Yes
|-
|-
| ''OutputLink'' || Optional || Ingot_mold
| ''OutputLink'' || Required if ''RequiresContainer'' || Ingot_mold
|-
|-
| ''OutputName'' || Optional || Ingot mold
| ''OutputName'' || Required if ''RequiresContainer'' || Ingot mold
|-
|-
| ''OutputAmount'' || Optional, 1 || 2
| ''OutputAmount'' || Optional, 1 || 2
|}
|}


''OutputLink'' is a link to the article for the output item so make sure it's not a red link. Pass any value to ''RequiresContainer'' for the value of "Yes" to appear.
''OutputLink'' is a link to the article for the output item so make sure it's not a red link.
 
Pass any value to ''RequiresContainer'' for the value of "Yes" to appear.<br>If no container is required, dont write ''RequiredContainer=No'', just ignore this line and the lines below.
</noinclude>
</noinclude>

Revision as of 07:50, 17 July 2023

Parameter Required or Optional, default if applicable Example
SmeltTemp Required 1050
RequiresContainer Optional, No Yes
OutputLink Required if RequiresContainer Ingot_mold
OutputName Required if RequiresContainer Ingot mold
OutputAmount Optional, 1 2

OutputLink is a link to the article for the output item so make sure it's not a red link.

Pass any value to RequiresContainer for the value of "Yes" to appear.
If no container is required, dont write RequiredContainer=No, just ignore this line and the lines below.