Skip to content

Commit

Permalink
Merge pull request #898 from MuteTiefling/moar-sophisticated-patches
Browse files Browse the repository at this point in the history
More Sophisticated Storage fixes
  • Loading branch information
MuteTiefling authored Mar 17, 2024
2 parents 44c380c + c7a6529 commit c9e47a7
Show file tree
Hide file tree
Showing 6 changed files with 382 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelogs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- Occultism Familiars quest now relies on seeing a familiar instead of getting the advancement [\#892](https://github.com/EnigmaticaModpacks/Enigmatica9/issues/892)
- Fix Certus Quartz not behaving with annihilation planes [\#887](https://github.com/EnigmaticaModpacks/Enigmatica9/issues/887)
- Blacklisted the Quest Ram from Create Seats to avoid a dupe bug [\#896](https://github.com/EnigmaticaModpacks/Enigmatica9/issues/896)
- [Expert] Properly hide/disable unwanted sophisticated crafts [\#898](https://github.com/EnigmaticaModpacks/Enigmatica9/issues/898)

---

Expand Down
172 changes: 172 additions & 0 deletions config/configswapper/expert/config/sophisticatedcore-common.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@

#Common Settings
[common]
#Disable / enable any items here (disables their recipes)
enabledItems = [
"sophisticatedbackpacks:anvil_upgrade|true",
"sophisticatedbackpacks:battery_upgrade|false",
"sophisticatedbackpacks:compacting_upgrade|true",
"sophisticatedbackpacks:advanced_compacting_upgrade|true",
"sophisticatedbackpacks:crafting_upgrade|true",
"sophisticatedbackpacks:deposit_upgrade|true",
"sophisticatedbackpacks:advanced_deposit_upgrade|true",
"sophisticatedbackpacks:everlasting_upgrade|true",
"sophisticatedbackpacks:feeding_upgrade|false",
"sophisticatedbackpacks:advanced_feeding_upgrade|false",
"sophisticatedbackpacks:filter_upgrade|true",
"sophisticatedbackpacks:advanced_filter_upgrade|true",
"sophisticatedbackpacks:inception_upgrade|true",
"sophisticatedbackpacks:jukebox_upgrade|true",
"sophisticatedbackpacks:magnet_upgrade|true",
"sophisticatedbackpacks:advanced_magnet_upgrade|true",
"sophisticatedbackpacks:pickup_upgrade|true",
"sophisticatedbackpacks:advanced_pickup_upgrade|true",
"sophisticatedbackpacks:pump_upgrade|alse",
"sophisticatedbackpacks:advanced_pump_upgrade|alse",
"sophisticatedbackpacks:refill_upgrade|true",
"sophisticatedbackpacks:advanced_refill_upgrade|true",
"sophisticatedbackpacks:restock_upgrade|true",
"sophisticatedbackpacks:advanced_restock_upgrade|true",
"sophisticatedbackpacks:stonecutter_upgrade|true",
"sophisticatedbackpacks:tank_upgrade|false",
"sophisticatedbackpacks:tool_swapper_upgrade|false",
"sophisticatedbackpacks:advanced_tool_swapper_upgrade|false",
"sophisticatedbackpacks:upgrade_base|true",
"sophisticatedbackpacks:void_upgrade|true",
"sophisticatedbackpacks:advanced_void_upgrade|true",
"sophisticatedbackpacks:xp_pump_upgrade|false",

"sophisticatedbackpacks:blasting_upgrade|false",
"sophisticatedbackpacks:auto_blasting_upgrade|false",
"sophisticatedbackpacks:smelting_upgrade|false",
"sophisticatedbackpacks:auto_smelting_upgrade|false",
"sophisticatedbackpacks:smoking_upgrade|false",
"sophisticatedbackpacks:auto_smoking_upgrade|false",

"sophisticatedbackpacks:backpack|true",
"sophisticatedbackpacks:copper_backpack|true",
"sophisticatedbackpacks:iron_backpack|true",
"sophisticatedbackpacks:gold_backpack|true",
"sophisticatedbackpacks:diamond_backpack|true",
"sophisticatedbackpacks:netherite_backpack|true",

"sophisticatedbackpacks:stack_upgrade_tier_1|true",
"sophisticatedbackpacks:stack_upgrade_starter_tier|true",
"sophisticatedbackpacks:stack_upgrade_tier_2|true",
"sophisticatedbackpacks:stack_upgrade_tier_3|true",
"sophisticatedbackpacks:stack_upgrade_tier_4|true",

"sophisticatedstorage:controller|true",
"sophisticatedstorage:debug_tool|true",
"sophisticatedstorage:packing_tape|true",
"sophisticatedstorage:storage_link|true",
"sophisticatedstorage:storage_tool|true",

"sophisticatedstorage:compacting_upgrade|true",
"sophisticatedstorage:advanced_compacting_upgrade|true",
"sophisticatedstorage:compression_upgrade|true",
"sophisticatedstorage:crafting_upgrade|false",
"sophisticatedstorage:feeding_upgrade|false",
"sophisticatedstorage:advanced_feeding_upgrade|false",
"sophisticatedstorage:filter_upgrade|true",
"sophisticatedstorage:advanced_filter_upgrade|true",
"sophisticatedstorage:hopper_upgrade|true",
"sophisticatedstorage:advanced_hopper_upgrade|true",
"sophisticatedstorage:jukebox_upgrade|true",
"sophisticatedstorage:magnet_upgrade|true",
"sophisticatedstorage:advanced_magnet_upgrade|true",
"sophisticatedstorage:pickup_upgrade|true",
"sophisticatedstorage:advanced_pickup_upgrade|true",
"sophisticatedstorage:pump_upgrade|false",
"sophisticatedstorage:advanced_pump_upgrade|false",
"sophisticatedstorage:stonecutter_upgrade|true",
"sophisticatedstorage:upgrade_base|true",
"sophisticatedstorage:void_upgrade|true",
"sophisticatedstorage:advanced_void_upgrade|true",
"sophisticatedstorage:xp_pump_upgrade|false",

"sophisticatedstorage:blasting_upgrade|false",
"sophisticatedstorage:auto_blasting_upgrade|false",
"sophisticatedstorage:smelting_upgrade|false",
"sophisticatedstorage:auto_smelting_upgrade|false",
"sophisticatedstorage:smoking_upgrade|false",
"sophisticatedstorage:auto_smoking_upgrade|false",

"sophisticatedstorage:barrel|true",
"sophisticatedstorage:copper_barrel|false",
"sophisticatedstorage:iron_barrel|false",
"sophisticatedstorage:gold_barrel|false",
"sophisticatedstorage:diamond_barrel|false",
"sophisticatedstorage:netherite_barrel|false",

"sophisticatedstorage:chest|true",
"sophisticatedstorage:copper_chest|false",
"sophisticatedstorage:iron_chest|false",
"sophisticatedstorage:gold_chest|false",
"sophisticatedstorage:diamond_chest|false",
"sophisticatedstorage:netherite_chest|false",

"sophisticatedstorage:shulker_box|true",
"sophisticatedstorage:copper_shulker_box|false",
"sophisticatedstorage:iron_shulker_box|false",
"sophisticatedstorage:gold_shulker_box|false",
"sophisticatedstorage:diamond_shulker_box|false",
"sophisticatedstorage:netherite_shulker_box|false",

"sophisticatedstorage:limited_barrel_1|false",
"sophisticatedstorage:limited_copper_barrel_1|false",
"sophisticatedstorage:limited_iron_barrel_1|false",
"sophisticatedstorage:limited_gold_barrel_1|false",
"sophisticatedstorage:limited_diamond_barrel_1|false",
"sophisticatedstorage:limited_netherite_barrel_1|false",

"sophisticatedstorage:limited_barrel_2|false",
"sophisticatedstorage:limited_copper_barrel_2|false",
"sophisticatedstorage:limited_iron_barrel_2|false",
"sophisticatedstorage:limited_gold_barrel_2|false",
"sophisticatedstorage:limited_diamond_barrel_2|false",
"sophisticatedstorage:limited_netherite_barrel_2|false",

"sophisticatedstorage:limited_barrel_3|false",
"sophisticatedstorage:limited_copper_barrel_3|false",
"sophisticatedstorage:limited_iron_barrel_3|false",
"sophisticatedstorage:limited_gold_barrel_3|false",
"sophisticatedstorage:limited_diamond_barrel_3|false",
"sophisticatedstorage:limited_netherite_barrel_3|false",

"sophisticatedstorage:limited_barrel_4|false",
"sophisticatedstorage:limited_copper_barrel_4|false",
"sophisticatedstorage:limited_iron_barrel_4|false",
"sophisticatedstorage:limited_gold_barrel_4|false",
"sophisticatedstorage:limited_diamond_barrel_4|false",
"sophisticatedstorage:limited_netherite_barrel_4|false",

"sophisticatedstorage:stack_upgrade_tier_1|true",
"sophisticatedstorage:stack_upgrade_tier_1_plus|true",
"sophisticatedstorage:stack_upgrade_tier_2|true",
"sophisticatedstorage:stack_upgrade_tier_3|true",
"sophisticatedstorage:stack_upgrade_tier_4|true",

"sophisticatedstorage:basic_tier_upgrade|true",

"sophisticatedstorage:basic_to_copper_tier_upgrade|true",
"sophisticatedstorage:basic_to_iron_tier_upgrade|false",
"sophisticatedstorage:basic_to_gold_tier_upgrade|false",
"sophisticatedstorage:basic_to_diamond_tier_upgrade|false",
"sophisticatedstorage:basic_to_netherite_tier_upgrade|false",

"sophisticatedstorage:copper_to_iron_tier_upgrade|true",
"sophisticatedstorage:copper_to_gold_tier_upgrade|false",
"sophisticatedstorage:copper_to_diamond_tier_upgrade|false",
"sophisticatedstorage:copper_to_netherite_tier_upgrade|false",

"sophisticatedstorage:iron_to_gold_tier_upgrade|true",
"sophisticatedstorage:iron_to_diamond_tier_upgrade|false",
"sophisticatedstorage:iron_to_netherite_tier_upgrade|false",

"sophisticatedstorage:gold_to_diamond_tier_upgrade|true",
"sophisticatedstorage:gold_to_netherite_tier_upgrade|false",

"sophisticatedstorage:diamond_to_netherite_tier_upgrade|true"
]

172 changes: 172 additions & 0 deletions config/configswapper/normal/config/sophisticatedcore-common.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@

#Common Settings
[common]
#Disable / enable any items here (disables their recipes)
enabledItems = [
"sophisticatedbackpacks:anvil_upgrade|true",
"sophisticatedbackpacks:battery_upgrade|true",
"sophisticatedbackpacks:compacting_upgrade|true",
"sophisticatedbackpacks:advanced_compacting_upgrade|true",
"sophisticatedbackpacks:crafting_upgrade|true",
"sophisticatedbackpacks:deposit_upgrade|true",
"sophisticatedbackpacks:advanced_deposit_upgrade|true",
"sophisticatedbackpacks:everlasting_upgrade|true",
"sophisticatedbackpacks:feeding_upgrade|true",
"sophisticatedbackpacks:advanced_feeding_upgrade|true",
"sophisticatedbackpacks:filter_upgrade|true",
"sophisticatedbackpacks:advanced_filter_upgrade|true",
"sophisticatedbackpacks:inception_upgrade|true",
"sophisticatedbackpacks:jukebox_upgrade|true",
"sophisticatedbackpacks:magnet_upgrade|true",
"sophisticatedbackpacks:advanced_magnet_upgrade|true",
"sophisticatedbackpacks:pickup_upgrade|true",
"sophisticatedbackpacks:advanced_pickup_upgrade|true",
"sophisticatedbackpacks:pump_upgrade|true",
"sophisticatedbackpacks:advanced_pump_upgrade|true",
"sophisticatedbackpacks:refill_upgrade|true",
"sophisticatedbackpacks:advanced_refill_upgrade|true",
"sophisticatedbackpacks:restock_upgrade|true",
"sophisticatedbackpacks:advanced_restock_upgrade|true",
"sophisticatedbackpacks:stonecutter_upgrade|true",
"sophisticatedbackpacks:tank_upgrade|true",
"sophisticatedbackpacks:tool_swapper_upgrade|true",
"sophisticatedbackpacks:advanced_tool_swapper_upgrade|true",
"sophisticatedbackpacks:upgrade_base|true",
"sophisticatedbackpacks:void_upgrade|true",
"sophisticatedbackpacks:advanced_void_upgrade|true",
"sophisticatedbackpacks:xp_pump_upgrade|true",

"sophisticatedbackpacks:blasting_upgrade|true",
"sophisticatedbackpacks:auto_blasting_upgrade|true",
"sophisticatedbackpacks:smelting_upgrade|true",
"sophisticatedbackpacks:auto_smelting_upgrade|true",
"sophisticatedbackpacks:smoking_upgrade|true",
"sophisticatedbackpacks:auto_smoking_upgrade|true",

"sophisticatedbackpacks:backpack|true",
"sophisticatedbackpacks:copper_backpack|true",
"sophisticatedbackpacks:iron_backpack|true",
"sophisticatedbackpacks:gold_backpack|true",
"sophisticatedbackpacks:diamond_backpack|true",
"sophisticatedbackpacks:netherite_backpack|true",

"sophisticatedbackpacks:stack_upgrade_tier_1|true",
"sophisticatedbackpacks:stack_upgrade_starter_tier|true",
"sophisticatedbackpacks:stack_upgrade_tier_2|true",
"sophisticatedbackpacks:stack_upgrade_tier_3|true",
"sophisticatedbackpacks:stack_upgrade_tier_4|true",

"sophisticatedstorage:controller|true",
"sophisticatedstorage:debug_tool|true",
"sophisticatedstorage:packing_tape|true",
"sophisticatedstorage:storage_link|true",
"sophisticatedstorage:storage_tool|true",

"sophisticatedstorage:compacting_upgrade|true",
"sophisticatedstorage:advanced_compacting_upgrade|true",
"sophisticatedstorage:compression_upgrade|true",
"sophisticatedstorage:crafting_upgrade|true",
"sophisticatedstorage:feeding_upgrade|true",
"sophisticatedstorage:advanced_feeding_upgrade|true",
"sophisticatedstorage:filter_upgrade|true",
"sophisticatedstorage:advanced_filter_upgrade|true",
"sophisticatedstorage:hopper_upgrade|true",
"sophisticatedstorage:advanced_hopper_upgrade|true",
"sophisticatedstorage:jukebox_upgrade|true",
"sophisticatedstorage:magnet_upgrade|true",
"sophisticatedstorage:advanced_magnet_upgrade|true",
"sophisticatedstorage:pickup_upgrade|true",
"sophisticatedstorage:advanced_pickup_upgrade|true",
"sophisticatedstorage:pump_upgrade|true",
"sophisticatedstorage:advanced_pump_upgrade|true",
"sophisticatedstorage:stonecutter_upgrade|true",
"sophisticatedstorage:upgrade_base|true",
"sophisticatedstorage:void_upgrade|true",
"sophisticatedstorage:advanced_void_upgrade|true",
"sophisticatedstorage:xp_pump_upgrade|true",

"sophisticatedstorage:blasting_upgrade|true",
"sophisticatedstorage:auto_blasting_upgrade|true",
"sophisticatedstorage:smelting_upgrade|true",
"sophisticatedstorage:auto_smelting_upgrade|true",
"sophisticatedstorage:smoking_upgrade|true",
"sophisticatedstorage:auto_smoking_upgrade|true",

"sophisticatedstorage:barrel|true",
"sophisticatedstorage:copper_barrel|true",
"sophisticatedstorage:iron_barrel|true",
"sophisticatedstorage:gold_barrel|true",
"sophisticatedstorage:diamond_barrel|true",
"sophisticatedstorage:netherite_barrel|true",

"sophisticatedstorage:chest|true",
"sophisticatedstorage:copper_chest|true",
"sophisticatedstorage:iron_chest|true",
"sophisticatedstorage:gold_chest|true",
"sophisticatedstorage:diamond_chest|true",
"sophisticatedstorage:netherite_chest|true",

"sophisticatedstorage:shulker_box|true",
"sophisticatedstorage:copper_shulker_box|true",
"sophisticatedstorage:iron_shulker_box|true",
"sophisticatedstorage:gold_shulker_box|true",
"sophisticatedstorage:diamond_shulker_box|true",
"sophisticatedstorage:netherite_shulker_box|true",

"sophisticatedstorage:limited_barrel_1|false",
"sophisticatedstorage:limited_copper_barrel_1|false",
"sophisticatedstorage:limited_iron_barrel_1|false",
"sophisticatedstorage:limited_gold_barrel_1|false",
"sophisticatedstorage:limited_diamond_barrel_1|false",
"sophisticatedstorage:limited_netherite_barrel_1|false",

"sophisticatedstorage:limited_barrel_2|false",
"sophisticatedstorage:limited_copper_barrel_2|false",
"sophisticatedstorage:limited_iron_barrel_2|false",
"sophisticatedstorage:limited_gold_barrel_2|false",
"sophisticatedstorage:limited_diamond_barrel_2|false",
"sophisticatedstorage:limited_netherite_barrel_2|false",

"sophisticatedstorage:limited_barrel_3|false",
"sophisticatedstorage:limited_copper_barrel_3|false",
"sophisticatedstorage:limited_iron_barrel_3|false",
"sophisticatedstorage:limited_gold_barrel_3|false",
"sophisticatedstorage:limited_diamond_barrel_3|false",
"sophisticatedstorage:limited_netherite_barrel_3|false",

"sophisticatedstorage:limited_barrel_4|false",
"sophisticatedstorage:limited_copper_barrel_4|false",
"sophisticatedstorage:limited_iron_barrel_4|false",
"sophisticatedstorage:limited_gold_barrel_4|false",
"sophisticatedstorage:limited_diamond_barrel_4|false",
"sophisticatedstorage:limited_netherite_barrel_4|false",

"sophisticatedstorage:stack_upgrade_tier_1|true",
"sophisticatedstorage:stack_upgrade_tier_1_plus|true",
"sophisticatedstorage:stack_upgrade_tier_2|true",
"sophisticatedstorage:stack_upgrade_tier_3|true",
"sophisticatedstorage:stack_upgrade_tier_4|true",

"sophisticatedstorage:basic_tier_upgrade|true",

"sophisticatedstorage:basic_to_copper_tier_upgrade|true",
"sophisticatedstorage:basic_to_iron_tier_upgrade|true",
"sophisticatedstorage:basic_to_gold_tier_upgrade|true",
"sophisticatedstorage:basic_to_diamond_tier_upgrade|true",
"sophisticatedstorage:basic_to_netherite_tier_upgrade|true",

"sophisticatedstorage:copper_to_iron_tier_upgrade|true",
"sophisticatedstorage:copper_to_gold_tier_upgrade|true",
"sophisticatedstorage:copper_to_diamond_tier_upgrade|true",
"sophisticatedstorage:copper_to_netherite_tier_upgrade|true",

"sophisticatedstorage:iron_to_gold_tier_upgrade|true",
"sophisticatedstorage:iron_to_diamond_tier_upgrade|true",
"sophisticatedstorage:iron_to_netherite_tier_upgrade|true",

"sophisticatedstorage:gold_to_diamond_tier_upgrade|true",
"sophisticatedstorage:gold_to_netherite_tier_upgrade|true",

"sophisticatedstorage:diamond_to_netherite_tier_upgrade|true"
]

1 change: 1 addition & 0 deletions kubejs/server_scripts/expert/recipes/enigmatica/remove.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ ServerEvents.recipes((event) => {

{ id: 'sophisticatedbackpacks:battery_upgrade' },
{ id: 'sophisticatedbackpacks:stack_upgrade_tier_1_from_starter' },
{ id: 'sophisticatedbackpacks:iron_backpack_from_copper' },

{ id: /sophisticatedstorage:limited_/ },
{ id: /sophisticatedstorage:tier_upgrade_/ },
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
ServerEvents.recipes((event) => {
if (global.isExpertMode == false) {
return;
}
const id_prefix = 'enigmatica:expert/sophisticatedbackpacks/backpack_upgrade/';

const recipes = [
{
output: 'sophisticatedbackpacks:iron_backpack',
pattern: ['III', 'IBI', 'III'],
key: {
B: { item: 'sophisticatedbackpacks:copper_backpack' },
I: { tag: 'forge:ingots/iron' }
},
id: 'sophisticatedbackpacks:iron_backpack'
}
];

recipes.forEach((recipe) => {
recipe.type = 'sophisticatedbackpacks:backpack_upgrade';
recipe.result = Item.of(recipe.output).toJson();
event.custom(recipe).id(recipe.id);
});
});
Loading

0 comments on commit c9e47a7

Please sign in to comment.