Project Zomboid

Project Zomboid

46 ratings
Events Plus [API]
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
72.567 KB
21 Jun @ 11:00am
1 Change Note ( view )

Subscribe to download
Events Plus [API]

In 2 collections by Dismellion
Project Insanity [Server Currently Offline]
148 items
APIs
34 items
Description
This is API mod designed as a framework for other modders, it will not do anything on its own.
API that allows you to use existing or create new event handlers that are not present in the base game to be utilized in mods. This is a community mod and anyone can contribute freely using git reporsitory.

API is fully documented both on how to use or create new events in these repository readme files.[bitbucket.org]

Events
Short events content description that are currently present in the mod (see link above for full documentation)

Event
Description
OnActionCreated
Fires when specific ISBaseTimedAction is constructed.
OnActionPerformed
Fires when specific ISBaseTimedAction is performed
OnActionQueued
Fires when specific ISBaseTimedAction is added to actions queue.
OnActionStopped
Fires when specific ISBaseTimedAction is stopped.
OnCheatOption
Fires when cheat option was changed.
OnDestroy
Fires when player destroys object with actions like sledgehammer.
OnDrink
Fires when player uses drinkable item.
OnEat
Fires when player eats food.
OnItemEquipped
Fires when item is equipped by a player, including one-handed or two-handed.
OnItemMoved
Fires when inventory item is put or taken by a player.
OnItemPlaced
Fires when inventory item is put down via place action.
OnItemUnequipped
Fires when item is unequipped by a player, including one-handed or two-handed.
OnMedicalAction
Fires when player performs any medical action
OnMedicalStatus
Fires when player body or part was affected by or healed from medical condition.
OnPlayerSleep
Fires when player is going in out of sleeping phase.
OnStatsChanged
Fires when player stats were changed.
OnTraitChanged
Fires when player trait collection was changed, returns trait and if it was aquired or lost.
OnAccessLevelChanged
Fires when online player access level was changed.
OnSandboxOption
Fires when sandbox option is being changed.
OnVehicleLoad
Fires when vehicle is loaded into cell and returns the vehicle


Workshop ID: 3272364969
Mod ID: eventsplusAPI
Popular Discussions View All (2)
3
3 Aug @ 4:01pm
PINNED: Bugs & Troubleshooting
Dismellion
3
25 Jun @ 4:45pm
PINNED: Suggestions
Dismellion
4 Comments
Dismellion  [author] 24 Jun @ 8:56pm 
@McSlappy Enjoy! :steamhappy:
McSlappy 24 Jun @ 1:43pm 
you have just made my day man!. OnItemPlaced and OnItemMoved are game changers for me right now.
Kimchi Warrior 23 Jun @ 12:08am 
COOL!!
Dane 22 Jun @ 5:09pm 
Good job ! Very useful