Settlement Organizer

If you liked this item, please rate it up on Steam Workshop page.

Author: d_oms

Last revision: 25 Mar, 2025 at 21:29 UTC (7)

File size: 48.68 KB

On Steam Workshop

Description:

This is a simple QOL change for building arrangement in settlements.

I’ve always wanted the ability to re-arrange buildings in a settlement after capturing or after building early-game. This script allows you to swap buildings around in a settlement (excluding primary or port slot) in order to organize them in to a particular pattern without having to go through the hassle of demolishing and rebuilding.

Instructions:
1. The first click on a building in a settlement will set the start building. This should be indicated by a ‘highlight’ of the building (expanding gold border).
2. The second click on a (valid) building will swap it with the building you clicked the first time.

NOTE: clicking on an alternate-settlement building, on the primary building, on a port building, on the original building, on a damaged building, or exiting the building panel should all cancel a building move.

NOTE: For now, I don’t think the Quick Building Upgrade mod is compatible with this one. Both of us appear to use a single-click on a building icon as the contextual mechanism for initiating script functionality. Theoretically, there is no way to differentiate from that single click as to whether the end user wants to swap a building or upgrade a building. So I’ll need to figure out some solution (if possible) to differentiate that context.

NOTE: Nurgle is currently incompatible with the script, as Nurgle rotational buildings are dependent on an underlying Cco object that controls where in the building rotation the game should consider a building to be at any point in time. Unless an API call is fixed/developed to institute this, swapping buildings with Nurgle effectively breaks the "growth/decay" mechanic, so I’ve left his buildings disables for now.