- Steam App
- Endless Dark (2290890)
- Event type
- patch note
- Published
- 12 June 2024 - 04:57:14 UTC
- Source
- steam_community_announcements
Another small update today, continuing to flesh out the modding framework on advice from our awesome community on Discord. - Added 59 hooks for mods to inject code at various points. These hooks include, but are not limited to: onload -- Evaluated only once, after the module has finished loading ontick -- Evaluated every frame, whether or not a game is in progress onactive -- Evaluated every frame, if a game is in progress and is active (there is not a pending event, the user is not stuck in a menu or cutscene, et cetera) onnewgame -- Evaluated when a new game has begun onturnend -- Evaluated when the turn has ended, after all other logic has processed onturnstart -- Evaluated when a new turn has started, after all other logic has processed onnightmaretriggered -- Evaluted when the user WILL have a nightmare this turn (but may not have actually fired yet) onhavingnightmare -- Evaluated w...