From be198593ccb7d119643baa46177e319ba713f22d Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 17 Oct 2026 13:53:09 +0200 Subject: [PATCH] Floater fixtures: orbits and planets live in the run store, so the fixtures open one Co-Authored-By: Claude Opus 5.5 --- Assets/Scripts/Editor/DrawnPoseWiringVerify.cs | 2 +- tests/Aetheria.Shared.Tests/PickupTests.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Editor/DrawnPoseWiringVerify.cs b/Assets/Scripts/Editor/DrawnPoseWiringVerify.cs index c24740d24..6a9f8bbea 100644 --- a/Assets/Scripts/Editor/DrawnPoseWiringVerify.cs +++ b/Assets/Scripts/Editor/DrawnPoseWiringVerify.cs @@ -110,7 +110,7 @@ namespace Aetheria.EditorTools var oneCell = new Shape(1, 1); oneCell[new CultMath.int2(0, 0)] = true; - var cache = AetheriaStores.Open(Path.Combine(_work, "wiring.cc"), catalogWritable: true); + var cache = AetheriaStores.Open(Path.Combine(_work, "wiring.cc"), Path.Combine(_work, "wiring-run.cc"), catalogWritable: true); cache.Upsert(new VerseGrammar { Revision = 1 }); cache.Upsert(new SimpleCommodityData { Name = "Wiring Ore", Shape = oneCell, MaxStack = 100 }); cache.FlushAsync().Wait(); diff --git a/tests/Aetheria.Shared.Tests/PickupTests.cs b/tests/Aetheria.Shared.Tests/PickupTests.cs index acaff0075..1fee7d5a9 100644 --- a/tests/Aetheria.Shared.Tests/PickupTests.cs +++ b/tests/Aetheria.Shared.Tests/PickupTests.cs @@ -79,7 +79,8 @@ public sealed class PickupTests : IDisposable LootDropProbability = 0, LootDropVelocity = 25, FloatingItemLifetime = lifetime, ShipLayerHeight = 3f, FloaterLayerHeight = -1.5f }; - var cache = AetheriaStores.Open(Path.Combine(_root, Guid.NewGuid().ToString("N") + ".cc"), catalogWritable: true); + var id = Guid.NewGuid().ToString("N"); + var cache = AetheriaStores.Open(Path.Combine(_root, id + ".cc"), Path.Combine(_root, id + "-run.cc"), catalogWritable: true); _caches.Add(cache); cache.Upsert(new VerseGrammar { Revision = 1 }); cache.Upsert(new HullData { Name = "Skiff", HullType = HullType.Ship, Shape = Solid(5, 5), Durability = 1000000, Mass = 1000 });