From 992056077aead3b650a602fcc21fcdeef29d0edf Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Sun, 6 Feb 2022 00:15:51 -0600 Subject: [PATCH] tweaks to quests, recipes --- .../ftbquests/quests/chapters/early_game.snbt | 52 +++++++++++++++++++ .../HarmoniousEngineering/recipes/_custom.js | 1 - .../HarmoniousEngineering/recipes/create.js | 7 +++ 3 files changed, 59 insertions(+), 1 deletion(-) diff --git a/config/ftbquests/quests/chapters/early_game.snbt b/config/ftbquests/quests/chapters/early_game.snbt index cff3e23..a9d0de0 100644 --- a/config/ftbquests/quests/chapters/early_game.snbt +++ b/config/ftbquests/quests/chapters/early_game.snbt @@ -249,5 +249,57 @@ item: "immersiveengineering:craftingtable" }] } + { + title: "In Search of Kelp" + icon: "minecraft:kelp" + x: 12.0d + y: 4.5d + shape: "rsquare" + description: [ + "If you find yourself in search of Kelp with no hope to be found, this quest has got you covered :)" + "" + "Thanks to the immense size of biomes and world generation in Terraforged, you may struggle to find an ocean. This quest is here to prevent you from going on a 2 hour expedition for Kelp when you eventually need it later!" + ] + dependencies: ["0AA54D344D1DC314"] + size: 0.8d + optional: true + id: "15DFCFD41D25EF08" + tasks: [ + { + id: "77D7572DCB17FDA9" + type: "stat" + title: "Walk/run 1000 blocks." + icon: { + id: "ftbquests:custom_icon" + Count: 1b + tag: { + Icon: "minecraft:textures/mob_effect/speed.png" + } + } + stat: "minecraft:walk_one_cm" + value: 2000 + } + { + id: "1FBBCDB3153BA9A4" + type: "stat" + title: "Set foot in water at least once." + icon: { + id: "ftbquests:custom_icon" + Count: 1b + tag: { + Icon: "minecraft:textures/mob_effect/water_breathing.png" + } + } + stat: "minecraft:walk_on_water_one_cm" + value: 1 + } + ] + rewards: [{ + id: "3E89D7F3F728E1D2" + type: "item" + item: "minecraft:kelp" + random_bonus: 2 + }] + } ] } diff --git a/kubejs/server_scripts/HarmoniousEngineering/recipes/_custom.js b/kubejs/server_scripts/HarmoniousEngineering/recipes/_custom.js index 534a07b..786eb06 100644 --- a/kubejs/server_scripts/HarmoniousEngineering/recipes/_custom.js +++ b/kubejs/server_scripts/HarmoniousEngineering/recipes/_custom.js @@ -25,7 +25,6 @@ const campfire = event => { }; const crafting = event => { - event.shapeless('1x minecraft:kelp', ['2x minecraft:seagrass', 'thermal:phytogro']); global.genAlloyingRecipe( event, {tag: 'chipped:andesite'}, diff --git a/kubejs/server_scripts/HarmoniousEngineering/recipes/create.js b/kubejs/server_scripts/HarmoniousEngineering/recipes/create.js index 0db5741..2e2c773 100644 --- a/kubejs/server_scripts/HarmoniousEngineering/recipes/create.js +++ b/kubejs/server_scripts/HarmoniousEngineering/recipes/create.js @@ -18,6 +18,7 @@ onEvent('recipes', event => { event.remove({output: 'create:zinc_ingot'}); event.remove({output: 'create:mechanical_saw'}); + event.remove({output: 'create:mechanical_drill'}); event.remove({output: 'create:hand_crank'}); event.remove({output: 'create:water_wheel'}); event.remove({output: 'create:white_sail'}); @@ -82,6 +83,12 @@ onEvent('recipes', event => { Ingredient.of('#harmeng:saw_blade'), Item.of('create:mechanical_saw') ); + global.genCombinedRecipe( + event, + Ingredient.of('create:andesite_casing'), + Ingredient.of('thermal:drill_head'), + Item.of('create:mechanical_drill') + ); event.custom({ type: 'create:cutting',