Golf Club: Difference between revisions

From PZwiki
m (changed icon to be model)
m (Distribution table fix)
 
(35 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages|Golfclub}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
{{header|The Game World|Items|Weapons|type=Weapon|version=Version 40|incver=40}}{{Infobox weapon
{{Page version|41.78.16}}
|display_name=Golfclub
{{Infobox item
|name_colour=Weapon
|name=Golf Club
|name_text_colour=Weapon
|model=Golfclub_Model.png
|image=Golfclub_Model.png
|icon=Golfclub.png
|image_width=200px
|icon_name=Golf Club
|alternate_image=Golfclub.png
|alternate_name=Golfclub
|alternate_link=Golfclub
|category=Weapon
|category=Weapon
|weight=2
|weight=2
Line 14: Line 11:
|type=Blunt
|type=Blunt
|min_range=0.61
|min_range=0.61
|max_range=1.5
|max_range=1.42
|swing_time=3
|swing_time=3
|condition_max=10
|condition_max=5
|min_damage=0.3
|min_damage=0.5
|max_damage=0.7
|max_damage=1.0
|push_back=0.6
|push_back=0.6
|knockdown=0
|knockdown=0
|class_name=Base.Golfclub
|item_id=Base.Golfclub
}}A '''golfclub''' is a blunt melee [[weapon]].
}}
{{Quote|text=I don't know about you, but when I golf with my buddies there's always this special moment. You get your clubs out the trunk, your friend does the same and you compare - right? Until I bought a set of Ivanov clubs, that was a mental battle I always lost. To get the best, you've gotta look for the best. So it's your lucky day. Today I'm here to show you: the best. Let's find out why golfing the Ivanov way is pitch perfect.|author=[[Television]] advert}}
A '''golf club''' is a blunt melee [[Weapons|weapon]].


==Usage==
==Usage==
===Weapon===
===Weapon===
The golfclub has a long range, however can only hit one enemy per swing, making it difficult to keep back a larger group of [[Zombie|zombies]]. The golfclub has difficulty knocking a zombie to the ground and will instead knock them back.
The golf club has a long range, however can only hit one enemy per swing, making it difficult to keep back a larger group of [[Zombie|zombies]]. The golf club has difficulty knocking a zombie to the ground and will instead knock them back.


===Breaking doors===
===Breaking doors===
Line 35: Line 34:


