Pool Cue: Difference between revisions

From PZwiki
(→‎Code: Codebox Update)
m (Automated Formatting)
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Weapons|Melee weapons|type=Weapon|version=Version 41|incver=50}}{{Infobox weapon
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
|display_name=Pool Cue
{{Page version|41.78.16}}
|name_colour=Weapon
{{Infobox item
|name_text_colour=Weapon
|name=Pool Cue
|image=Poolcue_Model.png
|model=Poolcue_Model.png
|image_width=200px
|icon=Poolcue.png
|alternate_image=Poolcue.png
|icon_name=Pool Cue
|alternate_name=Pool Cue
|alternate_link=
|category=Weapon
|category=Weapon
|weight=1
|weight=1
Line 20: 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===
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.


===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 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 39: Line 38:


===Repairing===
===Repairing===
A pool cue cannot be fixed.  
A pool cue cannot be fixed.
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="2"|barstorage
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|2
|}


==Code==
==Code==
Line 46: Line 66:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 1960
   | source = Items_weapons.txt
   | source = items_weapons.txt
   | retrieved = true
   | retrieved = true
   | version = 41
   | version = 41.78.16
  | incver = 50
   | code =
   | code =
item Poolcue
item Poolcue
{
{
  MaxRange               = 1.6,
    DisplayCategory = Sports,
  WeaponSprite           = PoolCue,
MaxRange = 1.6,
  MinAngle               = 0.85,
WeaponSprite = PoolCue,
  Type                   = Weapon,
MinAngle = 0.85,
  MinimumSwingTime       = 2,
Type = Weapon,
  KnockBackOnNoDeath     = FALSE,
MinimumSwingTime = 2,
  SwingAmountBeforeImpact = 0.02,
KnockBackOnNoDeath = FALSE,
  Categories             = Improvised;Blunt,
SwingAmountBeforeImpact = 0.02,
  ConditionLowerChanceOneIn = 10,
Categories = Improvised;Blunt,
  Weight                 = 1,
ConditionLowerChanceOneIn = 10,
  SplatNumber             = 1,
Weight = 1,
  PushBackMod             = 0.3,
SplatNumber = 1,
  SubCategory             = Swinging,
PushBackMod = 0.3,
  ConditionMax           = 10,
SubCategory = Swinging,
  MaxHitCount             = 2,
ConditionMax = 10,
  DoorDamage             = 1,
MaxHitCount = 2,
  SwingAnim               = Bat,
DoorDamage = 1,
  DisplayName             = Poolcue,
SwingAnim = Bat,
  MinRange               = 0.61,
DisplayName = Poolcue,
  SwingTime               = 2,
MinRange = 0.61,
  KnockdownMod           = 0,
SwingTime = 2,
  SplatBloodOnNoDeath     = FALSE,
KnockdownMod = 0,
  Icon                   = Poolcue,
SplatBloodOnNoDeath = FALSE,
  RunAnim                 = Run_Weapon2,
Icon = Poolcue,
  IdleAnim               = Idle_Weapon2,
        RunAnim = Run_Weapon2,
  TwoHandWeapon           = TRUE,
        IdleAnim = Idle_Weapon2,
   BreakSound              = BreakWoodItem,
        TwoHandWeapon = TRUE,
  TreeDamage             = 0,
        BreakSound  =   PoolcueBreak,
  CriticalChance         = 0,
        DoorHitSound = PoolcueHit,
  MinDamage               = 0.2,
HitSound = PoolcueHit,
  MaxDamage               = 0.4,
HitFloorSound = PoolcueHit,
  BaseSpeed               = 1.2,
SwingSound = PoolcueSwing,
  AttachmentType         = BigBlade,
        TreeDamage =   0,
}
        CriticalChance = 0,
  }}
        MinDamage = 0.2,
        MaxDamage = 0.4,
        BaseSpeed = 1.2,
        AttachmentType = BigBlade,
}
}}
}}
}}


Line 96: Line 120:
*[[Hockey Stick]]
*[[Hockey Stick]]


{{Navbox weapons}}
{{Navbox items|blunt}}
 
 
[[Category:Sports]]

Revision as of 11:12, 14 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.

Containers
Building/Room Container Rolls Chance
barstorage crate 4 1
crate 4 2

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