Override craft recipe of default beds (red) #108
This commit is contained in:
parent
040f39e388
commit
67d87b7001
@ -1,3 +1,23 @@
|
||||
--overidde craft recipe of the default beds
|
||||
minetest.clear_craft({ output = "beds:bed_bottom" })
|
||||
minetest.clear_craft({ output = "beds:fancy_bed_bottom" })
|
||||
|
||||
minetest.register_craft({
|
||||
output = "beds:fancy_bed",
|
||||
recipe = {
|
||||
{"", "", "group:stick"},
|
||||
{"wool:red", "wool:red", "wool:white"},
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "beds:bed",
|
||||
recipe = {
|
||||
{"wool:red", "wool:red", "wool:white"},
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
}
|
||||
})
|
||||
|
||||
for _, colour in pairs({"white", "black", "blue", "green"}) do
|
||||
-- fancy shaped bed
|
||||
beds.register_bed(
|
||||
|
Loading…
Reference in New Issue
Block a user