Station generation installs its kind's Facilities on its Facility rows before any interior gear

LoadoutGenerator.EquipFacilities seats each of the kind's Facilities (largest shape first, then by name), branded by the station faction's own product else the first by name, drawing nothing from Random; it throws naming hull, kind and design when no row takes one. The docking bay, heater and interior fill now come after, so no interior gear can sit on a Facility row.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-11-28 05:23:56 +01:00
commit 20ec6bc6eb
3 changed files with 145 additions and 3 deletions

View file

@ -18,7 +18,8 @@ public class FacilityData : BehaviorData
}
// The installed facility that will run its recipes (ruling demand-consumed-inputs-processed-by-facilities). It runs nothing until
// follow-up facility-production: it is seated, priced and carried, and that is all.
// follow-up facility-production: LoadoutGenerator.EquipFacilities seats it on a station's Facility row, and it is priced and carried,
// and that is all.
public class Facility : Behavior
{
public Facility(FacilityData data, EquippedItem item) : base(data, item) { }