Spiked Baseball Bat: Difference between revisions

From PZwiki
m (Corrected the damage type from blunt to slash (as in the code) and then added the skill type for clarity)
m (Cleanup)
Line 1: Line 1:
{{languages|Spiked Baseball Bat}}
{{Languages}}{{Header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=73}}{{Infobox weapon
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=73}}{{Infobox weapon
|display_name=Spiked Baseball Bat
|display_name=Spiked Baseball Bat
|name_colour=Weapon
|name_colour=Weapon
|name_text_colour=Weapon
|name_text_colour=Weapon
|image=BaseballBatSpiked_Model.png
|image=BaseballBatSpiked Model.png
|image_width=200px
|image_width=200px
|alternate_image=BaseballBatNails.png
|alternate_image=BaseballBatNails.png
Line 27: Line 26:
|class_name=Base.BaseballBat
|class_name=Base.BaseballBat
}}A '''spiked baseball bat''' is a two-handed melee weapon.
}}A '''spiked baseball bat''' is a two-handed melee weapon.
__TOC__
 
A craftable improvement on the basic [[Baseball Bat|baseball bat]] which does more damage, generally killing [[Zombies]] with one well-charged hit. Since it has good range, pushes zombies away, and deals above average damage, it is an excellent weapon that is relatively easy to find the components for. The extra damage does come with the drawback of causing damage to clothing worn by [[Zombies]].
A craftable improvement on the basic [[Baseball Bat|baseball bat]] which does more damage, generally killing [[Zombies]] with one well-charged hit. Since it has good range, pushes zombies away, and deals above average damage, it is an excellent weapon that is relatively easy to find the components for. The extra damage does come with the drawback of causing damage to clothing worn by [[Zombies]].


It has lower durability than a standard baseball bat, and as such it is recommended to have a backup weapon for long fights. This lowered durability is counteracted by the ability to repair the weapon with common nails with each nail restoring a full point of condition if successful. This can dramatically extend the life of the bat for not much extra investment.
It has lower durability than a standard baseball bat, and as such it is recommended to have a backup weapon for long fights. This lowered durability is counteracted by the ability to repair the weapon with common nails with each nail restoring a full point of condition if successful. This can dramatically extend the life of the bat for not much extra investment.


The spiked baseball bat is not for the unfit, any user should prioritize putting a point or two in swinging skills if not already done so to benefit from the output of the bat.
The spiked baseball bat is not for the unfit, any user should prioritize putting a point or two in swinging skills if not already done so to benefit from the output of the bat.


It can also be used to bash down [[door]]s, causing 7 damage per swing. They are not found naturally but can be found on the bodies of dead survivors, although it is more reliable to craft one, as the unmodified bat spawns in many locations in the world.
It can also be used to bash down [[door]]s, causing 7 damage per swing. They are not found naturally but can be found on the bodies of dead survivors, although it is more reliable to craft one, as the unmodified bat spawns in many locations in the world.


== Crafting ==
==Crafting==
{{Crafting header|ing=3}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 3001 -->
{{Crafting header|ing=3}}
{{Crafting/core|ing=3
{{Crafting carpentry|009|ing=3}}
| product_image = [[File:BaseballBatNails.png|link=Spiked Baseball Bat|Spiked Baseball Bat]] | product_name = [[Spiked Baseball Bat]] | product_quantity = x1
{{Crafting cooking|402|ing=3}}
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = ''none''
| req =
| f1 = [[File:BaseballBat.png|link=Baseball Bat|Baseball Bat]] | i1 = [[Baseball Bat]] | q1 = x1 | tag1 = (consumed)
| f2 = [[File:Nails.png|link=Nails|Nails]] | i2 = [[Nails]] | q2 = x5 | tag2 = (consumed)
| f3 = [[File:Hammer.png|link=Hammer|Hammer]] | i3 = [[Hammer]] | q3 = x1
}}
|}
|}


 
==Materials to repair==
== Materials to Repair ==
 
{| class="pztable" style="text-align:center;"  
{| class="pztable" style="text-align:center;"  
|-
|-
Line 80: Line 64:
| [[File:Nails.png|[[Nails]]|32px]]<br>
| [[File:Nails.png|[[Nails]]|32px]]<br>
[[Nails]] <small>(1 Use)</small>
[[Nails]] <small>(1 Use)</small>
|-
|}
|}


It should be noted that repairing the spiked baseball bat makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.
It should be noted that repairing the spiked baseball bat makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.
=== Repair Code ===
<nowiki>
    fixing Fix Spiked Baseball Bat
 
    Require : BaseballBatNails,
      Fixer : Woodglue=2; Woodwork=2,
      Fixer : DuctTape=2,
      Fixer : Glue=2,
      Fixer : Scotchtape=4,
      Fixer : Nails,
</nowiki>


== Code ==
==Code==
<nowiki>
<pre>
item BaseballBatNails
item BaseballBatNails
DisplayCategory = WeaponCrafted,
DisplayCategory = WeaponCrafted,
Line 145: Line 115:
         DamageMakeHole = TRUE,
         DamageMakeHole = TRUE,
         AttachmentType = Shovel,
         AttachmentType = Shovel,
</nowiki>
</pre>
 
