Pool Cue: Difference between revisions

From PZwiki
(new infobox)
m (Distribution table update)
(25 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages|Poolcue}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 37|incver=8}}{{Infobox weapon
{{Page version|41.78.16}}
|display_name=Poolcue
{{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=Poolcue
|alternate_link=
|category=Weapon
|category=Weapon
|weight=1
|weight=1
Line 14: Line 11:
|type=Blunt
|type=Blunt
|min_range=0.61
|min_range=0.61
|max_range=1.5
|max_range=1.6
|swing_time=2
|swing_time=2
|condition_max=10
|condition_max=10
|min_damage=0.5
|min_damage=0.2
|max_damage=0.7
|max_damage=0.4
|push_back=0.3
|push_back=0.3
|knockdown=0
|knockdown=0
|class_name=Base.Poolcue
|item_id=Base.Poolcue
}}A '''poolcue''' a is melee weapon which has moderate durability, but has a poor ability to knock down zombies.
}}
<br><br>
A '''pool cue''' is a two-handed blunt melee weapon.
The Poolcue has a medium swing rate but does not put out much damage either. One of its benefits is that it relatively light for a weapon of its length.  It can be found on counters and shelves in bars, and can be found on metal shelves in various houses. The Poolcue currently cannot be repaired.
<br><br>
The Poolcue despite its flaws, is a multi-attack weapon, and can attack 2 zombies at once. It also can cause 2 door damage per swing, but no tree damage.
<br><br><br><br><br><br><br><br><br><br>


== Code ==
==Usage==
<nowiki>
===Weapon===
item Poolcue
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.
MaxRange = 1.5,
WeaponSprite = Poolcue,
MinAngle = 0.2,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Blunt,
ConditionLowerChanceOneIn = 10,
Weight = 1,
SplatN.umber = 0,
PushBackMod = 0.3,
MaxDamage = 0.7,
SubCategory = Swinging,
ConditionMax = 10,
MaxHitCount = 2,
DoorDamage = 2,
SwingAnim = Bat,
WeaponWeight = 1,
DisplayName = Poolcue,
MinRange = 0.61,
SwingTime = 2,
MinDamage = 0.5,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = Poolcue,
        RunAnim = Run_Weapon2,
        IdleAnim = Idle_Weapon2,
        TwoHandWeapon = TRUE,
        BreakSound  = PZ_WoodSnap,
        TreeDamage  = 0,
</nowiki>


{{Navbox/Weapons}}
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 [[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">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | barstorage
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | barstorage
    | {{ll|crate}}
    | 4
    | 20.0
    |}
</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,
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==
*[[Baseball Bat]]
*[[Golf Club]]
*[[Hockey Stick]]
 
{{Navbox items|blunt}}
 
 
[[Category:Sports]]

Revision as of 16:23, 24 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
Containers
Building / Room Container Rolls Chance
barstorage crate 4 10.0
barstorage crate 4 20.0

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