1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-05 10:00:26 +01:00

[_misc] Add sand swapping recipes (desert sand <-> sand)

This commit is contained in:
LeMagnesium 2016-04-27 22:50:09 +02:00
parent bb92aceb99
commit 82af19b145
2 changed files with 16 additions and 0 deletions

View File

@ -27,3 +27,6 @@ dofile(minetest.get_modpath("_misc").."/uncraft_woll.lua")
-- List players -- List players
dofile(minetest.get_modpath("_misc").."/list_players.lua") dofile(minetest.get_modpath("_misc").."/list_players.lua")
-- Desert Sand/Sand swap
dofile(minetest.get_modpath("_misc").."/sand_swapping.lua")

View File

@ -0,0 +1,13 @@
-- Swap sands
-- desert -> normal
minetest.register_craft({
output = "default:sand",
recipe = {{"default:desert_sand"}}
})
-- normal -> desert
minetest.register_craft({
output = "default:desert_sand",
recipe = {{"default:sand"}}
})