===Repair===
<pre>
    fixing Fix Spiked Baseball Bat
 
    Require : BaseballBatNails,
 
      Fixer : Woodglue=2; Woodwork=2,
      Fixer : DuctTape=2,
      Fixer : Glue=2,
      Fixer : Scotchtape=4,
      Fixer : Nails,
</pre>


==See also==
==See also==
* [[Baseball Bat]]
*[[Baseball Bat]]


{{Navbox/Weapons}}
{{Navbox weapons}}
{{Navbox_weapons}}

Revision as of 15:04, 5 March 2023

The Game WorldItemsWeaponsMelee WeaponsSpiked Baseball Bat
Spiked Baseball Bat
Spiked Baseball Bat
Spiked Baseball Bat Baseball Bat
General
Category Weapon
Encumbrance
Heavy Load
2
Equipped Two-handed
Condition max. 15
Skill Long Blunt
Damage
Type Slash
Attack speed 3
Range 0.61–1.5 tiles
Damage 1–1.5
Knockback 0.5
Knockdown 2
Technical details
Base ID Base.BaseballBat

A spiked baseball bat is a two-handed melee weapon.

A craftable improvement on the basic baseball bat which does more damage, generally killing Zombie with one well-charged hit. Since it has good range, pushes zombies away, and deals above average damage, it is an excellent weapon that is relatively easy to find the components for. The extra damage does come with the drawback of causing damage to clothing worn by Zombie.

It has lower durability than a standard baseball bat, and as such it is recommended to have a backup weapon for long fights. This lowered durability is counteracted by the ability to repair the weapon with common nails with each nail restoring a full point of condition if successful. This can dramatically extend the life of the bat for not much extra investment.

The spiked baseball bat is not for the unfit, any user should prioritize putting a point or two in swinging skills if not already done so to benefit from the output of the bat.

It can also be used to bash down doors, causing 7 damage per swing. They are not found naturally but can be found on the bodies of dead survivors, although it is more reliable to craft one, as the unmodified bat spawns in many locations in the world.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
BaseballBatNails.png
Spiked Baseball Bat
0 XP none Hammer.png
Hammer (tag)
(keep)
BaseballBat.png
Baseball Bat
(consumed)
Nails.png
Nails x5
(consumed)
WatermelonSmashed.png
Watermelon Chunks x5
0.75 Cooking none
(keep)
Watermelon.png
Watermelon
(consumed)

Materials to repair

Item Repaired 1st Repair Materials =
55% Repaired, 100% Success

20% Repaired, 95% Success

10% Repaired, 95% Success

10% Repaired, 95% Success

5% Repaired, 95% Success
BaseballBatNails.png

Spiked Baseball Bat

Woodglue.png

Wood Glue (2 Uses)
(Requires Carpentry Level 2)

DuctTape.png

Duct Tape (2 Uses)

Glue.png

Glue (2 Uses)

Scotchtape.png

Adhesive Tape (4 Uses)

Nails

Nails (1 Use)

It should be noted that repairing the spiked baseball bat makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.

Code

	
	item BaseballBatNails
		DisplayCategory = WeaponCrafted,
		MaxRange	=	1.28,
		WeaponSprite	=	BaseballBatSpiked,
		MinAngle	=	0.75,
		Type	=	Weapon,
		MinimumSwingTime	=	3,
		KnockBackOnNoDeath	=	TRUE,
		SwingAmountBeforeImpact	=	0.02,
		Categories	=	Blunt,
		ConditionLowerChanceOneIn	=	10,
		Weight	=	2,
		SplatNumber	=	2,
		PushBackMod	=	0.5,
		SubCategory	=	Swinging,
		ConditionMax	=	15,
		MaxHitCount	=	2,
		DoorDamage	=	7,
		IdleAnim	=	Idle_Weapon2,
		SwingAnim	=	Bat,
		DisplayName	=	Spiked Baseball Bat,
		MinRange	=	0.61,
		SwingTime	=	3,
		HitAngleMod	=	-30,
		KnockdownMod	=	2,
		SplatBloodOnNoDeath	=	TRUE,
		Icon	=	BaseballBatNails,
		RunAnim	=	Run_Weapon2,
        	TwoHandWeapon = TRUE,
        	BreakSound  =   SpikedBaseballBatBreak,
        	DoorHitSound = SpikedBaseballBatHit,
		HitSound = SpikedBaseballBatHit,
		HitFloorSound = SpikedBaseballBatHit,
		SwingSound = SpikedBaseballBatSwing,
        	TreeDamage  =   1,
        	MetalValue = 5,
        	CriticalChance	=	30,
        	critDmgMultiplier = 5,
        	MinDamage	=	1,
        	MaxDamage	=	1.5,
        	BaseSpeed = 0.95,
		WeaponLength = 0.5,
        	DamageCategory = Slash,
        	DamageMakeHole = TRUE,
        	AttachmentType = Shovel,

Repair

    fixing Fix Spiked Baseball Bat
  
     Require : BaseballBatNails,

       Fixer : Woodglue=2; Woodwork=2,
       Fixer : DuctTape=2,
       Fixer : Glue=2,
       Fixer : Scotchtape=4,
       Fixer : Nails,

See also