straw not craftable
Opened this issue · 1 comments
The crafting recipes in straw.lua don't allow crafting straw. Straw_bales are always turned into straw_mat and vice versa.
I propone a progression starting from straw_mat, produced by the thresh_floor. 6 or 9 straw_mat craft 4 straw, 4 straw craft 1 straw_bale. And vice versa from bale over straw to straw_mat. (The numbers are just examples.)
I need straw for my bunkbed mod. https://forum.minetest.net/viewtopic.php?f=9&t=23684&hilit=bunkbed
I like cottages and thought of a simple bed you can stack on each other to save space in small poor farmers cottage.
It may still be possible to craft straw the usual way with 9 harvested strawplants. But I like your implemented logic of threshing_floor and handmill.
This seems to be fixed.
minetest.register_craft({
output = "cottages:straw_bale",
recipe = {
{"cottages:straw_mat"},
{"cottages:straw_mat"},
{"cottages:straw_mat"},
},
})
minetest.register_craft({
output = "cottages:straw",
recipe = {
{"cottages:straw_bale"},
},
})
minetest.register_craft({
output = "cottages:straw_bale",
recipe = {
{"cottages:straw"},
},
})
minetest.register_craft({
output = "cottages:straw_mat 3",
recipe = {
{"cottages:straw_bale"},
},
})
Line 557 in ccb6600