Template:Food/doc

< Template:Food
Revision as of 16:04, 28 July 2019 by Teamtoto (talk | contribs) (Created page with "{| class="wikitable sortable" !Parameter !Explanation !Data type |- |title |The display name of the item. |<nowiki>{{Qud text|(title)}}</nowiki> |- |image |The image. If the i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Parameter Explanation Data type
title The display name of the item. {{Qud text|(title)}}
image The image. If the item has no associate sprite, set equal to none. item name.png/none
weight int
commerce The value of the object int
colorstr the color of the character with tiles mode off. &(char),defaults to &y
renderstr What the item looks like with tiles mode off. char
id The name of the object in ObjectBlueprints.xml string
lightradius radius of light it gives off int
hunger how much hunger it satiates String
thirst how much thirst it slakes int
healing what the item heals string
preservedinto what the item preserves into string
preservedquantity how much of the preserved item is made integer
exoticfood is it exotic? (must choose to preserve) yes/no
oneat effects that happen when you eat. string
cookeffect the cooking effect type. should be the type= part in part Name PreparedCookingIngredient. string
isplant has the Plant part yes/no
ismeat has the Meat part yes/no
isfungus has the fungus part yes/no
extra Any other features that do not have an associated variable. string
desc The short description of the object. The whole string, with color codes included