Spears equippable to suit storage (#26724)

* meat and potatoes

hahaha

* DAMAGE

yes

* come on

* Check again

* Guhhhhh

guh
This commit is contained in:
Hanz
2024-04-08 11:34:35 -04:00
committed by GitHub
parent 2f5c639a15
commit 263469dffa
13 changed files with 27 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ public sealed class CraftingTests : InteractionTest
// Player's hands should be full of the remaining rods, except those dropped during the failed crafting attempt.
// Spear and left over stacks should be on the floor.
await AssertEntityLookup((Rod, 2), (Cable, 8), (ShardGlass, 2), (Spear, 1));
await AssertEntityLookup((Rod, 2), (Cable, 7), (ShardGlass, 2), (Spear, 1));
}
// The following is wrapped in an if DEBUG. This is because of cursed state handling bugs. Tests don't (de)serialize
@@ -100,7 +100,7 @@ public sealed class CraftingTests : InteractionTest
Assert.That(sys.IsEntityInContainer(rods), Is.False);
Assert.That(sys.IsEntityInContainer(wires), Is.False);
Assert.That(rodStack, Has.Count.EqualTo(8));
Assert.That(wireStack, Has.Count.EqualTo(8));
Assert.That(wireStack, Has.Count.EqualTo(7));
await FindEntity(Spear, shouldSucceed: false);
});

View File

@@ -52,6 +52,7 @@
quickEquip: false
slots:
- back
- suitStorage
- type: Construction
graph: Spear
node: spear

View File

@@ -10,7 +10,7 @@
amount: 2
doAfter: 2
- material: Cable
amount: 2
amount: 3
doAfter: 1
- tag: GlassShard
name: Glass Shard
@@ -33,7 +33,7 @@
amount: 2
doAfter: 2
- material: Cable
amount: 2
amount: 3
doAfter: 1
- tag: ReinforcedGlassShard
name: Reinforced Glass Shard
@@ -56,7 +56,7 @@
amount: 2
doAfter: 2
- material: Cable
amount: 2
amount: 3
doAfter: 1
- tag: PlasmaGlassShard
name: Plasma Glass Shard
@@ -79,7 +79,7 @@
amount: 2
doAfter: 2
- material: Cable
amount: 2
amount: 3
doAfter: 1
- tag: UraniumGlassShard
name: Uranium Glass Shard

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

View File

@@ -32,6 +32,10 @@
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "equipped-SUITSTORAGE",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

View File

@@ -32,6 +32,10 @@
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "equipped-SUITSTORAGE",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 B

View File

@@ -32,6 +32,10 @@
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "equipped-SUITSTORAGE",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

View File

@@ -32,6 +32,10 @@
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "equipped-SUITSTORAGE",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

View File

@@ -32,6 +32,10 @@
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "equipped-SUITSTORAGE",
"directions": 4
}
]
}