I want to modify some of the core code, but it would be more modular for me to just replace a function rather than to replace an entire file, that way I could retain compatibility with any mod that also alters the file, as long as they don't alter the function that I alter.
Is there a way to just replace a Lua function?
Is there a way to just replace a Lua function?