Project Zomboid Lua Docs 29123
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
OnBreak Class Reference

Static Public Member Functions

static void HandleHandler (InventoryItem item, IsoPlayer player, string newItemString, boolean breakItem)
static void HeadHandler (InventoryItem item, IsoPlayer player, string newItemString, boolean stickIn, string forceLocation, number bonusCount, boolean fullCondition)
static void GroundHandler (InventoryItem item, IsoPlayer player, string newItemString, number bonusCount)
static void AxeStone (InventoryItem item, IsoPlayer player)
static void BallPeenHammer (InventoryItem item, IsoPlayer player)
static void BaseballBat (InventoryItem item, IsoPlayer player)
static void BaseballBat_Nails (InventoryItem item, IsoPlayer player)
static void BaseballBat_Sawblade (InventoryItem item, IsoPlayer player)
static void BaseballBat_Rakehead (InventoryItem item, IsoPlayer player)
static void BaseballBat_RailSpike (InventoryItem item, IsoPlayer player)
static void Clawhammer (InventoryItem item, IsoPlayer player)
static void ClubHammer (InventoryItem item, IsoPlayer player)
static void HandAxe (InventoryItem item, IsoPlayer player)
static void HandScythe (InventoryItem item, IsoPlayer player)
static void GardenHoe (InventoryItem item, IsoPlayer player)
static void HandleSpade (InventoryItem item, IsoPlayer player)
static void HuntingKnife (InventoryItem item, IsoPlayer player)
static void KitchenKnife (InventoryItem item, IsoPlayer player)
static void LargeKnife (InventoryItem item, IsoPlayer player)
static void LongHandle (InventoryItem item, IsoPlayer player)
static void LongHandle_Nails (InventoryItem item, IsoPlayer player)
static void LongHandle_RakeHead (InventoryItem item, IsoPlayer player)
static void LongStick (InventoryItem item, IsoPlayer player)
static void Machete (InventoryItem item, IsoPlayer player)
static void MeatCleaver (InventoryItem item, IsoPlayer player)
static void PickAxe (InventoryItem item, IsoPlayer player)
static void SmallHandle (InventoryItem item, IsoPlayer player)
static void Sapling (InventoryItem item, IsoPlayer player)
static void Sledgehammer (InventoryItem item, IsoPlayer player)
static void Spade (InventoryItem item, IsoPlayer player)
static void SledgehammerNoShaft (InventoryItem item, IsoPlayer player)
static void SpearBreadKnife (InventoryItem item, IsoPlayer player)
static void SpearButterKnife (InventoryItem item, IsoPlayer player)
static void SpearCrude (InventoryItem item, IsoPlayer player)
static void SpearCrudeLong (InventoryItem item, IsoPlayer player)
static void SpearFightingKnife (InventoryItem item, IsoPlayer player)
static void SpearFork (InventoryItem item, IsoPlayer player)
static void SpearHandFork (InventoryItem item, IsoPlayer player)
static void SpearHuntingKnife (InventoryItem item, IsoPlayer player)
static void SpearIcePick (InventoryItem item, IsoPlayer player)
static void SpearLargeKnife (InventoryItem item, IsoPlayer player)
static void SpearLetterOpener (InventoryItem item, IsoPlayer player)
static void SpearKitchenKnife (InventoryItem item, IsoPlayer player)
static void SpearLong (InventoryItem item, IsoPlayer player)
static void SpearMachete (InventoryItem item, IsoPlayer player)
static void SpearScalpel (InventoryItem item, IsoPlayer player)
static void SpearScissors (InventoryItem item, IsoPlayer player)
static void SpearScrapKnife (InventoryItem item, IsoPlayer player)
static void SpearScrewdriver (InventoryItem item, IsoPlayer player)
static void SpearSmallKnife (InventoryItem item, IsoPlayer player)
static void SpearSpoon (InventoryItem item, IsoPlayer player)
static void SpearSteakKnife (InventoryItem item, IsoPlayer player)
static void SpearShort (InventoryItem item, IsoPlayer player)
static void SpearStone (InventoryItem item, IsoPlayer player)
static void SpearStoneLong (InventoryItem item, IsoPlayer player)
static void Rake (InventoryItem item, IsoPlayer player)
static void WoodAxe (InventoryItem item, IsoPlayer player)
static void BrokenGlass (InventoryItem item, IsoPlayer player)
static void HammerStone (InventoryItem item, IsoPlayer player)
static void LargeBranch (InventoryItem item, IsoPlayer player)
static void LargeBranch_Nails (InventoryItem item, IsoPlayer player)
static void StoneAxeLarge (InventoryItem item, IsoPlayer player)
static void StoneMaul (InventoryItem item, IsoPlayer player)
static void GuitarElectric (InventoryItem item, IsoPlayer player)
static void GuitarElectricBass (InventoryItem item, IsoPlayer player)
static void GuitarAcoustic (InventoryItem item, IsoPlayer player)
static void Banjo (InventoryItem item, IsoPlayer player)
static void GardenFork (InventoryItem item, IsoPlayer player)
static void GardenFork_Forged (InventoryItem item, IsoPlayer player)
static void GardenTool (InventoryItem item, IsoPlayer player)
static void Katana (InventoryItem item, IsoPlayer player)
static void Katana_Broken (InventoryItem item, IsoPlayer player)
static void Sword (InventoryItem item, IsoPlayer player)
static void Sword_Broken (InventoryItem item, IsoPlayer player)
static void ShortSword (InventoryItem item, IsoPlayer player)
static void CrudeSword (InventoryItem item, IsoPlayer player)
static void CrudeSword_Broken (InventoryItem item, IsoPlayer player)
static void CrudeShortSword (InventoryItem item, IsoPlayer player)
static void Sword_Scrap (InventoryItem item, IsoPlayer player)
static void ShortBat_RakeHead (InventoryItem item, IsoPlayer player)
static void JawboneBovide_Axe (InventoryItem item, IsoPlayer player)
static void JawboneBovide_Club (InventoryItem item, IsoPlayer player)
static void FieldHockeyStick (InventoryItem item, IsoPlayer player)
static void WoodenStick (InventoryItem item, IsoPlayer player)
static void WoodenStick_Nails (InventoryItem item, IsoPlayer player)
static void MetalPipe (InventoryItem item, IsoPlayer player)
static void TableLeg (InventoryItem item, IsoPlayer player)
static void TableLeg_Nails (InventoryItem item, IsoPlayer player)
static void CanoePadelX2 (InventoryItem item, IsoPlayer player)
static void Plank (InventoryItem item, IsoPlayer player)
static void Plank_Nails (InventoryItem item, IsoPlayer player)
static void SmithingHammer (InventoryItem item, IsoPlayer player)
static void FlintNodule (InventoryItem item, IsoPlayer player)
static void BrassScrap (InventoryItem item, IsoPlayer player)
static void Hatchet_Bone (InventoryItem item, IsoPlayer player)
static void FireAxe (InventoryItem item, IsoPlayer player)
static void OldAxe (InventoryItem item, IsoPlayer player)
static void MetalBar (InventoryItem item, IsoPlayer player)
static void SteelRodHalf (InventoryItem item, IsoPlayer player)
static void SteelBar (InventoryItem item, IsoPlayer player)
static void SteelBarHalf (InventoryItem item, IsoPlayer player)
static void IronRod (InventoryItem item, IsoPlayer player)
static void IronRodHalf (InventoryItem item, IsoPlayer player)
static void IronBar (InventoryItem item, IsoPlayer player)
static void IronBarHalf (InventoryItem item, IsoPlayer player)
static void Nails (InventoryItem item, IsoPlayer player)
static void Mace (InventoryItem item, IsoPlayer player)
static void MaceStone (InventoryItem item, IsoPlayer player)
static void LongMace (InventoryItem item, IsoPlayer player)
static void LongMaceStone (InventoryItem item, IsoPlayer player)

