Pool Cue: Difference between revisions
(Updated to build 41.50) |
(Update distribution file) |
||
(24 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}} | ||
{{Page version|41.78.16}} | |||
| | {{Infobox item | ||
| | |name=Pool Cue | ||
|model=Poolcue_Model.png | |||
|icon=Poolcue.png | |||
| | |icon_name=Pool Cue | ||
| | |||
|category=Weapon | |category=Weapon | ||
|weight=1 | |weight=1 | ||
Line 21: | Line 18: | ||
|push_back=0.3 | |push_back=0.3 | ||
|knockdown=0 | |knockdown=0 | ||
| | |item_id=Base.Poolcue | ||
}}A '''pool cue''' is a two-handed blunt melee weapon. | }} | ||
A '''pool cue''' is a two-handed blunt melee weapon. | |||
==Usage== | ==Usage== | ||
===Weapon=== | ===Weapon=== | ||
The pool cue is a multi-attack weapon, capable of hitting two [[zombie]]s 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 is a multi-attack weapon, capable of hitting two [[zombie]]s 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. | The pool cue has difficulty knocking a zombie to the ground and will instead knock them back slightly. | ||
Line 37: | Line 36: | ||
==Condition== | ==Condition== | ||
The pool cue is a [[Skills#Blunt|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: <code>1 in (10 + maintenance x 2)</code> | The pool cue is a [[Skills#Blunt|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: <code>1 in (10 + maintenance x 2)</code> | ||
== | ===Repairing=== | ||
{{ | A pool cue cannot be fixed. | ||
{{ | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|Poolcue|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Poolcue distribution | |||
<span class="mw-customtoggle-togglebox-Poolcue" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Poolcue"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| barstorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| barstorage | |||
| {{ll|crate}} | |||
| 41.14% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Poolcue" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Poolcue|41.78.16--> | |||
==Code== | |||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 1960 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Poolcue | |||
{ | { | ||
DisplayCategory = Sports, | |||
MaxRange = 1.6, | MaxRange = 1.6, | ||
WeaponSprite = PoolCue, | WeaponSprite = PoolCue, | ||
Line 69: | Line 107: | ||
SplatBloodOnNoDeath = FALSE, | SplatBloodOnNoDeath = FALSE, | ||
Icon = Poolcue, | Icon = Poolcue, | ||
RunAnim = Run_Weapon2, | |||
IdleAnim = Idle_Weapon2, | |||
TwoHandWeapon = TRUE, | |||
BreakSound = PoolcueBreak, | |||
TreeDamage = 0, | DoorHitSound = PoolcueHit, | ||
HitSound = PoolcueHit, | |||
HitFloorSound = PoolcueHit, | |||
SwingSound = PoolcueSwing, | |||
TreeDamage = 0, | |||
CriticalChance = 0, | |||
} | MinDamage = 0.2, | ||
MaxDamage = 0.4, | |||
BaseSpeed = 1.2, | |||
AttachmentType = BigBlade, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 86: | Line 130: | ||
*[[Hockey Stick]] | *[[Hockey Stick]] | ||
{{Navbox | {{Navbox items|blunt}} | ||
[[Category:Sports]] |
Latest revision as of 13:37, 30 April 2024
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.
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
barstorage | crate | 23.28% |
barstorage | crate | 41.14% |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item Poolcue
{
DisplayCategory = Sports,
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 = PoolcueBreak,
DoorHitSound = PoolcueHit,
HitSound = PoolcueHit,
HitFloorSound = PoolcueHit,
SwingSound = PoolcueSwing,
TreeDamage = 0,
CriticalChance = 0,
MinDamage = 0.2,
MaxDamage = 0.4,
BaseSpeed = 1.2,
AttachmentType = BigBlade,
}