Pool Cue: Difference between revisions

From PZwiki
(Updated to build 41.50)
(Update distribution file)
 
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=50}}{{Infobox weapon
{{Page version|41.78.16}}
|display_name=Pool Cue
{{Infobox item
|name_colour=Weapon
|name=Pool Cue
|name_text_colour=Weapon
|model=Poolcue_Model.png
|image=Poolcue_Model.png
|icon=Poolcue.png
|image_width=200px
|icon_name=Pool Cue
|alternate_image=Poolcue.png
|alternate_name=Pool Cue
|alternate_link=
|category=Weapon
|category=Weapon
|weight=1
|weight=1
Line 21: Line 18:
|push_back=0.3
|push_back=0.3
|knockdown=0
|knockdown=0
|class_name=Base.Poolcue
|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.


== Code ==
===Repairing===
{{Testing|build=[[Build 41]]}}
A pool cue cannot be fixed.
'''''From Items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
 
{{Retrieved|version=41|incver=50}}
==Distribution==
<pre> item Poolcue
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,
        RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
        IdleAnim = Idle_Weapon2,
TwoHandWeapon = TRUE,
        TwoHandWeapon = TRUE,
BreakSound =  BreakWoodItem,
        BreakSound PoolcueBreak,
TreeDamage =  0,
        DoorHitSound = PoolcueHit,
CriticalChance = 0,
HitSound = PoolcueHit,
MinDamage = 0.2,
HitFloorSound = PoolcueHit,
MaxDamage = 0.4,
SwingSound = PoolcueSwing,
BaseSpeed = 1.2,
        TreeDamage =  0,
AttachmentType = BigBlade,
        CriticalChance = 0,
}</pre>
        MinDamage = 0.2,
        MaxDamage = 0.4,
        BaseSpeed = 1.2,
        AttachmentType = BigBlade,
}
}}
}}


==See also==
==See also==
Line 86: Line 130:
*[[Hockey Stick]]
*[[Hockey Stick]]


{{Navbox/Weapons}}{{Navbox_weapons}}
{{Navbox items|blunt}}
 
 
[[Category:Sports]]

Latest revision as of 13:37, 30 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Pool Cue
Poolcue Model.png
General
Category
Weapon
Encumbrance
Moodle Icon HeavyLoad.png
1
Equipped
Two-handed
Properties
Max condition
10
Performance
Damage
0.2–0.4
Range
0.61–1.6
Knockback
0.3
Knockdown
0
Technical
Item 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.

Distribution

The loot distributions can be found in the table(s) below.

Poolcue distribution Show / Hide
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.
Containers
Building/Room Container Effective chance
barstorage crate 23.28%
barstorage crate 41.14%

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
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,
	}

See also