mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-07 11:00:23 +01:00
2e895a7790
Pas mal de changement n’ont pas été pushé sur le github du serveur, voici l’occasion de faire une bonne synchronisation :)
25 lines
705 B
Lua
25 lines
705 B
Lua
|
|
minetest.register_node("markers:stone", {
|
|
description = "Boundary marker for land administration",
|
|
tiles = {"markers_stone.png", "markers_stone.png", "markers_stone_side.png",
|
|
"markers_stone_side.png", "markers_stone_side.png", "markers_stone_side.png" },
|
|
-- no facedir here - we want a fixed north indication!
|
|
-- paramtype2 = "facedir",
|
|
groups = {cracky=2},
|
|
legacy_facedir_simple = true,
|
|
is_ground_content = false,
|
|
|
|
on_rightclick = function(pos, node, clicker)
|
|
|
|
markers.show_marker_stone_formspec( clicker, pos );
|
|
end,
|
|
})
|
|
|
|
|
|
minetest.register_craft({
|
|
output = "markers:stone",
|
|
recipe = { { "markers:mark" },
|
|
{ "default:cobble" },
|
|
} });
|
|
|