forked from nalc/homedecor_modpack
fix bed recipe
This commit is contained in:
parent
fe92fdc373
commit
36dc31416e
@ -2488,27 +2488,21 @@ local bedcolors = {
|
||||
{ "brown", "brown" },
|
||||
}
|
||||
|
||||
for c in ipairs(bedcolors) do
|
||||
local color = bedcolors[c][1]
|
||||
local woolcolor = bedcolors[c][2]
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:bed_"..color.."_regular",
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:bed_regular",
|
||||
recipe = {
|
||||
{ "group:stick", "", "group:stick" },
|
||||
{ "wool:white", "wool:"..woolcolor, "wool:"..woolcolor },
|
||||
{ "wool:white", "wool:white", "wool:white" },
|
||||
{ "group:wood", "", "group:wood" },
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:bed_"..color.."_kingsize",
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:bed_kingsize",
|
||||
recipe = {
|
||||
{ "homedecor:bed_"..color.."_regular", "homedecor:bed_"..color.."_regular" }
|
||||
{ "homedecor:bed_regular", "homedecor:bed_regular" }
|
||||
},
|
||||
})
|
||||
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:bottle_green",
|
||||
|
Loading…
Reference in New Issue
Block a user