Golf Club: Difference between revisions
m (→Code: Let's readd the item section for now) |
m (Distribution table update) |
||
(18 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}} | |||
{{Header|Project Zomboid|Items|Weapons|Melee weapons| | {{Page version|41.78.16}} | ||
{{Infobox | {{Infobox item | ||
| | |name=Golf Club | ||
| | |model=Golfclub_Model.png | ||
|icon=Golfclub.png | |||
|icon_name=Golf Club | |||
| | |||
| | |||
|category=Weapon | |category=Weapon | ||
|weight=2 | |weight=2 | ||
Line 22: | Line 18: | ||
|push_back=0.6 | |push_back=0.6 | ||
|knockdown=0 | |knockdown=0 | ||
| | |item_id=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 '''golf club''' is a blunt melee [[weapon]]. | A '''golf club''' is a blunt melee [[Weapons|weapon]]. | ||
==Usage== | ==Usage== | ||
Line 53: | Line 49: | ||
==Distribution== | ==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== | ==Code== | ||
{{CodeBox|Item<br> | |||
{{CodeBox | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 1412 | ||
| source = | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item Golfclub | 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 | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 348 | ||
| source = fixing.txt | | source = fixing.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
fixing Fix Golf club | fixing Fix Golf club | ||
{ | { | ||
Require : Golfclub, | |||
Fixer : DuctTape=2, | |||
} | Fixer : Scotchtape=3, | ||
} | |||
}} | }} | ||
}} | }} | ||
Line 132: | Line 185: | ||
*[[Pool Cue]] | *[[Pool Cue]] | ||
{{Navbox | {{Navbox items|blunt}} | ||
[[Category:Sports]] |
Revision as of 15:38, 24 April 2024
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 |
---|
Potentially repairs: 20%
Chance of success: 95% Needs:
Duct Tape (2 units) |
Potentially repairs: 10%
Chance of success: 95% Needs:
Adhesive Tape (3 units) |
Distribution
The loot distributions can be found in the table(s) below.
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 |
Vehicle Type/Location | Rolls | Chance |
---|---|---|
GolfTruckBed | 1 | 20 |
Code
Item
Source: ProjectZomboid\media\scripts\items_weapons.txt
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
fixing Fix Golf club
{
Require : Golfclub,
Fixer : DuctTape=2,
Fixer : Scotchtape=3,
}