==Condition==
==Condition==
The golfclub is a [[Skills#Blunt|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 (15 + maintenance x 2)</code>
The golf club is a [[Skills#Blunt|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.
=== Repairing ===
 
Materials that can be used to repair the golfclub, based on first time repairing.
===Repairing===
Materials that can be used to repair the golf club, based on first time repairing.
{{Fixing weapon
{{Fixing weapon
|item=Golfclub
|item=Golf club
|ducttape=2
|ducttape=2
|ducttaperepairs=20
|ducttaperepairs=20
Line 49: Line 49:


==Distribution==
==Distribution==
Golfclubs can be found in storage boxes and can be found specifically at the warehouses and the train station warehouses SE of [[Muldraugh]].  
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|Golfclub|41.78.16-->
===Item===
{{Clear}}
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
<div class="togglebox theme-red">
{{Retrieved|version=40|incver=40}}
    <div>Golfclub distribution
<pre> item Golfclub
        <span class="mw-customtoggle-togglebox-Golfclub" 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>
MaxRange = 1.5,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Golfclub">
WeaponSprite = GolfClub,
    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">
MinAngle = 0,
<div class="pz-container">
Type = Weapon,
<div id="containers" style="flex-basis:30%">
MinimumSwingTime = 3,
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
SwingAmountBeforeImpact = 0.02,
    |+ {{ll|Containers}}
Categories = Blunt,
    ! Building/Room
Weight = 2,
    ! Container
ConditionLowerChanceOneIn = 15,
    ! Effective chance
PushBackMod = 0.6,
    |-
MinDamage = 0.3,
    | Bag_GolfBag
MaxDamage = 0.7,
    | {{ll|Bag_GolfBag}}
SubCategory = Swinging,
    | 6.41%
ConditionMax = 10,
    |-
MaxHitCount = 1,
    | Bag_GolfBag
DoorDamage = 5,
    | {{ll|Bag_GolfBag}}
IdleAnim = Idle_Weapon2,
    | 12.41%
SwingAnim = Bat,
    |-
CriticalChance = 10,
    | Bag_GolfBag
WeaponWeight = 4,
    | {{ll|Bag_GolfBag}}
DisplayName = Golfclub,
    | 30.41%
MinRange = 0.61,
    |-
SwingTime = 3,
    | Bag_GolfBag
HitAngleMod = -30,
    | {{ll|Bag_GolfBag}}
KnockdownMod = 0,
    | 120.41%
Icon = Golfclub,
    |}
RunAnim = Run_Weapon2,
</div>
        TwoHandWeapon = TRUE,
<div id="vehicles" style="flex-basis:30%">
        TreeDamage  = 0,
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
        EnduranceMod = 0.6,
    |+ {{ll|Vehicles}}
        MetalValue = 90,</pre>
    ! Type
    ! Container
    ! Effective chance
    |-
    | Golf
    | {{ll|Truck Bed}}
    | 12.41%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Golfclub" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Golfclub|41.78.16-->


===Repair===
==Code==
'''''From fixing.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|Item<br>
{{Retrieved|version=40|incver=40}}
{{CodeSnip
<pre> fixing Fix Golf club
  | lang = java
Require : Golfclub,
  | line = true
Fixer : DuctTape=2,
  | start = 1412
Fixer : Scotchtape=3,</pre>
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Golfclub
    {
        DisplayCategory = Sports,
        MaxRange = 1.42,
        WeaponSprite = GolfClub,
        MinAngle = 0.8,
        Type = Weapon,
        MinimumSwingTime = 3,
        SwingAmountBeforeImpact = 0.02,
        Categories = Blunt,
        Weight = 2,
        ConditionLowerChanceOneIn = 15,
        PushBackMod = 0.6,
        SubCategory = Swinging,
        ConditionMax = 5,
        MaxHitCount = 3,
        DoorDamage = 5,
        IdleAnim = Idle_Weapon2,
        SwingAnim = Bat,
        DisplayName = Golfclub,
        MinRange = 0.61,
        SwingTime = 3,
        HitAngleMod = -30,
        KnockdownMod = 0,
        Icon = Golfclub,
        RunAnim = Run_Weapon2,
        TwoHandWeapon = TRUE,
        TreeDamage  =  0,
        EnduranceMod = 0.6,
        MetalValue = 90,
        BreakSound  =  GolfclubBreak,
        DoorHitSound = GolfclubHit,
HitSound = GolfclubHit,
HitFloorSound = GolfclubHit,
SwingSound = GolfclubSwing,
        CriticalChance = 25,
        CritDmgMultiplier = 2,
        MinDamage = 0.5,
        MaxDamage = 1,
        BaseSpeed = 1,
        AttachmentType = BigBlade,
    }
}}


Repair<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 348
  | source = fixing.txt
  | retrieved = true
  | version = 41.78.16
  | code =
    fixing Fix Golf club
    {
      Require : Golfclub,
      Fixer : DuctTape=2,
      Fixer : Scotchtape=3,
    }
  }}
}}


==See also==
==See also==
*[[Baseball Bat]]
*[[Baseball Bat]]
*[[Hockey Stick]]
*[[Hockey Stick]]
*[[Poolcue]]
*[[Pool Cue]]
 
{{Navbox items|blunt}}
 


{{Navbox/Weapons}}
[[Category:Sports]]

Latest revision as of 19:16, 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]
Golf Club
Golfclub Model.png
General
Category
Weapon
Encumbrance
Moodle Icon HeavyLoad.png
2
Equipped
Two-handed
Properties
Max condition
5
Performance
Damage
0.5–1.0
Range
0.61–1.42
Knockback
0.6
Knockdown
0
Technical
Item ID
Base.Golfclub
I don't know about you, but when I golf with my buddies there's always this special moment. You get your clubs out the trunk, your friend does the same and you compare - right? Until I bought a set of Ivanov clubs, that was a mental battle I always lost. To get the best, you've gotta look for the best. So it's your lucky day. Today I'm here to show you: the best. Let's find out why golfing the Ivanov way is pitch perfect.
Television advert

A golf club is a blunt melee weapon.

Usage

Weapon

The golf club has a long range, however can only hit one enemy per swing, making it difficult to keep back a larger group of zombies. The golf club has difficulty knocking a zombie to the ground and will instead knock them back.

Breaking doors

It is somewhat ineffective at bashing down doors, dealing 5 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 golf club is a 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.

Repairing

Materials that can be used to repair the golf club, based on first time repairing.

Repair Golf club
DuctTape.png
Potentially repairs: 20%
Chance of success: 95%
Scotchtape.png
Potentially repairs: 10%
Chance of success: 95%

Distribution

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

Golfclub 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
Bag_GolfBag Bag_GolfBag 6.41%
Bag_GolfBag Bag_GolfBag 12.41%
Bag_GolfBag Bag_GolfBag 30.41%
Bag_GolfBag Bag_GolfBag 120.41%
Vehicles
Type Container Effective chance
Golf Trunk 12.41%

Code

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

Item
Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item Golfclub
    {
        DisplayCategory = Sports,
        MaxRange	=	1.42,
        WeaponSprite	=	GolfClub,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	3,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Blunt,
        Weight	=	2,
        ConditionLowerChanceOneIn	=	15,
        PushBackMod	=	0.6,
        SubCategory	=	Swinging,
        ConditionMax	=	5,
        MaxHitCount	=	3,
        DoorDamage	=	5,
        IdleAnim	=	Idle_Weapon2,
        SwingAnim	=	Bat,
        DisplayName	=	Golfclub,
        MinRange	=	0.61,
        SwingTime	=	3,
        HitAngleMod	=	-30,
        KnockdownMod	=	0,
        Icon	=	Golfclub,
        RunAnim	=	Run_Weapon2,
        TwoHandWeapon = TRUE,
        TreeDamage  =   0,
        EnduranceMod = 0.6,
        MetalValue = 90,
        BreakSound  =   GolfclubBreak,
        DoorHitSound = GolfclubHit,
		HitSound = GolfclubHit,
		HitFloorSound = GolfclubHit,
		SwingSound = GolfclubSwing,
        CriticalChance	=	25,
        CritDmgMultiplier = 2,
        MinDamage	=	0.5,
        MaxDamage	=	1,
        BaseSpeed = 1,
        AttachmentType = BigBlade,
    }

Repair
Source: ProjectZomboid\media\scripts\fixing.txt

Retrieved: Build 41.78.16
fixing Fix Golf club
    {
       Require : Golfclub,

       Fixer : DuctTape=2,
       Fixer : Scotchtape=3,
    }

See also