Golf Club: Difference between revisions
VaileasysBot (talk | contribs) m (→top: category project: "The Game World") |
(→Code: Codebox Update) |
||
Line 56: | Line 56: | ||
==Code== | ==Code== | ||
=== | {{CodeBox | ||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 0 | |||
| source = Items_weapons.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 50 | |||
| code = | |||
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=== | ===Repair=== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 0 | |||
| source = fixing.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 50 | |||
| code = | |||
fixing Fix Golf club | |||
{ | |||
Require : Golfclub, | |||
Fixer : DuctTape=2, | |||
Fixer : Scotchtape=3, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 04:35, 13 January 2024
Golf Club | ||
---|---|---|
| ||
General | ||
Category | Weapon | |
Encumbrance | 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 | |
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
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
Source: ProjectZomboid\media\scripts\Items_weapons.txt
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
Source: ProjectZomboid\media\scripts\fixing.txt
fixing Fix Golf club
{
Require : Golfclub,
Fixer : DuctTape=2,
Fixer : Scotchtape=3,
}