diff options
author | Sokomine <wegwerf@anarres.dyndns.org> | 2013-12-30 17:30:59 +0100 |
---|---|---|
committer | Sokomine <wegwerf@anarres.dyndns.org> | 2013-12-30 17:30:59 +0100 |
commit | af64c0bc4d022b152d354819d37ac299e63c2f17 (patch) | |
tree | fdfac8740eaa6040b518f120cead4ecdf052456f /marker_stone.lua | |
parent | 5c6e3754ab0156f34e23265ddf4f6b2cb192887a (diff) |
test version; not finished yet
Diffstat (limited to 'marker_stone.lua')
-rw-r--r-- | marker_stone.lua | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/marker_stone.lua b/marker_stone.lua index 568dc21..0c7c926 100644 --- a/marker_stone.lua +++ b/marker_stone.lua @@ -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, }) |