Undo - Ctrl+Z for RimWorld
Misplaced a wall? Mined the wrong column? Accidentally cancelled your entire blueprint? Just Ctrl+Z.
This mod adds proper undo/redo to RimWorld. Actions are grouped by drag - one Ctrl+Z reverses your entire selection, not each cell individually.
Keybindings
[list]
[*] [b]Ctrl+Z[/b] (or Cmd+Z on Mac) - Undo
[*] [b]Ctrl+Y[/b] or [b]Ctrl+Shift+Z[/b] - Redo
[/list]
What Can Be Undone
[list]
[*] Blueprint placement - walls, furniture, floors, power conduits, everything
[*] Mine designations - never accidentally collapse a roof again
[*] Cut plant designations
[*] Harvest designations
[*] Hunt designations
[*] Haul designations
[*] Deconstruct designations
[*] Cancels
[*] Zone creation and deletion - stockpiles, growing zones, etc.
[/list]
How It Works
Only designations and blueprints (orders you give) can be undone. Once a pawn physically builds a wall or mines a tile, that cannot be reversed - this mod respects the simulation.
The undo stack is per-map and clears on save/load. Drag-select operations are batched into a single undo step, so one Ctrl+Z undoes the whole drag.
Settings
Go to [b]Options > Mod Settings > Undo[/b] to configure:
[list]
[*] Max undo depth (default: 50)
[*] Enable/disable undo per action type
[*] Toggle notification messages
[/list]
Compatibility
[list]
[*] Safe to add mid-save
[*] Safe to remove mid-save (undo history is not persisted)
[/list]
Requirements
[list]
[*] [url=https://steamcommunity.com/workshop/filedetails/?id=2009463077]Harmony[/url]
[/list]
Known Limitations
[list]
[*] Completed actions (pawn already built/mined/deconstructed) cannot be undone
[*] Undo history clears on save/load
[*] Forbid/unforbid is not tracked (trivially reversible by the player)
[/list]
Mod ID: [b]Aruclya.Undo[/b]