Butter Knife: Difference between revisions

From PZwiki
m (→‎Crafting: Minor cleanup)
m (Distribution table fix)
 
(29 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blade weapons}}
{{header|Project Zomboid|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=53}}{{Infobox weapon
{{Page version|41.78.16}}
|display_name=Butter Knife
{{Infobox item
|name_colour=Weapon
|name=Butter Knife
|name_text_colour=Weapon
|model=ButterKnife_Model.png
|image=ButterKnife_Model.png
|icon=KnifeButter.png
|image_width=150px
|icon_name=Butter Knife
|alternate_image=KnifeButter.png
|alternate_name=Butter Knife
|alternate_link=
|category=Weapon
|category=Weapon
|weight=0.3
|weight=0.3
Line 22: Line 19:
|push_back=0.3
|push_back=0.3
|kill_move=Jaw stab
|kill_move=Jaw stab
|class_name=Base.ButterKnife
|item_id=Base.ButterKnife
}}A '''butter knife''' is a blade melee [[weapon]].
}}
A '''butter knife''' is a blade melee [[weapon]].


==Usage==
==Usage==
===Weapon===
===Weapon===
The butter knife is an emergency weapon with extremely low damage, however it can perform an instant kill jaw stab. It is highly ineffective in a defensive situation, as it will never knockdown an opponent and only knock them back a very short distance.  
The butter knife is an emergency weapon with extremely low damage, however it can perform an instant kill jaw stab. It is highly ineffective in a defensive situation, as it will never knockdown an opponent and only knock them back a very short distance.


The butter knife has a very short range, making it very dangerous when fighting [[zombies]], however it does have a quick attack. It is a single-attack weapon, hitting just 1 opponent with each swing. Butter knives are mostly useless in combat, however they can get the player out of a dangerous situation and should only be equipped in an emergency, or if smashing a [[window]].
The butter knife has a very short range, making it very dangerous when fighting [[zombies]], however it does have a quick attack. It is a single-attack weapon, hitting just 1 opponent with each swing. Butter knives are mostly useless in combat, however they can get the player out of a dangerous situation and should only be equipped in an emergency, or if smashing a [[window]].
Line 45: Line 43:
==Crafting==
==Crafting==
A butter knife can be used to drill a hole in a [[Plank|plank of wood]], which can be used for survivalist fire-making.
A butter knife can be used to drill a hole in a [[Plank|plank of wood]], which can be used for survivalist fire-making.
{{Crafting header|ing=2}}
{{Crafting/sandbox2
{{Crafting general|027|ing=2}}
|notched_wooden_plank
|}
}}


===Cooking===
===Cooking===
{{Main|Cooking}}
{{Main|Cooking}}
A butter knife's usage in cooking is very limited.
A butter knife's usage in cooking is very limited.
{{Crafting header|ing=2}}
{{Crafting/sandbox2
{{Crafting cooking|117|ing=2}}
|bread_slices
{{Crafting cooking|403|ing=2}}
|cake_slice
{{Crafting cooking|404|ing=2}}
|pie_slice
|}
}}


== Code ==
==Distribution==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
The loot distributions can be found in the table(s) below.
{{Retrieved|version=41|incver=53}}
 
