I changed it like you requested in the require()
to logic/oil-placement
and it didn't work (I even restarted the game to be sure mod changes applied):
133.878 Error AppManager.cpp:697: Failed to load tutorial: Error while applying migration: Cargo Ships: migrations-0-1-11.lua
__cargo-ships__/migrations/migrations-0-1-11.lua:2: module logic/oil-placement not found; no such file __cargo-ships__/migrations/logic/oil-placement.lua no such file __core__/lualib/logic/oil-placement.lua
stack traceback:
[C]: in function 'require'
__cargo-ships__/migrations/migrations-0-1-11.lua:2: in main chunk
I tried the guaranted workaround as well, but it still doesn't want to work:
95.739 Error AppManager.cpp:697: Failed to load tutorial: Error while applying migration: Cargo Ships: migrations-0-1-11.lua
__cargo-ships__/migrations/migrations-0-1-11.lua:2: module cargo-ships/logic/oil-placement not found; no such file __cargo-ships__/migrations/cargo-ships/logic/oil-placement.lua no such file __core__/lualib/cargo-ships/logic/oil-placement.lua
stack traceback:
[C]: in function 'require'
__cargo-ships__/migrations/migrations-0-1-11.lua:2: in main chunk
Here is a save file: https://file.io/ENhLnkcSgU3z
Is it some problem with relative paths? I used grep to find usages of require in this mod, and this seems to be the only place where require tries to load the module from a parent directory (actually sibling directory).