Template:Comestible

From NetHackWiki
Jump to navigation Jump to search
%
Name Comestible
Base price {{{cost}}} zm
Nutrition {{{nutrition}}}
Turns to eat {{{turns}}}
Weight {{{weight}}}
Conduct {{{conduct}}}

Put this template at the top of every comestible page. Call it like this:

{{comestible
 |name=NAME
 |tile=TILE
 |cost=COST
 |nutrition=NUTRITION
 |turns=TURNS
 |weight=WEIGHT
 |conduct=CONDUCT
 |color=COLOR
}}

Color is an optional parameters that defaults to brown. Tile defaults to [[image:NAME.png]]. See this talk page for further usage notes. Conduct should be vegan, vegetarian, or meat. If cost is not given, it is calculated as nutrition/20 + 5 zm, as per objects.c, line 672.