Project Zomboid

Project Zomboid

Events Plus API
 This topic has been pinned, so it's probably important
Dismellion  [developer] 21 Jun, 2024 @ 11:16am
Suggestions
Post your suggestions with accurate descriptions.

Developer note
You have a full power to implement and contribute your own work via pull requests directly into this repository[bitbucket.org]. See the documentation reference on how to implement own events in just few steps.
Last edited by Dismellion; 25 Jun, 2024 @ 4:51pm
< >
Showing 1-3 of 3 comments
Dismellion  [developer] 21 Jun, 2024 @ 11:16am 
reserved
Dane 25 Jun, 2024 @ 2:04pm 
Hey :)

A list of action from log (shared by Alree) :
some can be useful for triggering lua events

ISActivateCarBatteryChargerAction
ISActivateGenerator
ISAddCompost
ISAddFuel
ISAddItemInRecipe
ISAddSheetAction
ISAddSheetRope
ISAddWaterFromItemAction
ISApplyBandage
ISAttachItemHotbar
ISBarricadeAction
ISBBQAddFuel
ISBBQExtinguish
ISBBQInfoAction
ISBBQInsertPropaneTank
ISBBQLightFromKindle
ISBBQLightFromLiterature
ISBBQLightFromPetrol
ISBBQRemovePropaneTank
ISBBQToggle
ISBurnCorpseAction
ISBuryCorpse
ISCampingInfoAction
ISChopTreeAction
ISCleanBandage
ISCleanBlood
ISCleanBurn
ISClearAshes
ISClimbOverFence
ISClimbSheetRopeAction
ISClimbThroughWindow
ISClothingExtraAction
ISComfreyCataplasm
ISConnectCarBatteryToChargerAction
ISConsolidateDrainable
ISCraftAction
ISCutHair
ISDestroyStuffAction
ISDetachItemHotbar
ISDisinfect
ISDismantleAction
ISDrinkFromBottle
ISDropItemAction
ISDropWorldItemAction
ISDryMyself
ISDumpContentsAction
ISDumpWaterAction
ISDyeHair
ISEatFoodAction
ISEjectMagazine
ISEmptyRainBarrelAction
ISEquipHeavyItem
ISEquipWeaponAction
ISFillGrave
ISFinalizeDealAction
ISFireplaceAddFuel
ISFireplaceExtinguish
ISFireplaceInfoAction
ISFireplaceLightFromKindle
ISFireplaceLightFromLiterature
ISFireplaceLightFromPetrol
ISFitnessAction
ISFixAction
ISFixGenerator
ISGarlicCataplasm
ISGeneratorInfoAction
ISGetCompost
ISGrabCorpseAction
ISGrabItemAction
ISInsertMagazine
ISInventoryTransferAction
ISLightActions
ISLoadBulletsInMagazine
ISLockDoor
ISMedicalCheckAction
ISOpenCloseCurtain
ISOpenCloseDoor
ISOpenCloseWindow
ISOpenContainerTimedAction
ISOvenUITimedAction
ISPadlockAction
ISPickupBrokenGlass
ISPlaceCarBatteryChargerAction
ISPlaceTrap
ISPlantainCataplasm
ISPlugGenerator
ISPlumbItem
ISPutOutFire
ISQueueActionsAction
ISRackFirearm
ISReadABook
ISReadWorldMap
ISReloadWeaponAction
ISRemoveBrokenGlass
ISRemoveBullet
ISRemoveBush
ISRemoveCarBatteryFromChargerAction
ISRemoveGlass
ISRemoveGrass
ISRemovePatch
ISRemoveSheetAction
ISRemoveSheetRope
ISRemoveWeaponUpgrade
ISRepairClothing
ISRestAction
ISRipClothing
ISScavengeAction
ISSetComboWasherDryerMode
ISSitOnChairAction
ISSmashWindow
ISSplint
ISStitch
ISStopAlarmClockAction
ISTakeCarBatteryChargerAction
ISTakeFuel
ISTakeGenerator
ISTakePillAction
ISTakeTrap
ISTakeWaterAction
ISTimedActionQueue
ISToggleClothingDryer
ISToggleClothingWasher
ISToggleComboWasherDryer
ISToggleLightAction
ISToggleSafetyAction
ISToggleStoveAction
ISTransferWaterAction
ISTrimBeard
ISUnbarricadeAction
ISUnequipAction
ISUnloadBulletsFromFirearm
ISUnloadBulletsFromMagazine
ISUpgradeWeapon
ISWakeOtherPlayer
ISWashClothing
ISWashYourself
ISWearClothing


Thanks :)
Dismellion  [developer] 25 Jun, 2024 @ 4:45pm 
Originally posted by Dane:
Hey :)

A list of action from log (shared by Alree) :
some can be useful for triggering lua events

...

Thanks :)

Cheers, I'm aware of those.
In fact a bunch of hooks already using some of those - if you need to create specific you can quite literally contribute yourself, hooks are rather easy to implement if you follow existing examples. Framework already handles all the shenanigans in the background so you don't have to. (see FAQ on main page).

Simple example here of how "OnDestroy" works[bitbucket.org]
Last edited by Dismellion; 25 Jun, 2024 @ 4:48pm
< >
Showing 1-3 of 3 comments
Per page: 1530 50