Hi, I am new to Morrowind, OpenMW, Lua and modding. I looked in here: https://openmw.readthedocs.io/en/latest ... index.html to have an idea how to start modding.
I want to make a Lua mod to have some punishment when the player dies (lose all gold and cast Divine/Almsivi intervention etc.).
I can see that the `Died` event is documented and can be responded to, however that event triggers after the death animation finishes and the reload UI comes up (no idea how to resurrect the player from there). I tried to monitor the player's heatlh with the onUpdate event but even that one triggers the death sequence. Is there any other option? What is the state of Lua modding of gameplay mechanics?
What are some great gameplay mods that I can look into the source code to understand more about modding (not graphical mods)? Thanks for any bit of info.