Help:Boilerplate perishable food

From PZwiki
Jump to: navigation, search
Language policy Language: English


   Page Updated @ Version: 39.67.5   
   Navigation - Main Index -> PZwiki -> Help -> Boilerplates -> Boilerplate perishable food   
This page has been put into protection by a PZwiki administrator so that only users in the autoconfirmed user group may edit this page.
This boilerplate is used for giving a new page a standard look. Copy the code below and add it to your new page before adding the relevant content. This boilerplate is currently in an early format and we are likely to add and change sections as time goes on. If you wish to suggest improvements to this boilerplate please use the discussion page.
The current code and result of the code are shown below. Anything starting with !< -- and ends with --> is removable and will not affect the template.



<!--COMMENT: This section is for the language and the format of the page. The languages section is used for linking pages, so using the page for Nails as an example. The syntax for each page (regardless of language) will be: {{languages|Nails}}, linking every subpage with "/##" at the end, where "##" is the language code. E.g. "Nails/es" and "Nails/fr" even if there are redirects. -->
{{languages|{{PAGENAME}}}}
<!--COMMENT: The header template goes below the language template, there should be NOTHING in between. The format can be seen in the header template with a working explanation. The header connects categories and Version number. PLEASE ENTER THE VERSION AND INCREMENT NUMBER WHEN YOU MAKE OR EDIT A PAGE. It helps everyone else know how old the page is version-wise -->
{{header|The Game World|Items|Food|Perishable Food|Fruit|type=Food|version=Version 39|incver=67.5}}<!--
Comment: This section is for the infobox which will be positioned on the right of the page. The information can be pulled from the items/newitems.txt file in [Zomboid Folder\media\scripts]. For more info on how to use the infobox, see: https://pzwiki.net/wiki/Template:Infobox_food. Image.png is the default question mark image-->
{{Infobox food
|display_name=?
|name_colour=Food
|name_text_colour=Food
|image=image.png
|alternate_image=image.png{{!}}32px
|alternate_name=?
|alternate_link=
<!--GENERAL-->
|category=?
|weight=?
|function=?
|packaged=?
|cant_be_frozen=?
|days_fresh=?
|days_rotten=?
<!--NUTRITION-->
|hunger_change=?
|thirst_change=?
|calories=?
|lipids=?
|proteins=?
|carbohydrates=?
<!--EFFECT-->
|unhappy_change=?
|boredom_change=?
|stress_change=?
|fatigue_change=?
|reduce_infection_power=?
|alcohol_power=?
|poison_power=?
<!--COOKING-->
|cook_minutes=?
|burn_minutes=?
|dangerous_uncooked=?
|bad_microwaved=?
|good_hot=?
|bad_cold=?
|spice=?
<!--TECHNICAL DETAILS-->
|class_name=?
}}<!--COMMENT: General introductory for the item-->
An introduction to the item. Include [[Nails|links]] (example link is to Nails article) to other pages within the wiki where appropriate. 

<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed-->
__TOC__

== Usage ==
What can the item be used for, also try to mention how many uses it has.
=== Trapping ===
{{Main|Trapping}}
If this item is used in trapping, include that here.

=== Fishing ===
{{Main|Fishing}}
If this item is used in fishing, include that here.

=== Consumable properties ===
<!--COMMENT: This section explains how the food values alter over time, ranging from fresh uncooked, to burnt, to rotten, fill in details as appropriate. Example used is Chicken -->
{{Consumables2
|image = Chicken.png
|hunger = -35
|perishable = 1
|cookable = 1
|dangerous uncooked = 1
|boredom = 0
|unhappiness = 0
|unrotten hunger = -26
|unrotten unhappiness = +10
|unrotten boredom = +10
|rotten hunger = -15
|rotten unhappiness = +20
|rotten boredom = +20
|cooked hunger = -45
|cooked unhappiness = 0
|cooked boredom = 0
|unrottencooked hunger = -26
|unrottencooked unhappiness = +10
|unrottencooked boredom = +10
|rottencooked hunger = -15
|rottencooked unhappiness = +20
|rottencooked boredom = +20
|burned hunger = -11
|burned boredom = +20
|burned unhappiness = +20
|burned image = Chicken Overdone.png
|rotten image = Chicken Rotten.png
|cooked image = Chicken Cooked.png
}}

