Revise Lua plugin to make gameplay easier