Project Zomboid

Project Zomboid

57 个评价
Events Plus API
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
72.607 KB
2024 年 6 月 21 日 上午 11:00
2024 年 10 月 28 日 下午 1:25
2 项改动说明 ( 查看 )

订阅以下载
Events Plus API

在 Dismellion 的 2 个合集中
Project Insanity [Server Currently Offline]
148 件物品
APIs
34 件物品
描述
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
热门讨论 查看全部(2)
7
5 月 1 日 上午 3:44
置顶: Bugs & Troubleshooting
Dismellion
3
2024 年 6 月 25 日 下午 4:45
置顶: Suggestions
Dismellion
11 条留言
GlobalHawk_MSI 6 月 26 日 下午 4:43 
Any list on what mods use this mod? Wanna check out the mods that use this. Wish Steam Workshop has that neat Nexusmods feature.
Dismellion  [作者] 3 月 7 日 上午 11:22 
@UattO

>> @UattO If its not published publicly on Steam - go on <<
UattO 3 月 7 日 上午 11:21 
Yes, of course, I understand your point and I agree with it.
What I don't understand is why you don't answer my questions :D
Dismellion  [作者] 3 月 7 日 上午 9:45 
@UattO If its not published publicly on Steam - go on. I'm not updating any mods until B42 gets stable. I'm unfortunately not an IS employee to make tweaks to the code of each mod each time they go 180 on some internal stuff. I would rather wait until the stable comes out.
UattO 3 月 7 日 上午 7:23 
Yes i know, but many modders are making mods for b42, i'd need an updated version of this one to better manage events.
If you have not time to make a b42 version, may i make a temporary version until you update it?
Dismellion  [作者] 3 月 7 日 上午 7:05 
@UattO B42 is not released to stable yet.
UattO 3 月 7 日 上午 6:46 
is this mod working in build 42?
Dismellion  [作者] 2024 年 6 月 24 日 下午 8:56 
@McSlappy Enjoy! :steamhappy:
McSlappy 2024 年 6 月 24 日 下午 1:43 
you have just made my day man!. OnItemPlaced and OnItemMoved are game changers for me right now.
Kimchi Warrior 2024 年 6 月 23 日 上午 12:08 
COOL!!