ConsumableTests: a hold with room for two consumables
The 1x1 interior fixture could not store the second consumable the non-stackable test needs. Builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
aaab561f98
commit
f79cf8b7a7
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ public sealed class ConsumableTests : IDisposable
|
|||
Name = "Engine", Hardpoint = HardpointType.Sensors, Shape = new Shape(), Durability = 10,
|
||||
Behaviors = { new ThrusterData { Thrust = thrust } }
|
||||
});
|
||||
var interior = new Shape(1, 1);
|
||||
var interior = new Shape(2, 1); // room for two consumables
|
||||
foreach (var cell in interior.AllCoordinates) interior[cell] = true;
|
||||
var holdRef = cache.Upsert(new CargoBayData { Name = "Hold", Shape = new Shape(), InteriorShape = interior, Durability = 10 });
|
||||
var consumableRef = cache.Upsert(new ConsumableItemData
|
||||
|
|
|
|||
Loading…
Reference in a new issue