Golf Club: Difference between revisions

From PZwiki
m (Vaileasys moved page Golf Club to Golf Club over redirect: Name change as of build 41.50)
m (Updated to build 41.50)
Line 1: Line 1:
{{languages}}
{{languages}}
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 40|incver=40}}{{Infobox weapon
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 40|incver=40}}{{Infobox weapon
|display_name=Golfclub
|display_name=Golf Club
|name_colour=Weapon
|name_colour=Weapon
|name_text_colour=Weapon
|name_text_colour=Weapon
Line 7: Line 7:
|image_width=200px
|image_width=200px
|alternate_image=Golfclub.png
|alternate_image=Golfclub.png
|alternate_name=Golfclub
|alternate_name=Golf Club
|alternate_link=Golfclub
|alternate_link=
|category=Weapon
|category=Weapon
|weight=2
|weight=2
Line 14: Line 14:
|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
|class_name=Base.Golfclub
}}{{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}}
}}{{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 '''golfclub''' is a blunt melee [[weapon]].
A '''golf club''' is a blunt melee [[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 36: Line 36:


==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. The chance of losing durability is: <code>1 in (15 + maintenance x 2)</code>
=== Repairing ===
=== Repairing ===
Materials that can be used to repair the golfclub, based on first time 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 50: Line 50:


==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]].  
Golf clubs can be found in storage boxes and can be found specifically at the warehouses and the train station warehouses SE of [[Muldraugh]].  


== Code ==
== Code ==
===Item===
===Item===
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From Items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=40}}
{{Retrieved|version=41|incver=50}}
<pre> item Golfclub
<pre>   item Golfclub
MaxRange = 1.5,
    {
WeaponSprite = GolfClub,
        MaxRange = 1.42,
MinAngle = 0,
        WeaponSprite = GolfClub,
Type = Weapon,
        MinAngle = 0.8,
MinimumSwingTime = 3,
        Type = Weapon,
SwingAmountBeforeImpact = 0.02,
        MinimumSwingTime = 3,
Categories = Blunt,
        SwingAmountBeforeImpact = 0.02,
Weight = 2,
        Categories = Blunt,
ConditionLowerChanceOneIn = 15,
        Weight = 2,
PushBackMod = 0.6,
        ConditionLowerChanceOneIn = 15,
MinDamage = 0.3,
        PushBackMod = 0.6,
MaxDamage = 0.7,
        SubCategory = Swinging,
SubCategory = Swinging,
        ConditionMax = 5,
ConditionMax = 10,
        MaxHitCount = 1,
MaxHitCount = 1,
        DoorDamage = 5,
DoorDamage = 5,
        IdleAnim = Idle_Weapon2,
IdleAnim = Idle_Weapon2,
        SwingAnim = Bat,
SwingAnim = Bat,
        DisplayName = Golfclub,
CriticalChance = 10,
        MinRange = 0.61,
WeaponWeight = 4,
        SwingTime = 3,
DisplayName = Golfclub,
        HitAngleMod = -30,
MinRange = 0.61,
        KnockdownMod = 0,
SwingTime = 3,
        Icon = Golfclub,
HitAngleMod = -30,
        RunAnim = Run_Weapon2,
KnockdownMod = 0,
        TwoHandWeapon = TRUE,
Icon = Golfclub,
        TreeDamage =   0,
RunAnim = Run_Weapon2,
        EnduranceMod = 0.6,
        TwoHandWeapon = TRUE,
        MetalValue = 90,
        TreeDamage = 0,
        BreakSound =  BreakMetalItem,
        EnduranceMod = 0.6,
        CriticalChance = 25,
        MetalValue = 90,</pre>
        CritDmgMultiplier = 2,
        MinDamage = 0.5,
        MaxDamage = 1,
        BaseSpeed = 1,
        AttachmentType = BigBlade,
    }</pre>


===Repair===
===Repair===
'''''From fixing.txt (Project Zomboid directory/media/scripts/)'''''
'''''From fixing.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=40}}
{{Retrieved|version=41|incver=50}}
<pre> fixing Fix Golf club
<pre> fixing Fix Golf club
Require : Golfclub,
Require : Golfclub,

Revision as of 12:19, 28 February 2021

Golf Club
Golf Club
Golf Club
General
Category Weapon
Encumbrance
Heavy Load
2
Equipped Two-handed
Condition max. 5
Skill Long Blunt
Damage
Type Blunt
Attack speed 3
Range 0.61–1.42 tiles
Damage 0.5–1.0
Knockback 0.6
Knockdown 0
Technical details
Base 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. The chance of losing durability is: 1 in (15 + maintenance x 2)

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

Golf clubs can be found in storage boxes and can be found specifically at the warehouses and the train station warehouses SE of Muldraugh.

Code

Item

From Items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50

    item Golfclub
    {
        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	=	1,
        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	=   BreakMetalItem,
        CriticalChance	=	25,
        CritDmgMultiplier	=	2,
        MinDamage	=	0.5,
        MaxDamage	=	1,
        BaseSpeed	= 1,
        AttachmentType	= BigBlade,
    }

Repair

From fixing.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50

	fixing Fix Golf club
		Require : Golfclub,
		Fixer : DuctTape=2,
		Fixer : Scotchtape=3,


See also

Template:Navbox/Weapons