Fix all ignored recipes in material arbitrage (#41134)

* lights

* drink glasses

* vial chem bottle

* plates n stuff

* boards

* airtank

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
This commit is contained in:
āda
2025-10-30 19:09:44 -05:00
committed by GitHub
parent d0ac7d0b39
commit ec8ada3388
6 changed files with 19 additions and 29 deletions

View File

@@ -28,20 +28,10 @@ namespace Content.IntegrationTests.Tests;
[TestFixture] [TestFixture]
public sealed class MaterialArbitrageTest public sealed class MaterialArbitrageTest
{ {
// These recipes are currently broken and need fixing. You should not be adding to these sets. // These sets are for selectively excluding recipes from arbitrage.
private readonly HashSet<string> _destructionArbitrageIgnore = // You should NOT be adding to these. They exist here for downstreams and potential future issues.
[ private readonly HashSet<string> _destructionArbitrageIgnore = [];
"BaseChemistryEmptyVial", "DrinkShotGlass", "SodiumLightTube", "DrinkGlassCoupeShaped", private readonly HashSet<string> _compositionArbitrageIgnore = [];
"LedLightBulb", "ExteriorLightTube", "LightTube", "DrinkGlass", "DimLightBulb", "LightBulb", "LedLightTube",
"ChemistryEmptyBottle01", "WarmLightBulb",
];
private readonly HashSet<string> _compositionArbitrageIgnore =
[
"FoodPlateSmall", "AirTank", "FoodPlateTin", "FoodPlateMuffinTin", "WeaponCapacitorRechargerCircuitboard",
"WeaponCapacitorRechargerCircuitboard", "BorgChargerCircuitboard", "BorgChargerCircuitboard", "FoodPlate",
"CellRechargerCircuitboard", "CellRechargerCircuitboard",
];
[Test] [Test]
public async Task NoMaterialArbitrage() public async Task NoMaterialArbitrage()

View File

@@ -57,7 +57,7 @@
- Trash - Trash
- type: PhysicalComposition - type: PhysicalComposition
materialComposition: materialComposition:
Glass: 60 Glass: 50
- type: SpaceGarbage - type: SpaceGarbage
- type: entity - type: entity
@@ -117,7 +117,7 @@
acts: [ "Destruction" ] acts: [ "Destruction" ]
- type: PhysicalComposition - type: PhysicalComposition
materialComposition: materialComposition:
Glass: 30 Glass: 25
- type: entity - type: entity
parent: FoodPlateTrash parent: FoodPlateTrash
@@ -196,7 +196,7 @@
- Trash - Trash
- type: PhysicalComposition - type: PhysicalComposition
materialComposition: materialComposition:
Steel: 60 Steel: 50
- type: SpaceGarbage - type: SpaceGarbage
# Muffin Tin # Muffin Tin
@@ -220,5 +220,5 @@
- Trash - Trash
- type: PhysicalComposition - type: PhysicalComposition
materialComposition: materialComposition:
Steel: 30 Steel: 25
- type: SpaceGarbage - type: SpaceGarbage

View File

@@ -663,8 +663,8 @@
Cable: 5 Cable: 5
- type: PhysicalComposition - type: PhysicalComposition
materialComposition: materialComposition:
Steel: 30 Steel: 25
Plastic: 30 Plastic: 25
- type: StaticPrice - type: StaticPrice
price: 15 price: 15
@@ -706,8 +706,8 @@
Cable: 5 Cable: 5
- type: PhysicalComposition - type: PhysicalComposition
materialComposition: materialComposition:
Steel: 30 Steel: 25
Plastic: 30 Plastic: 25
- type: StaticPrice - type: StaticPrice
price: 15 price: 15
@@ -727,8 +727,8 @@
CableMV: 5 CableMV: 5
- type: PhysicalComposition - type: PhysicalComposition
materialComposition: materialComposition:
Steel: 30 Steel: 25
Plastic: 30 Plastic: 25
- type: StaticPrice - type: StaticPrice
price: 15 price: 15

View File

@@ -77,7 +77,7 @@
result: ChemistryEmptyBottle01 result: ChemistryEmptyBottle01
completetime: 2 completetime: 2
materials: materials:
Glass: 50 Glass: 100
- type: latheRecipe - type: latheRecipe
id: Vape id: Vape
@@ -95,7 +95,7 @@
result: BaseChemistryEmptyVial result: BaseChemistryEmptyVial
completetime: 2 completetime: 2
materials: materials:
Glass: 50 Glass: 100
Wood: 20 Wood: 20
- type: latheRecipe - type: latheRecipe

View File

@@ -19,7 +19,7 @@
id: BaseGlasswareRecipe id: BaseGlasswareRecipe
completetime: 0.8 completetime: 0.8
materials: materials:
Glass: 100 Glass: 200
- type: latheRecipe - type: latheRecipe
parent: BaseGlasswareRecipe parent: BaseGlasswareRecipe

View File

@@ -8,7 +8,7 @@
completetime: 2 completetime: 2
materials: materials:
Steel: 50 Steel: 50
Glass: 50 Glass: 200
# Recipes # Recipes
@@ -120,7 +120,7 @@
result: AirTank result: AirTank
completetime: 4 completetime: 4
materials: materials:
Steel: 300 Steel: 400
- type: latheRecipe - type: latheRecipe
id: DoubleEmergencyOxygenTank id: DoubleEmergencyOxygenTank