Table Leg: Difference between revisions
VaileasysBot (talk | contribs) m (→top: category & header updates) |
m (Automated Formatting) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}} | ||
{{Page version|41.78.16}} | |||
{{ | {{Infobox item | ||
{{Infobox | |name=Table Leg | ||
| | |model=TableLeg_Model.png | ||
| | |icon=TableLeg.png | ||
|icon_name=Table Leg | |||
| | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Weapon | |category=Weapon | ||
Line 26: | Line 23: | ||
|knockdown=2 | |knockdown=2 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.TableLeg | ||
}} | }} | ||
A '''table leg''' is a short blunt [[Weapons|weapon]]. | A '''table leg''' is a short blunt [[Weapons|weapon]]. | ||
Line 46: | Line 43: | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item TableLeg | |||
{ | { | ||
DisplayCategory = WeaponCrafted, | DisplayCategory = WeaponCrafted, | ||
Line 96: | Line 92: | ||
*[[Small Table]] | *[[Small Table]] | ||
{{ | {{Navbox items|blunt}} |
Latest revision as of 12:39, 14 April 2024
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.
Condition
The table leg has a maximum condition of 4. Its rate of degradation is influenced by the short blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (3 + maintenanceMod × 2)
. Where "maintenanceMod" is calculated using the short blunt and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and short blunt skills.
Maintenance skill | Weapon skill | Condition lower chance |
---|---|---|
0 | 0 | 1/3 (33%) |
0 | 4 | 1/5 (20%) |
0 | 8 | 1/7 (14%) |
4 | 0 | 1/7 (14%) |
8 | 0 | 1/11 (9%) |
4 | 4 | 1/9 (11%) |
4 | 8 | 1/11 (9%) |
8 | 8 | 1/15 (7%) |
10 | 10 | 1/17 (6%) |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item TableLeg
{
DisplayCategory = WeaponCrafted,
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,
}