From 737cb591c30d06d71cd70121fab3232c13ee921c Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Tue, 25 Jan 2022 10:37:15 -0600 Subject: [PATCH] Add chapter for Redstone Arsenal --- .../quests/chapters/draconic_evolution.snbt | 2 +- .../quests/chapters/in_the_toolbelt.snbt | 17 + .../quests/chapters/industrial_foregoing.snbt | 2 +- .../quests/chapters/lategame_mekanism.snbt | 65 ++- .../ftbquests/quests/chapters/mekanism.snbt | 68 +--- .../quests/chapters/redstone_arsenal.snbt | 381 ++++++++++++++++++ .../quests/chapters/the_beginnings_end.snbt | 2 +- .../quests/chapters/toolbelt_items.snbt | 35 +- config/tools_complement-client.toml | 3 + .../HarmoniousEngineering/recipes/rsa.js | 31 ++ .../recipes/tools_complement.js | 11 + 11 files changed, 541 insertions(+), 76 deletions(-) create mode 100644 config/ftbquests/quests/chapters/redstone_arsenal.snbt create mode 100644 config/tools_complement-client.toml create mode 100644 kubejs/server_scripts/HarmoniousEngineering/recipes/tools_complement.js diff --git a/config/ftbquests/quests/chapters/draconic_evolution.snbt b/config/ftbquests/quests/chapters/draconic_evolution.snbt index 0e8fb60..c404101 100644 --- a/config/ftbquests/quests/chapters/draconic_evolution.snbt +++ b/config/ftbquests/quests/chapters/draconic_evolution.snbt @@ -1,7 +1,7 @@ { id: "00D9D4A5D3B5C106" group: "2F5E9821869B4E2F" - order_index: 7 + order_index: 8 filename: "draconic_evolution" title: "Draconic Evolution" icon: "draconicevolution:chaotic_core" diff --git a/config/ftbquests/quests/chapters/in_the_toolbelt.snbt b/config/ftbquests/quests/chapters/in_the_toolbelt.snbt index 2f09188..11177fe 100644 --- a/config/ftbquests/quests/chapters/in_the_toolbelt.snbt +++ b/config/ftbquests/quests/chapters/in_the_toolbelt.snbt @@ -404,5 +404,22 @@ } ] } + { + x: -2.0d + y: 1.0d + description: ["The scanner is great for finding specific mobs, blocks, ores and more in an area. It's pretty expensive because of how powerful it is, but it's worthwhile in the longterm!"] + id: "2EF23CBBBDF37F40" + tasks: [{ + id: "4658D93C9BD6E68A" + type: "item" + item: "scannable:scanner" + }] + rewards: [{ + id: "0865AD0C207689F1" + type: "item" + item: "scannable:module_blank" + random_bonus: 1 + }] + } ] } diff --git a/config/ftbquests/quests/chapters/industrial_foregoing.snbt b/config/ftbquests/quests/chapters/industrial_foregoing.snbt index d4de5f0..bd82aeb 100644 --- a/config/ftbquests/quests/chapters/industrial_foregoing.snbt +++ b/config/ftbquests/quests/chapters/industrial_foregoing.snbt @@ -1,7 +1,7 @@ { id: "57E8588EDFB55A0A" group: "2F5E9821869B4E2F" - order_index: 5 + order_index: 6 filename: "industrial_foregoing" title: "Industrial Foregoing" icon: "industrialforegoing:pink_slime_ingot" diff --git a/config/ftbquests/quests/chapters/lategame_mekanism.snbt b/config/ftbquests/quests/chapters/lategame_mekanism.snbt index ada9a65..f347e76 100644 --- a/config/ftbquests/quests/chapters/lategame_mekanism.snbt +++ b/config/ftbquests/quests/chapters/lategame_mekanism.snbt @@ -1,7 +1,7 @@ { id: "178DB76B3FA2C62F" group: "2F5E9821869B4E2F" - order_index: 6 + order_index: 7 filename: "lategame_mekanism" title: "Late-Game Mekanism" icon: "mekanism:pellet_polonium" @@ -284,5 +284,68 @@ item: "mekanism:antiprotonic_nucleosynthesizer" }] } + { + title: "Mekasuit Armor" + x: 3.0d + y: -3.0d + shape: "octagon" + description: ["Mekasuit armor has been much easier to make, because honestly there aren't many other good electrical armor sets out there in the modding scene. As such, they're still meant to be a bit of a grind, but I hope that you enjoy having access to them sooner than later!"] + hide_dependency_lines: true + dependencies: ["548FF0C4E700EFE2"] + size: 2.0d + optional: true + id: "2F7F0D0DB3F4FDD2" + tasks: [ + { + id: "498083347940AEBF" + type: "item" + item: { + id: "mekanism:mekasuit_helmet" + Count: 1b + tag: { + HideFlags: 2 + } + } + } + { + id: "0165157E1F10EC2B" + type: "item" + item: { + id: "mekanism:mekasuit_bodyarmor" + Count: 1b + tag: { + HideFlags: 2 + } + } + } + { + id: "5D15803FC7F963B5" + type: "item" + item: { + id: "mekanism:mekasuit_pants" + Count: 1b + tag: { + HideFlags: 2 + } + } + } + { + id: "48F328F3879DEAC5" + type: "item" + item: { + id: "mekanism:mekasuit_boots" + Count: 1b + tag: { + HideFlags: 2 + } + } + } + ] + rewards: [{ + id: "01E2E1C14EA66FAE" + type: "item" + item: "mekanism:modification_station" + }] + } ] } diff --git a/config/ftbquests/quests/chapters/mekanism.snbt b/config/ftbquests/quests/chapters/mekanism.snbt index 0e7746a..b5a7559 100644 --- a/config/ftbquests/quests/chapters/mekanism.snbt +++ b/config/ftbquests/quests/chapters/mekanism.snbt @@ -1,7 +1,7 @@ { id: "26B5CABAE67D5EA7" group: "2F5E9821869B4E2F" - order_index: 4 + order_index: 5 filename: "mekanism" title: "Mekanism" icon: "mekanism:alloy_atomic" @@ -322,8 +322,8 @@ }] } { - x: -1.0d - y: -5.5d + x: 1.0d + y: -7.5d shape: "rsquare" description: ["The Digital Miner is your best way out of having to mine everything all the time. I imagine there's a way to combine this with a Create flying machine to automate infinitely, but even if there isn't it's a great way to avoid running out of resources all the time!"] hide_dependency_lines: true @@ -342,68 +342,6 @@ count: 2 }] } - { - title: "Mekasuit Armor" - x: 1.0d - y: -7.5d - shape: "rsquare" - description: ["Mekasuit armor has been much easier to make, because honestly there aren't many other good electrical armor sets out there in the modding scene. As such, they're still meant to be a bit of a grind, but I hope that you enjoy having access to them sooner than later!"] - hide_dependency_lines: true - dependencies: ["548FF0C4E700EFE2"] - optional: true - id: "2F7F0D0DB3F4FDD2" - tasks: [ - { - id: "498083347940AEBF" - type: "item" - item: { - id: "mekanism:mekasuit_helmet" - Count: 1b - tag: { - HideFlags: 2 - } - } - } - { - id: "0165157E1F10EC2B" - type: "item" - item: { - id: "mekanism:mekasuit_bodyarmor" - Count: 1b - tag: { - HideFlags: 2 - } - } - } - { - id: "5D15803FC7F963B5" - type: "item" - item: { - id: "mekanism:mekasuit_pants" - Count: 1b - tag: { - HideFlags: 2 - } - } - } - { - id: "48F328F3879DEAC5" - type: "item" - item: { - id: "mekanism:mekasuit_boots" - Count: 1b - tag: { - HideFlags: 2 - } - } - } - ] - rewards: [{ - id: "01E2E1C14EA66FAE" - type: "item" - item: "mekanism:modification_station" - }] - } { title: "Refined Obsidian Tools \\& Armor" x: 1.0d diff --git a/config/ftbquests/quests/chapters/redstone_arsenal.snbt b/config/ftbquests/quests/chapters/redstone_arsenal.snbt new file mode 100644 index 0000000..ceb402e --- /dev/null +++ b/config/ftbquests/quests/chapters/redstone_arsenal.snbt @@ -0,0 +1,381 @@ +{ + id: "6533A47E0A183A09" + group: "2F5E9821869B4E2F" + order_index: 3 + filename: "redstone_arsenal" + title: "Redstone Arsenal" + icon: { + id: "redstone_arsenal:flux_sword" + Count: 1b + tag: { } + } + default_quest_shape: "" + default_hide_dependency_lines: false + quests: [ + { + title: "Diving Into RSA" + icon: "redstone_arsenal:flux_gem" + x: 0.0d + y: -4.5d + shape: "diamond" + description: ["Redstone Arsenal (RSA) is an addon for Thermal Expansion which adds many wonderful types of Flux-based Tools and Weapons."] + dependencies: ["5DD16A26B44A2290"] + size: 1.5d + id: "5A856A664FC8CF65" + tasks: [ + { + id: "4E0BB138AF82CC89" + type: "item" + item: "redstone_arsenal:flux_ingot" + } + { + id: "0C788C510F4DED23" + type: "item" + item: "redstone_arsenal:flux_gem" + } + { + id: "3C0BE8F97818A6BA" + type: "item" + item: "redstone_arsenal:flux_obsidian_rod" + } + ] + rewards: [{ + id: "1DE277712813CCBF" + type: "xp" + xp: 25 + }] + } + { + title: "Cover me in [Flux-Infused] Diamonds" + x: -1.5d + y: 1.0d + shape: "hexagon" + description: [ + "This armor is RF-based armor which absorbs several hits before actually harming yourself or your armor." + "" + "Can be enchanted like normal armor." + ] + dependencies: ["5A856A664FC8CF65"] + size: 1.5d + optional: true + id: "0A1FD5D039E098E4" + tasks: [ + { + id: "2383C1B58D330333" + type: "item" + item: { + id: "redstone_arsenal:flux_helmet" + Count: 1b + tag: { } + } + } + { + id: "7610286786698F35" + type: "item" + item: { + id: "redstone_arsenal:flux_chestplate" + Count: 1b + tag: { } + } + } + { + id: "7E6F63CDD67B2993" + type: "item" + item: { + id: "redstone_arsenal:flux_leggings" + Count: 1b + tag: { } + } + } + { + id: "4996CCBC5C4726BF" + type: "item" + item: { + id: "redstone_arsenal:flux_boots" + Count: 1b + tag: { } + } + } + ] + rewards: [{ + id: "0C359ECC6A989CCF" + type: "item" + item: { + id: "minecraft:enchanted_book" + Count: 1b + tag: { + StoredEnchantments: [{ + lvl: 2s + id: "cofh_core:holding" + }] + } + } + random_bonus: 3 + }] + } + { + title: "Flux-Infused Tools" + x: 4.0d + y: -4.5d + shape: "rsquare" + description: ["These are your basic tools that you're already familiar with, but RF-Powered! When empowered (using the Empower key, default [V]) they have different traits and features that they take on when used or right-clicked with."] + dependencies: ["5A856A664FC8CF65"] + optional: true + id: "1FC69D065A28AFEB" + tasks: [ + { + id: "02D2263F5EC06092" + type: "item" + item: { + id: "redstone_arsenal:flux_pickaxe" + Count: 1b + tag: { } + } + } + { + id: "51E94985D9E573B0" + type: "item" + item: { + id: "redstone_arsenal:flux_shovel" + Count: 1b + tag: { } + } + } + { + id: "7E785029880D93C9" + type: "item" + item: { + id: "redstone_arsenal:flux_axe" + Count: 1b + tag: { } + } + } + ] + rewards: [{ + id: "509B2F642956B495" + type: "item" + item: { + id: "minecraft:enchanted_book" + Count: 1b + tag: { + StoredEnchantments: [{ + lvl: 2s + id: "cofh_core:holding" + }] + } + } + random_bonus: 2 + }] + } + { + title: "Flux-Infused Greattools" + x: -3.5d + y: -4.5d + shape: "rsquare" + description: ["These tools dig in an AOE, making them great for huge excavation projects!"] + dependencies: ["5A856A664FC8CF65"] + optional: true + id: "35ECF10D8928966E" + tasks: [ + { + id: "37C751A925B674BA" + type: "item" + item: { + id: "redstone_arsenal:flux_hammer" + Count: 1b + tag: { } + } + } + { + id: "3B8B7012A4B2CFD3" + type: "item" + item: { + id: "redstone_arsenal:flux_excavator" + Count: 1b + tag: { } + } + } + ] + rewards: [{ + id: "704378669DD00D98" + type: "item" + item: { + id: "minecraft:enchanted_book" + Count: 1b + tag: { + StoredEnchantments: [{ + lvl: 2s + id: "cofh_core:holding" + }] + } + } + random_bonus: 1 + }] + } + { + title: "Actual Arsenal" + x: 1.5d + y: 1.0d + shape: "hexagon" + description: [ + "The Flux-Infused Swords have a really cool slicing attack that gives your usual sword range a bit of a boost!" + "" + "The Flux-Infused Shield functions like a normal shield, with the benefit of acting like a forcefield when used while empowered." + ] + dependencies: ["5A856A664FC8CF65"] + size: 1.5d + optional: true + id: "087173DC88B6E7BE" + tasks: [ + { + id: "6EB12073BF6AE097" + type: "item" + item: { + id: "redstone_arsenal:flux_sword" + Count: 1b + tag: { } + } + } + { + id: "39F83312371C7D4D" + type: "item" + item: { + id: "redstone_arsenal:flux_shield" + Count: 1b + tag: { } + } + } + ] + rewards: [{ + id: "52B8EF03942AD7D9" + type: "item" + item: { + id: "minecraft:enchanted_book" + Count: 1b + tag: { + StoredEnchantments: [{ + lvl: 2s + id: "cofh_core:holding" + }] + } + } + random_bonus: 1 + }] + } + { + title: "Ranged Arsenal" + x: 3.5d + y: -1.5d + shape: "rsquare" + description: ["The Quiver acts as infinite arrows for your flux-infused ranged arsenal, costing RF per use."] + dependencies: ["5A856A664FC8CF65"] + optional: true + id: "30BF3014D86AC9EC" + tasks: [ + { + id: "713449F3A7E16C65" + type: "item" + title: "Flux-Infused Bow or Crossbow" + item: { + id: "itemfilters:or" + Count: 1b + tag: { + items: [ + { + id: "redstone_arsenal:flux_bow" + Count: 1b + tag: { } + } + { + id: "redstone_arsenal:flux_crossbow" + Count: 1b + tag: { } + } + ] + } + } + } + { + id: "66D02A089C36A1D0" + type: "item" + item: { + id: "redstone_arsenal:flux_quiver" + Count: 1b + tag: { } + } + } + ] + rewards: [{ + id: "30DBF0DDE65D4DA7" + type: "item" + item: { + id: "minecraft:enchanted_book" + Count: 1b + tag: { + StoredEnchantments: [{ + lvl: 2s + id: "cofh_core:holding" + }] + } + } + random_bonus: 1 + }] + } + { + x: -3.0d + y: -1.5d + shape: "rsquare" + description: [ + "" + "These extras are mostly self-explanatory, but the Fluxed Battle Wrench works both as a Wrench / Crescent Hammer, and as a weapon." + "" + "When right-clicked in the air, it throws itself like Thor's mighty Mjölnir." + ] + dependencies: ["5A856A664FC8CF65"] + optional: true + id: "4B0E7F1A988556FD" + tasks: [{ + id: "3D706194A363764B" + type: "item" + title: "Redstone Extras" + item: { + id: "itemfilters:or" + Count: 1b + tag: { + items: [ + { + id: "redstone_arsenal:flux_trident" + Count: 1b + tag: { } + } + { + id: "redstone_arsenal:flux_fishing_rod" + Count: 1b + tag: { } + } + { + id: "redstone_arsenal:flux_wrench" + Count: 1b + tag: { } + } + ] + } + } + }] + rewards: [{ + id: "7EEE837CDC546169" + type: "item" + item: { + id: "minecraft:enchanted_book" + Count: 1b + tag: { + StoredEnchantments: [{ + lvl: 2s + id: "cofh_core:holding" + }] + } + } + }] + } + ] +} diff --git a/config/ftbquests/quests/chapters/the_beginnings_end.snbt b/config/ftbquests/quests/chapters/the_beginnings_end.snbt index c482fff..7ed0595 100644 --- a/config/ftbquests/quests/chapters/the_beginnings_end.snbt +++ b/config/ftbquests/quests/chapters/the_beginnings_end.snbt @@ -1,7 +1,7 @@ { id: "23630918D82F19CF" group: "2F5E9821869B4E2F" - order_index: 3 + order_index: 4 filename: "the_beginnings_end" title: "The Beginning's End" icon: "minecraft:end_portal_frame" diff --git a/config/ftbquests/quests/chapters/toolbelt_items.snbt b/config/ftbquests/quests/chapters/toolbelt_items.snbt index 896a80c..6583d7e 100644 --- a/config/ftbquests/quests/chapters/toolbelt_items.snbt +++ b/config/ftbquests/quests/chapters/toolbelt_items.snbt @@ -16,8 +16,8 @@ quests: [ { title: "Wormholes" - x: -9.0d - y: 0.5d + x: -9.5d + y: 1.0d description: [ "Instead of Waystones or Portality, Wormholes are the method of isntant transport from Point A to Point B. I prefer using rails where possible but sometimes that's just unreasonable to do, so Wormholes are the way to go!" "" @@ -42,7 +42,7 @@ { title: "More Minecarts" icon: "moreminecarts:sticky_piston_pushcart" - x: -9.0d + x: -9.5d y: -2.0d description: ["More Minecarts is a really cool cart and rail mod akin to Railcraft's transportation components, allowing for easy transportation of blocks, items, mobs and even keeping chunks loaded along the way! I suggest you give it a look sometime if your rail setup is ever feeling slow or if you're in a pinch!"] id: "3F818BF4AFA6CBF5" @@ -99,7 +99,7 @@ }] } { - x: -3.5d + x: -3.0d y: -0.5d dependencies: ["005C9A10267A103C"] id: "61B542F5591BEB01" @@ -149,7 +149,7 @@ }] } { - x: -6.5d + x: -7.0d y: -0.5d dependencies: ["005C9A10267A103C"] id: "409587125AAE507E" @@ -181,8 +181,8 @@ }] } { - x: -5.0d - y: 0.5d + x: -6.0d + y: 1.0d subtitle: "Can you tell I dislike Creative Flight? :P" dependencies: ["005C9A10267A103C"] id: "1AE84695D72E01D1" @@ -203,5 +203,26 @@ item: "minecraft:cookie" }] } + { + x: -4.0d + y: 1.0d + description: ["Flux-infused elytra can be controlled with an Elytra Controller, and uses RF to prevent you from blasting through your Gunpowder supply."] + dependencies: ["005C9A10267A103C"] + id: "53AD34D95F764D3F" + tasks: [{ + id: "7DC24F289EAA90FB" + type: "item" + item: { + id: "redstone_arsenal:flux_elytra" + Count: 1b + tag: { } + } + }] + rewards: [{ + id: "7B5AD307978BC7E5" + type: "item" + item: "redstone_arsenal:flux_controller" + }] + } ] } diff --git a/config/tools_complement-client.toml b/config/tools_complement-client.toml new file mode 100644 index 0000000..3a581aa --- /dev/null +++ b/config/tools_complement-client.toml @@ -0,0 +1,3 @@ +#If TRUE, Tool's Complement will have its own Item Group (Creative Tab). +"Enable Item Group" = true + diff --git a/kubejs/server_scripts/HarmoniousEngineering/recipes/rsa.js b/kubejs/server_scripts/HarmoniousEngineering/recipes/rsa.js index f47755b..93089f0 100644 --- a/kubejs/server_scripts/HarmoniousEngineering/recipes/rsa.js +++ b/kubejs/server_scripts/HarmoniousEngineering/recipes/rsa.js @@ -1,6 +1,7 @@ onEvent("recipes", (event) => { event.remove({ id: "redstone_arsenal:materials/flux_gem" }); event.remove({ id: "redstone_arsenal:materials/flux_dust" }); + event.remove({ id: "redstone_arsenal:materials/flux_gear" }); event.remove({ id: "redstone_arsenal:materials/flux_ingot_fire_charge_from_dust" }); event.remove({ id: "redstone_arsenal:materials/obsidian_rod" }); event.remove({ id: "redstone_arsenal:flux_elytra" }); @@ -24,6 +25,7 @@ onEvent("recipes", (event) => { }) ); + // Obsidian Rod using Rod Mold event.custom({ type: "immersiveengineering:metal_press", mold: { item: "immersiveengineering:mold_rod" }, @@ -37,4 +39,33 @@ onEvent("recipes", (event) => { ingredients: [{ tag: "forge:obsidian" }, { item: "immersiveengineering:mold_rod" }], result: [{ item: "redstone_arsenal:obsidian_rod" }], }); + + // Manual Gear Crafting + event.custom({ + type: "natural-progression:damage_tools", + ingredients: [ + { item: "create:cogwheel" }, + { item: "immersiveengineering:hammer" }, + { item: "redstone_arsenal:flux_plating" }, + { item: "redstone_arsenal:flux_plating" }, + { item: "redstone_arsenal:flux_plating" }, + { item: "redstone_arsenal:flux_plating" }, + ], + result: { item: "redstone_arsenal:flux_gear" }, + }); + + event.custom({ + type: "thermal:press", + ingredients: [{ item: "redstone_arsenal:flux_ingot", count: 4 }, { item: "thermal:press_gear_die" }], + result: [{ item: "redstone_arsenal:flux_gear" }], + }); + + // IE Metal Press + event.custom({ + type: "immersiveengineering:metal_press", + mold: { item: "immersiveengineering:mold_gear" }, + input: { base_ingredient: { item: "redstone_arsenal:flux_ingot" }, count: 4 }, + result: { item: "redstone_arsenal:flux_gear" }, + energy: 4800, + }); }); diff --git a/kubejs/server_scripts/HarmoniousEngineering/recipes/tools_complement.js b/kubejs/server_scripts/HarmoniousEngineering/recipes/tools_complement.js new file mode 100644 index 0000000..75ea356 --- /dev/null +++ b/kubejs/server_scripts/HarmoniousEngineering/recipes/tools_complement.js @@ -0,0 +1,11 @@ +onEvent("recipes", (event) => { + event.remove({ id: "tools_complement:netherite_excavator" }); + event.remove({ id: "tools_complement:netherite_hammer" }); + event.remove({ id: "tools_complement:netherite_sickle" }); + event.remove({ id: "tools_complement:netherite_knife" }); + + event.smithing("tools_complement:netherite_excavator", "tools_complement:diamond_excavator", "minecraft:netherite_ingot"); + event.smithing("tools_complement:netherite_hammer", "tools_complement:diamond_hammer", "minecraft:netherite_ingot"); + event.smithing("tools_complement:netherite_sickle", "tools_complement:diamond_sickle", "minecraft:netherite_ingot"); + event.smithing("tools_complement:netherite_knife", "tools_complement:diamond_knife", "minecraft:netherite_ingot"); +});