Butter Knife: Difference between revisions
Gambastical (talk | contribs) m (Specify category.) |
(→Code: Codebox Update) |
||
Line 61: | Line 61: | ||
== Code == | == Code == | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 0 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 53 | |||
| code = | |||
item ButterKnife | |||
{ | |||
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 = BreakMetalItem, | |||
TreeDamage = 0, | |||
EnduranceMod = 0.5, | |||
MetalValue = 8, | |||
CriticalChance = 7, | |||
CritDmgMultiplier = 10, | |||
MinDamage = 0.1, | |||
MaxDamage = 0.4, | |||
WeaponLength = 0.17, | |||
HitFloorSound = BladeHit, | |||
ImpactSound = BladeHit, | |||
HitSound = BladeHit, | |||
AttachmentType = Screwdriver, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 04:33, 13 January 2024
Butter Knife | ||
---|---|---|
| ||
General | ||
Category | Weapon | |
Encumbrance | 0.3 | |
Function | Cooking | |
Equipped | One-handed | |
Condition max. | 3 | |
Skill | Short Blade | |
Damage | ||
Type | SmallBlade | |
Attack speed | 2 | |
Range | 0.61–0.8 tiles | |
Damage | 0.1–0.4 | |
Knockback | 0.3 | |
Execution | Jaw stab | |
Technical details | ||
Base 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 | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 |
---|---|---|---|---|---|
Notched Wooden Plank |
0 XP | none | (keep) |
(consumed) |
Cooking
- Main article: Cooking
A butter knife's usage in cooking is very limited.
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 |
---|---|---|---|---|---|
Bread Slices x3 |
0.75 Cooking | none | (keep) |
Bread (consumed) | |
Cake Slice x5 |
0.75 Cooking | none | (keep) |
Cake (Cooked) (consumed) | |
Pie Slice x5 |
0.75 Cooking | none | (keep) |
Pie (Cooked) (consumed) |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item ButterKnife
{
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 = BreakMetalItem,
TreeDamage = 0,
EnduranceMod = 0.5,
MetalValue = 8,
CriticalChance = 7,
CritDmgMultiplier = 10,
MinDamage = 0.1,
MaxDamage = 0.4,
WeaponLength = 0.17,
HitFloorSound = BladeHit,
ImpactSound = BladeHit,
HitSound = BladeHit,
AttachmentType = Screwdriver,
}