Meat Cleaver: Difference between revisions

From PZwiki
m (→‎top: Category update: "Melee weapons")
(added CodeBox, Condition and other fixes/updates/adjustments)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Weapons|Melee weapons|type=Weapon|version=Version 41|incver=53}}{{Infobox weapon
{{Languages}}{{Header|The Game World|Items|Weapons|Melee weapons|type=Weapon|version=Version 41|incver=78.16}}{{Infobox weapon
|display_name=Meat Cleaver
|display_name=Meat Cleaver
|name_colour=Weapon
|name_colour=Weapon
Line 7: Line 7:
|alternate_name=Meat Cleaver
|alternate_name=Meat Cleaver
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Cooking
|weight=1
|weight=1
|function=
|function=[[Cooking]]
|equipped=One-handed
|equipped=One-handed
|secondary_item=
|condition_max=10
|condition_max=10
|attachment_type=
|attachment_type=MeatCleaver
<!--CHARACTERISTICS-->
|skill_type=SmallBlade
|ammo_type=
|clip_size=
|sound_radius=
|recoil_delay=
|reload_time=
|aiming_time=
|tree_damage=15
|door_damage=20
<!--DAMAGE-->
<!--DAMAGE-->
|type=Slash
|type=Slash
|swing_time=4
|damage_make_hole=true
|base_speed=1.2
|min_range=0.61
|min_range=0.61
|max_range=1
|max_range=1
|hit_chance=
|min_damage=0.4
|min_damage=0.4
|max_damage=0.8
|max_damage=0.8
|tree_damage=15
|door_damage=20
|push_back=0.3
|push_back=0.3
|knockdown=2
|knockdown=2
|kill_move=
|effect_power=
|effect_range=
|effect_timer=
|effect_type=
|sensor_range=
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|ingredients=
|class_name=Base.MeatCleaver
|class_name=Base.MeatCleaver
}}A meat cleaver is a tool used in [[cooking]] and a one-handed short blade [[weapon]] dealing slash damage.
}}A '''meat cleaver''' is a tool used in [[cooking]] and a one-handed short blade [[weapon]].


==Usage==
==Usage==
===Cooking===
{{Main|Cooking}}
As a cooking utensil it is mostly used for butchering and slicing food.  
As a cooking utensil it is mostly used for butchering and slicing food.  


===Weapon===
===Weapon===
It is a one-handed short weapon that deals slash damage. It has a long swing time and low critical chance.
It is a one-handed short blade weapon that deals slash damage, creating holes in clothing. It has a high attack speed compared to other short blade weapons and a low critical chance.


===Breaking doors===
===Breaking doors===
Line 56: Line 44:
It is decent at tree chopping, dealing 15 damage per hit, comparable with the [[Hand Axe]]. It does not have a cut down tree action so trees need to be attacked.  
It is decent at tree chopping, dealing 15 damage per hit, comparable with the [[Hand Axe]]. It does not have a cut down tree action so trees need to be attacked.  


===Recipes===
==Condition==
The meat cleaver has a maximum condition of 10. Its rate of degradation is influenced by the [[Skills|short blade]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (15 + maintenanceMod &times; 2)</code>. Where "maintenanceMod" is calculated using the short blade and maintenance skills.<br>
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blade]] skills.
{{Durability weapon|15}}
 
