Seamless Pockets allows colonists and raiders to move naturally between pocket maps and the main map in RimWorld, supporting work, hauling, needs, and raids across portals.

Seamless Pockets v17.11.2026 · ModsFire, 355.4 КБ · 4 downloads
Contents

Seamless Pockets changes how pocket maps-such as caves, vaults, or undercaves-interact with the main map in RimWorld. Instead of acting as isolated side rooms, these areas become seamlessly connected: colonists and raiders can cross between them as needed, and gameplay mechanics treat both sides as part of one colony.

Colonist Behavior

  • Work Across Portals: Colonists will cross portals to perform jobs ranked higher than available tasks on their current side, or when no such jobs exist locally. The targeted job is reserved for the traveling colonist, preventing others from leaving for the same job.
  • Hauling: Stockpiles below are considered valid storage for the upper map. Items are only moved to storage on the other side if its priority is higher, avoiding unnecessary shuffling between equal-priority stockpiles.
  • Fetching Materials: Builders, cooks, crafters, and haulers will bring required materials or fuel from the other side if not available locally.
  • Rescue: Downed colonists can be rescued to available beds on either side of a portal.
  • Needs Fulfillment: Colonists will cross portals to eat, relax, meditate, recharge, or access medical beds if these are not available on their current side. They walk to their assigned beds, which can be located on either map.
  • Parties and Rituals: Colonists on the other side will autonomously join parties or rituals, and are listed for ritual roles. The ritual interface accounts for their participation, though waiting for participants is based on RimWorld's code and not tested with a real ritual.
  • Inventory: Pawns retain their carried items when passing through portals.
  • Orders Across Portals: Selected colonists remain selected when switching map views or when moving through portals. You can select a colonist's portrait on the other side without leaving the view, and right-click to order them through the portal. All standard order mechanics work, including group movement, shift-queued commands, and prioritized work.
  • Forbidding Portals: Portals can be forbidden like doors, preventing pawns from using them autonomously or by order. Each end can be forbidden separately. Raiders ignore forbidden portals, as with doors.

Raids

Pocket maps are no longer safe rooms. Once attackers have no targets left on their map, they will move through portals to pursue colonists, turrets, or other targets, breaking walls if necessary. Raiders stay grouped after crossing and continue to leave as a group.

  • Optional: Raiders Collapse Entrances: When enabled (off by default), raiders may collapse entrances if the colony is gone below and if the entrance is collapsible (e.g., Odyssey's cave entrances or ancient stockpile hatches). Anything and anyone below is lost. A warning is issued before collapse, and raiders do not collapse entrances while their own are present below.

Settings

  • Each feature has its own toggle.
  • Portal traversal time defaults to 1.5 seconds (same as vanilla), but can be changed.
  • Maximum nesting depth for pocket maps is settable (default 8).
  • Colonists only traverse certain portals (e.g., Anomaly's pit gate) when directly ordered.
  • Portals can be forbidden or excluded from allowed areas to restrict access.

Compatibility

Compatible with pocket maps from any mod, including Anomaly's pit gate, Odyssey's cave entrances and ancient hatches, and other mods' portals-even those with unique far-side tracking.

Performance

The mod is lightweight. In a test with 20 colonists split between maps, it added approximately 0.01 ms CPU time per tick (0.186 ms with the mod, 0.174 ms without). A tick is 16.7 ms at normal speed. Busy colonies were not tested. Raid points are unchanged, as the game already counts pocket map wealth with the main map.

For Modders

Seamless Pockets does not reference other mods in its code. Ordinary map portals from other mods are supported automatically. Mods with custom AI for stairs or portals can exclude them with a small XML change, and custom job givers can support cross-portal jobs with a single call, without depending on this mod. A full guide and sample patch are included in the Modding folder.

Requirements

  • Harmony

Supported Languages

  • English

Supported Versions

  • 1.6, 1.7

Screenshots 5

Add to collection Report