Ship mounts: delete EquipmentHardpoints and the plan's Equipment list
The array's only reader was the dead SoundBank block in EntityInstance, which looked up a hardpoint transform and did nothing with it. ShipModPlan.Equipment, ShipModShips' assignment, the preview check, the FBX builder's HP.Equipment case and its smoke assertion all fed that one dead reader. An HP.Equipment node is now refused by the builder as an unknown hardpoint kind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7d1b74fca6
commit
23976aada7
8 changed files with 7 additions and 31 deletions
|
|
@ -33,7 +33,6 @@ public sealed class ShipModPlanTests
|
|||
var plan = Plan(Rig());
|
||||
|
||||
Assert.Equal(("map", "collider", "shield", "tractor"), (plan.MapIcon, plan.HullCollider, plan.Shield, plan.Tractor));
|
||||
Assert.Equal(new[] { "thruster.port", "gun", "fin" }, plan.Equipment);
|
||||
Assert.Equal(new[] { "thruster.port" }, plan.Thrusters);
|
||||
Assert.Equal(new[] { "fin" }, plan.Radiators);
|
||||
var (mount, muzzles) = Assert.Single(plan.Weapons);
|
||||
|
|
|
|||
Loading…
Reference in a new issue