<pre> item ButterKnife
<!--BOT FLAG|ButterKnife|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>ButterKnife distribution
        <span class="mw-customtoggle-togglebox-ButterKnife" 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-ButterKnife">
    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%
    |-
    | bakerykitchen
    | {{ll|counter}}
    | 41.14%
    |-
    | burgerkitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | burgerkitchen
    | {{ll|counter}}
    | 41.14%
    |-
    | cafekitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | cafekitchen
    | {{ll|counter}}
    | 41.14%
    |-
    | cafeteria
    | {{ll|counter}}
    | 23.28%
    |-
    | cafeteria
    | {{ll|counter}}
    | 41.14%
    |-
    | cafeteriakitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | cafeteriakitchen
    | {{ll|counter}}
    | 41.14%
    |-
    | chinesekitchen
    | {{ll|counter}}
    | 15.1%
    |-
    | deepfry_kitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | deepfry_kitchen
    | {{ll|counter}}
    | 41.14%
    |-
    | departmentstorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | dinerbackroom
    | {{ll|counter}}
    | 23.28%
    |-
    | dinerkitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | dinerkitchen
    | {{ll|counter}}
    | 41.14%
    |-
    | donut_kitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | donut_kitchen
    | {{ll|counter}}
    | 41.14%
    |-
    | fishchipskitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | fishchipskitchen
    | {{ll|counter}}
    | 41.14%
    |-
    | generalstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | gigamart
    | {{ll|shelves}}
    | 23.28%
    |-
    | housewarestore
    | {{ll|shelves}}
    | 23.28%
    |-
    | italiankitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | italiankitchen
    | {{ll|counter}}
    | 41.14%
    |-
    | kitchen_crepe
    | {{ll|counter}}
    | 23.28%
    |-
    | kitchen_crepe
    | {{ll|counter}}
    | 41.14%
    |-
    | kitchenwares
    | {{ll|shelves}}
    | 23.28%
    |-
    | knifefactory
    | {{ll|crate}}
    | 23.28%
    |-
    | knifefactory
    | {{ll|crate}}
    | 41.14%
    |-
    | knifeshipping
    | {{ll|crate}}
    | 23.28%
    |-
    | knifeshipping
    | {{ll|crate}}
    | 41.14%
    |-
    | knifestore
    | {{ll|shelves}}
    | 23.28%
    |-
    | knifestore
    | {{ll|shelves}}
    | 41.14%
    |-
    | prisoncells
    | {{ll|wardrobe}}
    | 1.75%
    |-
    | restaurantkitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | restaurantkitchen
    | {{ll|counter}}
    | 41.14%
    |-
    | westernkitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | westernkitchen
    | {{ll|counter}}
    | 41.14%
    |}
</div>
<div id="zombies" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Zombies}}
    ! Outfit
    ! Days survived
    ! Chance
    |-
    | All
    | 0
    | 30
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-ButterKnife" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|ButterKnife|41.78.16-->
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 3750
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item ButterKnife
{
{
MaxRange = 0.8,
    DisplayCategory = Cooking,
WeaponSprite = ButterKnife,
MaxRange = 0.8,
MinAngle = 0.65,
WeaponSprite = ButterKnife,
Type = Weapon,
MinAngle = 0.65,
MinimumSwingTime = 2,
Type = Weapon,
KnockBackOnNoDeath = FALSE,
MinimumSwingTime = 2,
SwingAmountBeforeImpact = 0.02,
KnockBackOnNoDeath = FALSE,
Categories = SmallBlade,
SwingAmountBeforeImpact = 0.02,
ConditionLowerChanceOneIn = 1,
Categories = SmallBlade,
Weight = 0.3,
ConditionLowerChanceOneIn = 1,
SplatNumber = 2,
Weight = 0.3,
PushBackMod = 0.3,
SplatNumber = 2,
SubCategory = Stab,
PushBackMod = 0.3,
AimingMod = 0.8,
SubCategory = Stab,
CloseKillMove = Jaw_Stab,
AimingMod = 0.8,
ConditionMax = 3,
CloseKillMove = Jaw_Stab,
MaxHitCount = 1,
ConditionMax = 3,
IsAimedHandWeapon = TRUE,
MaxHitCount = 1,
DoorDamage = 1,
IsAimedHandWeapon = TRUE,
SwingAnim = Stab,
DoorDamage = 1,
DisplayName = Butter Knife,
SwingAnim = Stab,
MinRange = 0.61,
DisplayName = Butter Knife,
SwingTime = 2,
MinRange = 0.61,
KnockdownMod = 0,
SwingTime = 2,
SplatBloodOnNoDeath = FALSE,
KnockdownMod = 0,
Icon = KnifeButter,
SplatBloodOnNoDeath = FALSE,
RunAnim = Run_Weapon2,
Icon = KnifeButter,
RunAnim = Run_Weapon2,
         IdleAnim = Idle_Weapon2,
         IdleAnim = Idle_Weapon2,
         BreakSound  =  BreakMetalItem,
         BreakSound  =  ButterKnifeBreak,
         TreeDamage  =  0,
         TreeDamage  =  0,
         EnduranceMod = 0.5,
         EnduranceMod = 0.5,
Line 99: Line 304:
         MinDamage = 0.1,
         MinDamage = 0.1,
         MaxDamage = 0.4,
         MaxDamage = 0.4,
WeaponLength = 0.17,
WeaponLength = 0.17,
HitFloorSound = BladeHit,
HitFloorSound = ButterKnifeHit,
         ImpactSound = BladeHit,
         ImpactSound = ButterKnifeHit,
HitSound = BladeHit,
        DoorHitSound = ButterKnifeHit,
AttachmentType = Screwdriver,
HitSound = ButterKnifeHit,
}</pre>
SwingSound = ButterKnifeSwing,
AttachmentType = Screwdriver,
Tags = DullKnife,
}
}}
}}


