Club Hammer: Difference between revisions

From PZwiki
(Added the weapon code information from the project zomboid "item_weapons.txt")
 
(Add infobox, navbox, under construction)
Line 1: Line 1:
===Item===
{{underconstruction}}
{{languages|{{PAGENAME}}}}
{{header|Project Zomboid|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=55}}
{{Infobox weapon
|display_name=Club Hammer
|name_colour=Weapon
|name_text_colour=Weapon
|image=Image.png
|image_width=120px
|alternate_image=ClubHammer.png
<!--GENERAL-->
|category=Weapon (or Tool?)
|weight=1
|function= (Any besides weapon?)
|equipped=One-handed
|secondary_item= (Does it have any?)
|condition_max=10
|attachment_type=Hammer
<!--CHARACTERISTICS-->
<!--DAMAGE-->
|type=SmallBlunt
|swing_time=3
|min_range=0.61
|max_range=1
|min_damage=0.5
|max_damage=1
|push_back=0.5
|knockdown=0
<!--TECHNICAL DETAILS-->
|class_name=ClubHammer
}}
'''''TODO'''''
 
== Usage ==
'''''TODO'''''
 
== Code ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=55}}
{{Retrieved|version=41|incver=55}}
<nowiki>
<pre> item ClubHammer
    item ClubHammer
MaxRange = 1,
{
WeaponSprite = ClubHammer,
MaxRange = 1,
MinAngle = 0.65,
WeaponSprite = ClubHammer,
Type = Weapon,
MinAngle = 0.65,
MinimumSwingTime = 3,
Type = Weapon,
KnockBackOnNoDeath = TRUE,
MinimumSwingTime = 3,
SwingAmountBeforeImpact = 0.02,
KnockBackOnNoDeath = TRUE,
Categories = SmallBlunt,
SwingAmountBeforeImpact = 0.02,
ConditionLowerChanceOneIn = 25,
Categories = SmallBlunt,
Weight = 1,
ConditionLowerChanceOneIn = 25,
SplatNumber = 1,
Weight = 1,
PushBackMod = 0.5,
SplatNumber = 1,
SubCategory = Swinging,
PushBackMod = 0.5,
ConditionMax = 10,
SubCategory = Swinging,
MaxHitCount = 1,
ConditionMax = 10,
DoorDamage = 9,
MaxHitCount = 1,
CanBarricade = TRUE,
DoorDamage = 9,
SwingAnim = Bat,
CanBarricade = TRUE,
DisplayName = Club Hammer,
SwingAnim = Bat,
MinRange = 0.61,
DisplayName = Club Hammer,
SwingTime = 3,
MinRange = 0.61,
KnockdownMod = 0,
SwingTime = 3,
SplatBloodOnNoDeath = TRUE,
KnockdownMod = 0,
Icon = ClubHammer,
SplatBloodOnNoDeath = TRUE,
RunAnim = Run_Weapon2,
Icon = ClubHammer,
IdleAnim = Idle_Weapon2,
RunAnim = Run_Weapon2,
BreakSound = ClubHammerBreak,
        IdleAnim = Idle_Weapon2,
DoorHitSound = ClubHammerHit,
        BreakSound =   ClubHammerBreak,
HitSound = ClubHammerHit,
        DoorHitSound = ClubHammerHit,
HitFloorSound = ClubHammerHit,
HitSound = ClubHammerHit,
SwingSound = ClubHammerSwing,
HitFloorSound = ClubHammerHit,
TreeDamage = 0,
SwingSound = ClubHammerSwing,
MetalValue = 25,
        TreeDamage =   0,
CriticalChance = 20,
        MetalValue = 25,
CritDmgMultiplier = 2,
        CriticalChance = 20,
MinDamage = 0.5,
        CritDmgMultiplier = 2,
MaxDamage = 1,
        MinDamage = 0.5,
BaseSpeed = 1,
        MaxDamage = 1,
WeaponLength = 0.23,
        BaseSpeed = 1,
AttachmentType = Hammer,
    WeaponLength = 0.23,
</pre>
    AttachmentType = Hammer,
 
        {</nowiki>
{{Navbox_weapons}}

Revision as of 23:30, 19 November 2021

Hammer.png
This article is currently under construction.
It is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well.
If this page has not been updated in a while, please replace this notice with {{Improve}}. Last edit was 19/11/2021.
Club Hammer
Club Hammer
ClubHammer.png
General
Category Weapon (or Tool?)
Encumbrance
Heavy Load
1
Function (Any besides weapon?)
Equipped One-handed
Secondary Image.png
Condition max. 10
Skill Short Blunt
Attachment Belt
Damage
Type SmallBlunt
Attack speed 3
Range 0.61–1 tiles
Damage 0.5–1
Knockback 0.5
Knockdown 0
Technical details
Base ID ClubHammer

TODO

Usage

TODO

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.55

	item ClubHammer
		MaxRange			= 1,
		WeaponSprite			= ClubHammer,
		MinAngle			= 0.65,
		Type				= Weapon,
		MinimumSwingTime		= 3,
		KnockBackOnNoDeath		= TRUE,
		SwingAmountBeforeImpact		= 0.02,
		Categories			= SmallBlunt,
		ConditionLowerChanceOneIn	= 25,
		Weight				= 1,
		SplatNumber			= 1,
		PushBackMod			= 0.5,
		SubCategory			= Swinging,
		ConditionMax			= 10,
		MaxHitCount			= 1,
		DoorDamage			= 9,
		CanBarricade			= TRUE,
		SwingAnim			= Bat,
		DisplayName			= Club Hammer,
		MinRange			= 0.61,
		SwingTime			= 3,
		KnockdownMod			= 0,
		SplatBloodOnNoDeath		= TRUE,
		Icon				= ClubHammer,
		RunAnim				= Run_Weapon2,
		IdleAnim			= Idle_Weapon2,
		BreakSound			= ClubHammerBreak,
		DoorHitSound			= ClubHammerHit,
		HitSound			= ClubHammerHit,
		HitFloorSound			= ClubHammerHit,
		SwingSound			= ClubHammerSwing,
		TreeDamage			= 0,
		MetalValue			= 25,
		CriticalChance			= 20,
		CritDmgMultiplier		= 2,
		MinDamage			= 0.5,
		MaxDamage			= 1,
		BaseSpeed			= 1,
		WeaponLength			= 0.23,
		AttachmentType			= Hammer,