Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

straw not craftable #13

Open
Nordall opened this issue Dec 3, 2019 · 1 comment
Open

straw not craftable #13

Nordall opened this issue Dec 3, 2019 · 1 comment

Comments

@Nordall
Copy link

Nordall commented Dec 3, 2019

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.

@orbea
Copy link

orbea commented Apr 25, 2020

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"},
	},
})

minetest.register_craft({

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants