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. // 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. // 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 // 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(rods), Is.False);
Assert.That(sys.IsEntityInContainer(wires), Is.False); Assert.That(sys.IsEntityInContainer(wires), Is.False);
Assert.That(rodStack, Has.Count.EqualTo(8)); 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); await FindEntity(Spear, shouldSucceed: false);
}); });

View File

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

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

View File

@@ -32,6 +32,10 @@
{ {
"name": "equipped-BACKPACK", "name": "equipped-BACKPACK",
"directions": 4 "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", "name": "equipped-BACKPACK",
"directions": 4 "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", "name": "equipped-BACKPACK",
"directions": 4 "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", "name": "equipped-BACKPACK",
"directions": 4 "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", "name": "equipped-BACKPACK",
"directions": 4 "directions": 4
},
{
"name": "equipped-SUITSTORAGE",
"directions": 4
} }
] ]
} }