Canned Sardines: Difference between revisions

From PZwiki
m (→‎Usage: unified wording)
(→‎Distribution: Add table)
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Canned food}}
{{Header/sandbox2|Project Zomboid|Items|Food|Canned food}}
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
Line 17: Line 16:
|days_fresh=2
|days_fresh=2
|days_rotten=4
|days_rotten=4
|packaged = Yes
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-14
|hunger_change=-14
|thirst_change=
|calories=150
|calories=150
|lipids=11
|lipids=11
Line 28: Line 26:
|item_id=Base.CannedSardines<br>Base.CannedSardinesOpen
|item_id=Base.CannedSardines<br>Base.CannedSardinesOpen
}}
}}
'''Canned sardines''' (written as ''SARDINES'' on the model) is a [[Food#Non-Perishable|non-perishable]] food [[Items|item]].
'''Canned sardines''' (written as ''SARDINES'' on the model) is a non-perishable [[food]] [[Items|item]].


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


===Consumable properties===
===Consumable properties===
Line 59: Line 57:
===Evolved recipes===
===Evolved recipes===
Canned sardines is a [[cooking]] [[Recipe ingredients|ingredient]].
Canned sardines is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|Pizza=14|Stew=14|StirFry=14|Rice=14|Sandwich=7|Omelette=7|Toast=7}}
{{EvolvedRecipesForItem|pizza=14|stew=14|stirfry=14|rice=14|sandwich=7|omelette=7|toast=7}}


==Distribution==
==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">
    <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]].
Canned sardines can often be found in [[Containers#Kitchen Counter|kitchen counters]].


Line 68: Line 122:
{{CodeSnip
{{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
   | start =  
   | start = 399
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item CannedSardines
item CannedSardines
{
{
DisplayName = Canned Sardines,
DisplayName = Canned Sardines,
Line 90: Line 144:
StaticModel = CanClosed,
StaticModel = CanClosed,
WorldStaticModel = CannedSardines_Ground,
WorldStaticModel = CannedSardines_Ground,
Tags = HasMetal,
}
}
}}
}}
Line 96: Line 151:
{{CodeSnip
{{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
   | start =  
   | start = 269
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item CannedSardinesOpen
item CannedSardinesOpen
{
{
DisplayName = Opened Canned Sardines,
DisplayName = Opened Canned Sardines,
DisplayCategory = Food,
DisplayCategory = Food,
Type = Food,
Type = Food,
Weight = 0.8,
Weight = 0.3,
Icon = CannedSardinesOpen,
Icon = CannedSardinesOpen,
CannedFood = TRUE,
CannedFood = TRUE,
Line 126: Line 181:
StaticModel = CanOpen,
StaticModel = CanOpen,
WorldStaticModel = CannedSardines_Open_Ground,
WorldStaticModel = CannedSardines_Open_Ground,
Tags = HasMetal,
}
}
}}
}}
Line 135: Line 191:
*[[Dog Food]]
*[[Dog Food]]


{{Navbox food}}
{{Navbox items|preserved_food}}
 


[[Category:Non-perishable food]]
[[Category:Non-perishable 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