Can Opener: Difference between revisions

From PZwiki
(Quickly added navbox before later edit.)
(Update distribution file)
 
(39 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Equipment|Tools|Cooking tools}}
{{Tools
{{Page version|41.78.16}}
|image = canopener.png  
{{Infobox item
|primaryuse = Opening cans
|name=Can Opener
|otheruses = None
|model=CanOpener_Model.png
|weight = 0.6
|model_width=200px
|icon=CanOpener.png
|icon_name=Can Opener
|category=Item
|weight=0.6
|primary_use=Open cans
|item_id=Base.TinOpener
}}
}}
The '''can opener''' is a tool used to open cans of food (such as [[canned soup]]). Can openers can often be found in [[Containers#Kitchen_cupboard|kitchen cupboards]].  
A '''can opener''' is a tool used in [[cooking]].


== Crafting ==
==Usage==
A can opener is required to open most cans of food. It's a very useful tool, especially in the early days of the player's survival, allowing them to open any canned food they find.
 
'''Foods requiring a can opener are:'''
*[[Canned Beans]]
*[[Canned Bolognese]]
*[[Canned Carrots]]
*[[Canned Chili]]
*[[Canned Corn]]
*[[Canned Mushroom Soup]]
*[[Canned Peas]]
*[[Canned Potato]]
*[[Canned Soup]]
*[[Canned Tomato]]
*[[Canned Tuna]]
*[[Dog Food]]
 
==Crafting==
A can opener can be used for the following crafting recipes:
A can opener can be used for the following crafting recipes:
{{Crafting/sandbox2
|opened_canned_vegetable_soup
|opened_canned_beans
|opened_dog_food
|opened_canned_corn
|opened_canned_bolognese
|opened_canned_chili
|opened_canned_mushroom_soup
|opened_canned_peas
|opened_canned_potato
|opened_canned_tomato
|opened_canned_carrots
|opened_canned_fruit_cocktail
|opened_canned_peaches
|opened_canned_pineapple
|opened_canned_evaporated_milk
|opened_canned_fruit_beverage
}}
{{Crafting/sandbox2
|pot_of_soup_uncooked
|pot_of_soup_uncooked
|bowl_of_beans_uncooked
}}
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|TinOpener|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>TinOpener distribution
        <span class="mw-customtoggle-togglebox-TinOpener" 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-TinOpener">
    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
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 19.27%
    |-
    | SurvivorCache1
    | {{ll|counter}}
    | 19.27%
    |-
    | SurvivorCache2
    | {{ll|counter}}
    | 19.27%
    |-
    | breakroom
    | {{ll|counter}}
    | 19.27%
    |-
    | kitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | kitchen
    | {{ll|overhead}}
    | 19.27%
    |-
    | kitchen
    | {{ll|shelves}}
    | 19.27%
    |-
    | livingroom
    | {{ll|counter}}
    | 19.27%
    |-
    | livingroom
    | {{ll|overhead}}
    | 19.27%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-TinOpener" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|TinOpener|41.78.16-->
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 533
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item TinOpener
{
    DisplayCategory = Cooking,
Weight = 0.6,
Type = Normal,
DisplayName = Can Opener,
Icon = CanOpener,
MetalValue = 3,
StaticModel = CanOpener,
Tags = CanOpener,
WorldStaticModel = CanOpenerGround,
}
}}
}}
==See also==
*[[Recipe ingredients]]


{{Navbox items|tools}}


{| class="wikitable sortable" style="text-align:center;"
|-
! Name
! class="unsortable" | Recipe
! class="unsortable" | Description
{{RecipeLookup|2000}}
{{RecipeLookup|2017}}
{{RecipeLookup|2019}}
{{RecipeLookup|2004}}
|}


== Code ==
<nowiki>item TinOpener
{
Type = Normal,
DisplayName = Can Opener,
Icon = CanOpener,
Weight = 0.6
}</nowiki>
{{Navbox/Tools}}
[[Category:Tools]]
[[Category:Tools]]
[[Category:Version 0.2.0p]]

Latest revision as of 12:14, 30 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Can Opener
CanOpener Model.png
General
Category
Item
Encumbrance
Moodle Icon HeavyLoad.png
0.6
Function
Open cans
Technical
Item ID
Base.TinOpener

A can opener is a tool used in cooking.

