Loadouts.BossOf: a faction's boss flies the Loadout on its boss hull's product (builds not yet checked)

BossOf keys on BossHullsOf(items, faction)[0] and Loadout.HullProduct, refuses typed (BossRefusal),
reads no Random, Prefab or Visual. ZoneGenerator builds the boss through Loadouts.Materialize with
ChooseProduct as the only generator member; Galaxy picks boss factions through BossOf. Loadout.cs
vocabulary: loadout, not preset or variant.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-18 18:25:42 +02:00
commit 5d624f9e6d
4 changed files with 69 additions and 24 deletions

View file

@ -556,7 +556,8 @@ public class HullData : EquippableItemData
public CultRecordRef<ShipAuthoring> Visual;
// Only bosses fly this hull. Which factions it is a boss for comes from its products' makers
// (LoadoutGenerator.BossHullsOf), so the flag names no faction and reads no model.
// (LoadoutGenerator.BossHullsOf), so the flag names no faction and reads no model. A boss's gear is its faction's
// fixed Loadout on this hull's product (Loadouts.BossOf), never generated.
[Inspectable, JsonProperty("boss"), Key(33)]
public bool Boss;