From defce9209f3ed53e7b31ac05c7849776416a620b Mon Sep 17 00:00:00 2001 From: Patrick 'Quezler' Mounier Date: Wed, 18 May 2022 19:37:48 +0200 Subject: [PATCH] Exempt botany pot recipes from fallback_id Awaiting one or both of these getting merged: https://github.com/Darkhax-Minecraft/BotanyPots/pull/227 https://github.com/Darkhax-Minecraft/BotanyPots/pull/226 --- .../kubejs/base/unification/unify_growables.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kubejs/server_scripts/enigmatica/kubejs/base/unification/unify_growables.js b/kubejs/server_scripts/enigmatica/kubejs/base/unification/unify_growables.js index 1933ba11ba..7fab5a6e0f 100644 --- a/kubejs/server_scripts/enigmatica/kubejs/base/unification/unify_growables.js +++ b/kubejs/server_scripts/enigmatica/kubejs/base/unification/unify_growables.js @@ -43,13 +43,13 @@ function soils_botany_pots(event, soil) { display.properties = { moisture: 7 }; } - fallback_id(event.custom({ + event.custom({ type: 'botanypots:soil', input: { item: input }, display: display, categories: soil.categories, growthModifier: soil.growthModifier - }), `enigmatica:base/unification/unify_growables/${arguments.callee.name}/`); + }); } function crops_botany_pots(event, type, crop) { @@ -134,14 +134,14 @@ function crops_botany_pots(event, type, crop) { }); } - fallback_id(event.custom({ + event.custom({ type: 'botanypots:crop', seed: { item: input }, categories: [crop.substrate], growthTicks: growthTicks * growthModifier, display: { block: crop.render }, results: outputs - }), `enigmatica:base/unification/unify_growables/${arguments.callee.name}/`); + }); } function crops_thermal_insolator(event, type, crop) { @@ -493,14 +493,14 @@ function trees_botany_pots(event, type, tree) { growthModifier = 0.5; } - fallback_id(event.custom({ + event.custom({ type: 'botanypots:crop', seed: { item: input }, categories: [tree.substrate], growthTicks: growthTicks * growthModifier, display: { block: input }, results: outputs - }), `enigmatica:base/unification/unify_growables/${arguments.callee.name}/`); + }); } function trees_thermal_insolator(event, tree) {