Events events events! More events! More events!
Posted: Mon Aug 11, 2014 10:58 pm
To make the modding API into something that's actually useful, there needs to be a way to stop the vanilla game from doing what it wants to do. The current state of things makes it look like the easiest way to accomplish this is to:
1. Make it possible to "consume" an event, so that the vanilla game (or other mods) cannot respond to it
2. Make anything that somehow modifies any in-game entity only do so in response to an event that's first exposed to Lua.
Both are pretty straightforward, but the second one likely will take a lot of tedious work. The current list of events is laughably sparse -- you can't even respond to something so basic and simple as clicking on an entity, even when that would normally do nothing. The event list needs to be expanded, easily tenfold, if not more.
1. Make it possible to "consume" an event, so that the vanilla game (or other mods) cannot respond to it
2. Make anything that somehow modifies any in-game entity only do so in response to an event that's first exposed to Lua.
Both are pretty straightforward, but the second one likely will take a lot of tedious work. The current list of events is laughably sparse -- you can't even respond to something so basic and simple as clicking on an entity, even when that would normally do nothing. The event list needs to be expanded, easily tenfold, if not more.