Table Leg

From PZwiki
Revision as of 22:59, 19 November 2021 by Thing II (talk | contribs) (Add infobox, stub)
Notebook.png
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.
The Game WorldItemsWeaponsTable Leg
Table Leg
Table Leg
TableLeg.png
General
Category Weapon
Encumbrance
Heavy Load
1.5
Equipped One-handed
Condition max. 4
Skill Short Blunt
Damage
Type SmallBlunt
Attack speed 4
Range 0.61–1 tiles
Damage 0.5–0.9
Door damage 5
Knockback 0.3
Knockdown 2
Technical details
Base ID TableLeg

A table leg is a short blunt weapon.

Usage

A table leg functions as an improvised weapon with low durability and damage. It deals moderate damage to doors, however.

Code

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

	item TableLeg
		MaxRange			= 1,
		WeaponSprite			= TableLeg,
		MinAngle			= 0.65,
		Type				= Weapon,
		MinimumSwingTime		= 4,
		KnockBackOnNoDeath		= FALSE,
		SwingAmountBeforeImpact		= 0.02,
		Categories			= Improvised;SmallBlunt,
		ConditionLowerChanceOneIn	= 3,
		Weight				= 1.5,
		SplatNumber			= 1,
		PushBackMod			= 0.3,
		SubCategory			= Swinging,
		ConditionMax			= 4,
		MaxHitCount			= 2,
		DoorDamage			= 5,
		SwingAnim			= Bat,
		DisplayName			= Table Leg,
		MinRange			= 0.61,
		SwingTime			= 4,
		KnockdownMod			= 2,
		SplatBloodOnNoDeath		= FALSE,
		Icon				= TableLeg,
		BreakSound			= TableLegBreak,
		DoorHitSound			= TableLegHit,
		HitSound			= TableLegHit,
		HitFloorSound			= TableLegHit,
		SwingSound			= TableLegSwing,
		TreeDamage			= 0,
		CriticalChance			= 10,
		CritDmgMultiplier		= 2,
		MinDamage			= 0.5,
		MaxDamage			= 0.9,
		BaseSpeed			= 1,