Modules everywhere and beacon settings (Configurable)

by Kabury

Allows all modules to be used everywhere, in all entities, beacons and recipes. Beacons will affect all machines

28 days ago
2.0
251
Manufacturing

b Incompatible with Beacon Interface

a month ago

If you have the Beacon Interface mod installed this crashes when loading a save file or starting a new game.

I don't actually use the beacon interface, but it's a dependency on another mod I do like to use(the Quality Condenser which lets me make quality products without needing to depend on first visiting Fulgora to get recyclers).

I am going to cross report this BTW since I'm not sure which mod is ultimately responsible for the issue

__beacon-interface__/control.lua:63: {
  allowed_module_categories = {
    ["beacon-interface--module-category"] = true,
    efficiency = true,
    productivity = true,
    quality = true,
    speed = true
  },
  history = {
    changed = {
      "module_everywhere_beacon_config"
    },
    created = "beacon-interface"
  }
}
stack traceback:
[C]: in function'assert'
__beacon-interface__/control.lua:63 in main chunk

And this is the relevant assert from the control.lua

assert(#on_created_entity_filters > 0, serpent.block({
  history = prototypes.get_history("beacon", mod_prefix .. "beacon"),
  allowed_module_categories = prototypes.entity[mod_prefix .. "beacon"].allowed_module_categories,
}))
28 days ago

Thanks for the PR! I'll be updating the mod portal soon.

New response