Table Leg: Difference between revisions
(Added the weapon code information from the project zomboid "item_weapons.txt") |
(Add infobox, stub) |
||
Line 1: | Line 1: | ||
=== | {{stub}} | ||
{{languages|{{PAGENAME}}}} | |||
{{header|The Game World|Items|Weapons|type=Weapon|version=Version 41|incver=55}} | |||
{{Infobox weapon | |||
|display_name=Table Leg | |||
|name_colour=Weapon | |||
|name_text_colour=Weapon | |||
|image=Image.png | |||
|image_width=120px | |||
|alternate_image=TableLeg.png | |||
<!--GENERAL--> | |||
|category=Weapon | |||
|weight=1.5 | |||
|equipped=One-handed | |||
|condition_max=4 | |||
<!--CHARACTERISTICS--> | |||
<!--DAMAGE--> | |||
|type=SmallBlunt | |||
|swing_time=4 | |||
|min_range=0.61 | |||
|max_range=1 | |||
|min_damage=0.5 | |||
|max_damage=0.9 | |||
|door_damage=5 | |||
|push_back=0.3 | |||
|knockdown=2 | |||
<!--TECHNICAL DETAILS--> | |||
|class_name=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/)''''' | '''''From items.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version=41|incver=55}} | {{Retrieved|version=41|incver=55}} | ||
<pre> 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, | |||
HitSound = TableLegHit, | HitFloorSound = TableLegHit, | ||
HitFloorSound = TableLegHit, | SwingSound = TableLegSwing, | ||
SwingSound = TableLegSwing, | TreeDamage = 0, | ||
CriticalChance = 10, | |||
CritDmgMultiplier = 2, | |||
MinDamage = 0.5, | |||
MaxDamage = 0.9, | |||
BaseSpeed = 1, | |||
</pre> | |||
Revision as of 22:59, 19 November 2021
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.
Table Leg | ||
---|---|---|
| ||
General | ||
Category | Weapon | |
Encumbrance | 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,