fix bag recipe
This commit is contained in:
parent
072916a94e
commit
f4f3b37d58
28
bag.lua
28
bag.lua
@ -21,31 +21,3 @@ minetest.register_tool("cannabis:bag_bob_large", {
|
||||
groups = {bagslots=24},
|
||||
})
|
||||
end
|
||||
-- register bag crafts
|
||||
--if minetest.get_modpath("farming") ~= nil then
|
||||
minetest.register_craft({
|
||||
output = "cannabis:bag_bob_small",
|
||||
recipe = {
|
||||
{"", "cannabis:canapa_fiber", ""},
|
||||
{"cannabis:canapa_cloth", "cannabis:canapa_cloth", "cannabis:canapa_cloth"},
|
||||
{"cannabis:canapa_cloth", "cannabis:canapa_cloth", "cannabis:canapa_cloth"},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "cannabis:bag_bob_medium",
|
||||
recipe = {
|
||||
{"", "", ""},
|
||||
{"cannabis:canapa_fiber", "cannabis:bag_small", "cannabis:canapa_fiber"},
|
||||
{"cannabis:canapa_fiber", "cannabis:bag_small", "cannabis:canapa_fiber"},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "cannabis:bag_bob_large",
|
||||
recipe = {
|
||||
{"", "", ""},
|
||||
{"cannabis:cannabis_tessuto_block", "cannabis:bag_medium", "cannabis:cannabis_tessuto_block"},
|
||||
{"cannabis:cannabis_tessuto_block", "cannabis:bag_medium", "cannabis:cannabis_tessuto_block"},
|
||||
},
|
||||
})
|
||||
|
@ -212,3 +212,34 @@ minetest.register_craft({
|
||||
recipe = {"cannabis:fibra_ingot", "cannabis:foglie_ingot", "cannabis:tessuto_ingot"}
|
||||
})
|
||||
|
||||
-- register bag crafts
|
||||
if minetest.get_modpath("unified_inventory") ~= nil then
|
||||
minetest.register_craft({
|
||||
output = "cannabis:bag_bob_small",
|
||||
recipe = {
|
||||
{"","cannabis:canapa_fiber",""},
|
||||
{"cannabis:canapa_cloth", "cannabis:canapa_cloth", "cannabis:canapa_cloth"},
|
||||
{"cannabis:canapa_cloth", "cannabis:canapa_cloth", "cannabis:canapa_cloth"},
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = "cannabis:bag_bob_medium",
|
||||
recipe = {
|
||||
{"cannabis:canapa_cloth","","cannabis:canapa_cloth"},
|
||||
{"cannabis:canapa_fiber", "cannabis:bag_bob_small", "cannabis:canapa_fiber"},
|
||||
{"cannabis:canapa_fiber", "cannabis:bag_bob_small", "cannabis:canapa_fiber"},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "cannabis:bag_bob_large",
|
||||
recipe = {
|
||||
{"cannabis:canapa_cloth","cannabis:canapa_cloth","cannabis:canapa_cloth"},
|
||||
{"cannabis:cannabis_tessuto_block", "cannabis:bag_bob_medium", "cannabis:cannabis_tessuto_block"},
|
||||
{"cannabis:cannabis_tessuto_block", "cannabis:bag_bob_medium", "cannabis:cannabis_tessuto_block"},
|
||||
},
|
||||
})
|
||||
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user