==Crafting==
{{Crafting header|ing=4}}
{{Crafting header|ing=4}}
{{Crafting fishing|002|ing=4}}
{{Crafting fishing|002|ing=4}}
Line 70: Line 63:
{{Crafting cooking|125|ing=4}}
{{Crafting cooking|125|ing=4}}
|}
|}
==Condition==
It is a [[Skills#Combat|short blade]] weapon. It has a maximum condition of 10 and will be damaged depending on the player's maintenance skill. The chance of losing durability is: 1 in (15 + maintenance x 2)


==Distribution==
==Distribution==
Line 79: Line 69:


==Code==
==Code==
===Item===
{{CodeBox|
{{Retrieved|version=41|incver=53}}
{{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 224
  | source = items_weapons.txt
  | retrieved = true
  | version = 41
  | incver = 78.16
  | code =
     item MeatCleaver
     item MeatCleaver
{
{
MaxRange = 1,
    DisplayCategory = Cooking,
WeaponSprite = MeatCleaver,
MaxRange = 1,
MinAngle = 0.65,
WeaponSprite = MeatCleaver,
Type = Weapon,
MinAngle = 0.65,
MinimumSwingTime = 4,
Type = Weapon,
KnockBackOnNoDeath = FALSE,
MinimumSwingTime = 4,
SwingAmountBeforeImpact = 0.02,
KnockBackOnNoDeath = FALSE,
Categories = SmallBlade,
SwingAmountBeforeImpact = 0.02,
ConditionLowerChanceOneIn = 15,
Categories = SmallBlade,
Weight = 1,
ConditionLowerChanceOneIn = 15,
SplatNumber = 3,
Weight = 1,
PushBackMod = 0.3,
SplatNumber = 3,
SubCategory = Swinging,
PushBackMod = 0.3,
ConditionMax = 10,
SubCategory = Swinging,
MaxHitCount = 2,
ConditionMax = 10,
DoorDamage = 20,
MaxHitCount = 2,
SwingAnim = Bat,
DoorDamage = 20,
DisplayName = Meat Cleaver,
SwingAnim = Bat,
MinRange = 0.61,
DisplayName = Meat Cleaver,
SwingTime = 4,
MinRange = 0.61,
KnockdownMod = 2,
SwingTime = 4,
SplatBloodOnNoDeath = FALSE,
KnockdownMod = 2,
Icon = Cleaver,
SplatBloodOnNoDeath = FALSE,
         BreakSound  =  BreakWoodItem,
Icon = Cleaver,
         BreakSound  =  MeatCleaverBreak,
        DoorHitSound = MeatCleaverHit,
HitSound = MeatCleaverHit,
HitFloorSound = MeatCleaverHit,
SwingSound = MeatCleaverSwing,
         TreeDamage  =  15,
         TreeDamage  =  15,
         CriticalChance = 15,
         CriticalChance = 15,
Line 119: Line 121:
         AttachmentType = MeatCleaver,
         AttachmentType = MeatCleaver,
   }
   }
</pre>
}}
}}
 
==See also==
*[[Bread Knife]]
*[[Butter Knife]]
*[[Hunting Knife]]
*[[Kitchen Knife]]
*[[Stone Knife]]


{{Navbox weapons}}
{{Navbox weapons}}
{{Navbox equipment}}

Revision as of 14:01, 2 January 2024

Meat Cleaver
Meat Cleaver
Meat Cleaver
General
Category Cooking
Encumbrance
Heavy Load
1
Function Cooking
Equipped One-handed
Condition max. 10
Skill Short Blade
Attachment Belt
Damage
Type Slash
Attack speed 1.2
Range 0.61–1 tiles
Damage 0.4–0.8
Tree damage 15
Door damage 20
Knockback 0.3
Knockdown 2
Technical details
Base ID Base.MeatCleaver

A meat cleaver is a tool used in cooking and a one-handed short blade weapon.

Usage

Cooking

Main article: Cooking

As a cooking utensil it is mostly used for butchering and slicing food.

Weapon

It is a one-handed short blade weapon that deals slash damage, creating holes in clothing. It has a high attack speed compared to other short blade weapons and a low critical chance.

Breaking doors

It is decent at bashing down doors, dealing 20 damage per hit. For comparison, an axe deals 35 damage.

Tree chopping

It is decent at tree chopping, dealing 15 damage per hit, comparable with the Hand Axe. It does not have a cut down tree action so trees need to be attacked.

Condition

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

For how this is calculated, see: Condition
Maintenance skill Weapon skill Condition lower chance
0 0 1/15 (7%)
0 4 1/17 (6%)
0 8 1/19 (5%)
4 0 1/19 (5%)
8 0 1/23 (4%)
4 4 1/21 (5%)
4 8 1/23 (4%)
8 8 1/27 (4%)
10 10 1/29 (3%)

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4
Fishing Rod
Fishing Rod
0 XP none Angler USA Magazine Vol. 1
(keep)
TZ WoodenStick.png
Sturdy Stick
(consumed)

(2 units)

(consumed)

(consumed)
WatermelonSliced.png
Watermelon Slice x10
0.75 Cooking none
(keep)
Watermelon.png
Watermelon
(consumed)


BreadSlices.png
Bread Slices x3
0.75 Cooking none
(keep)
BreadAnima.gif
Bread
(consumed)


Pie Slice
Pie Slice x5
0.75 Cooking none
(keep)
Pie (Cooked)
Pie (Cooked)
(consumed)


Cake Slice
Cake Slice x5
0.75 Cooking none
(keep)
Cake (Cooked)
Cake (Cooked)
(consumed)


FishFillet.png
Fish Fillet x2
10 Cooking none
(keep)

(consumed)


HamSlices.png
Ham Slice x6
0.75 Cooking none
(keep)
Ham.png
Ham
(consumed)


Smallbirdmeat.png
Small Bird Meat
2.5 Cooking none
(keep)
BirdDead.png
Dead Bird
(consumed)


Rabbitmeat.png
Rabbit Meat
2.5 Cooking none
(keep)
RabbitDead.png
Dead Rabbit
(consumed)


SpearStick.png
Crafted Spear
1.25 Carpentry Starting condition scales with player's carpentry.
(consumed)

(keep)


Smallanimalmeat.png
Rodent Meat
2.5 Cooking none
(keep)

(consumed)


Distribution

It can be commonly found in kitchens, especially in restaurants. Meat cleavers can also be found on zombie corpses, and very rarely impaled on zombies.

Code

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

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item MeatCleaver
	{
	    DisplayCategory = Cooking,
		MaxRange	=	1,
		WeaponSprite	=	MeatCleaver,
		MinAngle	=	0.65,
		Type	=	Weapon,
		MinimumSwingTime	=	4,
		KnockBackOnNoDeath	=	FALSE,
		SwingAmountBeforeImpact	=	0.02,
		Categories	=	SmallBlade,
		ConditionLowerChanceOneIn	=	15,
		Weight	=	1,
		SplatNumber	=	3,
		PushBackMod	=	0.3,
		SubCategory	=	Swinging,
		ConditionMax	=	10,
		MaxHitCount	=	2,
		DoorDamage	=	20,
		SwingAnim	=	Bat,
		DisplayName	=	Meat Cleaver,
		MinRange	=	0.61,
		SwingTime	=	4,
		KnockdownMod	=	2,
		SplatBloodOnNoDeath	=	FALSE,
		Icon	=	Cleaver,
        BreakSound  =   MeatCleaverBreak,
        DoorHitSound = MeatCleaverHit,
		HitSound = MeatCleaverHit,
		HitFloorSound = MeatCleaverHit,
		SwingSound = MeatCleaverSwing,
        TreeDamage  =   15,
        CriticalChance	=	15,
        CritDmgMultiplier = 5,
        MinDamage	=	0.4,
        MaxDamage	=	0.8,
        BaseSpeed = 1.2,
      	WeaponLength = 0.2,
      	DamageCategory = Slash,
        DamageMakeHole = TRUE,
        AttachmentType = MeatCleaver,
  	}

See also