== Crafting ==
<!--Comment: Code in crafting templates which displays what the item is used for, see RecipeLookup Template for full list, example shown below-->
=== Obtaining ===
The item is a precursor to making a [[cake]]
{{Crafting table header}}
{{RecipeLookup|2039}}
{{Crafting table footer}}

=== What it makes ===
{{Crafting table header}}
{{RecipeLookup|2037}}
{{Crafting table footer}}

=== Evolved recipes ===
<!--COMMENT: This section explains how much of the item can be used in cooking. (see the code for amounts).-->
This item is an ingredient in the following evolved recipes.
{{EvolvedRecipesForItem|soup=-9|stew=-9|salad=-9|stirfry=-9|roastedvegetables=-9|sandwich=-9|burger=-9|pie=-9|cake=-9|pastapot=-9|pastapan=-9|ricepot=-9|ricepan=-9|hotdrink=-9}}

== Distribution ==
<!--Comment: The locations this item can be found should be placed here. Precise values that can be put into tables can be found in the distribution.lua and vehicledistribution.lua files. -->
=== Buildings ===
{| class="wikitable" style="text-align:center;"
|-
!Building/Room
!Container
!Rolls
!Chance
|-
|Fossoil
|[[Containers#Counters|Counter]]
|4
|5
|-
|Grocery Store
|[[Containers#Counters|Counter]]
|4
|5
|-
|Storage Unit
|[[Containers|All]]
|3
|5
|-
|Zippee Store
|[[Containers#Counters|Counter]]
|1
|5
|-
|}

=== Vehicles ===
{| class="wikitable" style="text-align:center;"
|-
!Profession
!Container
!Rolls
!Chance
|-
|Golf
|[[Trunk]]
|2
|3
|-
|Police
|[[Trunk]]
|4
|1
|-
|Taxi
|[[Trunk]]
|3
|2
|-
|}

=== Farming ===
If this item is obtained through farming, include details about that here.

=== Trapping ===
If this item is obtained through trapping, include details about that here.

=== Foraging ===
If this item is obtained through foraging, include details about that here. 

=== Fishing ===
If this item is obtained through fishing, include details about that here. 

== Code ==
<!--Comment: Current location of Code in directory for updating purposes. Example below shows how to lay it out. ''''' is for bold italic.-->
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
<!--Comment: Add the retrieved template so both visitors and editors can tell how old the code is and whether or not it may need to be updated.-->
{{Retrieved|version=39|incver=67.5}}
<!--Comment: Example code taken from file. Items.txt and Newitems.txt are usually the source of the information at this time for basic items. Nowiki is used to display the text only, example used is Broccoli.-->
<pre>	item Broccoli
		HungerChange		= -9,
		Weight			= 0.2,
		Type			= Food,
		DaysTotallyRotten	= 6,
		DisplayName		= Broccoli,
		Icon			= Broccoli,
		DaysFresh		= 4,
		EvolvedRecipe 		= Soup:9;Stew:9;Pie:9;Stir fry:9;Salad:9;Roasted Vegetables:9;RicePot:9;RicePan:9;PastaPot:9;PastaPan:9,
		FoodType    		= Vegetables,
        	Carbohydrates 		= 2.06,
        	Proteins 		= 0.87,
        	Lipids 			= 0.11,
        	Calories 		= 11,</pre>

==See also==
<!--Comment: Location of links to relevant guides eg: Weapons guide, construction etc-->
[[Recipe Ingredients|List of Recipe Ingredients]]
<!--Comment: Navbox placement here code example = {{Navbox/Consumables}}, (see all current navboxs via the template section)-->
{{Navbox/Consumables}}
<!--Comment: Any categories that this item may belong to, but are not included in the header can be listed here-->
[[Category:Boilerplates]]



This code would produce the following:



Language policy Language: English


?
?
?
General
Category ?
Weight
Heavy Load
?
Function ?
Days fresh ? days
Days until rotten Expression error: Unrecognized punctuation character "?". days
Can't be frozen ?
Packaged ?
Nutrition
Hunger
Hunger
?
Thirst
Thirst
?
Calories ?
Carbohydrates ?
Proteins ?
Fat ?
Effect
Unhappiness
Unhappiness
?
Boredom
Boredom
?
Stress
Stress
?
Fatigue
Endurnace
?
Reduce infection ?%
Alcohol
Drunk
?
Poison
SkullPoison.png
?
Cooking
Time to cook ? minutes
Time to burn ? minutes
Dangerous uncooked ?
Bad microwaved ?
Good hot ?
Bad cold ?
Spice ?
Technical details
Class name ?

An introduction to the item. Include links (example link is to Nails article) to other pages within the wiki where appropriate.

Usage

What can the item be used for, also try to mention how many uses it has.

Trapping

Main article: Trapping

If this item is used in trapping, include that here.

Fishing

Main article: Fishing

If this item is used in fishing, include that here.

Consumable properties

Fresh Stale Rotten
Uncooked
Chicken.png
Hunger: -35
Dangerous uncooked, may cause sickness.
Chicken.png
Hunger: -26
Boredom: +10
Unhappiness: +10
Dangerous uncooked, may cause sickness.
Chicken Rotten.png
Hunger: -15
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.
Cooked
Chicken Cooked.png
Hunger: -45
Chicken Cooked.png
Hunger: -26
Boredom: +10
Unhappiness: +10
Chicken Cooked.png
Hunger: -15
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.
Burned
Chicken Overdone.png

Hunger: -11
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Obtaining

The item is a precursor to making a cake

Product Recipe Description Skill Level
Cake Batter.png
Cake Batter x1
Bowl.png + Flour.png + Butter.png + SmallSugar.png + Egg.png + Yeast.png + Milk.png
Bowl x1 Flour (2 units) Butter (15 units) Sugar (3 units) Egg
or
Wild Eggs x1
Yeast (1 unit) Milk x1
(consumed) (consumed) (consumed) (consumed) (consumed) (consumed) (consumed)
Dough used to make cake. MagazineFood.png
Good Cooking Magazine


What it makes

Product Recipe Description Skill Level
Cake.png
Cake Preparation x1
Cake Batter.png + BakingPan.png
Cake Batter x1 Baking Pan x1
(consumed)
Basic cake pan. Add ingredients to make a delicious cake! Cooking Level 0


Evolved recipes

This item is an ingredient in the following evolved recipes.

Product Nutrition Added
Soup
Soup
-9%
Stew
Stew
-9%
Pie
Pie
-9%
Cake
Cake
-9%
Stir-Fry
Stir-Fry
-9%
Roasted Vegetables
Roasted
Vegetables
-9%
Sandwich
Sandwich
-9%
Burger
Burger
-9%
Salad
Salad
-9%
Pasta Saucepan
Pasta
Saucepan
-9%
Rice Saucepan
Rice
Saucepan
-9%
Pasta Pot
Pasta Pot
-9%
Rice Pot
Rice Pot
-9%
Beverage
Beverage
-9%

Distribution

Buildings

Building/Room Container Rolls Chance
Fossoil Counter 4 5
Grocery Store Counter 4 5
Storage Unit All 3 5
Zippee Store Counter 1 5

Vehicles

Profession Container Rolls Chance
Golf Trunk 2 3
Police Trunk 4 1
Taxi Trunk 3 2

Farming

If this item is obtained through farming, include details about that here.

Trapping

If this item is obtained through trapping, include details about that here.

Foraging

If this item is obtained through foraging, include details about that here.

Fishing

If this item is obtained through fishing, include details about that here.

Code

From items.txt (Project Zomboid directory/media/scripts/)

Retrieved
Version 39.67.5
	item Broccoli
		HungerChange		= -9,
		Weight			= 0.2,
		Type			= Food,
		DaysTotallyRotten	= 6,
		DisplayName		= Broccoli,
		Icon			= Broccoli,
		DaysFresh		= 4,
		EvolvedRecipe 		= Soup:9;Stew:9;Pie:9;Stir fry:9;Salad:9;Roasted Vegetables:9;RicePot:9;RicePan:9;PastaPot:9;PastaPan:9,
		FoodType    		= Vegetables,
        	Carbohydrates 		= 2.06,
        	Proteins 		= 0.87,
        	Lipids 			= 0.11,
        	Calories 		= 11,

See also

List of Recipe Ingredients

vdeConsumables
Medical Items Adhesive BandagesAlcohol Cotton BallsAlcohol WipesAntibioticsAntidepressantsBandageBath TowelBeta BlockersBottle of DisinfectantCigarettesCotton BallsDish TowelNeedlePainkillersRipped SheetsSleeping TabletsSplintSterilized BandageSterilized RagSuture NeedleSuture Needle HolderThreadTissueTweezersVitamins
Perishable Food AppleAvocadoBaconBacon BitsBacon RashersBananaBell PepperBerriesBowl of BeansBowl of SoupBreadBread DoughBread SlicesBroccoliBroccoli (Seeding)BurgerCabbageCakeCake SliceCarrotsCheeseCheese SandwichCherryChickenCornCorndogDead BirdDead MouseDead RabbitDead RatDead SquirrelEggEgg CartonEggplantFish FilletFried ChickenFriesFrog MeatGrapesHamHam SlicesHotdogJar of Bell PeppersJar of BroccoliJar of CabbageJar of CarrotsJar of EggplantsJar of LeeksJar of PotatoesJar of Red RadishesJar of TomatoesLeekLemonLettuceMayonnaiseMeat PattyMushroomsMutton ChopOnionOpen Can of BeansOpen Can of BologneseOpen Canned CarrotsOpen Canned ChiliOpen Canned CornOpen Canned Corned BeefOpen Canned Mushroom SoupOpen Canned PeasOpen Canned PotatoOpen Canned SardinesOpen Canned TomatoOpen Tin of TunaOrangePancakesPeachPeanut Butter SandwichPeasPiePumpkin PiePineapplePizzaPork ChopPotatoPot of SoupProcessed CheeseRabbit MeatRadishRemouladeSalmonSmall Animal MeatSmall Bird MeatPot of Soup (Recipe)SteakPot of StewStrawberriesTofuTomatoWafflesWatermelonWatermelon ChunksWatermelon SliceYoghurtZucchini
Non-Perishable Food Beef JerkyButterCan of OatsCandy PackageCanned BeansCanned BologneseCanned CarrotsCanned ChiliCanned CornCanned Corned BeefCanned Mushroom SoupCanned PeasCanned PotatoCanned SardinesCanned SoupCanned TomatoCerealChocolateCookie JellyCookieChips/CrispsCupcakeDry Ramen NoodlesDogfoodFloraHoneyIcecreamInsectsKetchupLollipopMac and CheeseMarinaraMint CandyModjeskaMustardPastaPeanutsPeanut ButterPepperPicklesPopcornRiceSaltSunflower SeedsTin of TunaTV Dinner
Non-Perishable (Non Edible) Food Cake BatterCoffeeFlourFrogPie DoughVinegarSugarTea BagYeast
Drinks A Full KettleA Mug of WaterA Pot of WaterBowl of WaterChardonnayJuice BoxHot CuppaMilk PackageOrange SodaPopRed WineWater BottleWater Bottle (Pop)Water Bottle (Whiskey)Whiskey Bottle
Literature BookMagazineNewspaperSkill BooksRecipe Magazines
Removed Items Boring Bowl of SoupBoring SaladBoring SoupBowl of Ramen NoodlesBroccoli Chicken CasseroleChardonnay (Full)Complex Bowl of SoupComplicated SoupDoodleGrilled Cheese SandwichHearty Bowl of SoupHearty SoupSimple Bowl of SoupSimple SaladSimple SoupTasty Bowl of SoupTasty SaladTasty SoupWhiskey Bottle (Half)