Smashed Bottle: Difference between revisions

From PZwiki
m (Updated distribution table)
m (Automated CodeBox update)
Line 65: Line 65:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | 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
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

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Smashed Bottle
SmashedBottle Model.png
General
Category
Weapon - Crafted
Encumbrance
Moodle Icon HeavyLoad.png
1
Equipped
One-handed
Skill
Properties
Max condition
3
Base durability
3
Performance
Damage type
Slash
Damage
0.2–0.5
Range
0.61–0.8
Attack speed
1.4
Knockback
0.3
Knockdown
2
Special ability
Jaw Stab
Technical
Tags
BrokenGlass
Item ID
Base.SmashedBottle

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
BrokenBottle.png
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

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 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,
  	}

See also