Golf Club: Difference between revisions

From PZwiki
(Typo corrected.)
m (Distribution table update)
(39 intermediate revisions by 7 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
{{languages|Golf Club}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #C3E4ED; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #9AC0CD"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Golf Club
<div style="float: left;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Weapons|Weapons]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=Golfclub_Model.png
{{Weapons
|icon=Golfclub.png
|image = Golf Club.png
|icon_name=Golf Club
|weapontype = Melee
|category=Weapon
|ammo = none
|weight=2
|weight = 2.0
|equipped=Two-handed
|type=Blunt
|min_range=0.61
|max_range=1.42
|swing_time=3
|condition_max=5
|min_damage=0.5
|max_damage=1.0
|push_back=0.6
|knockdown=0
|item_id=Base.Golfclub
}}
}}
The golf club is a long reach weapon that can knock a zombie back, but may have difficulty knocking a zombie down with due to the weapon having a 0 knockdown modifier. It is a reasonable weapon which can be used as a alternative if a player prefers to keep zombies at a distance and have ran out of better weapons.
{{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}}
<br><br>
A '''golf club''' is a blunt melee [[Weapons|weapon]].
Golf Clubs can be found in storage boxes and can be found specifically at the warehouses and the train station warehouses SE of Maldraugh.  
<br><br>
The Golf club is a single attack weapon, meaning it can only hit one zombie at a time ''(compared to the [[Baseball Bat|baseball bat]] which can hit 2)''. Attacking more than one zombie should be taken with care as only one zombie will be stopped per hit and others could get in close enough to damage the character.
<br><br>
== Materials to Repair ==


{| class="wikitable" style="text-align:center;"
==Usage==
|-
===Weapon===
! Item Repaired
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.
! 1st Repair Materials = <br> ?% Repaired, 100% Success
!  <br> ?% Repaired, 95% Success
|-
|[[File:Golf Club.png|32px]] <br>
[[Golf Club]]
| [[File:DuctTape.png|32px]]<br>
[[Duct Tape]] <small>(2 Uses)</small>
| [[File:MATERIALScotchTape.png|32px]]<br>
[[Adhesive Tape]] <small>(3 Uses)</small>
|-
|}
=== Repair Code ===


  <nowiki>
===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 [[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 golf club, based on first time repairing.
{{Fixing weapon
|item=Golf club
|ducttape=2
|ducttaperepairs=20
|ducttapechance=95
|scotchtape=3
|scotchtaperepairs=10
|scotchtapechance=95
}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Golfclub|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Golfclub distribution
        <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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Golfclub">
    <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
    |-
    | Not referenced
    | {{ll|GolfLockers}}
    | 4
    | 10.0
    |-
    | all
    | {{ll|Bag_GolfBag}}
    | 1
    | 10.0
    |-
    | all
    | {{ll|Bag_GolfBag}}
    | 1
    | 50.0
    |-
    | all
    | {{ll|Bag_GolfBag}}
    | 1
    | 200.0
    |-
    | all
    | {{ll|Bag_GolfBag}}
    | 1
    | 20.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | GolfTruckBed
    | 1
    | 20
    |}
</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-->
 
==Code==
{{CodeBox|Item<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 1412
  | 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
     fixing Fix Golf club
    {
       Require : Golfclub,
       Require : Golfclub,


       Fixer : DuctTape=2,
       Fixer : DuctTape=2,
       Fixer : Scotchtape=3,
       Fixer : Scotchtape=3,
</nowiki>
    }
  }}
}}
 
==See also==
*[[Baseball Bat]]
*[[Hockey Stick]]
*[[Pool Cue]]
 
{{Navbox items|blunt}}


== Code ==
<nowiki>
item Golfclub
MaxRange = 1.5,
WeaponSprite = GolfClub,
MinAngle = 0,
Type = Weapon,
MinimumSwingTime = 3,
SwingAmountBeforeImpact = 0.02,
Categories = Blunt,
Weight = 2,
ConditionLowerChanceOneIn = 15,
PushBackMod = 0.6,
MinDamage = 0.3,
MaxDamage = 0.7,
SubCategory = Swinging,
ConditionMax = 10,
MaxHitCount = 1,
DoorDamage = 5,
IdleAnim = Idle_Weapon2,
SwingAnim = Bat,
CriticalChance = 10,
WeaponWeight = 4,
DisplayName = Golfclub,
MinRange = 0.61,
SwingTime = 3,
HitAngleMod = -30,
KnockdownMod = 0,
Icon = Golfclub,
RunAnim = Run_Weapon2,
        TwoHandWeapon = TRUE,
        TreeDamage  = 0,
        EnduranceMod = 0.6,
</nowiki>


{{Navbox/Weapons}}
[[Category:Sports]]
[[Category:Items]]
[[Category:Weapons]]
[[Category:Version 34.28]]

Revision as of 15:38, 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]
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
Containers
Building / Room Container Rolls Chance
Not referenced GolfLockers 4 10.0
all Bag_GolfBag 1 10.0
all Bag_GolfBag 1 50.0
all Bag_GolfBag 1 200.0
all Bag_GolfBag 1 20.0
Vehicles
Vehicle Type/Location Rolls Chance
GolfTruckBed 1 20

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