fix and add crafting recipes (#10)

* fix and add crafting recipes

* Update home_vending_machines/crafts.lua

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>

* fix luacheck warning

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
This commit is contained in:
Niklp
2022-06-29 14:02:38 +02:00
committed by GitHub
parent eacbe80fae
commit 0724b0dda9
6 changed files with 29 additions and 6 deletions

View File

@ -9,7 +9,7 @@ if minetest.get_modpath("default") then
},
})
end
if minetest.get_modpath("vessel") then
if minetest.get_modpath("vessels") then
minetest.register_craft({
output = "home_vending_machines:drink_machine",
recipe = {
@ -19,7 +19,7 @@ if minetest.get_modpath("default") then
},
})
end
if minetest.get_modpath("farming") then
if farming and farming.mod == "redo" then
minetest.register_craft({
output = "home_vending_machines:sweet_machine",
recipe = {

View File

@ -1 +1,2 @@
optional_depends = screwdriver
name = home_vending_machines
optional_depends = screwdriver, default, dye, vessels, farming