Baseball Bat: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table fix)
 
(60 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{languages|Baseball Bat}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 39|incver=67.5}}{{Infobox weapon
{{Page version|41.78.16}}
|display_name=Baseball Bat
{{Infobox item
|name_colour=Weapon
|name=Baseball Bat
|name_text_colour=Weapon
|model=BaseballBat_Model.png
|image=BaseballBat_120px.png
|icon=BaseballBat.png
|alternate_image=BaseballBatNails.png
|icon_name=Baseball Bat
|alternate_name=Spiked Baseball Bat
|model2=BaseballBatSpiked_Model.png
|alternate_link=Spiked Baseball Bat
|icon2=BaseballBatNails.png
|category=Weapon
|icon_name2=Spiked Baseball Bat
<!--GENERAL-->
|category=Sports
|weight=2
|weight=2
|equipped=Two-handed
|equipped=Two-handed
|type=Blunt
|attachment_type=Shovel
|skill_type=Blunt
<!--PROPERTIES-->
|material=<!-- E.g. Metal -->
|material_value=<!-- E.g. MetalValue attribute -->
|condition_max=15
<!--DAMAGE-->
|damage_type=Blunt
|min_damage=0.8
|max_damage=1.1
|min_range=0.61
|min_range=0.61
|max_range=1.5
|max_range=1.5
|swing_time=3
|base_speed=1
|condition_max=15
|min_damage=0.8
|max_damage=1.2
|push_back=0.5
|push_back=0.5
|knockdown=2
|knockdown=2
|class_name=Base.BaseballBat
<!-- TECHNICAL -->
}}A '''baseball bat''' is a blunt melee [[weapon]].
|item_id=Base.BaseballBat
}}
{{Quote|text=Hell, if you lose your gun then use a bat. Just burst their heads like a fuckin' balloon.|author=[[KnoxTalk Radio#timestamp_9000|Mike on KnoxTalk]]}}
A '''baseball bat''' is a blunt melee [[weapon]].


==Usage==
==Usage==
===Weapon===
===Weapon===
The baseball bat is particularly effective when used to deliver blows to the head. It usually won't kill a standing [[zombie]] but will either send it to the ground, allowing the character to follow up with a killing blow, or knock it back.  
The baseball bat is particularly effective against lone zombies. It usually won't kill a standing [[zombie]] in one hit, but it has a high chance to knock them down, allowing players to follow up with a killing blow.


The baseball bat also has a long range (for a melee weapon), capable of keeping a small group of zombies at a distance while delivering killing blows or addressing zombies in another direction. It is a multi-attack weapon, capable of hitting 2 zombies at a time in a single swing. Unfortunately, the baseball bat has a finite durability, so it is recommended to have a backup weapon at hand when going on extended missions.  
The baseball bat also has a long range (for a melee weapon), and is capable of keeping a small group of zombies at a distance while delivering killing blows. It is capable of hitting up to 2 zombies at once with Multi-Hit enabled. The baseball bat has a decent durability with 15 Max Condition and a low chance to lose durability when used. It's one of the better melee weapons in the game, and a great starter weapon.


===Breaking doors===
===Breaking doors===
It is partly effective at bashing down [[door]]s, dealing 7 damage per hit. For comparison, an [[axe]] deals 35 damage.
The baseball bat is not too effective at bashing down [[door]]s, dealing 5 damage per hit. For comparison, an [[axe]] deals 35 damage.


===Chopping trees===
===Chopping trees===
It will only deal 1 damage to a tree per hit. For comparison, an [[axe]] deals 35 damage.
The baseball bat is not recommended to cut trees, as it will only deal 1 damage to a tree per hit. For comparison, an [[axe]] deals 35 damage.


==Condition==
==Condition==
The baseball bat is a [[Skills#Blunt|blunt]] weapon, therefore being influenced by the blunt skills: accuracy, guard and maintenance. It has a maximum condition of 15 and will be damaged depending on the player's maintenance skill. The chance of losing durability is: <code>1 in (20 + maintenance x 2)</code>
The baseball bat has a maximum condition of 15. Its rate of degradation is influenced by the [[Skills|long blunt]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (20 + maintenanceMod &times; 2)</code>. Where "maintenanceMod" is calculated using the long blunt and maintenance skills.<br>
=== Repairing ===
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|long blunt]] skills.
{{Durability weapon|20}}
 
===Repairing===
Materials that can be used to repair the baseball bat, based on first time repairing.
Materials that can be used to repair the baseball bat, based on first time repairing.
{{Fixing weapon
{{Fixing weapon
Line 55: Line 70:
|scotchtapechance=95
|scotchtapechance=95
}}
}}
* Each level up to Carpentry level 7 will increase the [[Wood Glue|wood glue]] repair chance up to 75%
* Each successive repair will reduce the chance of success.
* It should be noted that upgrading the baseball bat to the [[Spiked Baseball Bat|spiked baseball bat]] will reset the repair count to 0.


==Distribution==
==Distribution==
Baseball bats are commonly found in [[Containers#Bedroom Storage|wardrobes]] of houses and [[Containers#Counters|counters]] in stores and bars, or rarely on zombie [[Containers#Corpses|corpses]]. They will not spawn in any vehicle.
The loot distributions can be found in the table(s) below.
===Buildings===
 
{| class="wikitable mw-collapsible" style="text-align:center; width:400px;"
<!--BOT FLAG|BaseballBat|41.78.16-->
! colspan=4 |  
{{Clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>BaseballBat distribution
!Container
        <span class="mw-customtoggle-togglebox-BaseballBat" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
!Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-BaseballBat">
!Chance
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.   <div class="toggle-content">
|-
<div class="pz-container">
|rowspan="2"|All
<div id="containers" style="flex-basis:30%">
|[[Containers#Corpse|Male Corpse]]
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
|1
    |+ {{ll|Containers}}
|0.1
    ! Building/Room
|-
    ! Container
<!--|All-->
    ! Effective chance
|[[Containers#Bedrooms Storage|Wardrobe]]
    |-
|4
    | Bag_WeaponBag
|2
    | {{ll|Bag_WeaponBag}}
|-
    | 10.15%
|rowspan="2"|Bar
    |-
|[[Containers#Shelves|Shelf]]
    | SafehouseLoot
|4
    | {{ll|counter}}
|2
    | 23.28%
|-
    |-
<!--|Bar-->
    | SafehouseLoot
|[[Containers#Counters|Counter]]
    | {{ll|crate}}
|2
    | 23.28%
|2
    |-
|-
    | SafehouseLoot
|Bedroom
    | {{ll|metal_shelves}}
|[[Containers#Bedrooms Storage|Wardrobe]]
    | 23.28%
|2
    |-
|2
    | SafehouseLoot
|-
    | {{ll|wardrobe}}
|Changeroom
    | 23.28%
|[[Containers#Lockers|Locker]]
    |-
|2
    | SurvivorCache1
|2
    | {{ll|counter}}
|-
    | 23.28%
|Fossoil
    |-
|[[Containers#Counters|Counter]]
    | SurvivorCache2
|4
    | {{ll|counter}}
|5
    | 23.28%
|-
    |-
|Grocery Store
    | all
|[[Containers#Counters|Counter]]
    | {{ll|dresser}}
|4
    | 1.87%
|5
    |-
|-
    | all
|Storage Unit
    | {{ll|wardrobe}}
|[[Containers|All]]
    | 1.87%
|3
    |-
|5
    | baseballstore
|-
    | {{ll|shelves}}
|Zippee Store
    | 23.28%
|[[Containers#Counters|Counter]]
    |-
|1
    | batfactory
|5
    | {{ll|crate}}
|-
    | 23.28%
|}
    |-
    | batfactory
    | {{ll|crate}}
    | 41.14%
    |-
    | batfactory
    | {{ll|crate}}
    | 76.55%
    |-
    | batfactory
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | batfactory
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | batfactory
    | {{ll|metal_shelves}}
    | 76.55%
    |-
    | batstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | batstorage
    | {{ll|crate}}
    | 41.14%
    |-
    | batstorage
    | {{ll|crate}}
    | 76.55%
    |-
    | batstorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | batstorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | batstorage
    | {{ll|metal_shelves}}
    | 76.55%
    |-
    | bedroom
    | {{ll|crate}}
    | 0.53%
    |-
    | bedroom
    | {{ll|dresser}}
    | 1.87%
    |-
    | bedroom
    | {{ll|wardrobe}}
    | 1.87%
    |-
    | closet
    | {{ll|crate}}
    | 0.53%
    |-
    | closet
    | {{ll|crate}}
    | 6.29%
    |-
    | closet
    | {{ll|crate}}
    | 23.28%
    |-
    | closet
    | {{ll|metal_shelves}}
    | 1.87%
    |-
    | drugshack
    | {{ll|counter}}
    | 23.28%
    |-
    | drugshack
    | {{ll|crate}}
    | 23.28%
    |-
    | garagestorage
    | {{ll|crate}}
    | 0.53%
    |-
    | garagestorage
    | {{ll|crate}}
    | 6.29%
    |-
    | garagestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | livingroom
    | {{ll|wardrobe}}
    | 1.87%
    |-
    | livingroom
    | {{ll|wardrobe}}
    | 6.29%
    |-
    | schoolstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | schoolstorage
    | {{ll|crate}}
    | 41.14%
    |-
    | schoolstorage
    | {{ll|crate}}
    | 76.55%
    |-
    | sportstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | sportstorage
    | {{ll|crate}}
    | 41.14%
    |-
    | sportstorage
    | {{ll|crate}}
    | 76.55%
    |-
    | sportstorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | sportstorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | sportstorage
    | {{ll|metal_shelves}}
    | 76.55%
    |-
    | sportstorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | sportstorage
    | {{ll|shelves}}
    | 41.14%
    |-
    | sportstorage
    | {{ll|shelves}}
    | 76.55%
    |-
    | sportstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | sportstore
    | {{ll|shelves}}
    | 41.14%
    |-
    | sportstore
    | {{ll|shelves}}
    | 76.55%
    |-
    | storageunit
    | {{ll|crate}}
    | 0.53%
    |-
    | storageunit
    | {{ll|crate}}
    | 6.29%
    |-
    | storageunit
    | {{ll|crate}}
    | 23.28%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 0.53%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 6.29%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Carpenter
    | {{ll|Truck Bed}}
    | 3.98%
    |-
    | Clothing
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Distillery
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Electrician
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Fisherman
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Fossoil
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Groceries
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Heralds
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Mass Gen Fac
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Metal Welder
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Painter
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Police
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Postal
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Radio
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Ranger
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Spiffo
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Survivalist
    | {{ll|Truck Bed}}
    | 6.41%
    |-
    | Taxi
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Transit
    | {{ll|Truck Bed}}
    | 1.01%
    |-
    | Heavy
    | {{ll|Trunk}}
    | 1.01%
    |-
    | Sports
    | {{ll|Trunk}}
    | 1.01%
    |-
    | Standard
    | {{ll|Trunk}}
    | 1.01%
    |}
</div>
<div id="zombies" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Zombies}}
    ! Outfit
    ! Days survived
    ! Chance
        |-
        | Bandit
        | 0
        | 50%
        |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-BaseballBat" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|BaseballBat|41.78.16-->
 
==Crafting==


==Crafting==
===What it can craft===
The '''baseball bat''' can be upgraded to a [[Spiked Baseball Bat|spiked baseball bat]] or be used to smash open a [[watermelon]].
The '''baseball bat''' can be upgraded to a [[Spiked Baseball Bat|spiked baseball bat]] or be used to smash open a [[watermelon]].
{{Crafting table header}}
{{Crafting/sandbox2
{{RecipeLookup|3001}}
|spiked_baseball_bat
{{RecipeLookup|2015}}
|watermelon_chunks
{{Crafting table footer}}
}}


==Trivia==
==Trivia==
Line 132: Line 443:
==Gallery==
==Gallery==
<gallery>
<gallery>
File:BaseballBat Animation.png|Baseball Bat W.I.P. swing animation
File:BaseballBat Animation.png|WIP Baseball Bat swing animation, teased before [[Build 41]]
File:BaseballBatNails 120px.png|Spiked Baseball Bat icon
</gallery>
</gallery>


== Code ==
==Code==
{{CodeBox|
 
===Item===
===Item===
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeSnip
{{Retrieved|version=39|incver=67.5}}
  | lang = java
<nowiki>
  | line = true
item BaseballBat
  | start = 2310
MaxRange = 1.5,
  | source = items_weapons.txt
WeaponSprite = Baseballbat,
  | retrieved = true
MinAngle = 0.2,
  | version = 41.78.16
Type = Weapon,
  | code =
MinimumSwingTime = 3,
item BaseballBat
KnockBackOnNoDeath = TRUE,
{
SwingAmountBeforeImpact = 0.02,
    DisplayCategory = Sports,
Categories = Blunt,
MaxRange = 1.25,
ConditionLowerChanceOneIn = 20,
WeaponSprite = BaseballBat,
Weight = 2,
MinAngle = 0.75,
SplatNumber = 1,
Type = Weapon,
PushBackMod = 0.5,
MinimumSwingTime = 3,
MaxDamage = 1.2,
KnockBackOnNoDeath = TRUE,
SubCategory = Swinging,
SwingAmountBeforeImpact = 0.02,
ConditionMax = 15,
Categories = Blunt,
MaxHitCount = 2,
ConditionLowerChanceOneIn = 20,
DoorDamage = 7,
Weight = 2,
IdleAnim = Idle_Weapon2,
SplatNumber = 1,
SwingAnim = Bat,
PushBackMod = 0.5,
CriticalChance = 10,
SubCategory = Swinging,
WeaponWeight = 2,
ConditionMax = 15,
DisplayName = Baseball Bat,
MaxHitCount = 2,
MinRange = 0.61,
DoorDamage = 5,
SwingTime = 3,
IdleAnim = Idle_Weapon2,
HitAngleMod = -30,
SwingAnim = Bat,
MinDamage = 0.8,
DisplayName = Baseball Bat,
KnockdownMod = 2,
MinRange = 0.61,
SplatBloodOnNoDeath = FALSE,
SwingTime = 3,
Icon = BaseballBat,
HitAngleMod = -30,
RunAnim = Run_Weapon2,
KnockdownMod = 2,
TwoHandWeapon = TRUE,
SplatBloodOnNoDeath = FALSE,
BreakSound  = BreakWoodItem,
Icon = BaseballBat,
TreeDamage = 1,</nowiki>
RunAnim = Run_Weapon2,
        TwoHandWeapon = TRUE,
        BreakSound  =  BaseballBatBreak,
        DoorHitSound = BaseballBatHit,
HitSound = BaseballBatHit,
HitFloorSound = BaseballBatHit,
SwingSound = BaseballBatSwing,
        TreeDamage =   1,
CriticalChance = 40,
critDmgMultiplier = 2,
MinDamage = 0.8,
MaxDamage = 1.1,
BaseSpeed = 1,
WeaponLength = 0.5,
AttachmentType = Shovel,
}
}}


===Repair===
===Repair===
'''''From fixing.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeSnip
{{Retrieved|version=39|incver=67.5}}
  | lang = java
<nowiki>
  | line = true
  | start = 173
  | source = fixing.txt
  | retrieved = true
  | version = 41.78.16
  | code =
fixing Fix Baseball Bat
fixing Fix Baseball Bat
Require : BaseballBat,
    {
Fixer : Woodglue=2; Woodwork=2,
      Require : BaseballBat,
Fixer : DuctTape=2,
 
Fixer : Glue=2,
      Fixer : Woodglue=2; Woodwork=2,
Fixer : Scotchtape=4,</nowiki>
      Fixer : DuctTape=2,
      Fixer : Glue=2,
      Fixer : Scotchtape=4,
    }
}}
}}


==See also==
==See also==
* [[Spiked Baseball Bat]]
*[[Chair Leg]]
*[[Golf Club]]
*[[Pickaxe Handle]]
*[[Spiked Baseball Bat]]
 
{{Navbox items|blunt}}
 


{{Navbox/Weapons}}
[[Category:Sports]]

Latest revision as of 17:34, 30 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Baseball Bat
BaseballBat Model.png
BaseballBatSpiked Model.png
General
Category
Sports
Encumbrance
Moodle Icon HeavyLoad.png
2
Equipped
Two-handed
Slot attached
Back
Skill
Properties
Max condition
15
Performance
Damage type
Blunt
Damage
0.8–1.1
Range
0.61–1.5
Attack speed
1
Knockback
0.5
Knockdown
2
Technical
Item ID
Base.BaseballBat
Hell, if you lose your gun then use a bat. Just burst their heads like a fuckin' balloon.

A baseball bat is a blunt melee weapon.

Usage

Weapon

The baseball bat is particularly effective against lone zombies. It usually won't kill a standing zombie in one hit, but it has a high chance to knock them down, allowing players to follow up with a killing blow.

The baseball bat also has a long range (for a melee weapon), and is capable of keeping a small group of zombies at a distance while delivering killing blows. It is capable of hitting up to 2 zombies at once with Multi-Hit enabled. The baseball bat has a decent durability with 15 Max Condition and a low chance to lose durability when used. It's one of the better melee weapons in the game, and a great starter weapon.

Breaking doors

The baseball bat is not too effective at bashing down doors, dealing 5 damage per hit. For comparison, an axe deals 35 damage.

Chopping trees

The baseball bat is not recommended to cut trees, as it will only deal 1 damage to a tree per hit. For comparison, an axe deals 35 damage.

Condition

The baseball bat has a maximum condition of 15. Its rate of degradation is influenced by the long blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (20 + maintenanceMod × 2). Where "maintenanceMod" is calculated using the long blunt and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and long blunt skills.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Durability lower chance
0 0 1/20 (5%)
0 4 1/22 (5%)
0 8 1/24 (4%)
4 0 1/24 (4%)
8 0 1/28 (4%)
4 4 1/26 (4%)
4 8 1/28 (4%)
8 8 1/32 (3%)
10 10 1/34 (3%)

Repairing

Materials that can be used to repair the baseball bat, based on first time repairing.

Repair Baseball Bat
Woodglue.png
Potentially repairs: 20%
Chance of success: 35%
DuctTape.png
Potentially repairs: 10%
Chance of success: 95%
Glue.png
Potentially repairs: 10%
Chance of success: 95%
Scotchtape.png
Potentially repairs: 10%
Chance of success: 95%
  • Each level up to Carpentry level 7 will increase the wood glue repair chance up to 75%
  • Each successive repair will reduce the chance of success.
  • It should be noted that upgrading the baseball bat to the spiked baseball bat will reset the repair count to 0.

Distribution

The loot distributions can be found in the table(s) below.

BaseballBat distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Bag_WeaponBag Bag_WeaponBag 10.15%
SafehouseLoot counter 23.28%
SafehouseLoot crate 23.28%
SafehouseLoot metal_shelves 23.28%
SafehouseLoot wardrobe 23.28%
SurvivorCache1 counter 23.28%
SurvivorCache2 counter 23.28%
all dresser 1.87%
all wardrobe 1.87%
baseballstore shelves 23.28%
batfactory crate 23.28%
batfactory crate 41.14%
batfactory crate 76.55%
batfactory metal_shelves 23.28%
batfactory metal_shelves 41.14%
batfactory metal_shelves 76.55%
batstorage crate 23.28%
batstorage crate 41.14%
batstorage crate 76.55%
batstorage metal_shelves 23.28%
batstorage metal_shelves 41.14%
batstorage metal_shelves 76.55%
bedroom crate 0.53%
bedroom dresser 1.87%
bedroom wardrobe 1.87%
closet crate 0.53%
closet crate 6.29%
closet crate 23.28%
closet metal_shelves 1.87%
drugshack counter 23.28%
drugshack crate 23.28%
garagestorage crate 0.53%
garagestorage crate 6.29%
garagestorage crate 23.28%
livingroom wardrobe 1.87%
livingroom wardrobe 6.29%
schoolstorage crate 23.28%
schoolstorage crate 41.14%
schoolstorage crate 76.55%
sportstorage crate 23.28%
sportstorage crate 41.14%
sportstorage crate 76.55%
sportstorage metal_shelves 23.28%
sportstorage metal_shelves 41.14%
sportstorage metal_shelves 76.55%
sportstorage shelves 23.28%
sportstorage shelves 41.14%
sportstorage shelves 76.55%
sportstore shelves 23.28%
sportstore shelves 41.14%
sportstore shelves 76.55%
storageunit crate 0.53%
storageunit crate 6.29%
storageunit crate 23.28%
storageunit metal_shelves 0.53%
storageunit metal_shelves 6.29%
Vehicles
Type Container Effective chance
Carpenter Trunk 3.98%
Clothing Trunk 1.01%
Distillery Trunk 1.01%
Electrician Trunk 1.01%
Fisherman Trunk 1.01%
Fossoil Trunk 1.01%
Groceries Trunk 1.01%
Heralds Trunk 1.01%
Mass Gen Fac Trunk 1.01%
Metal Welder Trunk 1.01%
Painter Trunk 1.01%
Police Trunk 1.01%
Postal Trunk 1.01%
Radio Trunk 1.01%
Ranger Trunk 1.01%
Spiffo Trunk 1.01%
Survivalist Trunk 6.41%
Taxi Trunk 1.01%
Transit Trunk 1.01%
Heavy Trunk 1.01%
Sports Trunk 1.01%
Standard Trunk 1.01%
Zombie
Outfit Days survived Chance
Bandit 0 50%

Crafting

The baseball bat can be upgraded to a spiked baseball bat or be used to smash open a watermelon.

Product Ingredients Tools Requirements Workstation XP
BaseballBatNails.png
Spiked Baseball Bat
BaseballBat.png Baseball Bat ×1
Nails.png Nails ×5

Hammer.png
Hammer (tag)
none none none
WatermelonSmashed.png
Watermelon Chunks ×5
One of:
BaseballBat.png Baseball Bat ×1
Hammer.png Hammer ×1
Logs.png Log ×1
Plank.png Plank ×1
Sledgehamer.png Sledgehammer ×1
BaseballBatNails.png Spiked Baseball Bat ×1
HammerStone.png Stone Hammer ×1
Each of:
Watermelon.png Watermelon ×1
none none none 0.75 Cooking

Trivia

  • The baseball bat is a popular weapon used in various zombie apocalypse material, including: The Walking Dead, Zombieland, DayZ and 28 Days Later.

Gallery

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Item

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item BaseballBat
	{
	    DisplayCategory = Sports,
		MaxRange	=	1.25,
		WeaponSprite	=	BaseballBat,
		MinAngle	=	0.75,
		Type	=	Weapon,
		MinimumSwingTime	=	3,
		KnockBackOnNoDeath	=	TRUE,
		SwingAmountBeforeImpact	=	0.02,
		Categories	=	Blunt,
		ConditionLowerChanceOneIn	=	20,
		Weight	=	2,
		SplatNumber	=	1,
		PushBackMod	=	0.5,
		SubCategory	=	Swinging,
		ConditionMax	=	15,
		MaxHitCount	=	2,
		DoorDamage	=	5,
		IdleAnim	=	Idle_Weapon2,
		SwingAnim	=	Bat,
		DisplayName	=	Baseball Bat,
		MinRange	=	0.61,
		SwingTime	=	3,
		HitAngleMod	=	-30,
		KnockdownMod	=	2,
		SplatBloodOnNoDeath	=	FALSE,
		Icon	=	BaseballBat,
		RunAnim	=	Run_Weapon2,
        TwoHandWeapon = TRUE,
        BreakSound  =   BaseballBatBreak,
        DoorHitSound = BaseballBatHit,
		HitSound = BaseballBatHit,
		HitFloorSound = BaseballBatHit,
		SwingSound = BaseballBatSwing,
        TreeDamage  =   1,
		CriticalChance	=	40,
		critDmgMultiplier = 2,
		MinDamage	=	0.8,
		MaxDamage	=	1.1,
		BaseSpeed = 1,
		WeaponLength = 0.5,
		AttachmentType = Shovel,
	}

Repair

Source: ProjectZomboid\media\scripts\fixing.txt

Retrieved: Build 41.78.16
fixing Fix Baseball Bat
    {
       Require : BaseballBat,

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

See also