From ab2b25263fe3beb37ea8d9b2bdac9ce5e9cf71cf Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Mon, 2 Mar 2015 17:47:57 +0100 Subject: [PATCH] New crafts for returnmirror - Added new craftitem returnmirror:mirror_glass and its texture, returnmirror_mirror_glass.png - Changed crafts for returnmirror to complexificate returnmirror's craft --- mods/returnmirror/init.lua | 23 +++++++++++++++--- .../textures/returnmirror_mirror_glass.png | Bin 0 -> 162 bytes 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 mods/returnmirror/textures/returnmirror_mirror_glass.png diff --git a/mods/returnmirror/init.lua b/mods/returnmirror/init.lua index 81dde9d6..ae15bc01 100644 --- a/mods/returnmirror/init.lua +++ b/mods/returnmirror/init.lua @@ -45,6 +45,12 @@ minetest.register_tool("returnmirror:mirror_inactive", { end, }) +minetest.register_craftitem("returnmirror:mirror_glass", { + description = "Mirror glass", + inventory_image = "returnmirror_mirror_glass.png", + wield_image = "returnmirror_mirror_glass.png", +}) + minetest.register_tool("returnmirror:mirror_active", { description = "Mirror of Returning", stack_max = 1, @@ -103,10 +109,19 @@ minetest.register_tool("returnmirror:mirror_active", { minetest.register_alias("returnmirror:mirror_inactive", "returnmirror:returnmirror") minetest.register_craft({ - output = "returnmirror:mirror_inactive", + output = "returnmirror:mirror_glass", recipe = { - {"default:diamondblock","default:nyancat","default:diamondblock"}, - {"default:nyancat","doors:door_obsidian_glass","default:nyancat"}, - {"default:diamondblock","default:nyancat","default:diamondblock"}, + {"default:diamondblock","default:mese","default:diamondblock"}, + {"default:mese","doors:door_obsidian_glass","default:mese"}, + {"default:diamondblock","default:mese","default:diamondblock"}, + }, +}) + +minetest.register_craft({ + output = "returnmirror:mirror_inactive", + recipe = { + {"default:diamondblock", "default:nyancat", "default:diamondblock"}, + {"default:nyancat", "returnmirror:mirror_glass", "default:nyancat"}, + {"default:diamondblock", "default:nyancat", "default:diamondblock"}, }, }) diff --git a/mods/returnmirror/textures/returnmirror_mirror_glass.png b/mods/returnmirror/textures/returnmirror_mirror_glass.png new file mode 100644 index 0000000000000000000000000000000000000000..a6490096d693664683c007db2588cf47829a1997 GIT binary patch literal 162 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP~Gn0UlrnT{DTcD7>r;B5V#p&dP1p)?1g1`N{