Member Function Documentation

◆ AxeStone()

void OnBreak::AxeStone ( InventoryItem item,
IsoPlayer player )
static

◆ BallPeenHammer()

void OnBreak::BallPeenHammer ( InventoryItem item,
IsoPlayer player )
static

◆ Banjo()

void OnBreak::Banjo ( InventoryItem item,
IsoPlayer player )
static

◆ BaseballBat()

void OnBreak::BaseballBat ( InventoryItem item,
IsoPlayer player )
static

◆ BaseballBat_Nails()

void OnBreak::BaseballBat_Nails ( InventoryItem item,
IsoPlayer player )
static

◆ BaseballBat_RailSpike()

void OnBreak::BaseballBat_RailSpike ( InventoryItem item,
IsoPlayer player )
static

◆ BaseballBat_Rakehead()

void OnBreak::BaseballBat_Rakehead ( InventoryItem item,
IsoPlayer player )
static

◆ BaseballBat_Sawblade()

void OnBreak::BaseballBat_Sawblade ( InventoryItem item,
IsoPlayer player )
static

◆ BrassScrap()

void OnBreak::BrassScrap ( InventoryItem item,
IsoPlayer player )
static

◆ BrokenGlass()

void OnBreak::BrokenGlass ( InventoryItem item,
IsoPlayer player )
static

