From 1c585f09890be86f2375831fc0bae10df2495221 Mon Sep 17 00:00:00 2001 From: Maurus <138634584+M4urus@users.noreply.github.com> Date: Sun, 23 Jun 2024 12:05:52 -0300 Subject: [PATCH 1/2] Update init.lua Added new strings recipe. --- mods/wool/init.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mods/wool/init.lua b/mods/wool/init.lua index 87bd4274c7..6353df3bf9 100644 --- a/mods/wool/init.lua +++ b/mods/wool/init.lua @@ -26,6 +26,12 @@ for i = 1, #dyes do } end +-- Alternative recipe for strings. +minetest.register_craft({ + output="farming:string 4", + recipe={{"group:wool"}} +}) + -- Legacy -- Backwards compatibility with jordach's 16-color wool mod minetest.register_alias("wool:dark_blue", "wool:blue") From 827c9ccadbc2c51c5d1dc4f99ef5da0e6fe02e3a Mon Sep 17 00:00:00 2001 From: Maurus <138634584+M4urus@users.noreply.github.com> Date: Mon, 24 Jun 2024 21:15:28 -0300 Subject: [PATCH 2/2] Update init.lua --- mods/wool/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/wool/init.lua b/mods/wool/init.lua index 6353df3bf9..bf3b780ad0 100644 --- a/mods/wool/init.lua +++ b/mods/wool/init.lua @@ -28,8 +28,8 @@ end -- Alternative recipe for strings. minetest.register_craft({ - output="farming:string 4", - recipe={{"group:wool"}} + output = "farming:string 4", + recipe = {{"group:wool"}}, }) -- Legacy