Pool Cue: Difference between revisions
VaileasysBot (talk | contribs) m (→top: category project: "The Game World") |
(→Code: Codebox Update) |
||
Line 42: | Line 42: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 0 | |||
| source = Items_weapons.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 50 | |||
| code = | |||
item Poolcue | |||
{ | |||
MaxRange = 1.6, | |||
WeaponSprite = PoolCue, | |||
MinAngle = 0.85, | |||
Type = Weapon, | |||
MinimumSwingTime = 2, | |||
KnockBackOnNoDeath = FALSE, | |||
SwingAmountBeforeImpact = 0.02, | |||
Categories = Improvised;Blunt, | |||
ConditionLowerChanceOneIn = 10, | |||
Weight = 1, | |||
SplatNumber = 1, | |||
PushBackMod = 0.3, | |||
SubCategory = Swinging, | |||
ConditionMax = 10, | |||
MaxHitCount = 2, | |||
DoorDamage = 1, | |||
SwingAnim = Bat, | |||
DisplayName = Poolcue, | |||
MinRange = 0.61, | |||
SwingTime = 2, | |||
KnockdownMod = 0, | |||
SplatBloodOnNoDeath = FALSE, | |||
Icon = Poolcue, | |||
RunAnim = Run_Weapon2, | |||
IdleAnim = Idle_Weapon2, | |||
TwoHandWeapon = TRUE, | |||
BreakSound = BreakWoodItem, | |||
TreeDamage = 0, | |||
CriticalChance = 0, | |||
MinDamage = 0.2, | |||
MaxDamage = 0.4, | |||
BaseSpeed = 1.2, | |||
AttachmentType = BigBlade, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 04:38, 13 January 2024
Pool Cue | ||
---|---|---|
| ||
General | ||
Category | Weapon | |
Encumbrance | 1 | |
Equipped | Two-handed | |
Condition max. | 10 | |
Skill | Long Blunt | |
Damage | ||
Type | Blunt | |
Attack speed | 2 | |
Range | 0.61–1.6 tiles | |
Damage | 0.2–0.4 | |
Knockback | 0.3 | |
Knockdown | 0 | |
Technical details | ||
Base ID | Base.Poolcue | |
A pool cue is a two-handed blunt melee weapon.
Usage
Weapon
The pool cue is a multi-attack weapon, capable of hitting two zombies at a time in a swing. It is light for a long two-handed weapon, however will only deal 0.2 to 0.4 damage per swing. The pool cue has difficulty knocking a zombie to the ground and will instead knock them back slightly.
Breaking doors
It is somewhat ineffective at bashing down doors, dealing just 1 damage per hit. For comparison, an axe deals 35 damage.
Chopping trees
It cannot be used to chop trees, dealing 0 damage per hit. For comparison, an axe deals 35 damage.
Condition
The pool cue is a long blunt weapon, therefore being influenced by the blunt skills: accuracy, guard and maintenance. It has a maximum condition of 10 and will be damaged depending on the player's maintenance skill. The chance of losing durability is: 1 in (10 + maintenance x 2)
Repairing
A pool cue cannot be fixed.
Code
Source: ProjectZomboid\media\scripts\Items_weapons.txt
item Poolcue
{
MaxRange = 1.6,
WeaponSprite = PoolCue,
MinAngle = 0.85,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Blunt,
ConditionLowerChanceOneIn = 10,
Weight = 1,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 10,
MaxHitCount = 2,
DoorDamage = 1,
SwingAnim = Bat,
DisplayName = Poolcue,
MinRange = 0.61,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = Poolcue,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
TwoHandWeapon = TRUE,
BreakSound = BreakWoodItem,
TreeDamage = 0,
CriticalChance = 0,
MinDamage = 0.2,
MaxDamage = 0.4,
BaseSpeed = 1.2,
AttachmentType = BigBlade,
}