◆ CanoePadelX2()

void OnBreak::CanoePadelX2 ( InventoryItem item,
IsoPlayer player )
static

◆ Clawhammer()

void OnBreak::Clawhammer ( InventoryItem item,
IsoPlayer player )
static

◆ ClubHammer()

void OnBreak::ClubHammer ( InventoryItem item,
IsoPlayer player )
static

◆ CrudeShortSword()

void OnBreak::CrudeShortSword ( InventoryItem item,
IsoPlayer player )
static

◆ CrudeSword()

void OnBreak::CrudeSword ( InventoryItem item,
IsoPlayer player )
static

◆ CrudeSword_Broken()

void OnBreak::CrudeSword_Broken ( InventoryItem item,
IsoPlayer player )
static

◆ FieldHockeyStick()

void OnBreak::FieldHockeyStick ( InventoryItem item,
IsoPlayer player )
static

◆ FireAxe()

void OnBreak::FireAxe ( InventoryItem item,
IsoPlayer player )
static

◆ FlintNodule()

void OnBreak::FlintNodule ( InventoryItem item,
IsoPlayer player )
static

◆ GardenFork()

void OnBreak::GardenFork ( InventoryItem item,
IsoPlayer player )
static

◆ GardenFork_Forged()

void OnBreak::GardenFork_Forged ( InventoryItem item,
IsoPlayer player )
static

◆ GardenHoe()

void OnBreak::GardenHoe ( InventoryItem item,
IsoPlayer player )
static

◆ GardenTool()

void OnBreak::GardenTool ( InventoryItem item,
IsoPlayer player )
static

◆ GroundHandler()

void OnBreak::GroundHandler ( InventoryItem item,
IsoPlayer player,
string newItemString,
number bonusCount )
static

◆ GuitarAcoustic()

void OnBreak::GuitarAcoustic ( InventoryItem item,
IsoPlayer player )
static

◆ GuitarElectric()

void OnBreak::GuitarElectric ( InventoryItem item,
IsoPlayer player )
static

◆ GuitarElectricBass()

void OnBreak::GuitarElectricBass ( InventoryItem item,
IsoPlayer player )
static

◆ HammerStone()

void OnBreak::HammerStone ( InventoryItem item,
IsoPlayer player )
static

◆ HandAxe()

void OnBreak::HandAxe ( InventoryItem item,
IsoPlayer player )
static

◆ HandleHandler()

void OnBreak::HandleHandler ( InventoryItem item,
IsoPlayer player,
string newItemString,
boolean breakItem )
static

◆ HandleSpade()

void OnBreak::HandleSpade ( InventoryItem item,
IsoPlayer player )
static

◆ HandScythe()

void OnBreak::HandScythe ( InventoryItem item,
IsoPlayer player )
static

◆ Hatchet_Bone()

void OnBreak::Hatchet_Bone ( InventoryItem item,
IsoPlayer player )
static

◆ HeadHandler()

void OnBreak::HeadHandler ( InventoryItem item,
IsoPlayer player,
string newItemString,
boolean stickIn,
string forceLocation,
number bonusCount,
boolean fullCondition )
static

◆ HuntingKnife()

void OnBreak::HuntingKnife ( InventoryItem item,
IsoPlayer player )
static

◆ IronBar()

void OnBreak::IronBar ( InventoryItem item,
IsoPlayer player )
static

◆ IronBarHalf()

void OnBreak::IronBarHalf ( InventoryItem item,
IsoPlayer player )
static

◆ IronRod()

void OnBreak::IronRod ( InventoryItem item,
IsoPlayer player )
static

◆ IronRodHalf()

void OnBreak::IronRodHalf ( InventoryItem item,
IsoPlayer player )
static

◆ JawboneBovide_Axe()

