Frying Pan: Difference between revisions

From PZwiki
(Redesigned page, +Navbar, Corrected consumables, changed description, removed crafting (no longer relevant), confirmed repair costs, corrected incorrect code, +Tool NavBox, +relevant categories)
(Update distribution file)
 
(52 intermediate revisions by 10 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}}
{{languages|Frying_Pan}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #C3E4ED; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #9AC0CD"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Frying Pan
<div style="float: left;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Tools|Tools]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=FryingPan_Model.png
{{Tools
|icon=Pan.png
|image = Pan.png
|icon_name=Frying Pan
|primaryuse= Cooking Food
<!--GENERAL-->
|otheruses= Kill Zombies
|category=Cooking
|weight = 1.0
|skill_type=Short Blunt
|weight=1
|function=[[Cooking]]
|equipped=One-handed
|attachment_type=Pan
<!--DAMAGE-->
|type=Blunt
|min_range=0.61
|max_range=1.1
|base_speed=1
|condition_max=10
|min_damage=0.3
|max_damage=0.5
|crit_multiplier=2
|crit_chance=30
|door_damage=3
|tree_damage=0
|push_back=0.5
|knockdown=1.3
<!--TECHNICAL-->
|item_id=Base.Pan
}}
}}
A '''frying pan''' is a blunt melee [[weapon]] used in [[cooking]].


'''The Frying Pan''' is a kitchen tool that is also used as an improvised blunt weapon in the post-apocalyptic world.
==Usage==


Frying pans are usually found in kitchen cupboards.
===Weapon===
The frying pan has a short range and can only hit one opponent per swing, making it difficult to fight multiple zombies at once. Using the frying pan as a weapon increases the rate of [[Endurance|exhaustion]] more than most other weapons.


The frying pan is quite heavy and cumbersome to use with a rather long swinging time. However, despite its short range, it can deal considerable damage to an enemy if enough power is given in a swing. However, the frying pan should not be considered as a long-term weapon because of its poor durability.
===Breaking doors===
It is mostly ineffective at bashing down [[door]]s, dealing just 3 damage per hit. For comparison, an [[axe]] deals 35 damage.


== Repair Costs ==
===Chopping trees===
<nowiki>
It cannot be used to chop trees, dealing 0 damage per hit. For comparison, an [[axe]] deals 35 damage.
 
==Condition==
The frying pan has a maximum condition of 10. Its rate of degradation is influenced by the [[Skills|short blunt]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (12 + maintenanceMod &times; 2)</code>. Where "maintenanceMod" is calculated using the short blunt and maintenance skills.<br>
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blunt]] skills.
{{Durability weapon|12}}
 
===Repairing===
Materials that can be used to repair the frying pan, based on first time repairing.
{{Fixing weapon
|item=Frying Pan
|ducttape=1
|ducttaperepairs=50
|ducttapechance=95
|glue=2
|gluerepairs=20
|gluechance=95
|scotchtape=3
|scotchtaperepairs=10
|scotchtapechance=95
}}
 
It should be noted that repairing the frying pan makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.
 
