Merge cut package-product (Soul verdict cut-package-product.s4)

This commit is contained in:
Meta Vens 2026-10-12 20:54:40 +02:00
commit 3535660cc5
12 changed files with 578 additions and 30 deletions

View file

@ -96,7 +96,7 @@ public static class ShipModPlaySmoke
}
Install(package.Visual.Id, Path.GetFullPath(packagePath));
var (hull, ship) = ShipAuthoringStore.Read(Path.Combine(modsRoot, package.Visual.Id, "ship.cc"));
var (hull, ship, _) = ShipAuthoringStore.Read(Path.Combine(modsRoot, package.Visual.Id, "ship.cc"));
ship.Id += ".broken";
hull.Name += " Broken";
hull.Visual = new CultRecordRef<ShipAuthoring>(ShipModCatalog.AuthoringKey(ship.Id));