Fix taking wielded items with some ingredients + add mod.conf

This commit is contained in:
Sys Quatre 2020-07-15 01:37:23 +02:00
parent 0e277c51fb
commit b500873215
2 changed files with 5 additions and 0 deletions

View File

@ -676,6 +676,8 @@ minetest.register_node("witchcraft:pot_"..color, {
minetest.set_node(pos, {name="witchcraft:pot_"..cresult, param2=node.param2}) minetest.set_node(pos, {name="witchcraft:pot_"..cresult, param2=node.param2})
itemstack:replace("vessels:glass_bottle") itemstack:replace("vessels:glass_bottle")
end end
return itemstack
end, end,
groups = {cracky=1, falling_node=1, oddly_breakable_by_hand=1} groups = {cracky=1, falling_node=1, oddly_breakable_by_hand=1}
}) })

3
mod.conf Normal file
View File

@ -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