void OnBreak::JawboneBovide_Axe ( InventoryItem item,
IsoPlayer player )
static

◆ JawboneBovide_Club()

void OnBreak::JawboneBovide_Club ( InventoryItem item,
IsoPlayer player )
static

◆ Katana()

void OnBreak::Katana ( InventoryItem item,
IsoPlayer player )
static

◆ Katana_Broken()

void OnBreak::Katana_Broken ( InventoryItem item,
IsoPlayer player )
static

◆ KitchenKnife()

void OnBreak::KitchenKnife ( InventoryItem item,
IsoPlayer player )
static

◆ LargeBranch()

void OnBreak::LargeBranch ( InventoryItem item,
IsoPlayer player )
static

◆ LargeBranch_Nails()

void OnBreak::LargeBranch_Nails ( InventoryItem item,
IsoPlayer player )
static

◆ LargeKnife()

void OnBreak::LargeKnife ( InventoryItem item,
IsoPlayer player )
static

◆ LongHandle()

void OnBreak::LongHandle ( InventoryItem item,
IsoPlayer player )
static

◆ LongHandle_Nails()

void OnBreak::LongHandle_Nails ( InventoryItem item,
IsoPlayer player )
static

◆ LongHandle_RakeHead()

void OnBreak::LongHandle_RakeHead ( InventoryItem item,
IsoPlayer player )
static

◆ LongMace()

void OnBreak::LongMace ( InventoryItem item,
IsoPlayer player )
static

◆ LongMaceStone()

void OnBreak::LongMaceStone ( InventoryItem item,
IsoPlayer player )
static

◆ LongStick()

void OnBreak::LongStick ( InventoryItem item,
IsoPlayer player )
static

◆ Mace()

void OnBreak::Mace ( InventoryItem item,
IsoPlayer player )
static

◆ MaceStone()

void OnBreak::MaceStone ( InventoryItem item,
IsoPlayer player )
static

◆ Machete()

void OnBreak::Machete ( InventoryItem item,
IsoPlayer player )
static

◆ MeatCleaver()

void OnBreak::MeatCleaver ( InventoryItem item,
IsoPlayer player )
static

◆ MetalBar()

void OnBreak::MetalBar ( InventoryItem item,
IsoPlayer player )
static

◆ MetalPipe()

void OnBreak::MetalPipe ( InventoryItem item,
IsoPlayer player )
static

◆ Nails()

void OnBreak::Nails ( InventoryItem item,
IsoPlayer player )
static

◆ OldAxe()

void OnBreak::OldAxe ( InventoryItem item,
IsoPlayer player )
static

◆ PickAxe()

void OnBreak::PickAxe ( InventoryItem item,
IsoPlayer player )
static

◆ Plank()

void OnBreak::Plank ( InventoryItem item,
IsoPlayer player )
static

◆ Plank_Nails()

void OnBreak::Plank_Nails ( InventoryItem item,
IsoPlayer player )
static

◆ Rake()

void OnBreak::Rake ( InventoryItem item,
IsoPlayer player )
static

◆ Sapling()

void OnBreak::Sapling ( InventoryItem item,
IsoPlayer player )
static

◆ ShortBat_RakeHead()

void OnBreak::ShortBat_RakeHead ( InventoryItem item,
IsoPlayer player )
static

◆ ShortSword()

void OnBreak::ShortSword ( InventoryItem item,
IsoPlayer player )
static

◆ Sledgehammer()

void OnBreak::Sledgehammer ( InventoryItem item,
IsoPlayer player )
static

◆ SledgehammerNoShaft()

void OnBreak::SledgehammerNoShaft ( InventoryItem item,
IsoPlayer player )
static

◆ SmallHandle()

void OnBreak::SmallHandle ( InventoryItem item,
IsoPlayer player )
static

◆ SmithingHammer()

void OnBreak::SmithingHammer ( InventoryItem item,
IsoPlayer player )
static

◆ Spade()

void OnBreak::Spade ( InventoryItem item,
IsoPlayer player )
static

◆ SpearBreadKnife()

void OnBreak::SpearBreadKnife ( InventoryItem item,
IsoPlayer player )
static

◆ SpearButterKnife()

void OnBreak::SpearButterKnife ( InventoryItem item,
IsoPlayer player )
static

◆ SpearCrude()

