Smashed Bottle: Difference between revisions
m (Updated distribution table) |
m (Automated CodeBox update) |
||
Line 65: | Line 65: | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 3279 | |||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item SmashedBottle | |||
{ | { | ||
DisplayCategory = WeaponCrafted, | DisplayCategory = WeaponCrafted, | ||
Line 113: | Line 114: | ||
SwingSound = SmashedBottleSwing, | SwingSound = SmashedBottleSwing, | ||
Tags = BrokenGlass, | Tags = BrokenGlass, | ||
} | } | ||
}} | |||
}} | }} | ||
Revision as of 11:32, 26 March 2024
A smashed bottle is a short blade weapon.
Usage
A smashed bottle is a short blade weapon with low durability and damage. Like many short bladed weapons, it can perform the jaw stab attack, which will instantly kill a zombie when attacking from close proximity. Other than improvised weapons, where the speed can't be improved by any skill, this is the only weapon that has the 1.4 base speed, making it the fastest weapon in-game when trained in short blade.
Crafting
Product | XP gained | Skill(s) | Recipe | Ingredient 1 |
---|---|---|---|---|
Smashed Bottle |
0 XP | none | (consumed) |
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
bar | bin | 4 | 4 |
motelroomoccupied | bin | 4 | 1 |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item SmashedBottle
{
DisplayCategory = WeaponCrafted,
MaxRange = 0.8,
WeaponSprite = SmashedBottle,
MinAngle = 0.65,
Type = Weapon,
MinimumSwingTime = 4,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = SmallBlade,
ConditionLowerChanceOneIn = 1,
Weight = 1,
SplatNumber = 3,
PushBackMod = 0.3,
SubCategory = Stab,
CloseKillMove = Jaw_Stab,
ConditionMax = 3,
MaxHitCount = 1,
DoorDamage = 0,
SwingAnim = Stab,
DisplayName = Smashed Bottle,
MinRange = 0.61,
SwingTime = 4,
KnockdownMod = 2,
SplatBloodOnNoDeath = FALSE,
Icon = BrokenBottle,
BreakSound = SmashedBottleBreak,
TreeDamage = 0,
CriticalChance = 5,
CritDmgMultiplier = 5,
MinDamage = 0.2,
MaxDamage = 0.5,
BaseSpeed = 1.4,
WeaponLength = 0.2,
DamageCategory = Slash,
DamageMakeHole = TRUE,
HitFloorSound = SmashedBottleHit,
ImpactSound = SmashedBottleHit,
DoorHitSound = SmashedBottleHit,
HitSound = SmashedBottleHit,
SwingSound = SmashedBottleSwing,
Tags = BrokenGlass,
}