Canned Sardines: Difference between revisions

From PZwiki
mNo edit summary
(Update distribution file)
 
(36 intermediate revisions by 8 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Canned food}}
{{languages}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Canned Sardines
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Non-Perishable_Food|Non Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=CannedSardines_Model.png
{{Consumables
|icon=CannedSardines.png
|image = CannedSardines.png
|icon_name=Canned Sardines
|hunger = -13
|model2=CannedSardinesOpen_Model.png
|weight = 0.7
|icon2=CannedSardinesOpen.png
|model3=CannedSardinesRottenOpen_Model.png
|icon3=CannedSardinesOpen.png
|icon_name2=Opened Canned Sardines
<!--GENERAL-->
|category=Food
|weight=0.8
|days_fresh=2
|days_rotten=4
|packaged=Yes
<!--NUTRITION-->
|hunger_change=-14
|calories=150
|lipids=11
|proteins=14
|carbohydrates=0
<!--TECHNICAL DETAILS-->
|item_id=Base.CannedSardines<br>Base.CannedSardinesOpen
}}
}}
'''Canned sardines''' are a [[Food#Non-Perishable|non-perishable]] food item which are often found in [[Containers#Kitchen_Counter|kitchen counters]].<br>
'''Canned sardines''' (written as ''SARDINES'' on the model) is a non-perishable [[food]] [[Items|item]].
Canned sardines can be opened ''without'' a [[Can Opener#|can opener]], and once opened become a perishable item. An opened can of sardines takes two in-game days to go stale, and four in-game days to rot.


==Usage==
Canned tuna can be opened without the need of a [[Can Opener|can opener]], however once opened it becomes [[Food#Perishable|perishable]].
{{Crafting/sandbox2
|opened_canned_sardines
}}


== Nutritional information ==
===Consumable properties===
{| border=0 align=left <!-- Table will be in middle of page without this line -->
Opened canned sardines can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
|
{{Consumables
{{Consumables2
|image = CannedSardinesOpen.png
|image = CannedSardinesOpen.png
|hunger = -13
|hunger = -14
|thirst = 0
|thirst = 0
|unrotten hunger = -9
|unrotten hunger = -10
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten unhappiness = +10
|unrotten thirst = 0
|unrotten thirst = 0
|rotten hunger = -4
|rotten hunger = -6
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +20
|rotten unhappiness = +20
Line 31: Line 51:
|rotten image = CannedSardinesOpen.png
|rotten image = CannedSardinesOpen.png
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>
'''Its nutritional values are as follows:'''<br>
Carbohydrates = 0 <br>
Proteins = 14 <br>
Lipids = 11 <br>
Calories = 150 <br><br>


== Evolved recipes ==
==Crafting==
<!-- Information for template 'Evolved Recipes', used to explain how much of the food can be put into a meal. -->
{{Main|Cooking}}
{{EvolvedRecipesForItem
 
|stew=13|stirfry=13|ricepot=13|ricepan=13|sandwich=13|}}
===Evolved recipes===
Canned sardines is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|pizza=14|stew=14|stirfry=14|rice=14|sandwich=7|omelette=7|toast=7}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|CannedSardines|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>CannedSardines distribution
        <span class="mw-customtoggle-togglebox-CannedSardines" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-CannedSardines">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Bag_FoodCanned
    | {{ll|Bag_FoodCanned}}
    | 23.28%
    |-
    | Bag_SurvivorBag
    | {{ll|Bag_SurvivorBag}}
    | 23.28%
    |-
    | FoodCache1
    | {{ll|FoodBox}}
    | 62.98%
    |-
    | GroceryBag1
    | {{ll|GroceryBag1}}
    | 1.01%
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 23.28%
    |-
    | SurvivorCache1
    | {{ll|SurvivorCrate}}
    | 23.28%
    |-
    | SurvivorCache1
    | {{ll|counter}}
    | 23.28%
    |-
    | SurvivorCache2
    | {{ll|SurvivorCrate}}
    | 23.28%
    |-
    | SurvivorCache2
    | {{ll|counter}}
    | 23.28%
    |-
    | garagestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | generalstore
    | {{ll|crate}}
    | 23.28%
    |-
    | generalstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | gigamart
    | {{ll|crate}}
    | 23.28%
    |-
    | gigamart
    | {{ll|shelves}}
    | 23.28%
    |-
    | grocery
    | {{ll|crate}}
    | 23.28%
    |-
    | grocery
    | {{ll|shelves}}
    | 23.28%
    |-
    | grocery
    | {{ll|smallcrate}}
    | 23.28%
    |-
    | grocerystorage
    | {{ll|crate}}
    | 3.98%
    |-
    | grocerystorage
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | grocerystorage
    | {{ll|smallcrate}}
    | 3.98%
    |-
    | kitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | kitchen
    | {{ll|crate}}
    | 23.28%
    |-
    | kitchen
    | {{ll|overhead}}
    | 23.28%
    |-
    | kitchen
    | {{ll|shelves}}
    | 23.28%
    |-
    | livingroom
    | {{ll|counter}}
    | 23.28%
    |-
    | livingroom
    | {{ll|overhead}}
    | 23.28%
    |-
    | storageunit
    | {{ll|crate}}
    | 23.28%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-CannedSardines" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CannedSardines|41.78.16-->
 
Canned sardines can often be found in [[Containers#Kitchen Counter|kitchen counters]].
 
==Code==
{{CodeBox|[[File:CannedSardines.png]] {{ID|Base.CannedSardines}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 399
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item CannedSardines
{
DisplayName = Canned Sardines,
DisplayCategory = Food,
Type = Food,
Weight = 0.8,
Icon = CannedSardines,
CannedFood = TRUE,
CantEat = TRUE,
Packaged = TRUE,
Calories = 150,
Carbohydrates = 0,
Lipids = 11,
Proteins = 14,
StaticModel = CanClosed,
WorldStaticModel = CannedSardines_Ground,
Tags = HasMetal,
}
}}
 
[[File:CannedSardinesOpen.png]] {{ID|Base.CannedSardinesOpen}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 269
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item CannedSardinesOpen
{
DisplayName = Opened Canned Sardines,
DisplayCategory = Food,
Type = Food,
Weight = 0.3,
Icon = CannedSardinesOpen,
CannedFood = TRUE,
EatType = can,
EvolvedRecipe = Pizza:14;Stew:14;Stir fry Griddle Pan:14;Stir fry:14;RicePot:14;RicePan:14;Sandwich:7;Sandwich Baguette:7;Omelette:7;Toast:7,
/*EvolvedRecipeName = Canned Sardines,*/
EvolvedRecipeName = Sardine,
FoodType = Fish,
Packaged = TRUE,
ReplaceOnUse = TinCanEmpty,
DaysFresh = 2,
DaysTotallyRotten = 4,
HungerChange = -14,
Calories = 150,
Carbohydrates = 0,
Lipids = 11,
Proteins = 14,
StaticModel = CanOpen,
WorldStaticModel = CannedSardines_Open_Ground,
Tags = HasMetal,
}
}}
}}
 
==See also==
*[[Canned Corned Beef]]
*[[Canned Tuna]]
*[[Dog Food]]
 
{{Navbox items|preserved_food}}


== Code ==
<br>
''Sealed can''
<nowiki>
    item CannedSardines
        Weight = 0.7,
        Type = Food,
        DisplayName = Canned Sardines,
        Icon = CannedSardines,
        Carbohydrates = 0,
        Proteins = 14,
        Lipids = 11,
        Calories = 150,
        Packaged = TRUE,
</nowiki>
''Opened can''
<nowiki>
    item CannedSardinesOpen
        Weight = 0.7,
        Type = Food,
        DisplayName = Open Canned Sardines,
        Icon = CannedSardinesOpen,
        HungerChange = -13,
        EvolvedRecipe = Stew:13;Stir fry:13;RicePot:13;RicePan:13;Sandwich:13,
        DaysFresh = 2,
        DaysTotallyRotten = 4,
        Carbohydrates = 0,
        Proteins = 14,
        Lipids = 11,
        Calories = 150,
        Packaged = TRUE,
        FoodType    = Fish,
        EvolvedRecipeName = Canned Sardines,
    </nowiki>


{{Navbox/Consumables}}
[[Category:Non-perishable food]]
[[Category:Consumables]]
[[Category:Food]]
[[Category:Non-Perishable_Food]]
[[Category:Version 34.28]]

Latest revision as of 12:17, 30 April 2024

Project ZomboidItemsFoodCanned foodCanned Sardines
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Canned Sardines
CannedSardines Model.png
CannedSardinesOpen Model.png
CannedSardinesRottenOpen Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.8
Properties
Packaged
Yes
Days fresh
2 days
Days until rotten
4 days
Nutrition
HungerMoodle Icon Hungry.png
-14
CaloriesCalories
150
CarbohydratesCarbohydrates
0
ProteinsProteins
14
FatFat
11
Technical
Item ID
Base.CannedSardines
Base.CannedSardinesOpen

Canned sardines (written as SARDINES on the model) is a non-perishable food item.

Usage

Canned tuna can be opened without the need of a can opener, however once opened it becomes perishable.

Product Ingredients Tools Requirements Workstation XP
CannedSardinesOpen.png
Opened Canned Sardines
CannedSardines.png Canned Sardines ×1 none none none none

Consumable properties

Opened canned sardines can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.

Fresh Stale Rotten

CannedSardinesOpen.png
Hunger: -14


CannedSardinesOpen.png
Hunger: -10
Boredom: +10
Unhappiness: +10

CannedSardinesOpen.png
Hunger: -6
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Canned sardines is a cooking ingredient.

Product Nutrition
Stew
Stew
14
Stir Fry
Stir Fry
14
Sandwich
Sandwich
7
Rice Pot/Saucepan
Rice Pot/Saucepan
14
Omelette
Omelette
7
Pizza
Pizza
14
Toast
Toast
7

Distribution

The loot distributions can be found in the table(s) below.

CannedSardines distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Bag_FoodCanned Bag_FoodCanned 23.28%
Bag_SurvivorBag Bag_SurvivorBag 23.28%
FoodCache1 FoodBox 62.98%
GroceryBag1 GroceryBag1 1.01%
SafehouseLoot counter 23.28%
SurvivorCache1 SurvivorCrate 23.28%
SurvivorCache1 counter 23.28%
SurvivorCache2 SurvivorCrate 23.28%
SurvivorCache2 counter 23.28%
garagestorage crate 23.28%
generalstore crate 23.28%
generalstore shelves 23.28%
generalstorestorage crate 23.28%
generalstorestorage shelves 23.28%
gigamart crate 23.28%
gigamart shelves 23.28%
grocery crate 23.28%
grocery shelves 23.28%
grocery smallcrate 23.28%
grocerystorage crate 3.98%
grocerystorage metal_shelves 3.98%
grocerystorage smallcrate 3.98%
kitchen counter 23.28%
kitchen crate 23.28%
kitchen overhead 23.28%
kitchen shelves 23.28%
livingroom counter 23.28%
livingroom overhead 23.28%
storageunit crate 23.28%

Canned sardines can often be found in kitchen counters.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

CannedSardines.png Base.CannedSardines
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item CannedSardines
	{
		DisplayName = Canned Sardines,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = CannedSardines,
		CannedFood = TRUE,
		CantEat = TRUE,
		Packaged = TRUE,
		Calories = 150,
		Carbohydrates = 0,
		Lipids = 11,
		Proteins = 14,
		StaticModel = CanClosed,
		WorldStaticModel = CannedSardines_Ground,
		Tags = HasMetal,
	}

CannedSardinesOpen.png Base.CannedSardinesOpen
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item CannedSardinesOpen
	{
		DisplayName = Opened Canned Sardines,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = CannedSardinesOpen,
		CannedFood = TRUE,
		EatType = can,
		EvolvedRecipe = Pizza:14;Stew:14;Stir fry Griddle Pan:14;Stir fry:14;RicePot:14;RicePan:14;Sandwich:7;Sandwich Baguette:7;Omelette:7;Toast:7,
		/*EvolvedRecipeName = Canned Sardines,*/
		EvolvedRecipeName = Sardine,
		FoodType = Fish,
		Packaged = TRUE,
		ReplaceOnUse = TinCanEmpty,
		DaysFresh = 2,
		DaysTotallyRotten = 4,
		HungerChange = -14,
		Calories = 150,
		Carbohydrates = 0,
		Lipids = 11,
		Proteins = 14,
		StaticModel = CanOpen,
		WorldStaticModel = CannedSardines_Open_Ground,
		Tags = HasMetal,
	}

See also