User:Veerserif/Sandbox/Food infobox

From Vintage Story Wiki
< User:Veerserif‎ | Sandbox
Revision as of 16:00, 30 August 2023 by Veerserif (talk | contribs) (Created page with "{{User:Veerserif/Sandbox/Infobox common | title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} | imagearea = File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No image.png}} }}|{{#ifeq: {{NAMESPACE}} | {{ns:10}} || link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }} }}|150...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Veerserif/Sandbox
No image.png
Stackable

N/A

Edible

N/A

Satiety

N/A

Ingredient

No

Shelf life

, turns into rot

Food-specific infobox, and by "food" I mean "anything edible with or without processing". So as of 1.18.8 that includes honeycomb and cattail roots, but not, I don't know, sticks.

Parameters

Parameter Type Notes
stackable number Required. maximum stack size
edible string Required. Whether or not the item is edible - I suggest the values "Raw", "Cooked (Firepit)", "Cooked (Meal)", "Cooked (Oven)"
satiety number Required. Satiety number
category string Only displays if satiety exists. Satiety category - vegetable, protein, dairy, fruit
ingredient string What the food can be used to make - meals, pies, soup, etc.
FreshTime string Required. Shelf life of the item
TransitionRatio number Optional. Ratio of transition (i.e. a TransitionRatio of 0.5 means "0.5 of the stack of the original item becomes the TransitionOutput after TransitionTime")
TransitionOutput string Optional. Output of transition - defaults to "rot"
TransitionTime string Optional. Time taken, after FreshTime expires, for the item to fully transition into TransitionOutput.