==See also==
==See also==
Line 110: Line 320:
*[[Spoon]]
*[[Spoon]]


{{Navbox_equipment}}{{Navbox_weapons}}
{{Navbox items|blade}}
 
 
 
[[Category:Cooking tools]]
[[Category:Tools]]

Latest revision as of 19:02, 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]
Butter Knife
ButterKnife Model.png
General
Category
Weapon
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Equipped
One-handed
Function
Properties
Max condition
3
Performance
Damage
0.1–0.4
Range
0.61–0.8
Knockback
0.3
Special ability
Jaw stab
Technical
Item ID
Base.ButterKnife

A butter knife is a blade melee weapon.

Usage

Weapon

The butter knife is an emergency weapon with extremely low damage, however it can perform an instant kill jaw stab. It is highly ineffective in a defensive situation, as it will never knockdown an opponent and only knock them back a very short distance.

The butter knife has a very short range, making it very dangerous when fighting zombies, however it does have a quick attack. It is a single-attack weapon, hitting just 1 opponent with each swing. Butter knives are mostly useless in combat, however they can get the player out of a dangerous situation and should only be equipped in an emergency, or if smashing a window.

Breaking doors

It is mostly ineffective at bashing down doors, dealing just 1 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 condition of the butter knife is influenced by the maintenance skill. It has a maximum condition of just 3 and will be damaged depending on the player's maintenance skill. The chance of losing durability is: 1 in (1 + maintenance x 2)

Repairing

A butter knife cannot be repaired.

Crafting

A butter knife can be used to drill a hole in a plank of wood, which can be used for survivalist fire-making.

Product Ingredients Tools Requirements Workstation XP
TZ PerforatedWoodenPlank.png
Notched Wooden Plank
One of:
Screwdriver.png Screwdriver ×1
KnifeChopping.png Kitchen Knife ×1
KnifeButter.png Butter Knife ×1
KnifeButter.png Bread Knife ×1
HuntingKnife.png Hunting Knife ×1
RockSharpened.png Chipped Stone ×1
KnifeFlint.png Stone Knife ×1
One of:
Plank.png Plank ×1
Logs.png Log ×1
none none none none

Cooking

Main article: Cooking

A butter knife's usage in cooking is very limited.

Product Ingredients Tools Requirements Workstation XP
BreadSlices.png
Bread Slices ×3
One of:
KnifeChopping.png Kitchen Knife ×1
HuntingKnife.png Hunting Knife ×1
KnifeButter.png Butter Knife ×1
KnifeButter.png Bread Knife ×1
Cleaver.png Meat Cleaver ×1
KnifeFlint.png Stone Knife ×1
Machete.png Machete ×1
Each of:
BreadAnima.gif Bread ×1
none none none 0.75 Cooking
CakeSlice.png
Cake Slice ×5
One of:
KnifeChopping.png Kitchen Knife ×1
HuntingKnife.png Hunting Knife ×1
KnifeButter.png Butter Knife ×1
KnifeButter.png Bread Knife ×1
Cleaver.png Meat Cleaver ×1
KnifeFlint.png Stone Knife ×1
Machete.png Machete ×1
Each of:
CakeCooked.png Cake (Cooked) ×1
none none none 0.75 Cooking
Pie.png
Pie Slice ×5
One of:
KnifeChopping.png Kitchen Knife ×1
HuntingKnife.png Hunting Knife ×1
KnifeButter.png Butter Knife ×1
KnifeButter.png Bread Knife ×1
Cleaver.png Meat Cleaver ×1
KnifeFlint.png Stone Knife ×1
Machete.png Machete ×1
Each of:
PieWholeCooked.png Pie (Cooked) ×1
none none none 0.75 Cooking

