Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Fix conflicting recipes for EOH dilation parts. #280

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2857,6 +2857,16 @@ ME_Singularity, plateList[absoluteTier], getItemContainer("QuantumCircuit").get(
CustomItemList.TimeAccelerationFieldGeneratorTier7.get(1),
CustomItemList.TimeAccelerationFieldGeneratorTier8.get(1) };

// Spectral Components
// Cycling should fix issues with conflicting recipes for T1-T2, T4-T5 & T7-T8
final ItemStack[] spectralComponents = new ItemStack[] {
// Red Spectral Component
getModItem(SuperSolarPanels.ID, "redcomponent", 64),
// Green Spectral Component
getModItem(SuperSolarPanels.ID, "greencomponent", 64),
// Blue Spectral Component
getModItem(SuperSolarPanels.ID, "bluecomponent", 64) };

for (int absoluteTier = 0; absoluteTier < 9; absoluteTier++) {

TT_recipeAdder.addResearchableAssemblylineRecipe(
Expand All @@ -2871,11 +2881,11 @@ ME_Singularity, plateList[absoluteTier], getItemContainer("QuantumCircuit").get(

getItemContainer("QuantumCircuit").get(absoluteTier + 1),
// Red Spectral Component
getModItem(SuperSolarPanels.ID, "redcomponent", 64),
spectralComponents[absoluteTier % spectralComponents.length],
// Green Spectral Component
getModItem(SuperSolarPanels.ID, "greencomponent", 64),
spectralComponents[(absoluteTier + 1) % spectralComponents.length],
// Blue Spectral Component
getModItem(SuperSolarPanels.ID, "bluecomponent", 64),
spectralComponents[(absoluteTier + 2) % spectralComponents.length],

plateList[absoluteTier],
// Dyson Swarm Module Deployment Unit Base Casing
Expand Down