Hockey Stick: Difference between revisions

From PZwiki
(Updated to 41.50 (it was unversioned and /probably/ incorrect for 40.43))
(Removed deprecated Weapons and replaced with Infobox Weapons. Also added Usage section.)
Line 1: Line 1:
__NOTOC__
{{notice|Standard}}
{{languages|Hockey stick}}
{{languages|Hockey stick}}
{{header|The Game World|Items|Weapons|Melee Weapons|version=Version 37|incver=8}}{{Weapons|image = HockeyStick.png |weapontype = Melee |ammo = None|hands = One/Two Handed|weight = 2.0|mindamage = 0.3|maxdamage = 0.7|condition = 10|degrade = 5|id = HockeyStick}}'''The''' [[Hockey stick|Hockey Stick]] is an weapon of modest weight and a fairly long range of 1.6 (for a melee weapon). Unfortunately, the hockey stick has poor durability and damage output, so it is recommended to have a backup weapon at hand when going on extended missions.  
{{header|The Game World|Items|Weapons|Melee Weapons|version=Version 37|incver=8}}
<br><br>
{{Infobox weapon
It is also a single attack weapon, meaning it can only concentrate on one zombie at a time, attacking two at a time is risky as only one zombie will be stopped per hit and the other could get in close enough to damage the character.
|display_name=Hockey Stick
<br><br><br><br><br><br><br><br><br><br><br><br><br><br>
|name_colour=Weapon
|name_text_colour=Weapon
|image=HockeyStick.png
|image_width=120px
|category=Weapon
|weight=1.5
|equipped=Two-handed
|type=Blunt
|min_range=0.61
|max_range=1.6
|swing_time=2
|condition_max=7
|min_damage=0.3
|max_damage=0.7
|push_back=0.3
|knockdown=0
|class_name=Base.HockeyStick
}}
A [[Hockey Stick]] is an improvised blunt weapon.
 
== Usage ==
The hockey stick is a blunt weapon of modest weight and a fairly long range. Unfortunately, the hockey stick has poor durability and damage output, so it is recommended to have a backup weapon at hand when going on extended missions.  
 
It has a maximum hit count of two, meaning that it can strike up to two zombies simultaneously.
 
== Code ==
== Code ==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''

Revision as of 04:33, 25 May 2021

Hockey Stick
Hockey Stick
General
Category Weapon
Encumbrance
Heavy Load
1.5
Equipped Two-handed
Condition max. 7
Skill Long Blunt
Damage
Type Blunt
Attack speed 2
Range 0.61–1.6 tiles
Damage 0.3–0.7
Knockback 0.3
Knockdown 0
Technical details
Base ID Base.HockeyStick

A Hockey Stick is an improvised blunt weapon.

Usage

The hockey stick is a blunt weapon of modest weight and a fairly long range. Unfortunately, the hockey stick has poor durability and damage output, so it is recommended to have a backup weapon at hand when going on extended missions.

It has a maximum hit count of two, meaning that it can strike up to two zombies simultaneously.

Code

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

	item HockeyStick
		MaxRange		= 1.6,
		WeaponSprite		= HockeyStick,
		MinAngle		= 0.85,
		Type			= Weapon,
		MinimumSwingTime	= 2,
		KnockBackOnNoDeath	= FALSE,
		SwingAmountBeforeImpact	= 0.02,
		Categories		= Improvised;Blunt,
		ConditionLowerChanceOneIn = 5,
		Weight			= 1.5,
		SplatNumber		= 1,
		PushBackMod		= 0.3,
		SubCategory		= Swinging,
		ConditionMax		= 7,
		MaxHitCount		= 2,
		DoorDamage		= 1,
		SwingAnim		= Bat,
		DisplayName		= Hockey Stick,
		MinRange		= 0.61,
		SwingTime		= 2,
		KnockdownMod		= 0,
		SplatBloodOnNoDeath	= FALSE,
		Icon			= FieldHockeyStick,
		RunAnim			= Run_Weapon2,
		IdleAnim		= Idle_Weapon2,
		BreakSound		= BreakWoodItem,
		TreeDamage		= 0,
		TwoHandWeapon		= TRUE,
		CriticalChance		= 30,
		CritDmgMultiplier	= 2,
		MinDamage		= 0.3,
		MaxDamage		= 0.7,
		BaseSpeed		= 0.9,
		AttachmentType		= Shovel,

Template:Navbox/Weapons