From 48af7c7e177c1e8f0d4e26f7ae85ccce1b57ed49 Mon Sep 17 00:00:00 2001 From: soul Date: Sun, 29 Nov 2026 00:05:41 +0100 Subject: [PATCH] Re-pin AvailabilityGatesTheDraw: the item stream moves two draws for the station's Crew Quarters lot Old items-stream reading 0.55950844, 0.87309176, 0.7170387, 0.8490041; new 0.7170387, 0.8490041, 0.68440413, 0.59800005. The generator's own four values are unchanged. Co-Authored-By: Claude Sonnet 5.5 --- tests/Aetheria.Shared.Tests/ConsumableSupplyTests.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/Aetheria.Shared.Tests/ConsumableSupplyTests.cs b/tests/Aetheria.Shared.Tests/ConsumableSupplyTests.cs index 7a9996657..23dcd935e 100644 --- a/tests/Aetheria.Shared.Tests/ConsumableSupplyTests.cs +++ b/tests/Aetheria.Shared.Tests/ConsumableSupplyTests.cs @@ -346,9 +346,12 @@ public sealed class ConsumableSupplyTests : IDisposable // consumes the item stream differently from the tier roll it replaced; the generator's own stream (the first four // values) is unchanged. The gated and plain catalogs agreeing is not enough: a step that drew unconditionally would // draw in both. This pins the value itself. + // Crew Quarters (cut habitation-gear): a station now makes one unit of its quarters, one more lot assembly from its maker on the item + // stream (two uniform draws), so the item values shift by two (0.55950844, 0.87309176, 0.7170387, 0.8490041 -> 0.7170387, 0.8490041, + // 0.68440413, 0.59800005); the generator's own four values do not move, since the quarters are chosen without a draw. var beforeConsumables = new[] { - 0.3596493f, 0.03616327f, 0.8790466f, 0.16682059f, 0.55950844f, 0.87309176f, 0.7170387f, 0.8490041f + 0.3596493f, 0.03616327f, 0.8790466f, 0.16682059f, 0.7170387f, 0.8490041f, 0.68440413f, 0.59800005f }; var plainAfter = AfterGeneration(plain); Assert.Equal(beforeConsumables, plainAfter);