Frying Pan: Difference between revisions
(added CodeBox, Condition and other fixes/updates/adjustments) |
m (Automated CodeBox update) |
||
(19 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}} | |||
{{Header|Project Zomboid|Items|Weapons|Melee weapons| | {{Page version|41.78.16}} | ||
{{Infobox | {{Infobox item | ||
| | |name=Frying Pan | ||
| | |model=FryingPan_Model.png | ||
|icon=Pan.png | |||
|icon_name=Frying Pan | |||
| | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Cooking | |category=Cooking | ||
Line 16: | Line 12: | ||
|function=[[Cooking]] | |function=[[Cooking]] | ||
|equipped=One-handed | |equipped=One-handed | ||
|attachment_type=Pan | |attachment_type=Pan | ||
<!--DAMAGE--> | <!--DAMAGE--> | ||
Line 33: | Line 28: | ||
|knockdown=1.3 | |knockdown=1.3 | ||
<!--TECHNICAL--> | <!--TECHNICAL--> | ||
| | |item_id=Base.Pan | ||
}}A '''frying pan''' is a blunt melee [[weapon]] used in [[cooking]]. | }} | ||
A '''frying pan''' is a blunt melee [[weapon]] used in [[cooking]]. | |||
==Usage== | ==Usage== | ||
===Weapon=== | ===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 [[Moodles#Endurance|exhaustion]] more than most other weapons. | 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 [[Moodles#Endurance|exhaustion]] more than most other weapons. | ||
===Breaking doors=== | ===Breaking doors=== | ||
Line 72: | Line 69: | ||
===Cooking=== | ===Cooking=== | ||
{{Main|Cooking}} | {{Main|Cooking}} | ||
Frying pans can be used to cook a [[Recipe | Frying pans can be used to cook a [[Recipe ingredients#Stir fry & roast ingredients|stir fry]] using ingredients including, but not limited to, [[Bacon|bacon]], [[Dry Ramen Noodles|ramen]], [[Corn|corn]] and [[Onion|onions]]. | ||
{{Crafting header|2}} | {{Crafting header|2}} | ||
{{Crafting cooking|311|ing=2}} | {{Crafting cooking|311|ing=2}} | ||
Line 78: | Line 75: | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
! colspan="4" | Containers | |||
|- | |||
! Building/Room | |||
! Container | |||
! style="width: 3.2em;" | Rolls | |||
! style="width: 3.2em;" | Chance | |||
|- | |||
|rowspan="2"|bakerykitchen | |||
|[[counter]] | |||
|4 | |||
|1 | |||
|- | |||
|[[counter]] | |||
|4 | |||
|1 | |||
|- | |||
|departmentstorage | |||
|[[metal_shelves]] | |||
|4 | |||
|1 | |||
|- | |||
|dinerbackroom | |||
|[[counter]] | |||
|4 | |||
|1 | |||
|} | |||
==Code== | ==Code== | ||
{{CodeBox| | {{CodeBox| | ||
===Item=== | ===Item=== | ||
{{CodeSnip | {{CodeSnip | ||
Line 89: | Line 114: | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item Pan | |||
{ | { | ||
DisplayCategory = Cooking, | DisplayCategory = Cooking, | ||
Line 135: | Line 159: | ||
HitFloorSound = FryingPanHit, | HitFloorSound = FryingPanHit, | ||
SwingSound = FryingPanSwing, | SwingSound = FryingPanSwing, | ||
} | } | ||
}} | }} | ||
Line 145: | Line 169: | ||
| source = fixing.txt | | source = fixing.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
fixing Fix Pan | fixing Fix Pan | ||
Line 163: | Line 186: | ||
*[[Rolling Pin]] | *[[Rolling Pin]] | ||
{{Navbox equipment}} | {{Navbox equipment|tools}} | ||
{{Navbox weapons}} | {{Navbox weapons|blunt}} | ||
[[Category:Cooking tools]] | |||
[[Category:Tools]] | [[Category:Tools]] |
Revision as of 10:42, 26 March 2024
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.
Maintenance skill | Weapon skill | Durability 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 |
---|
Potentially repairs: 50%
Chance of success: 95% Needs:
Duct Tape (1 units) |
Potentially repairs: 20%
Chance of success: 95% Needs:
Glue (2 units) |
Potentially repairs: 10%
Chance of success: 95% Needs:
Adhesive Tape (3 units) |
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 | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 |
---|---|---|---|---|---|
Stir fry |
0.75 Cooking | none | Frying Pan (Base item) |
Stir fry Ingredients (1−6) (consumed) |
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
bakerykitchen | counter | 4 | 1 |
counter | 4 | 1 | |
departmentstorage | metal_shelves | 4 | 1 |
dinerbackroom | counter | 4 | 1 |
Code
Item
Source: ProjectZomboid\media\scripts\items_weapons.txt
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
fixing Fix Pan
{
Require : Pan,
Fixer : DuctTape,
Fixer : Glue=2,
Fixer : Scotchtape=3,
}