From da66780a569712c23ae4f2996cfb4608a9f9d69d Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 1 Apr 2016 20:02:19 -0400 Subject: copy all standard Dreambuilder mods in from the old subgame (exactly as last supplied there, updates to these mods will follow later) --- markers/marker_stone.lua | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 markers/marker_stone.lua (limited to 'markers/marker_stone.lua') diff --git a/markers/marker_stone.lua b/markers/marker_stone.lua new file mode 100644 index 0000000..c687502 --- /dev/null +++ b/markers/marker_stone.lua @@ -0,0 +1,24 @@ + +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" }, + } }); + -- cgit v1.2.3