2019-10-18 14:14:06 +00:00
|
|
|
function OnModPreInit()
|
2019-10-18 20:35:51 +00:00
|
|
|
-- print("Mod - OnModPreInit()") -- first this is called for all mods
|
2019-10-18 14:14:06 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
function OnModInit()
|
2019-10-18 20:35:51 +00:00
|
|
|
-- print("Mod - OnModInit()") -- after that this is called for all mods
|
2019-10-18 14:14:06 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
function OnModPostInit()
|
2019-10-18 20:35:51 +00:00
|
|
|
-- print("Mod - OnModPostInit()") -- then this is called for all mods
|
2019-10-18 14:14:06 +00:00
|
|
|
end
|
|
|
|
|
2019-10-18 20:35:51 +00:00
|
|
|
function OnPlayerSpawned(player_entity)
|
2019-10-18 14:14:06 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
-- this code runs when all mods' filesystems are registered
|
2019-10-18 20:58:20 +00:00
|
|
|
ModLuaFileAppend("data/scripts/director_init.lua", "mods/noita-mapcap/files/capture.lua")
|
|
|
|
ModMagicNumbersFileAdd("mods/noita-mapcap/files/magic_numbers.xml") -- override some game constants
|