Landfill Switcher


Allows you to choose which type of landfill to use when force-building and to switch the type of existing landfill ghosts. Currently compatible with: Nullius

Utilities
9 days ago
2.0
17
Blueprints

b Crashes on migrations

11 days ago

I'm on the latest Nullius available for the latest Factorio 2.0, I have Lambert Nil installed and a handful of mostly cosmetic QoL mods (like Milestones, Belt Visualizer, Informatron, etc.) that don't change research tree, add any new items or recipes.

I'm getting the following error with this mod installed into an existing save (about 2/3 of the way through electric science based researches):

Error while applying migration: Landfill Switcher: 0-2-0.lua

__landfill-switcher__/migrations/0-2-0.lua:2: module ./gui-refresh not found;  no such file __landfill-switcher__/migrations/./gui-refresh.lua no such file __landfill-switcher__/./gui-refresh.lua no such file __core__/lualib/./gui-refresh.lua
stack traceback:
    [C]: in function 'require'
    __landfill-switcher__/migrations/0-2-0.lua:2: in main chunk

bummed out, I thought I found exactly the mod I needed!

Thanks!

Whoops. Messed that up while trying to fix it. Should work now!

9 days ago

This is most wonderful.

I have confirmed it working (loads and both modes - landfill type default and ghost rewriter - work).

Thank you!

New response