Dupebox

by Dimava

Duplicate your production and improve UPS with Dupeboxes - multithreaded production buildings

3 years ago
1.1
1.32K

b Interferes with Outpost Planner updated for 1.1

2 years ago

When using the outpost planner tool, and this mod is enabled, it will draw dupebox wall ghosts around the mining place and create some kind of blueprint.

Obviously, this shouldn't happen when using a tool of another mod.

2 years ago

Indeed, the code seems to do the dupebox thing with ANY planner, as there are absolutely no checks for the actual item used to select the area.

2 years ago

Modifying the event handler like this seems to make it work - I have no clue what I am doing, though.

Script.on_player_selected_area("dupe-planner", function(event)
   if event.item == "dupe-planner" then
        Subbox.create_and_add_from_selection_event(event)
   end
end)

New response