1
0
mirror of https://github.com/Sokomine/markers.git synced 2025-07-01 06:40:21 +02:00

test version; not finished yet

This commit is contained in:
Sokomine
2013-12-30 17:30:59 +01:00
parent 5c6e3754ab
commit af64c0bc4d
4 changed files with 651 additions and 1 deletions

View File

@ -3,10 +3,19 @@ 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" },
paramtype2 = "facedir",
-- 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)
minetest.show_formspec( clicker:get_player_name(), "markers:info",
markers.get_area_list_formspec( clicker, 'pos', pos, pos, nil ));
return;
end,
})