void OnBreak::SpearCrude ( InventoryItem item,
IsoPlayer player )
static

◆ SpearCrudeLong()

void OnBreak::SpearCrudeLong ( InventoryItem item,
IsoPlayer player )
static

◆ SpearFightingKnife()

void OnBreak::SpearFightingKnife ( InventoryItem item,
IsoPlayer player )
static

◆ SpearFork()

void OnBreak::SpearFork ( InventoryItem item,
IsoPlayer player )
static

◆ SpearHandFork()

void OnBreak::SpearHandFork ( InventoryItem item,
IsoPlayer player )
static

◆ SpearHuntingKnife()

void OnBreak::SpearHuntingKnife ( InventoryItem item,
IsoPlayer player )
static

◆ SpearIcePick()

void OnBreak::SpearIcePick ( InventoryItem item,
IsoPlayer player )
static

◆ SpearKitchenKnife()

void OnBreak::SpearKitchenKnife ( InventoryItem item,
IsoPlayer player )
static

◆ SpearLargeKnife()

void OnBreak::SpearLargeKnife ( InventoryItem item,
IsoPlayer player )
static

◆ SpearLetterOpener()

void OnBreak::SpearLetterOpener ( InventoryItem item,
IsoPlayer player )
static

◆ SpearLong()

void OnBreak::SpearLong ( InventoryItem item,
IsoPlayer player )
static

◆ SpearMachete()

void OnBreak::SpearMachete ( InventoryItem item,
IsoPlayer player )
static

◆ SpearScalpel()

void OnBreak::SpearScalpel ( InventoryItem item,
IsoPlayer player )
static

◆ SpearScissors()

void OnBreak::SpearScissors ( InventoryItem item,
IsoPlayer player )
static

◆ SpearScrapKnife()

void OnBreak::SpearScrapKnife ( InventoryItem item,
IsoPlayer player )
static

◆ SpearScrewdriver()

void OnBreak::SpearScrewdriver ( InventoryItem item,
IsoPlayer player )
static

◆ SpearShort()

void OnBreak::SpearShort ( InventoryItem item,
IsoPlayer player )
static

◆ SpearSmallKnife()

void OnBreak::SpearSmallKnife ( InventoryItem item,
IsoPlayer player )
static

◆ SpearSpoon()

void OnBreak::SpearSpoon ( InventoryItem item,
IsoPlayer player )
static

◆ SpearSteakKnife()

void OnBreak::SpearSteakKnife ( InventoryItem item,
IsoPlayer player )
static

◆ SpearStone()

void OnBreak::SpearStone ( InventoryItem item,
IsoPlayer player )
static

◆ SpearStoneLong()

void OnBreak::SpearStoneLong ( InventoryItem item,
IsoPlayer player )
static

◆ SteelBar()

void OnBreak::SteelBar ( InventoryItem item,
IsoPlayer player )
static

◆ SteelBarHalf()

void OnBreak::SteelBarHalf ( InventoryItem item,
IsoPlayer player )
static

◆ SteelRodHalf()

void OnBreak::SteelRodHalf ( InventoryItem item,
IsoPlayer player )
static

◆ StoneAxeLarge()

void OnBreak::StoneAxeLarge ( InventoryItem item,
IsoPlayer player )
static

◆ StoneMaul()

void OnBreak::StoneMaul ( InventoryItem item,
IsoPlayer player )
static

◆ Sword()

void OnBreak::Sword ( InventoryItem item,
IsoPlayer player )
static

◆ Sword_Broken()

void OnBreak::Sword_Broken ( InventoryItem item,
IsoPlayer player )
static

◆ Sword_Scrap()

void OnBreak::Sword_Scrap ( InventoryItem item,
IsoPlayer player )
static

◆ TableLeg()

void OnBreak::TableLeg ( InventoryItem item,
IsoPlayer player )
static

◆ TableLeg_Nails()

void OnBreak::TableLeg_Nails ( InventoryItem item,
IsoPlayer player )
static

◆ WoodAxe()

void OnBreak::WoodAxe ( InventoryItem item,
IsoPlayer player )
static

◆ WoodenStick()

void OnBreak::WoodenStick ( InventoryItem item,
IsoPlayer player )
static

◆ WoodenStick_Nails()

void OnBreak::WoodenStick_Nails ( InventoryItem item,
IsoPlayer player )
static

The documentation for this class was generated from the following file: