I repeat the above and want to add my own thoughts, because at this moment I am integrating Lua into my game engine!
It depends on what kind of game you are doing, but regardless of your feelings that allow fans to moderate your game, itβs just great practice to separate the engine components from the components of the gameplay.
The first major benefit is a quick iteration. The best solution I made was to connect the F5 key to reload the Lua state (like updating the F5 browser if this is not obvious). I can edit the script and then just run F5 in my running engine to see the result right away. This is much more efficient than restoring your own code. You are less likely to lose your train of thought, and you can very quickly debug (gameplay) problems.
, Lua . , #YOLO. HP 32- ++? . - , . HP , "", .
++ - Lua : / , ; ///.
Lua ( ++), . Lua OGG PCM 5 ; . Lua : " , ".
, , Lua - . mumbo jumbo .