Usage

A can opener is required to open most cans of food. It's a very useful tool, especially in the early days of the player's survival, allowing them to open any canned food they find.

Foods requiring a can opener are:

Crafting

A can opener can be used for the following crafting recipes:

Product Ingredients Tools Requirements Workstation XP
SoupOpen.png
Opened Canned Vegetable Soup
Soup.png Canned Vegetable Soup ×1 CanOpener.png
Can Opener
none none none
BeansOpen.png
Opened Canned Beans
Beans.png Canned Beans ×1 CanOpener.png
Can Opener
none none none
DogfoodOpen.png
Opened Dog Food
Dogfood.png Dog Food ×1 CanOpener.png
Can Opener
none none none
CannedCornOpen.png
Opened Canned Corn
CannedCorn.png Canned Corn ×1 CanOpener.png
Can Opener
none none none
CannedBologneseOpen.png
Opened Canned Bolognese
CannedBolognese.png Canned Spaghetti Bolognese ×1 CanOpener.png
Can Opener
none none none
CannedChiliOpen.png
Opened Canned Chili
CannedChili.png Canned Chili ×1 CanOpener.png
Can Opener
none none none
CannedMushroomSoupOpen.png
Opened Canned Mushroom Soup
CannedMushroomSoup.png Canned Mushroom Soup ×1 CanOpener.png
Can Opener
none none none
CannedPeasOpen.png
Opened Canned Peas
CannedPeas.png Canned Peas ×1 CanOpener.png
Can Opener
none none none
CannedPotatoOpen.png
Opened Canned Potato
CannedPotato.png Canned Potato ×1 CanOpener.png
Can Opener
none none none
CannedTomatoOpen.png
Opened Canned Tomato
CannedTomato.png Canned Tomato ×1 CanOpener.png
Can Opener
none none none
CannedCarrotsOpen.png
Opened Canned Carrots
CannedCarrots.png Canned Carrots ×1 CanOpener.png
Can Opener
none none none
CannedFruitCocktailOpen.png
Opened Canned Fruit Cocktail
CannedFruitCocktail.png Canned Fruit Cocktail ×1 CanOpener.png
Can Opener
none none none
CannedPeachesOpen.png
Opened Canned Peaches
CannedPeaches.png Canned Peaches ×1 CanOpener.png
Can Opener
none none none
CannedPineappleOpen.png
Opened Canned Pineapple
CannedPineapple.png Canned Pineapple ×1 CanOpener.png
Can Opener
none none none
CannedCondensedMilk Open.png
Opened Canned Evaporated Milk
CannedCondensedMilk.png Canned Evaporated Milk ×1 CanOpener.png
Can Opener
none none none
CannedJuice Open.png
Opened Canned Fruit Beverage
CannedJuice.png Canned Fruit Beverage ×1 CanOpener.png
Can Opener
none none none


Product Ingredients Tools Requirements Workstation XP
PotFull.png
Pot of Soup (Uncooked)
One of:
CannedMushroomSoup.png Canned Mushroom Soup ×1
Soup.png Canned Vegetable Soup ×1
CanOpener.png
Can Opener
none none none
PotFull.png
Pot of Soup (Uncooked)
One of:
CannedMushroomSoup.png Canned Mushroom Soup ×1
Soup.png Canned Vegetable Soup ×1
CanOpener.png
Can Opener
none none none
BowlFull.png
Bowl of Beans (Uncooked)

Bowl.png Bowl ×1
Beans.png Canned Beans ×1
CanOpener.png
Can Opener
none none 0.75 Cooking

Distribution

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

TinOpener 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
SafehouseLoot counter 19.27%
SurvivorCache1 counter 19.27%
SurvivorCache2 counter 19.27%
breakroom counter 19.27%
kitchen counter 19.27%
kitchen overhead 19.27%
kitchen shelves 19.27%
livingroom counter 19.27%
livingroom overhead 19.27%

Code

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

Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item TinOpener
	{
	    DisplayCategory = Cooking,
		Weight	=	0.6,
		Type	=	Normal,
		DisplayName	=	Can Opener,
		Icon	=	CanOpener,
		MetalValue = 3,
		StaticModel = CanOpener,
		Tags = CanOpener,
		WorldStaticModel = CanOpenerGround,
	}

See also