Distribution

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

ButterKnife 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%
bakerykitchen counter 41.14%
burgerkitchen counter 23.28%
burgerkitchen counter 41.14%
cafekitchen counter 23.28%
cafekitchen counter 41.14%
cafeteria counter 23.28%
cafeteria counter 41.14%
cafeteriakitchen counter 23.28%
cafeteriakitchen counter 41.14%
chinesekitchen counter 15.1%
deepfry_kitchen counter 23.28%
deepfry_kitchen counter 41.14%
departmentstorage metal_shelves 23.28%
dinerbackroom counter 23.28%
dinerkitchen counter 23.28%
dinerkitchen counter 41.14%
donut_kitchen counter 23.28%
donut_kitchen counter 41.14%
fishchipskitchen counter 23.28%
fishchipskitchen counter 41.14%
generalstore shelves 23.28%
generalstorestorage shelves 23.28%
gigamart shelves 23.28%
housewarestore shelves 23.28%
italiankitchen counter 23.28%
italiankitchen counter 41.14%
kitchen_crepe counter 23.28%
kitchen_crepe counter 41.14%
kitchenwares shelves 23.28%
knifefactory crate 23.28%
knifefactory crate 41.14%
knifeshipping crate 23.28%
knifeshipping crate 41.14%
knifestore shelves 23.28%
knifestore shelves 41.14%
prisoncells wardrobe 1.75%
restaurantkitchen counter 23.28%
restaurantkitchen counter 41.14%
westernkitchen counter 23.28%
westernkitchen counter 41.14%
Zombie
Outfit Days survived Chance
All 0 30

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 ButterKnife
	{
	    DisplayCategory = Cooking,
		MaxRange	=	0.8,
		WeaponSprite	=	ButterKnife,
		MinAngle	=	0.65,
		Type	=	Weapon,
		MinimumSwingTime	=	2,
		KnockBackOnNoDeath	=	FALSE,
		SwingAmountBeforeImpact	=	0.02,
		Categories	=	SmallBlade,
		ConditionLowerChanceOneIn	=	1,
		Weight	=	0.3,
		SplatNumber	=	2,
		PushBackMod	=	0.3,
		SubCategory	=	Stab,
		AimingMod	=	0.8,
		CloseKillMove = Jaw_Stab,
		ConditionMax	=	3,
		MaxHitCount	=	1,
		IsAimedHandWeapon	=	TRUE,
		DoorDamage	=	1,
		SwingAnim	=	Stab,
		DisplayName	=	Butter Knife,
		MinRange	=	0.61,
		SwingTime	=	2,
		KnockdownMod	=	0,
		SplatBloodOnNoDeath	=	FALSE,
		Icon	=	KnifeButter,
		RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        BreakSound  =   ButterKnifeBreak,
        TreeDamage  =   0,
        EnduranceMod = 0.5,
        MetalValue = 8,
        CriticalChance	=	7,
        CritDmgMultiplier = 10,
        MinDamage	=	0.1,
        MaxDamage	=	0.4,
		WeaponLength = 0.17,
		HitFloorSound	=	ButterKnifeHit,
        ImpactSound	=	ButterKnifeHit,
        DoorHitSound = ButterKnifeHit,
		HitSound	=	ButterKnifeHit,
		SwingSound = ButterKnifeSwing,
		AttachmentType = Screwdriver,
 		Tags = DullKnife,
	}

See also