Falconne / ImprovedWorkbenches

Rimworld mod to add many QoL improvements to the workbench UI.
http://steamcommunity.com/sharedfiles/filedetails/?id=935982361
GNU General Public License v3.0
22 stars 26 forks source link

Add integration with [LTO] Colony Groups #110

Open jklw opened 4 months ago

jklw commented 4 months ago

Hi, thanks for the great mod, can hardly play without it.

This patch adds integration with [LTO] Colony Groups. That mod allows you to create a group of pawns, then assign a bill to this group in the same way you would assign a bill to a single pawn in vanilla.

Currently, such pawn group assignments are not mirrored to linked bills, and not copied using BWM's copy/paste of bill settings. This patch fixes that.

Tested in my actual save; works fine so far.

The implementation directly accesses a dictionary in Colony Groups, which is brittle to future changes in Colony Groups. Ideally, there should be a stable CopyBillSettings(Bill src, Bill dest) method in ColonyGroups, but unfortunately I haven't found a source repo.

My name on the Rimworld Discord is "dunno".