Smashed Bottle: Difference between revisions

From PZwiki
(Added the weapon code information from the project zomboid "items_weapons.txt")
 
(Added infobox, navbox)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
{{header|Project Zomboid|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=55}}
{{Infobox weapon
|display_name=Smashed Bottle
|name_colour=Weapon
|name_text_colour=Weapon
|image=Image.png
|image_width=120px
|alternate_image=BrokenBottle.png
<!--GENERAL-->
|category=Weapon
|weight=1
|equipped=One-handed
|condition_max=3
<!--CHARACTERISTICS-->
<!--DAMAGE-->
|type=SmallBlade
|swing_time=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-->
|class_name=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.
== Code ==
== Code ==
===Item===
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=55}}
{{Retrieved|version=41|incver=55}}
<nowiki>
<pre> item SmashedBottle
    item SmashedBottle
MaxRange = 0.8,
{
WeaponSprite = SmashedBottle,
MaxRange = 0.8,
MinAngle = 0.65,
WeaponSprite = SmashedBottle,
Type = Weapon,
MinAngle = 0.65,
MinimumSwingTime = 4,
Type = Weapon,
KnockBackOnNoDeath = FALSE,
MinimumSwingTime = 4,
SwingAmountBeforeImpact = 0.02,
KnockBackOnNoDeath = FALSE,
Categories = SmallBlade,
SwingAmountBeforeImpact = 0.02,
ConditionLowerChanceOneIn = 1,
Categories = SmallBlade,
Weight = 1,
ConditionLowerChanceOneIn = 1,
SplatNumber = 3,
Weight = 1,
PushBackMod = 0.3,
SplatNumber = 3,
SubCategory = Stab,
PushBackMod = 0.3,
CloseKillMove = Jaw_Stab,
SubCategory = Stab,
ConditionMax = 3,
        CloseKillMove = Jaw_Stab,
MaxHitCount = 1,
ConditionMax = 3,
DoorDamage = 0,
MaxHitCount = 1,
SwingAnim = Stab,
DoorDamage = 0,
DisplayName = Smashed Bottle,
SwingAnim = Stab,
MinRange = 0.61,
DisplayName = Smashed Bottle,
SwingTime = 4,
MinRange = 0.61,
KnockdownMod = 2,
SwingTime = 4,
SplatBloodOnNoDeath = FALSE,
KnockdownMod = 2,
Icon = BrokenBottle,
SplatBloodOnNoDeath = FALSE,
BreakSound = SmashedBottleBreak,
Icon = BrokenBottle,
TreeDamage = 0,
        BreakSound =   SmashedBottleBreak,
CriticalChance = 5,
        TreeDamage =   0,
CritDmgMultiplier = 5,
        CriticalChance = 5,
MinDamage = 0.2,
        CritDmgMultiplier = 5,
MaxDamage = 0.5,
        MinDamage = 0.2,
BaseSpeed = 1.4,
        MaxDamage = 0.5,
WeaponLength = 0.2,
        BaseSpeed = 1.4,
DamageCategory = Slash,
      WeaponLength = 0.2,
DamageMakeHole = TRUE,
      DamageCategory = Slash,
HitFloorSound = SmashedBottleHit,
        DamageMakeHole = TRUE,
ImpactSound = SmashedBottleHit,
        HitFloorSound = SmashedBottleHit,
DoorHitSound = SmashedBottleHit,
        ImpactSound = SmashedBottleHit,
HitSound = SmashedBottleHit,
        DoorHitSound = SmashedBottleHit,
SwingSound = SmashedBottleSwing,
        HitSound = SmashedBottleHit,
</pre>
SwingSound = SmashedBottleSwing,
 
        {</nowiki>
{{Navbox_weapons}}

Revision as of 01:59, 20 November 2021

Smashed Bottle
Smashed Bottle
BrokenBottle.png
General
Category Weapon
Encumbrance
Heavy Load
1
Equipped One-handed
Condition max. 3
Skill Short Blade
Damage
Type SmallBlade
Attack speed 4
Range 0.61–0.8 tiles
Damage 0.2–0.5
Knockback 0.3
Knockdown 2
Execution Jaw Stab
Technical details
Base ID 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.

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.55

	item SmashedBottle
		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,