Skip to content

crafting recipe of rope segment collides with ethereal paper recipe #21

@Bastrabun

Description

@Bastrabun

Unfortunately the crafting recipe of 2x3 cotton to make a rope segment collides with ethereal's to make paper:

https://notabug.org/TenPlus1/ethereal/src/master/extra.lua, line 112:

-- Paper (2x3 string = 4 paper)
minetest.register_craft({
	output = "default:paper 4",
	recipe = {
		{"farming:cotton", "farming:cotton"},
		{"farming:cotton", "farming:cotton"},
		{"farming:cotton", "farming:cotton"},
	}
})

On my server I changed your https://github.com/minetest-mods/ropes/blob/master/crafts.lua to

if minetest.get_modpath("farming") then
-- this doesn't work reliably due to side effects of https://github.com/minetest/minetest/issues/5518
--	local old_def = minetest.registered_craftitems["farming:cotton"]
--	if old_def then
--		old_def.groups["thread"] = 1
--		minetest.override_item("farming:cotton", {
--			groups = old_def.groups
--		})
--	end
	minetest.register_craft({
		output = 'ropes:ropesegment',
		recipe = {
			{'farming:cotton','farming:cotton','farming:cotton'},
			{'farming:cotton','farming:cotton','farming:cotton'},
		}
	})
end

Not sure whether you or Tenplus1 may want to change theirs. I'll also send him an issue and maybe before BOTH change theirs, check with each other :D

The ethereal issue is here: https://notabug.org/TenPlus1/ethereal/issues/12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions