Nailed Baseball Bat: Difference between revisions

From PZwiki
Nailed Baseball Bat
(Redesigned page, updated code, added categories, corrected and re-arranged description. Will review code for repairs shortly.)
(→‎Materials to Repair: Created Table in relation to repair)
Line 29: Line 29:


== Materials to Repair ==
== Materials to Repair ==
{| class="wikitable" style="text-align:center;"
|-
! Item Repaired
! 1st Repair Materials = <br> 55% Repaired, 100% Success
!  <br> 20% Repaired, 95% Success
!  <br> 10% Repaired, 95% Success
!  <br> 10% Repaired, 95% Success
!  <br> 5% Repaired, 95% Success
|-
|[[File:Axe.png|32px]] <br>
Axe
| [[File:Woodglue.png|32px]]<br>
[[Wood Glue]] <small>(2 Uses)</small><br>
<small>(Requires Carpentry Level 2)</small>
| [[File:DuctTape.png|32px]]<br>
[[Duct Tape]] <small>(2 Uses)</small>
| [[File:Glue.png|32px]]<br>
[[Glue]] <small>(2 Uses)</small>
| [[File:MATERIALScotchTape.png|32px]]<br>
[[Adhesive Tape]] <small>(4 Uses)</small>
| [[File:Nails.png|[[Nails]]|32px]]<br>
[[Nails]] <small>(1 Use)</small>
|-
|}
=== Repair Code ===
  <nowiki>
  <nowiki>
     fixing Fix Nailed Baseball Bat
     fixing Fix Nailed Baseball Bat
    {
 
      Require : BaseballBatNails,
    Require : BaseballBatNails,


       Fixer : Woodglue=2; Woodwork=2,
       Fixer : Woodglue=2; Woodwork=2,
Line 39: Line 66:
       Fixer : Scotchtape=4,
       Fixer : Scotchtape=4,
       Fixer : Nails,
       Fixer : Nails,
    }
  </nowiki>
  </nowiki>



Revision as of 18:47, 4 September 2016


Page Updated @ Version: 34.28
   Navigation - Main Index -> The Game World -> Items -> Weapons -> Nailed Baseball Bat   

Template:Weapons

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.

However, it has lower durability than a standard baseball bat, and one should only expect it to survive two to three dozen battles. It is recommended to have a backup weapon on long trips, as the spiked baseball bat is likely to break during repeat confrontations.

The nailed 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, but it is quicker reliable to craft one, as the unmodified bat spawns in many locations in the world.

Crafting

Output Recipe Description












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
Axe.png

Axe

Woodglue.png

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

DuctTape.png

Duct Tape (2 Uses)

Glue.png

Glue (2 Uses)

MATERIALScotchTape.png

Adhesive Tape (4 Uses)

Nails

Nails (1 Use)

Repair Code

    fixing Fix Nailed Baseball Bat
  
     Require : BaseballBatNails,

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

Code

	
	item BaseballBatNails
		MaxRange			= 1.5,
		WeaponSprite			= BaseballbatSpiked,
		MinAngle			= 0.2,
		Type				= Weapon,
		MinimumSwingTime		= 3,
		KnockBackOnNoDeath		= TRUE,
		SwingAmountBeforeImpact		= 0.02,
		Categories			= Blunt,
		ConditionLowerChanceOneIn	= 10,
		Weight				= 2,
		SplatN.umber			= 1,
		PushBackMod			= 0.5,
		MaxDamage			= 1.5,
		SubCategory			= Swinging,
		ConditionMax			= 15,
		MaxHitCount			= 2,
		DoorDamage			= 7,
		IdleAnim			= Idle_Weapon2,
		SwingAnim			= Bat,
		CriticalChance			= 15,
		WeaponWeight			= 2,
		DisplayName			= Spiked Baseball Bat,
		MinRange			= 0.61,
		SwingTime			= 3,
		HitAngleMod			= -30,
		MinDamage			= 1,
		KnockdownMod			= 2,
		SplatBloodOnNoDeath		= TRUE,
		Icon				= BaseballBatNails,
		RunAnim				= Run_Weapon2,
        	TwoHandWeapon 			= TRUE,
        	BreakSound  			= PZ_WoodSnap,
        	TreeDamage  			= 1,


See Also

Template:Navbox/Weapons