The Blueprint Designer Lab - 343N's Edit deprecated

by 343N

Enter your lab to design your blueprints. Builds off of Blu3wolf's version. Adds a toggleable 'pausing' feature for singleplayer (on by default), as well as support for using Editor Extensions items in the Lab, and a fix for a bug that stops you from breaking items in the Lab, when Space Exploration is installed. EDIT: Marking this mod as deprecated for now until I have the time to fix the bugs with it.

Content
2 years ago
1.1
619
Blueprints

b Game doesn't Un-pause when leaving lab

2 years ago

Entities don't un-pause when leaving lab and continue to say "disabled by script". Player character also unable to move until respawning. Adjusting "pause when in lab" setting doesn't fix it as well as uninstalling the mod. Save is currently unplayable without reverting to a backup save 20hrs back.
Currently playing Krastorio2 + Space Exploration
https://we.tl/t-klz6mXdf7e

2 years ago
(updated 2 years ago)

Sorry, been super busy. I'll be fixing it ASAP. Please send me your world as well, if you can.

2 years ago
(updated 2 years ago)

In the meantime, type this command in chat, it will unfreeze everything (this may unfreeze things frozen by other mods as well however, so I can't guarantee this won't break another mod's f unctionality):

/c for i, surface in (game.surfaces) do for j, entity in pairs(surface.find_entities()) if entity.valid and entity.unit_number then entity.active = true end end

It will lag when you run this, especially if your world is big, it might even freeze the game for a bit, but everything will be unfrozen when it's done.

1 year, 1 month ago

the script worked. I had to address a syntax error but worked great.

/c for i, surface in pairs(game.surfaces) do 
    for j, entity in pairs(surface.find_entities()) do 
        if entity.valid and entity.unit_number then 
            entity.active = true 
        end 
    end 
end

New response