Can Opener: Difference between revisions

From PZwiki
(added model to infobox)
(Update distribution file)
 
(35 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages|Can Opener}}
{{Header|Project Zomboid|Items|Equipment|Tools|Cooking tools}}
{{header|The Game World|Items|Tools|type=Tool|version=Version 40|incver=8}}{{Infobox normal
{{Page version|41.78.16}}
|display_name = Can Opener
{{Infobox item
|name_colour = Tool
|name=Can Opener
|name_text_colour = Tool
|model=CanOpener_Model.png
|image = CanOpener_Model.png  
|model_width=200px
| image_width = 300px
|icon=CanOpener.png
| alternate_image = CanOpener.png
|icon_name=Can Opener
| alternate_name = Can Opener
|category=Item
| alternate_link =
|weight=0.6
|category = Item
|primary_use=Open cans
|weight = 0.6
|item_id=Base.TinOpener
|primary_use = Open cans
}}
|class_name = Base.TinOpener
A '''can opener''' is a tool used in [[cooking]].
}}A '''can opener''' is a tool used in [[cooking]].


==Usage==
==Usage==
A can opener is required to open most cans of food.
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:'''
'''Foods requiring a can opener are:'''
Line 32: Line 31:
*[[Dog Food]]
*[[Dog Food]]


== Crafting ==
==Crafting==
A can opener can be used for the following crafting recipes:
A can opener can be used for the following crafting recipes:
{{Crafting table header}}
{{Crafting/sandbox2
{{RecipeLookup|2000}}
|opened_canned_vegetable_soup
{{RecipeLookup|2019}}
|opened_canned_beans
{{RecipeLookup|2004}}
|opened_dog_food
{{Crafting table footer}}
|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==
==Distribution==
Can openers can often be found in [[Containers#Kitchen Counter|kitchen counters]].
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]]


== Code ==
{{Navbox items|tools}}
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=7}}
<pre> item TinOpener
Weight = 0.6,
Type = Normal,
DisplayName = Can Opener,
Icon = CanOpener,
MetalValue = 3,</pre>


== See also ==
*[[Recipe Ingredients]]


{{Navbox/Tools}}
[[Category:Tools]]

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