Ragna.roBrowser
Ragna.roBrowser copied to clipboard
Missing custom lub execution support
After commit e3322339f42adac162cce6279f3a8818c50c0782, we now have a lua interpreter in the tree.
However, we don't actually execute any lua code from the client data. Which has severe drawbacks:
- We need to manually load and parse various lua tables and convert them to JS in DBManager.js.
- Adding support for features that depend on lua code requires a lot of reinventing the wheel.
- We miss out on changes that occur in the lua code until someone updates our custom JS code manually.
- We lose compatibility with custom clients / translations that have made their own lua modifications.
What we need to do is replicate the lua environment expected by the lua scripts and to call the expected functions.