Smashed Bottle: Difference between revisions
m (Automated header update.) |
m (Automated Formatting) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 34: | Line 34: | ||
==Crafting== | ==Crafting== | ||
{{Crafting | {{Crafting/sandbox2 | ||
|smashed_bottle | |||
}} | |||
==Distribution== | ==Distribution== | ||
Line 44: | Line 44: | ||
! colspan="4" | Containers | ! colspan="4" | Containers | ||
|- | |- | ||
!Building/Room | ! Building/Room | ||
!Container | ! Container | ||
! style="width: 3.2em;" |Rolls | ! style="width: 3.2em;" | Rolls | ||
! style="width: 3.2em;" |Chance | ! style="width: 3.2em;" | Chance | ||
|- | |- | ||
| bar | |bar | ||
| [[bin]] | |[[bin]] | ||
| 4 | |4 | ||
| 4 | |4 | ||
|- | |- | ||
| motelroomoccupied | |motelroomoccupied | ||
| [[bin]] | |[[bin]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|} | |} | ||
==Code== | ==Code== | ||
{{CodeBox | {{CodeBox | ||
| {{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 112: | Line 114: | ||
Tags = BrokenGlass, | Tags = BrokenGlass, | ||
} | } | ||
}} | |||
}} | }} | ||
Line 121: | Line 123: | ||
*[[Table Leg]] | *[[Table Leg]] | ||
{{Navbox | {{Navbox items|blade}} |
Revision as of 12:11, 14 April 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 | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Smashed Bottle |
One of: Empty Bottle (disambiguation) ×1 Empty Bottle (disambiguation) ×1 Empty Bottle (disambiguation) ×1 Empty Bottle (disambiguation) ×1 |
none | none | none | none |
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,
}