summaryrefslogtreecommitdiff
path: root/delineator/init.lua
diff options
context:
space:
mode:
authorChristian Danscheid <Christian_D_97@gmx.de>2013-08-10 19:23:52 +0200
committerChristian Danscheid <Christian_D_97@gmx.de>2013-08-10 19:23:52 +0200
commit7bda846ea7f8c3ad127b167e6c7a797bfd46f73f (patch)
tree37c4d4cc80cb2b11452d24df057e485c54687eb4 /delineator/init.lua
downloadroads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.tar
roads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.tar.gz
roads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.tar.bz2
roads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.tar.xz
roads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.zip
Initial commit
Diffstat (limited to 'delineator/init.lua')
-rw-r--r--delineator/init.lua27
1 files changed, 27 insertions, 0 deletions
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