Project Zomboid

Project Zomboid

51 betyg
Events Plus [API]
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
72.567 KB
21 jun @ 11:00
1 ändringsnotis ( visa )

Abonnera för att ladda ner
Events Plus [API]

I 2 samlingar av Dismellion
Project Insanity [Server Currently Offline]
148 artiklar
APIs
34 artiklar
Beskrivning
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
Populära diskussioner Visa alla (2)
4
14 aug @ 6:49
KLISTRAD: Bugs & Troubleshooting
Dismellion
3
25 jun @ 16:45
KLISTRAD: Suggestions
Dismellion
4 kommentarer
Dismellion  [skapare] 24 jun @ 20:56 
@McSlappy Enjoy! :steamhappy:
McSlappy 24 jun @ 13:43 
you have just made my day man!. OnItemPlaced and OnItemMoved are game changers for me right now.
Kimchi Warrior 23 jun @ 0:08 
COOL!!
Dane 22 jun @ 17:09 
Good job ! Very useful