Redo


Adds a redo keybind and shortcut for when you undo too much.

Utilities
3 months ago
1.1
3.78K

Changelog

Version: 0.2.13
Date: 2024-01-23
  Bugfixes:
    - *Actually* fixed the crash with entity ghosts
Version: 0.2.12
Date: 2024-01-23
  Bugfixes:
    - Fixed another crash with entity ghosts
Version: 0.2.11
Date: 2024-01-23
  Bugfixes:
    - Fixed crash with entity ghosts
Version: 0.2.10
Date: 2024-01-23
  Bugfixes:
    - Fixed loader-1x1 filters not being serialized
    - Fixed ghost properties not being serialized
    - Fixed incorrect entity rotations after ghost creation
Version: 0.2.9
Date: 2023-11-15
  Bugfixes:
    - Now raises script destroy events (oops)
Version: 0.2.8
Date: 2023-10-11
  Changes:
    - Updated thumbnail
Version: 0.2.7
Date: 2023-01-17
  Bugfixes:
    - Temporarily disabled power switch connections to prevent a crash
Version: 0.2.6
Date: 2022-12-27
  Features:
    - Introduced queue size limit to not bloat save file size
  Bugfixes:
    - Fixed containers with inventory filters not restoring other properties
  Optimisations:
    - Cached ghost validation results
Version: 0.2.5
Date: 2022-10-10
  Bugfixes:
    - Fixed crash with circuit connected infinity chests
    - Fixed force building on top of trees/rocks not restoring
Version: 0.2.4
Date: 2022-10-02
  Bugfixes:
    - Fixed crash with Alien Biomes trees when attempting to undo mining after marking for deconstruction
    - Actually fixed crash with entities that have filter slots
Version: 0.2.3
Date: 2022-10-01
  Changes:
    - Editor settings for the deconstruction and upgrade planner fix is now done automatically
    - Removed redundant info message for deconstruction and upgrade planner use in the editor
    - Marked Landfill Plus as incompatible until their bug is fixed
  Bugfixes:
    - Fixed crash with entities that have filter slots
Version: 0.2.2
Date: 2022-09-27
  Features:
    - Filter and request slots on all entities are now restored. Inventory item filters cannot be simply done due to API limitations.
    - Added info message on how to fix deconstruction and upgrade planners not being recognized while in the editor.
  Bugfixes:
    - Fixed underground belt direction type not restoring.
Version: 0.2.1
Date: 2022-09-01
  Bugfixes:
    - Fixed train stop crash when built/mined.
Version: 0.2.0
Date: 2022-08-31
  Features:
    - Undo/redo can now respond to cancelling upgrade marks and upgrading entity ghosts.
    - Circuit conditions and wire connections are now restored.
    - Assembler recipes are now restored.
    - Entities now request their module inventory.
    - Train Limits are now restored.
    - Rocket silo auto launch with cargo toggle state is now restored.
    - Power switch toggle state is now restored.
  Changes:
    - Requires Factorio version 1.1.64 or higher, as the API has features not in earlier versions.
  Bugfixes:
    - Fixed redoing the mining of an entity that was marked for upgrade not working because of the upgraded ghost entity.
    - Fixed Logistic container settings not restoring on redo.
Version: 0.1.3
Date: 2022-07-31
  Changes:
    - Most stack functions no longer use the table library for better performance.
    - Reworked entity data storage function to have better infrastructure for future entity data.
  Bugfixes:
    - Attempting to undo/redo fast replacing of certain entities will no longer crash.
    - Ghost entities that cannot have certain properties set will no longer crash.
Version: 0.1.2
Date: 2022-07-28
  Bugfixes:
    - Stopped using experimental event to make redo compatible with stable 1.1.59, likely to change when experimental event becomes useful.
Version: 0.1.1
Date: 2022-07-28
  Bugfixes:
    - Game will no longer crash when updating Factorio versions.
Version: 0.1.0
Date: 2022-07-27
  Features:
    - Some basic entity properties are now restored when using undo/redo.
    - Actions are now stored in sequence even when time is paused.
  Changes:
    - Cleaned up the data storage for undo and redo queues.
  Bugfixes:
    - Ghosts are now created for uncentered entities, e.g. splitters. This very well may have been all entites, but it's fixed now so ¯\_(ツ)_/¯.
    - Entities that cannot have ghosts are now properly handled (for real this time).
Version: 0.0.5
Date: 2022-07-19
  Changes:
    - Refactored code to be faster on average when using undo/redo
  Bugfixes:
    - Entities that cannot have ghosts are now properly handled.
Version: 0.0.4
Date: 2022-07-16
  Features:
    - Added collision checks to spawning ghost entities.
  Bugfixes:
    - Fixed crash when attempting to undo vehicle placement.
Version: 0.0.3
Date: 2022-07-14
  Features:
    - Undo/Redo functionality for building, mining, deconstructing, upgrading, and rotation of entities.
    - Upgrade planners not fully supported, such as cancelling upgrades and upgrading ghost entities.