Skip to content

Factorio mod: Temporary Editor-lite permissions in Lab-like environments for designing and experimenting.

License

Notifications You must be signed in to change notification settings

cameronleger/blueprint-sandboxes

Repository files navigation

Blueprint Sandboxes

Temporary Editor-lite permissions in Lab-like environments for designing and experimenting.

Inspired by previous mods such as Edit-Blueprints and Blueprint Designer Lab, this mod aims to handle the situations where you want to design or tweak some Blueprints in a God-mode-like way, but without saving your active game, loading a different sandbox game, then leaving that to go back to the original once done.

To that end, it supports personal and team Sandbox Surfaces which enable: God-mode, extra Recipes (and Technologies if you wish), and automated construction. Getting in and out of Sandboxes is immediate and toggle-able via shortcuts (defaults to Shift+B).

To teach you the basics and provide many more details, the in-game Tips-and-Tricks are used; the first is visible after a few seconds, and the rest after you start using the Sandbox. The rest of this is considered a non-exhaustive summary - if you want to know more, see those Tips/Tricks!

  • Multiple Sandboxes: your own and one for your force/team.
  • Blueprint Intput/Output: Copy/Paste, Blueprint Library, and in-Cursor.
  • Item Input/Output: Infinity chests and loaders are available.
  • God-mode: Fly around and construct/deconstruct much faster.
  • Persistent Inventory: Your Inventory is saved and restored when exiting/entering.
  • Automated Construction: Ghosts are automatically built for you.
  • Surface Properties: Adjust gravity, pressure, etc. to mimic other Planets.
  • All Recipes: If desired, use all Technology (instead of what you already know).
  • Entity Generation: Place interesting entities like resources, trees, enemies, etc.
  • Tile Placement: Place any kind of tiles wherever you want, or revert back to lab tiles.
  • Default Equipment: You can decide what an empty Sandbox starts with.

Known Issues / Frequently Asked Questions

Music disappears while in Sandbox

This is an issue with Factorio's 2.0 music system (which only works for Planets and Platforms), and there's basically nothing this mod can do about it. I'm still providing feedback and attempting workarounds.

Map/Logistics/Pins locked while in Sandbox

These features are disabled to prevent confusion and cheating. You are not on the same force as you are outside of the Sandbox; you do not have access to your normal buildings, building new ghosts would do nothing since your original force would not see them, and you would have full cheat-mode access to all other Planets and Platforms.

Cannot freeze due to cold, or place lightning collectors

This is again an issue with Factorio's 2.0 surface-specific settings (which only works for Planets and Platforms), and there's basically nothing this mod can do about it. I'm still providing feedback and attempting workarounds.

Cannot Undo in (Real World/Sandbox) after coming from (Sandbox/Real World)

This is an issue with Factorio, and there's nothing this mod can do about it (while still being this mod).

on_pre_surface_cleared in error message

When Resetting the Sandbox and the game crashes with any other mod listed in the error - it's that mod's fault for not handling on_pre_surface_cleared.

Crafting in Sandbox works towards Lazy Bastard

Crafting Counts cannot be segregated in the way that you want - this does not work for Lazy Bastard.

Selecting new contents for some Blueprints will include Illusions instead of Real Entities

There is a significant flaw in Factorio's handling of Blueprints that have already been created when you want to "select new contents" for them; to quote a Factorio dev, it's "kind of a giant hack in my opinion and I don't see it getting re-worked any time soon." This is the only real acknowledgement of this issue, whereas all other responses seem to deflect or feign ignorance. As far as I have found, this is the only (and for our purposes, quite a large) shortcoming of the otherwise excellent Modding API.

In short, this mod has no access or capability to adjust a Blueprint when you are "selecting new contents." This capability is necessary to swap our Fake Illusions (script-less Entities that replace other, more complicated ones for various reasons) with their Real Counterparts. This cannot be overcome without Factorio itself being fixed by the development team. That said, there is potentially a hackish and unnecessary workaround when you do this to a Blueprint in your Inventory.

I have found at least three existing discussions on this topic, for reference:

Blueprint Library sourced Blueprints will not transfer via Cursor

Similar to above, another Factorio bug describes Blueprints in your cursor that are sourced from the Blueprint Library will be described as not valid_for_read, thus accessing their contents is not possible, so this mod cannot transfer them into your Sandbox cursor because of that.

I have found at least three existing discussions on this topic, for reference:

Editor Extensions Lab Setting is incompatible

When Editor Extensions is enabled, its Lab Setting is disabled because it is incompatible with this mod.

Credits

  • undermark5: Factorissimo Performance Improvements
  • KirillNaumkin and dodther: Russian translations

About

Factorio mod: Temporary Editor-lite permissions in Lab-like environments for designing and experimenting.

Resources

License

Stars

Watchers

Forks

Packages

No packages published