mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-16 23:40:31 +01:00
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
This commit is contained in:
parent
76b15b83e8
commit
ab2b25263f
|
@ -45,6 +45,12 @@ minetest.register_tool("returnmirror:mirror_inactive", {
|
||||||
end,
|
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", {
|
minetest.register_tool("returnmirror:mirror_active", {
|
||||||
description = "Mirror of Returning",
|
description = "Mirror of Returning",
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
|
@ -103,10 +109,19 @@ minetest.register_tool("returnmirror:mirror_active", {
|
||||||
minetest.register_alias("returnmirror:mirror_inactive", "returnmirror:returnmirror")
|
minetest.register_alias("returnmirror:mirror_inactive", "returnmirror:returnmirror")
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "returnmirror:mirror_inactive",
|
output = "returnmirror:mirror_glass",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"default:diamondblock","default:nyancat","default:diamondblock"},
|
{"default:diamondblock","default:mese","default:diamondblock"},
|
||||||
{"default:nyancat","doors:door_obsidian_glass","default:nyancat"},
|
{"default:mese","doors:door_obsidian_glass","default:mese"},
|
||||||
{"default:diamondblock","default:nyancat","default:diamondblock"},
|
{"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"},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
BIN
mods/returnmirror/textures/returnmirror_mirror_glass.png
Normal file
BIN
mods/returnmirror/textures/returnmirror_mirror_glass.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 162 B |
Loading…
Reference in New Issue
Block a user