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 <noreply@anthropic.com>
This commit is contained in:
parent
a98a517a8a
commit
48af7c7e17
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue