Lua is the scripting language behind many of Mafia II’s gameplay systems, from mission triggers to AI behavior. By editing or adding custom Lua scripts, players and modders can change everything from car handling to weather cycles.
Scripts are distributed via:
Placed in a specific folder (often named scripts or autoload ), these run automatically when the game boots up. mafia 2 lua scripts