From b500873215d850ee629483a2f77883b224e3a2be Mon Sep 17 00:00:00 2001 From: sys4 Date: Wed, 15 Jul 2020 01:37:23 +0200 Subject: [PATCH] Fix taking wielded items with some ingredients + add mod.conf --- init.lua | 2 ++ mod.conf | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 mod.conf diff --git a/init.lua b/init.lua index 84a883d..487539e 100644 --- a/init.lua +++ b/init.lua @@ -676,6 +676,8 @@ minetest.register_node("witchcraft:pot_"..color, { minetest.set_node(pos, {name="witchcraft:pot_"..cresult, param2=node.param2}) itemstack:replace("vessels:glass_bottle") end + + return itemstack end, groups = {cracky=1, falling_node=1, oddly_breakable_by_hand=1} }) diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..8dc8799 --- /dev/null +++ b/mod.conf @@ -0,0 +1,3 @@ +name = witchcraft +depends = default,vessels,tnt,fire,playereffects +optional_depends = player_monoids,farming,lightning,pmobs,hud_hunger,hunger_ng,moreplants,horror