summaryrefslogtreecommitdiff
path: root/streets/delineator
diff options
context:
space:
mode:
Diffstat (limited to 'streets/delineator')
-rw-r--r--streets/delineator/depends.txt2
-rw-r--r--streets/delineator/init.lua27
2 files changed, 29 insertions, 0 deletions
diff --git a/streets/delineator/depends.txt b/streets/delineator/depends.txt
new file mode 100644
index 0000000..48ef5e1
--- /dev/null
+++ b/streets/delineator/depends.txt
@@ -0,0 +1,2 @@
+default
+streetsmod \ No newline at end of file
diff --git a/streets/delineator/init.lua b/streets/delineator/init.lua
new file mode 100644
index 0000000..cf78142
--- /dev/null
+++ b/streets/delineator/init.lua
@@ -0,0 +1,27 @@
+--[[
+ StreetsMod: Delineator
+]]
+minetest.register_node(":streets:delineator", {
+ description = streets.S("Delineator"),
+ tiles = {"streets_delineator_top.png","streets_delineator.png"},
+ drawtype = "nodebox",
+ paramtype = "light",
+ groups = {cracky=3, oddly_breakable_by_hand=2},
+ light_source = 8,
+ sunlight_propagates = true,
+ node_box = {
+ type = "fixed",
+ fixed = {
+ {-0.1, -0.5, -0.1, 0.1, 0.5, 0.1},
+ },
+ }
+})
+
+minetest.register_craft({
+ output = "streets:delineator 4",
+ recipe = {
+ {"","",""},
+ {"","default:torch",""},
+ {"","default:fence_wood",""}
+ }
+}) \ No newline at end of file