Lua Files

Explanation of each Lua file processing by LunaLUA

luna.lua
(since LunaLUA 0.7.3.1)

When put in a level folder, code in this file impacts that level exclusively. But when put in the episode folder, this code impacts all levels in the episode.

map.lua
(since LunaLUA 0.7.3.1)

When put in the episode folder, this code impacts the overworld.

Deprecated file names (use them in LunaLUA before 0.7.3.1)
Those file names are kept for compatibility reasons and don't recommended to use them in new projects

lunadll.lua
When put in a level folder, code in this file impacts that level exclusively.

lunaworld.lua
When put in the episode folder, this code impacts all levels in the episode.

lunaoverworld.lua
When put in the episode folder, this code impacts the overworld.

lunadll.txt
DEPRICATED AUTOCODE!!! (not a Lua file!)

Use only if you working with legacy LunaDLL. When put in a level folder, code in this file impacts that level exclusively.