Canned Sardines: Difference between revisions

From PZwiki
No edit summary
(→‎Distribution: Add table)
(40 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{languages}}{{Notice|Short}}
{{Header|Project Zomboid|Items|Food|Canned food}}
{{Page version|41.78.16}}
{{Infobox item
|name=Canned Sardines
|model=CannedSardines_Model.png
|icon=CannedSardines.png
|icon_name=Canned Sardines
|model2=CannedSardinesOpen_Model.png
|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''' (written as ''SARDINES'' on the model) is a non-perishable [[food]] [[Items|item]].


{{Consumables
==Usage==
|image = CannedSardines.png
Canned tuna can be opened without the need of a [[Can Opener|can opener]], however once opened it becomes [[Food#Perishable|perishable]].
|hunger = -20
{{Crafting/sandbox2
|weight = 0.7
|opened_canned_sardines
}}
}}
Canned Canned Sardines<br>
[[File:CannedSardines.png]]:Non-Perishable Food<br>
Open Canned Sardines<br>
[[File:CannedSardinesOpen.png]]:Perishable Food<br>
<br>
Canned sardines is one of the few canned foods what doesn't need heating.
<br>
'''Note:'''It's better to carry [[Chips]], beacause they are more lighter and doesn't require [[Can Opener]]


== Nutritional Information ==
===Consumable properties===
{{Consumables2
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
|image = CannedSardinesOpen.png
|image = CannedSardinesOpen.png
|hunger = -20  
|hunger = -14
|thirst = 0
|unrotten hunger = -10
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten thirst = 0
|rotten hunger = -6
|rotten boredom = +20
|rotten unhappiness = +20
|rotten thirst = 0
|perishable = 1
|perishable = 1
|cookable = 0
|dangerous uncooked = 0
|unhappiness = 0
|unrotten hunger = 0
|unrotten unhappiness = 0
|rotten hunger = 0
|rotten unhappiness = 0
|unrottencooked hunger = 0
|unrottencooked unhappiness = 0
|unrottencooked boredom = 0
|rottencooked hunger = 0
|rottencooked unhappiness = 0
|cooked hunger = 0
|cooked unhappiness = 0
|cooked boredom = 0
|burned hunger = 0
|burned boredom = 0
|burned unhappiness = 0
|burned image =
|rotten image = CannedSardinesOpen.png
|rotten image = CannedSardinesOpen.png
|cooked image =
}}
}}


== Crafting ==
==Crafting==
{| class="wikitable sortable" style="text-align:center;"
{{Main|Cooking}}
|-
! Name
! class="unsortable" | Recipe
! class="unsortable" | Description
! Crafting Level
{{RecipeLookup|2070}}
|}


== Code ==
===Evolved recipes===
<nowiki>item CannedSardines
Canned sardines is a [[cooking]] [[Recipe ingredients|ingredient]].
    {
{{EvolvedRecipesForItem|pizza=14|stew=14|stirfry=14|rice=14|sandwich=7|omelette=7|toast=7}}
        Weight = 0.7,
        Type = Normal,
        DisplayName = Canned Sardines,
        Icon = CannedSardines,
    }</nowiki>
open
<nowiki>item CannedSardinesOpen
    {
        Weight = 0.7,
        Type = Food,
        DisplayName = Open Canned Sardines,
        Icon = CannedSardinesOpen,
        HungerChange = -20,
        DaysFresh = 2,
        DaysTotallyRotten = 4,
    }</nowiki>


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


{| class="wikitable" width="550" style="text-align:center;"
<!--BOT FLAG|CannedSardines|41.78.16-->
|-
{{clear}}
! Alpha ||
<div class="togglebox theme-red">
|-
    <div>CannedSardines distribution
| Ver31.9 || -  
        <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">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|Bag_FoodCanned}}
    | 2
    | 20.0
    |-
    | all
    | {{ll|FoodBox}}
    | 15
    | 10.0
    |-
    | all
    | {{ll|GroceryBag1}}
    | 1
    | 1.0
    |-
    | garagestorage
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | generalstore
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | grocerystorage
    | {{ll|crate}}
    | 4
    | 1.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 10.0
    |}
</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==
==See also==
*[[Canned Corned Beef]]
*[[Canned Tuna]]
*[[Dog Food]]


{{Navbox items|preserved_food}}




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

Revision as of 02:48, 25 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
Containers
Building / Room Container Rolls Chance
all Bag_FoodCanned 2 20.0
all FoodBox 15 10.0
all GroceryBag1 1 1.0
garagestorage crate 4 10.0
generalstore crate 4 10.0
grocerystorage crate 4 1.0
kitchen counter 4 10.0

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