mirror of
https://github.com/joe7575/techpack.git
synced 2024-12-25 23:17:36 +01:00
recipes for unified_inventory added
This commit is contained in:
parent
907fa6b362
commit
e5d6de9b76
@ -4,3 +4,4 @@ stairs?
|
||||
moreores?
|
||||
farming?
|
||||
ethereal?
|
||||
unified_inventory?
|
||||
|
@ -277,6 +277,31 @@ minetest.register_craftitem("tubelib_addons1:biogas", {
|
||||
inventory_image = "tubelib_addons1_biogas.png",
|
||||
})
|
||||
|
||||
if minetest.global_exists("unified_inventory") then
|
||||
unified_inventory.register_craft_type("fermenting", {
|
||||
description = "Fermenter",
|
||||
icon = "tubelib_addons1_fermenter_inventory.png",
|
||||
width = 2,
|
||||
height = 2,
|
||||
})
|
||||
unified_inventory.register_craft_type("reforming", {
|
||||
description = "Reformer",
|
||||
icon = "tubelib_addons1_reformer_inventory.png",
|
||||
width = 2,
|
||||
height = 2,
|
||||
})
|
||||
unified_inventory.register_craft({
|
||||
items = {"group:leaves", "group:leaves"},
|
||||
output = "tubelib_addons1:biogas",
|
||||
type = "fermenting"
|
||||
})
|
||||
unified_inventory.register_craft({
|
||||
items = {"tubelib_addons1:biogas", "tubelib_addons1:biogas",
|
||||
"tubelib_addons1:biogas", "tubelib_addons1:biogas"},
|
||||
output = "tubelib_addons1:biofuel",
|
||||
type = "reforming"
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = "tubelib_addons1:fermenter",
|
||||
|
Loading…
Reference in New Issue
Block a user