summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extranodes/aspirin.lua2
-rw-r--r--technic/machines/register/extractor_recipes.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/extranodes/aspirin.lua b/extranodes/aspirin.lua
index a9ddad8..126f726 100644
--- a/extranodes/aspirin.lua
+++ b/extranodes/aspirin.lua
@@ -6,7 +6,7 @@
local S = rawget(_G, "intllib") and intllib.Getter() or function(s) return s end
-if minetest.get_modpath("hunger") and minetest.get_modpath("ethereal") then
+if (minetest.get_modpath("hunger") or minetest.get_modpath("hbhunger")) and minetest.get_modpath("ethereal") then
minetest.register_craftitem(":technic:aspirin_pill", {
description = S("Aspirin pill"),
diff --git a/technic/machines/register/extractor_recipes.lua b/technic/machines/register/extractor_recipes.lua
index 722e6b7..15da6b4 100644
--- a/technic/machines/register/extractor_recipes.lua
+++ b/technic/machines/register/extractor_recipes.lua
@@ -29,7 +29,7 @@ if minetest.get_modpath("dye") then
{"bushes:blueberry", unifieddyes and "unifieddyes:magenta_s50 4" or "dye:magenta 4"},
}
- if minetest.get_modpath("hunger") and minetest.get_modpath("ethereal") then
+ if (minetest.get_modpath("hunger") or minetest.get_modpath("hbhunger")) and minetest.get_modpath("ethereal") then
table.insert(dye_recipes, {"ethereal:willow_twig 12", "technic:aspirin_pill"})
end