summaryrefslogtreecommitdiff
path: root/delineator
diff options
context:
space:
mode:
Diffstat (limited to 'delineator')
-rw-r--r--delineator/depends.txt2
-rw-r--r--delineator/init.lua27
-rw-r--r--delineator/textures/default_n.pngbin0 -> 119 bytes
-rw-r--r--delineator/textures/streets_delineator.pngbin0 -> 1021 bytes
-rw-r--r--delineator/textures/streets_delineator_top.pngbin0 -> 184 bytes
5 files changed, 29 insertions, 0 deletions
diff --git a/delineator/depends.txt b/delineator/depends.txt
new file mode 100644
index 0000000..48ef5e1
--- /dev/null
+++ b/delineator/depends.txt
@@ -0,0 +1,2 @@
+default
+streetsmod \ No newline at end of file
diff --git a/delineator/init.lua b/delineator/init.lua
new file mode 100644
index 0000000..4b69341
--- /dev/null
+++ b/delineator/init.lua
@@ -0,0 +1,27 @@
+--[[
+ StreetsMod: Delineator
+]]
+minetest.register_node(":streets:delineator", {
+ description = "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:stick",""},
+ {"","default:stick",""}
+ }
+}) \ No newline at end of file
diff --git a/delineator/textures/default_n.png b/delineator/textures/default_n.png
new file mode 100644
index 0000000..4f28a36
--- /dev/null
+++ b/delineator/textures/default_n.png
Binary files differ
diff --git a/delineator/textures/streets_delineator.png b/delineator/textures/streets_delineator.png
new file mode 100644
index 0000000..51663e4
--- /dev/null
+++ b/delineator/textures/streets_delineator.png
Binary files differ
diff --git a/delineator/textures/streets_delineator_top.png b/delineator/textures/streets_delineator_top.png
new file mode 100644
index 0000000..3551ffe
--- /dev/null
+++ b/delineator/textures/streets_delineator_top.png
Binary files differ