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

Commit

Permalink
Fix conflicting recipes for EOH dilation parts. (#280)
Browse files Browse the repository at this point in the history
- Simply rotates the order of the spectral components. This works out because it's always 3 tiers that end up conflicting.
- T1-T2 all use white dwarf matter and mk2 fusions
- T4-T5 all use black dwarf matter and mk3 fusions
- T8-T9 all use MDCM and and mk4 fusions
  • Loading branch information
C0bra5 authored Apr 30, 2024
1 parent 93f6bcc commit 806dae3
Showing 1 changed file with 13 additions and 3 deletions.
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

0 comments on commit 806dae3

Please sign in to comment.