mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-11-18 17:17:31 +00:00
19 lines
595 B
Lua
19 lines
595 B
Lua
function OnModPreInit()
|
|
-- print("Mod - OnModPreInit()") -- first this is called for all mods
|
|
end
|
|
|
|
function OnModInit()
|
|
-- print("Mod - OnModInit()") -- after that this is called for all mods
|
|
end
|
|
|
|
function OnModPostInit()
|
|
-- print("Mod - OnModPostInit()") -- then this is called for all mods
|
|
end
|
|
|
|
function OnPlayerSpawned(player_entity)
|
|
end
|
|
|
|
-- this code runs when all mods' filesystems are registered
|
|
ModLuaFileAppend("data/scripts/director_init.lua", "mods/noita-mapcap/files/capture.lua")
|
|
ModMagicNumbersFileAdd("mods/noita-mapcap/files/magic_numbers.xml") -- override some game constants
|