Is it possible, in a LUA file (a replacement for one of the core ones) to create a new callback opportunity, and then allow mods added afterwards to register callbacks so, for each "DoFoo" registered, the core file calls that function and gets it to add its own details to the structures passed to it? You'd have to trust callbacks to behave of course...
I ask this because I know not-too-much about LUA, but it seems a potential way to compromise between what the game designers did and what I think they should've done, allowing them to keep their hardcoded weirdness but for other people to add their own weirdness in a modular fashion.
I ask this because I know not-too-much about LUA, but it seems a potential way to compromise between what the game designers did and what I think they should've done, allowing them to keep their hardcoded weirdness but for other people to add their own weirdness in a modular fashion.