diff --git a/config/ftbquests/quests/chapters/powah.snbt b/config/ftbquests/quests/chapters/powah.snbt new file mode 100644 index 0000000..684eb39 --- /dev/null +++ b/config/ftbquests/quests/chapters/powah.snbt @@ -0,0 +1,656 @@ +{ + id: "2EAD9FB0D006D4F8" + group: "6F245F11B3688A37" + order_index: 5 + filename: "powah" + title: "Powah" + icon: "powah:capacitor_niotic" + default_quest_shape: "rsquare" + default_hide_dependency_lines: false + quests: [ + { + title: "Getting Started" + x: -16.5d + y: -1.5d + shape: "diamond" + description: [ + "Welcome to Powah! For those of you familiar with this mod, you'll probably notice that much of its functionality has been removed in favor of other mods' mechanics instead." + "" + "That said, there's still a lot to Powah when it comes to Reactors and you'll find a few of the items from Powah are commonly used as Ingredients for other mods too!" + ] + dependencies: [ + "5DD16A26B44A2290" + "4A60BF034B726C88" + ] + optional: true + id: "6ED9AACB037FDB6C" + tasks: [{ + id: "355169E5410CC8AF" + type: "item" + item: "powah:dielectric_paste" + }] + rewards: [{ + id: "01F0914CB1A95542" + type: "item" + item: "powah:dielectric_paste" + count: 8 + random_bonus: 8 + }] + } + { + title: "Dielectric Components" + x: -14.5d + y: -1.5d + description: ["These components will be critical for your success going into Powah."] + dependencies: ["6ED9AACB037FDB6C"] + optional: true + id: "5640FD2D2222502B" + tasks: [ + { + id: "6BF22D0060D535D9" + type: "item" + item: "powah:dielectric_rod" + } + { + id: "0C7FD220D446F19F" + type: "item" + item: "powah:dielectric_casing" + } + ] + rewards: [{ + id: "5C28598DD19FC1AF" + type: "xp" + xp: 100 + }] + } + { + title: "Energizing" + x: -12.5d + y: -1.5d + description: [ + "Basic Energizing is how you will manage to get the nicer materials in Powah such as Energized Steel, Niotic Crystals and more." + "" + "The setup pictured below is just a sample of how you can set your system up. You can easily change this setup to fit your base as much as you want, but you will *HAVE* to use *MEKANISM UNIVERSAL CABLES* for your setup as Powah does not recognize Pipez' RF Pipes." + "" + "{image:kubejs:textures/gui/energizing.png width:200 height:150 align:1}" + ] + dependencies: ["5640FD2D2222502B"] + optional: true + id: "74FD88E2CFF4B84C" + tasks: [ + { + id: "7B890CE9AF0922F1" + type: "item" + item: "powah:energizing_orb" + } + { + id: "692D0174236D19D0" + type: "item" + item: "powah:energizing_rod_starter" + } + ] + } + { + title: "Hardened-Tier" + x: -10.5d + y: -1.5d + subtitle: "Early-Tier Powah" + dependencies: ["74FD88E2CFF4B84C"] + optional: true + id: "74B79F18E8C26C80" + tasks: [{ + id: "41037563B18D257C" + type: "item" + item: "powah:steel_energized" + }] + rewards: [{ + id: "114DF83A09E650C6" + type: "item" + item: "powah:steel_energized" + count: 2 + random_bonus: 8 + }] + } + { + title: "Blazing-Tier" + x: -8.5d + y: -1.5d + subtitle: "Some like it hot" + dependencies: ["74B79F18E8C26C80"] + optional: true + id: "3F870A789A91F255" + tasks: [{ + id: "4E3DA6F35EA62EB7" + type: "item" + item: "powah:crystal_blazing" + }] + rewards: [{ + id: "14B1CF9CCF8493DE" + type: "item" + item: "powah:crystal_blazing" + count: 2 + random_bonus: 8 + }] + } + { + title: "Niotic-Tier" + x: -6.5d + y: -1.5d + subtitle: "Extra-Crystalized" + dependencies: ["3F870A789A91F255"] + optional: true + id: "53A9334110253E40" + tasks: [{ + id: "3A0387AD2F5EC1AB" + type: "item" + item: "powah:crystal_niotic" + }] + rewards: [{ + id: "07BDDD1BDD8A17D7" + type: "item" + item: "powah:crystal_niotic" + random_bonus: 3 + }] + } + { + title: "Nitro-Tier" + x: -2.5d + y: -1.5d + shape: "hexagon" + subtitle: "The End-Game Experience" + dependencies: ["3DAFE71565C96772"] + optional: true + id: "2E6338B14D253550" + tasks: [{ + id: "701EF4BD9C8ED1E9" + type: "item" + item: "powah:crystal_nitro" + }] + rewards: [{ + id: "540BA6C263FF99A7" + type: "item" + item: "powah:crystal_nitro" + random_bonus: 3 + }] + } + { + title: "Spirited-Tier" + x: -4.5d + y: -1.5d + subtitle: "Villagers Hate Him!" + dependencies: ["53A9334110253E40"] + optional: true + id: "3DAFE71565C96772" + tasks: [{ + id: "2CE0A51871893409" + type: "item" + item: "powah:crystal_spirited" + }] + rewards: [{ + id: "534B5F497EC9236B" + type: "item" + item: "powah:crystal_spirited" + random_bonus: 3 + }] + } + { + title: "Binding Cards" + x: -7.5d + y: -3.5d + description: [ + "Next, you'll want a way to tell the Player Transmitter that *you* are the player that needs to be charged." + "" + "To do this, make yourself a Blank Card and then hold it in your main hand. Once you do, right-click on it to bind the card to your player!" + ] + dependencies: ["7891F31731AFF664"] + optional: true + id: "560EAB78E704C6B4" + tasks: [ + { + id: "20C534D6D6A875A2" + type: "item" + item: "powah:blank_card" + } + { + id: "0EC5ACF6011A12CC" + type: "item" + item: "powah:binding_card" + } + ] + rewards: [{ + id: "12613285124CC375" + type: "xp" + xp: 100 + }] + } + { + x: -7.5d + y: -4.5d + description: ["With your Binding Card, you can right-click it on an Enderman to make your Wireless Charging cross-dimensional!"] + dependencies: ["560EAB78E704C6B4"] + size: 0.5d + optional: true + id: "2318A5F6EC4837E0" + tasks: [{ + id: "133318DF03F79946" + type: "item" + item: "powah:binding_card_dim" + }] + rewards: [{ + id: "56CEE578E07256BB" + type: "xp" + xp: 100 + }] + } + { + title: "Wireless Player Charging" + x: -12.5d + y: -3.5d + description: ["To get started with craft yourself an Aerial Pearl. Once created, hold it in your hand and Right-Click while looking at a Zombie to bind it."] + dependencies: ["5640FD2D2222502B"] + optional: true + id: "7891F31731AFF664" + tasks: [ + { + id: "7859CCD3C33E2A48" + type: "item" + item: "powah:aerial_pearl" + } + { + id: "2E5164F3AE94E41F" + type: "item" + item: "powah:player_aerial_pearl" + } + ] + rewards: [{ + id: "483909424F33D7E0" + type: "xp" + xp: 100 + }] + } + { + title: "Player Transmitters" + x: -2.5d + y: -3.5d + shape: "hexagon" + description: [ + "" + "At this point, you can craft yourself a Player Transmitter which can be connected to your RF source! These different tiers of Player Transmitter are capable of transmitting more RF based on how expensive the Player Transmitter is." + ] + dependencies: ["560EAB78E704C6B4"] + optional: true + id: "1B60478B24F37F0D" + tasks: [{ + id: "34FEA7E97C1725EF" + type: "item" + title: "Any Player Transmitter" + item: { + id: "itemfilters:or" + Count: 1b + tag: { + items: [ + { + id: "powah:player_transmitter_starter" + Count: 1b + } + { + id: "powah:player_transmitter_basic" + Count: 1b + } + { + id: "powah:player_transmitter_hardened" + Count: 1b + } + { + id: "powah:player_transmitter_blazing" + Count: 1b + } + { + id: "powah:player_transmitter_niotic" + Count: 1b + } + { + id: "powah:player_transmitter_spirited" + Count: 1b + } + { + id: "powah:player_transmitter_nitro" + Count: 1b + } + ] + } + } + }] + rewards: [{ + id: "0644AA174DE2E19D" + type: "xp" + xp: 100 + }] + } + { + x: -10.5d + y: 3.0d + subtitle: "You'll need 36" + description: [ + "Using Uraninite, Redstone, Coal, Water and [Optionally] a Solid Coolant (like Ice, Packed Ice, etc..), you can create a TON of power by burning Uraninite." + "" + "Don't worry, these Reactors will *NOT* explode. I also strongly suggest turning on \"Auto\" mode using the button on the Left of the reactor GUI" + "{image:kubejs:textures/gui/powah_reactor_auto.png width:350 height:100 align:1 fit:true}" + ] + dependencies: [ + "68933FBF751E6439" + "74B79F18E8C26C80" + ] + optional: true + id: "1FAC5DBACA8553FD" + tasks: [{ + id: "47DD377FA3050FC6" + type: "item" + item: "powah:reactor_hardened" + count: 36L + }] + rewards: [{ + id: "2C803B9A7176D798" + type: "xp" + xp: 100 + }] + } + { + x: -8.5d + y: 3.0d + dependencies: [ + "68933FBF751E6439" + "3F870A789A91F255" + ] + optional: true + id: "7C703A724BBA7F90" + tasks: [{ + id: "1DDBCA8CEDBC9128" + type: "item" + item: "powah:reactor_blazing" + count: 36L + }] + rewards: [{ + id: "7E1A815C56093DB9" + type: "xp" + xp: 100 + }] + } + { + x: -6.5d + y: 3.0d + dependencies: [ + "68933FBF751E6439" + "53A9334110253E40" + ] + optional: true + id: "32A45264ACFBD1C2" + tasks: [{ + id: "43EF1E04AAF5C9BB" + type: "item" + item: "powah:reactor_niotic" + count: 36L + }] + rewards: [{ + id: "36BA68B938957A79" + type: "xp" + xp: 100 + }] + } + { + x: -4.5d + y: 3.0d + dependencies: [ + "68933FBF751E6439" + "3DAFE71565C96772" + ] + optional: true + id: "75E7CE136C507AFA" + tasks: [{ + id: "69F8797D075AAFEB" + type: "item" + item: "powah:reactor_spirited" + count: 36L + }] + rewards: [{ + id: "3E68BD746321D041" + type: "xp" + xp: 100 + }] + } + { + x: -2.5d + y: 3.0d + dependencies: [ + "68933FBF751E6439" + "2E6338B14D253550" + ] + optional: true + id: "61B5566F6DEF9266" + tasks: [{ + id: "0ED66672130E1EC3" + type: "item" + item: "powah:reactor_nitro" + count: 36L + }] + rewards: [{ + id: "3909402472CA7D33" + type: "xp" + xp: 100 + }] + } + { + x: -10.5d + y: 0.0d + dependencies: ["74B79F18E8C26C80"] + optional: true + id: "7698A006A2098EE5" + tasks: [{ + id: "35E5F096D73EC856" + type: "item" + item: { + id: "powah:battery_hardened" + Count: 1b + tag: { } + } + }] + rewards: [{ + id: "48170F6F8CE28DDF" + type: "xp" + xp: 100 + }] + } + { + x: -8.5d + y: 0.0d + dependencies: ["3F870A789A91F255"] + optional: true + id: "1288BBB7617A4D44" + tasks: [{ + id: "01FDA2A46002EC07" + type: "item" + item: { + id: "powah:battery_blazing" + Count: 1b + tag: { } + } + }] + rewards: [{ + id: "48AE539D945ED70D" + type: "xp" + xp: 100 + }] + } + { + x: -6.5d + y: 0.0d + dependencies: ["53A9334110253E40"] + optional: true + id: "3EEAB9CE3E455FAF" + tasks: [{ + id: "3AD2A4128F382158" + type: "item" + item: { + id: "powah:battery_niotic" + Count: 1b + tag: { } + } + }] + rewards: [{ + id: "6646F5988774D70F" + type: "xp" + xp: 100 + }] + } + { + x: -4.5d + y: 0.0d + dependencies: ["3DAFE71565C96772"] + optional: true + id: "6A4D6BB7C1BDDBE2" + tasks: [{ + id: "11748CB33D832352" + type: "item" + item: { + id: "powah:battery_spirited" + Count: 1b + tag: { } + } + }] + rewards: [{ + id: "6D4338FB0E733914" + type: "xp" + xp: 100 + }] + } + { + x: -2.5d + y: 0.0d + dependencies: ["2E6338B14D253550"] + optional: true + id: "1358D21E45820916" + tasks: [{ + id: "67161DF91B4802CF" + type: "item" + item: { + id: "powah:battery_nitro" + Count: 1b + tag: { } + } + }] + rewards: [{ + id: "766087EA909B0252" + type: "xp" + xp: 100 + }] + } + { + x: -10.5d + y: 1.5d + dependencies: ["74B79F18E8C26C80"] + optional: true + id: "5D926CBE3803475A" + tasks: [{ + id: "531B069C148273EF" + type: "item" + item: "powah:furnator_hardened" + }] + rewards: [{ + id: "00E774D32551B5E1" + type: "xp" + xp: 100 + }] + } + { + x: -8.5d + y: 1.5d + dependencies: ["3F870A789A91F255"] + optional: true + id: "48E57120E0179B5C" + tasks: [{ + id: "6F82AEB0EDE16C7A" + type: "item" + item: "powah:furnator_blazing" + }] + rewards: [{ + id: "411E662A2855FBF2" + type: "xp" + xp: 100 + }] + } + { + x: -6.5d + y: 1.5d + dependencies: ["53A9334110253E40"] + optional: true + id: "6432C52C90108A4C" + tasks: [{ + id: "6C65F03106D46CF7" + type: "item" + item: "powah:furnator_niotic" + }] + rewards: [{ + id: "100033882D828CC1" + type: "xp" + xp: 100 + }] + } + { + x: -4.5d + y: 1.5d + dependencies: ["3DAFE71565C96772"] + optional: true + id: "34543F400FC620E4" + tasks: [{ + id: "4D191B8D3D65BFAE" + type: "item" + item: "powah:furnator_spirited" + }] + rewards: [{ + id: "4D6399A080D5F96D" + type: "xp" + xp: 100 + }] + } + { + x: -2.5d + y: 1.5d + subtitle: "The ultimate Tree-Killer" + dependencies: ["2E6338B14D253550"] + optional: true + id: "13C3249CDD52A1B5" + tasks: [{ + id: "5F4AA73C61FF11E8" + type: "item" + item: "powah:furnator_nitro" + }] + rewards: [{ + id: "5FAE456E5020223F" + type: "xp" + xp: 100 + }] + } + { + x: -12.5d + y: 3.0d + shape: "octagon" + description: ["By Metallurgically Infusing your Uranium Ingots with Redstone, you've created Uraninite. This looks like it might be able to be used in a Reactor - maybe you should look into that!"] + hide_dependency_lines: true + dependencies: ["74FD88E2CFF4B84C"] + optional: true + id: "68933FBF751E6439" + tasks: [{ + id: "082A528382DCA713" + type: "item" + item: "powah:uraninite" + }] + rewards: [{ + id: "544390D6AE7CC978" + type: "item" + item: "powah:uraninite" + count: 8 + random_bonus: 8 + }] + } + ] +} diff --git a/config/ftbquests/quests/chapters/tech_stuff.snbt b/config/ftbquests/quests/chapters/tech_stuff.snbt index b031a23..88114c0 100644 --- a/config/ftbquests/quests/chapters/tech_stuff.snbt +++ b/config/ftbquests/quests/chapters/tech_stuff.snbt @@ -1,7 +1,7 @@ { id: "4138B7896CD89F22" group: "6F245F11B3688A37" - order_index: 5 + order_index: 6 filename: "tech_stuff" title: "Other Tech" icon: "pipez:universal_pipe" @@ -10,8 +10,8 @@ quests: [ { title: "Pipes/Ducts" - x: -3.75d - y: -3.75d + x: -3.0d + y: -3.0d shape: "rsquare" description: [ "While IE Conveyors and Create Belts are GREAT for item transfer, if you want lag-free guaranteed-to-work item transfer, I can't suggest Pipez enough." @@ -33,32 +33,10 @@ item: "pipez:wrench" }] } - { - title: "Powah" - x: -5.25d - y: -0.75d - shape: "rsquare" - description: ["Much of Powah is gated behind Steel, but once ou're done there you can go ham with most generators! A lot of the imbalanced generators have been disabled for the sanctity of this pack, but outside of that you can do so much with Reactors!"] - size: 1.5d - optional: true - id: "68EA1AC4051942A0" - tasks: [{ - id: "32B7EC1591F5687F" - type: "item" - item: "powah:dielectric_paste" - }] - rewards: [{ - id: "2C7DF9E2047E6452" - type: "item" - item: "powah:charged_snowball" - count: 12 - random_bonus: 4 - }] - } { title: "Flux Networks" - x: -3.75d - y: 2.25d + x: -3.0d + y: 1.5d shape: "rsquare" description: [ "Flux Networks is a great mod for inter-dimensional wireless power to both your own inventory and to/from other machines!" @@ -111,7 +89,7 @@ title: "Other Utilities" icon: { id: "chickenchunks:chunk_loader", Count: 15b } x: 0.0d - y: 2.25d + y: 1.5d shape: "rsquare" description: [ "Chicken Chunks is a great chunk loading mod with lots of configuration, so if you need to leave something processing while you run off adventuring, toss a chunk loader down!" @@ -137,7 +115,7 @@ title: "Torchmaster" icon: "torchmaster:megatorch" x: 0.0d - y: -3.75d + y: -3.0d shape: "rsquare" description: [ "Torchmaster is a lighting mod that takes all of your concerns about lighting and puts them in the backseat." @@ -165,9 +143,9 @@ }] } { - title: "Automated Large Crafting" - x: -1.7321428571428612d - y: -0.7857142857142847d + title: "Automated Mega-Crafting" + x: -4.5d + y: -0.75d description: [ "As you've no doubt noticed, a lot of larger blocks or more powerful creations make use of Create's Mechanical Crafting. I get that this can be tedious, so if you make the Ultimate Crafting Table you can more efficiently automate these recipes at the cost of some RF." "" @@ -181,6 +159,7 @@ ] dependency_requirement: "one_completed" size: 1.5d + optional: true id: "1B07D6AE58A8A0F1" tasks: [{ id: "0BF7025CB679E02B" @@ -195,5 +174,48 @@ random_bonus: 2 }] } + { + title: "Compact Machines" + x: -1.5d + y: -0.75d + description: [ + "Compact Machines are a great way to set up laggy, noisy or dangerous builds in a nice spatial bubble all stored within a single block" + "" + "Use the Shrinking Device as a guide to learn more about how the mod works, and get started!" + ] + size: 1.5d + optional: true + id: "4E517C0500A7F3B0" + tasks: [{ + id: "5037F426D648E10E" + type: "item" + title: "Any Compact Machine" + item: { + id: "itemfilters:or" + Count: 1b + tag: { + items: [ + { + id: "compactmachines:machine_normal" + Count: 1b + } + { + id: "compactmachines:machine_large" + Count: 1b + } + { + id: "compactmachines:machine_giant" + Count: 1b + } + ] + } + } + }] + rewards: [{ + id: "4414239AAE0E4001" + type: "item" + item: "compactmachines:personal_shrinking_device" + }] + } ] } diff --git a/kubejs/assets/kubejs/textures/gui/energizing.png b/kubejs/assets/kubejs/textures/gui/energizing.png new file mode 100644 index 0000000..db49015 Binary files /dev/null and b/kubejs/assets/kubejs/textures/gui/energizing.png differ diff --git a/kubejs/assets/kubejs/textures/gui/powah_reactor_auto.png b/kubejs/assets/kubejs/textures/gui/powah_reactor_auto.png new file mode 100644 index 0000000..d90359c Binary files /dev/null and b/kubejs/assets/kubejs/textures/gui/powah_reactor_auto.png differ diff --git a/kubejs/client_scripts/HarmoniousEngineering/jei.js b/kubejs/client_scripts/HarmoniousEngineering/jei.js index 498cf41..d433feb 100644 --- a/kubejs/client_scripts/HarmoniousEngineering/jei.js +++ b/kubejs/client_scripts/HarmoniousEngineering/jei.js @@ -132,6 +132,65 @@ onEvent('jei.hide.items', event => { 'emendatusenigmatica:molten_charged_certus_quartz_bucket', 'emendatusenigmatica:molten_fluix_bucket', 'emendatusenigmatica:quartz_gear', + 'extcaves:chef_knife', + 'extcaves:butcher_knife', + 'extcaves:gourmet_fork', + 'extcaves:gourmet_spoon', + 'extcaves:iron_dagger', + 'extcaves:pebble_andesite', + 'extcaves:pebble_diorite', + 'extcaves:pebble_granite', + 'extcaves:pebble_lavastone', + 'extcaves:pebble_sedimentstone', + 'extcaves:pebble_stone', + 'extcaves:picker_flint', + 'extcaves:picker_stone', + 'extcaves:rock_flint', + 'extcaves:rock_pebble_andesite', + 'extcaves:rock_pebble_diorite', + 'extcaves:rock_pebble_granite', + 'extcaves:rock_pebble_lavastone', + 'extcaves:rock_pebble_sedimentstone', + 'extcaves:rock_pebble_stone', + 'extcaves:rock_stalactite_andesite', + 'extcaves:rock_stalactite_diorite', + 'extcaves:rock_stalactite_granite', + 'extcaves:rock_stalactite_lavastone', + 'extcaves:rock_stalactite_sedimentstone', + 'extcaves:rock_stalactite_stone', + 'extcaves:rock_stalactite_tall_andesite', + 'extcaves:rock_stalactite_tall_diorite', + 'extcaves:rock_stalactite_tall_granite', + 'extcaves:rock_stalactite_tall_lavastone', + 'extcaves:rock_stalactite_tall_sedimentstone', + 'extcaves:rock_stalactite_tall_stone', + 'extcaves:rock_stalagmite_andesite', + 'extcaves:rock_stalagmite_diorite', + 'extcaves:rock_stalagmite_granite', + 'extcaves:rock_stalagmite_lavastone', + 'extcaves:rock_stalagmite_sedimentstone', + 'extcaves:rock_stalagmite_stone', + 'extcaves:rock_stalagmite_tall_andesite', + 'extcaves:rock_stalagmite_tall_diorite', + 'extcaves:rock_stalagmite_tall_granite', + 'extcaves:rock_stalagmite_tall_lavastone', + 'extcaves:rock_stalagmite_tall_sedimentstone', + 'extcaves:rock_stalagmite_tall_stone', + 'extcaves:rockpile_three_andesite', + 'extcaves:rockpile_three_diorite', + 'extcaves:rockpile_three_granite', + 'extcaves:rockpile_three_lavastone', + 'extcaves:rockpile_three_sedimentstone', + 'extcaves:rockpile_three_stone', + 'extcaves:rockpile_two_andesite', + 'extcaves:rockpile_two_diorite', + 'extcaves:rockpile_two_granite', + 'extcaves:rockpile_two_lavastone', + 'extcaves:rockpile_two_sedimentstone', + 'extcaves:rockpile_two_stone', + 'extcaves:rusty_pickaxe', + 'extcaves:rusty_sword', + 'extcaves:wooden_cane', 'extendedcrafting:advanced_auto_table', 'extendedcrafting:advanced_catalyst', 'extendedcrafting:advanced_component', @@ -378,6 +437,13 @@ onEvent('jei.hide.items', event => { 'powah:ender_gate_nitro', 'powah:ender_gate_spirited', 'powah:ender_gate_starter', + 'powah:ender_cell_basic', + 'powah:ender_cell_blazing', + 'powah:ender_cell_hardened', + 'powah:ender_cell_niotic', + 'powah:ender_cell_nitro', + 'powah:ender_cell_spirited', + 'powah:ender_cell_starter', 'powah:energy_cable_basic', 'powah:energy_cable_blazing', 'powah:energy_cable_hardened', diff --git a/kubejs/server_scripts/HarmoniousEngineering/recipes/extcaves.js b/kubejs/server_scripts/HarmoniousEngineering/recipes/extcaves.js index 82a2ea0..9fdcff2 100644 --- a/kubejs/server_scripts/HarmoniousEngineering/recipes/extcaves.js +++ b/kubejs/server_scripts/HarmoniousEngineering/recipes/extcaves.js @@ -2,4 +2,6 @@ onEvent('recipes', event => { ['stone', 'sedimentstone', 'lavastone'].forEach(x => { event.remove({output: `extcaves:pebble_${x}`}); }); + event.remove({output: 'extcaves:picker_stone'}); + event.remove({output: 'extcaves:picker_flint'}); }); diff --git a/kubejs/server_scripts/HarmoniousEngineering/recipes/powah.js b/kubejs/server_scripts/HarmoniousEngineering/recipes/powah.js index 37f412d..9dd6929 100644 --- a/kubejs/server_scripts/HarmoniousEngineering/recipes/powah.js +++ b/kubejs/server_scripts/HarmoniousEngineering/recipes/powah.js @@ -1,4 +1,6 @@ onEvent('recipes', event => { + const tiers = ['basic', 'hardened', 'blazing', 'niotic', 'spirited', 'nitro']; + event.remove({id: 'powah:crafting/cable_basic'}); event.remove({id: 'powah:crafting/cable_basic_2'}); event.remove({id: 'powah:crafting/cable_blazing'}); @@ -22,6 +24,13 @@ onEvent('recipes', event => { event.remove({id: 'powah:crafting/ender_gate_nitro'}); event.remove({id: 'powah:crafting/ender_gate_spirited'}); event.remove({id: 'powah:crafting/ender_gate_starter'}); + event.remove({id: 'powah:crafting/ender_cell_basic'}); + event.remove({id: 'powah:crafting/ender_cell_blazing'}); + event.remove({id: 'powah:crafting/ender_cell_hardened'}); + event.remove({id: 'powah:crafting/ender_cell_niotic'}); + event.remove({id: 'powah:crafting/ender_cell_nitro'}); + event.remove({id: 'powah:crafting/ender_cell_spirited'}); + event.remove({id: 'powah:crafting/ender_cell_starter'}); event.remove({id: 'powah:crafting/magmator_basic'}); event.remove({id: 'powah:crafting/magmator_blazing'}); event.remove({id: 'powah:crafting/magmator_hardened'}); @@ -44,42 +53,68 @@ onEvent('recipes', event => { event.remove({id: 'powah:crafting/thermo_generator_nitro'}); event.remove({id: 'powah:crafting/thermo_generator_spirited'}); event.remove({id: 'powah:crafting/thermo_generator_starter'}); - event.remove({id: 'powah:crafting/dielectric_paste'}); event.remove({id: 'powah:crafting/dielectric_rod'}); - + event.remove({id: 'powah:crafting/dielectric_casing'}); + event.remove({id: 'powah:energizing/energized_steel'}); event.remove({output: 'powah:ender_core'}); event.custom({ type: 'natural-progression:damage_tools', ingredients: [ - { - tag: 'forge:silicon', - }, - { - tag: 'forge:dusts/coal', - }, - { - tag: 'forge:dusts/coal', - }, - { - tag: 'forge:dusts/coal', - }, - { - item: 'create:super_glue', - }, - { - tag: 'appliedenergistics2:knife', - }, + {tag: 'forge:silicon'}, + {tag: 'forge:dusts/coal'}, + {tag: 'forge:dusts/coal'}, + {tag: 'forge:dusts/coal'}, + {item: 'create:super_glue'}, + {tag: 'forge:tools/knives'}, ], - result: { - item: 'powah:dielectric_paste', - count: 8, - }, + result: {item: 'powah:dielectric_paste', count: 8}, + }); + event.custom({ + type: 'create:mixing', + ingredients: [ + {tag: 'forge:silicon'}, + {tag: 'forge:dusts/coal'}, + {tag: 'forge:dusts/coal'}, + {tag: 'forge:dusts/coal'}, + {tag: 'forge:slimeballs'}, + ], + results: [{item: 'powah:dielectric_paste', count: 8}], }); - event.shaped('64x powah:dielectric_rod', ['PSP', 'PSP', 'PSP'], { - P: 'powah:dielectric_paste', - S: '#forge:ingots/steel', + event.custom({ + type: 'thermal:press', + ingredients: [{item: 'thermal:rf_coil'}, {item: 'powah:dielectric_paste', count: 6}], + result: [{item: 'powah:dielectric_rod', count: 24}], + }); + + global.genCombinedRecipe( + event, + Ingredient.of('thermal:machine_frame'), + Ingredient.of('powah:dielectric_paste'), + Item.of('powah:dielectric_casing') + ); + + event.custom({ + type: 'powah:energizing', + ingredients: [{tag: 'forge:ingots/steel'}], + energy: 10000, + result: {item: 'powah:steel_energized'}, + }); + + tiers.forEach((tier, idx) => { + const nextTier = idx === tiers.length - 1 ? null : tiers[idx + 1]; + if (nextTier) { + const currReactor = `powah:reactor_${tier}`; + const nextReactor = `powah:reactor_${nextTier}`; + const nextCapacitor = `powah:capacitor_${nextTier}`; + global.genCombinedRecipe( + event, + Ingredient.of(currReactor), + Ingredient.of(nextCapacitor), + Item.of(nextReactor) + ); + } }); }); diff --git a/kubejs/server_scripts/HarmoniousEngineering/tags.js b/kubejs/server_scripts/HarmoniousEngineering/tags.js index e31362a..8ceea22 100644 --- a/kubejs/server_scripts/HarmoniousEngineering/tags.js +++ b/kubejs/server_scripts/HarmoniousEngineering/tags.js @@ -229,6 +229,32 @@ const removeGears = event => { }); }; +const miscTags = event => { + event.add('forge:stone', 'quark:deepslate'); + event.add('valhelsia_structures:axe_crafting_blacklisted', '#natural-progression:saw'); + event.add('forge:dusts/ender', 'betterendforge:ender_dust'); + event.add('forge:dusts/ender', 'appliedenergistics2:ender_dust'); + event.add('create:crushed_ores', 'emendatusenigmatica:cobalt_crushed'); + event.add('forge:wither_bones', 'architects_palette:withered_bone'); + + [ + 'tools_complement:iron_knife', + 'tools_complement:gold_knife', + 'tools_complement:diamond_knife', + 'tools_complement:netherite_knife', + 'tools_complement:copper_knife', + 'tools_complement:tin_knife', + 'tools_complement:silver_knife', + 'tools_complement:lead_knife', + 'tools_complement:nickel_knife', + 'tools_complement:bronze_knife', + 'tools_complement:electrum_knife', + 'tools_complement:invar_knife', + 'tools_complement:constantan_knife', + '#appliedenergistics2:knife', + ].forEach(x => event.add('forge:tools/knives', x)); +}; + onEvent('tags.blocks', event => { event.add('forge:stone', 'quark:deepslate'); [ @@ -260,10 +286,5 @@ onEvent('tags.items', event => { removeGears(event); thermalTags(event); curiousElytraTags(event); - event.add('forge:stone', 'quark:deepslate'); - event.add('valhelsia_structures:axe_crafting_blacklisted', '#natural-progression:saw'); - event.add('forge:dusts/ender', 'betterendforge:ender_dust'); - event.add('forge:dusts/ender', 'appliedenergistics2:ender_dust'); - event.add('create:crushed_ores', 'emendatusenigmatica:cobalt_crushed'); - event.add('forge:wither_bones', 'architects_palette:withered_bone'); + miscTags(event); });