==Crafting==
===Cooking===
{{Main|Cooking}}
Frying pans can be used to cook a [[Recipe ingredients#Stir fry & roast ingredients|stir fry]] using ingredients including, but not limited to, [[bacon]], [[Dry Ramen Noodles|ramen]], [[corn]] and [[Onion|onions]].
{{Crafting/sandbox2
|stir_fry
}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Pan|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Pan distribution
        <span class="mw-customtoggle-togglebox-Pan" 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-Pan">
    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
    |-
    | bakerykitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | burgerkitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | cafekitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | cafeteria
    | {{ll|counter}}
    | 23.28%
    |-
    | cafeteriakitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | chinesekitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | deepfry_kitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | departmentstorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | dinerbackroom
    | {{ll|counter}}
    | 23.28%
    |-
    | dinerkitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | donut_kitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | fishchipskitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | generalstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | gigamart
    | {{ll|shelves}}
    | 23.28%
    |-
    | gigamartkitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | housewarestore
    | {{ll|shelves}}
    | 23.28%
    |-
    | icecream
    | {{ll|counter}}
    | 23.28%
    |-
    | italiankitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | jayschicken_kitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | kitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | kitchen_crepe
    | {{ll|counter}}
    | 23.28%
    |-
    | kitchenwares
    | {{ll|shelves}}
    | 23.28%
    |-
    | livingroom
    | {{ll|counter}}
    | 23.28%
    |-
    | mexicankitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | pizzakitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | restaurantkitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | seafoodkitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | spiffoskitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | sushikitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | westernkitchen
    | {{ll|counter}}
    | 23.28%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Pan" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Pan|41.78.16-->
 
==Code==
{{CodeBox|
 
===Item===
{{CodeSnip
  | lang = java
  | line = true
  | start = 1236
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Pan
    {
        DisplayCategory = Cooking,
        MaxRange = 1.1,
        WeaponSprite = FryingPan,
        MinAngle = 0.67,
        Type = Weapon,
        MinimumSwingTime = 3,
        KnockBackOnNoDeath = True,
        SwingAmountBeforeImpact = 0.02,
        Categories = Improvised;SmallBlunt,
        ConditionLowerChanceOneIn = 12,
        Weight = 1,
        SplatNumber = 1,
        PushBackMod = 0.5,
        SubCategory = Swinging,
        ConditionMax = 10,
        MaxHitCount = 1,
        DoorDamage = 3,
        SwingAnim = Bat,
        DisplayName = Frying Pan,
        MinRange = 0.61,
        SwingTime = 3,
        KnockdownMod = 1.3,
        SplatBloodOnNoDeath = FALSE,
        Icon = Pan,
        RunAnim = Run_Weapon2,
        IdleAnim = Idle_Weapon2,
        TreeDamage  =  0,
        EnduranceMod = 1.3,
        MetalValue = 20,
        MinDamage = 0.3,
        MaxDamage = 0.5,
        CriticalChance = 30,
        CritDmgMultiplier = 2,
        BaseSpeed = 1,
    WeaponLength = 0.21,
    AttachmentType = Pan,
        BreakSound = FryingPanBreak,
        DoorHitSound = FryingPanHit,
HitSound = FryingPanHit,
HitFloorSound = FryingPanHit,
SwingSound = FryingPanSwing,
    }
}}
 
===Repair===
{{CodeSnip
  | lang = java
  | line = true
  | start = 489
  | source = fixing.txt
  | retrieved = true
  | version = 41.78.16
  | code =
     fixing Fix Pan
     fixing Fix Pan
    {
       Require : Pan,
       Require : Pan,


Line 25: Line 294:
       Fixer : Glue=2,
       Fixer : Glue=2,
       Fixer : Scotchtape=3,
       Fixer : Scotchtape=3,
</nowiki>
    }
}}
}}
 
==See also==
*[[Roasting Pan]]
*[[Rolling Pin]]
 
{{Navbox items|blunt}}
 


== Code ==
<nowiki>
item Pan
MaxRange = 1.1,
WeaponSprite = FryingPan,
MinAngle = 0.2,
Type = Weapon,
MinimumSwingTime = 3,
KnockBackOnNoDeath = True,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Blunt,
ConditionLowerChanceOneIn = 12,
Weight = 1,
SplatN.umber = 0,
PushBackMod = 0.5,
MinDamage = 0.3,
MaxDamage = 0.5,
SubCategory = Swinging,
ConditionMax = 10,
MaxHitCount = 1,
DoorDamage = 3,
SwingAnim = Bat,
WeaponWeight = 2,
DisplayName = Frying Pan,
MinRange = 0.61,
SwingTime = 3,
KnockdownMod = 1.3,
SplatBloodOnNoDeath = FALSE,
Icon = Pan,
RunAnim = Run_Weapon2,
        IdleAnim = Idle_Weapon2,
        TreeDamage  = 0,
        EnduranceMod = 1.3,
</nowiki>


{{Navbox/Tools}}
[[Category:Cooking tools]]
{{Navbox/Weapons}}
[[Category:Items]]
[[Category:Tools]]
[[Category:Tools]]
[[Category:Weapons]]
[[Category:Version 34.28]]

Latest revision as of 12:48, 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]
Frying Pan
FryingPan Model.png
General
Category
Cooking
Encumbrance
Moodle Icon HeavyLoad.png
1
Equipped
One-handed
Slot attached
Back
Function
Skill
Properties
Max condition
10
Performance
Damage
0.3–0.5
Door damage
3
Tree damage
0
Range
0.61–1.1
Attack speed
1
Knockback
0.5
Knockdown
1.3
Crit chance
30%
Technical
Item ID
Base.Pan

A frying pan is a blunt melee weapon used in cooking.

Usage

Weapon

The frying pan has a short range and can only hit one opponent per swing, making it difficult to fight multiple zombies at once. Using the frying pan as a weapon increases the rate of exhaustion more than most other weapons.

Breaking doors

It is mostly ineffective at bashing down doors, dealing just 3 damage per hit. For comparison, an axe deals 35 damage.

Chopping trees

It cannot be used to chop trees, dealing 0 damage per hit. For comparison, an axe deals 35 damage.

Condition

The frying pan has a maximum condition of 10. Its rate of degradation is influenced by the short blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (12 + maintenanceMod × 2). Where "maintenanceMod" is calculated using the short blunt and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and short blunt skills.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Condition lower chance
0 0 1/12 (8%)
0 4 1/14 (7%)
0 8 1/16 (6%)
4 0 1/16 (6%)
8 0 1/20 (5%)
4 4 1/18 (6%)
4 8 1/20 (5%)
8 8 1/24 (4%)
10 10 1/26 (4%)

Repairing

Materials that can be used to repair the frying pan, based on first time repairing.

Repair Frying Pan
DuctTape.png
Potentially repairs: 50%
Chance of success: 95%
Glue.png
Potentially repairs: 20%
Chance of success: 95%
Scotchtape.png
Potentially repairs: 10%
Chance of success: 95%

It should be noted that repairing the frying pan makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.

Crafting

Cooking

Main article: Cooking

Frying pans can be used to cook a stir fry using ingredients including, but not limited to, bacon, ramen, corn and onions.

Product Ingredients Tools Requirements Workstation XP
PanFull.png
Stir fry
One of:
Griddle.png Griddle Pan ×1
Pan.png Frying Pan ×1
Each of:
Soup Ingredients.png Stir fry Ingredients ×(1−6)
none none none 0.75 Cooking

Distribution

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

Pan 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
bakerykitchen counter 23.28%
burgerkitchen counter 23.28%
cafekitchen counter 23.28%
cafeteria counter 23.28%
cafeteriakitchen counter 23.28%
chinesekitchen counter 23.28%
deepfry_kitchen counter 23.28%
departmentstorage metal_shelves 23.28%
dinerbackroom counter 23.28%
dinerkitchen counter 23.28%
donut_kitchen counter 23.28%
fishchipskitchen counter 23.28%
generalstore shelves 23.28%
generalstorestorage shelves 23.28%
gigamart shelves 23.28%
gigamartkitchen counter 23.28%
housewarestore shelves 23.28%
icecream counter 23.28%
italiankitchen counter 23.28%
jayschicken_kitchen counter 23.28%
kitchen counter 23.28%
kitchen_crepe counter 23.28%
kitchenwares shelves 23.28%
livingroom counter 23.28%
mexicankitchen counter 23.28%
pizzakitchen counter 23.28%
restaurantkitchen counter 23.28%
seafoodkitchen counter 23.28%
spiffoskitchen counter 23.28%
sushikitchen counter 23.28%
westernkitchen counter 23.28%

Code

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

Item

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item Pan
    {
        DisplayCategory = Cooking,
        MaxRange	=	1.1,
        WeaponSprite	=	FryingPan,
        MinAngle	=	0.67,
        Type	=	Weapon,
        MinimumSwingTime	=	3,
        KnockBackOnNoDeath	=	True,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;SmallBlunt,
        ConditionLowerChanceOneIn	=	12,
        Weight	=	1,
        SplatNumber	=	1,
        PushBackMod	=	0.5,
        SubCategory	=	Swinging,
        ConditionMax	=	10,
        MaxHitCount	=	1,
        DoorDamage	=	3,
        SwingAnim	=	Bat,
        DisplayName	=	Frying Pan,
        MinRange	=	0.61,
        SwingTime	=	3,
        KnockdownMod	=	1.3,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	Pan,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        TreeDamage  =   0,
        EnduranceMod = 1.3,
        MetalValue = 20,
        MinDamage	=	0.3,
        MaxDamage	=	0.5,
        CriticalChance	=	30,
        CritDmgMultiplier = 2,
        BaseSpeed = 1,
    	WeaponLength = 0.21,
    	AttachmentType = Pan,
        BreakSound	=	FryingPanBreak,
        DoorHitSound = FryingPanHit,
		HitSound = FryingPanHit,
		HitFloorSound = FryingPanHit,
		SwingSound = FryingPanSwing,
    }

Repair

Source: ProjectZomboid\media\scripts\fixing.txt

Retrieved: Build 41.78.16
fixing Fix Pan
    {
       Require : Pan,

       Fixer : DuctTape,
       Fixer : Glue=2,
       Fixer : Scotchtape=3,
    }

See also