Smashed Bottle: Difference between revisions
(Added the weapon code information from the project zomboid "items_weapons.txt") |
m (Automated Formatting) |
||
(25 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
== | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blade weapons}} | ||
=== | {{Page version|41.78.16}} | ||
''''' | {{Infobox item | ||
{{ | |name=Smashed Bottle | ||
|model=SmashedBottle_Model.png | |||
|icon=BrokenBottle.png | |||
|icon_name=Smashed Bottle | |||
<!--GENERAL--> | |||
|category=Weapon - Crafted | |||
|weight=1 | |||
|equipped=One-handed | |||
|skill_type=SmallBlade | |||
<!--PROPERTIES--> | |||
|condition_max=3 | |||
|condition_lower_chance=1 | |||
<!--PERFORMANCE--> | |||
|damage_type=Slash | |||
|base_speed=1.4 | |||
|min_range=0.61 | |||
|max_range=0.8 | |||
|min_damage=0.2 | |||
|max_damage=0.5 | |||
|push_back=0.3 | |||
|knockdown=2 | |||
|kill_move=Jaw Stab | |||
<!--TECHNICAL DETAILS--> | |||
|item_id=Base.SmashedBottle | |||
|tags=BrokenGlass | |||
}} | |||
A '''smashed bottle''' is a short blade [[Weapons|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 [[Weapons#Improvised|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 [[Skills|short blade]]. | |||
==Crafting== | |||
{{Crafting/sandbox2 | |||
|smashed_bottle | |||
}} | |||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
! colspan="4" | Containers | |||
|- | |||
! Building/Room | |||
! Container | |||
! style="width: 3.2em;" | Rolls | |||
! style="width: 3.2em;" | Chance | |||
|- | |||
|bar | |||
|[[bin]] | |||
|4 | |||
|4 | |||
|- | |||
|motelroomoccupied | |||
|[[bin]] | |||
|4 | |||
|1 | |||
|} | |||
==Code== | |||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3279 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item SmashedBottle | |||
{ | { | ||
DisplayCategory = WeaponCrafted, | |||
MaxRange = 0.8, | MaxRange = 0.8, | ||
WeaponSprite = SmashedBottle, | WeaponSprite = SmashedBottle, | ||
Line 45: | Line 112: | ||
HitSound = SmashedBottleHit, | HitSound = SmashedBottleHit, | ||
SwingSound = SmashedBottleSwing, | SwingSound = SmashedBottleSwing, | ||
Tags = BrokenGlass, | |||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Spiked Baseball Bat]] | |||
*[[Stake]] | |||
*[[Stone Knife]] | |||
*[[Table Leg]] | |||
{{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,
}