summaryrefslogtreecommitdiff
path: root/roadsigns
diff options
context:
space:
mode:
authorwebdesigner97 <Christian_D_97@gmx.de>2013-10-14 12:02:09 +0200
committerwebdesigner97 <Christian_D_97@gmx.de>2013-10-14 12:02:09 +0200
commit52b2ae9334403d49103f38d6007f643b52a131f6 (patch)
tree6ced9e4e07bbf94aca546328ceac6959f0d54301 /roadsigns
parent4863e454ea76b951aa8a8fe2b0cace02df1fa8fd (diff)
downloadroads-52b2ae9334403d49103f38d6007f643b52a131f6.tar
roads-52b2ae9334403d49103f38d6007f643b52a131f6.tar.gz
roads-52b2ae9334403d49103f38d6007f643b52a131f6.tar.bz2
roads-52b2ae9334403d49103f38d6007f643b52a131f6.tar.xz
roads-52b2ae9334403d49103f38d6007f643b52a131f6.zip
Signs available in creative mode
Diffstat (limited to 'roadsigns')
-rw-r--r--roadsigns/signs.lua182
1 files changed, 90 insertions, 92 deletions
diff --git a/roadsigns/signs.lua b/roadsigns/signs.lua
index 0a3ecf4..9010691 100644
--- a/roadsigns/signs.lua
+++ b/roadsigns/signs.lua
@@ -1,99 +1,97 @@
-if streets.extendedBy.bucket == true and streets.extendedBy.wool then
- minetest.register_node(":streets:sign_lava",{
- description = "Warning sign (lava)",
- tiles = {"streets_sign_lava.png"},
- inventory_image = "streets_sign_lava.png",
- wield_image = "streets_sign_lava.png",
- groups = {snappy = 1,attached_node = 1},
- drawtype = "nodebox",
- node_box = {
- type = "wallmounted",
- fixed = {
- {-0.4,-0.5,-0.4,0.4,-0.4,0.4}
- }
- },
- paramtype = "light",
- paramtype2 = "wallmounted",
- walkable = false,
- sunlight_propagates = true,
- selection_box = {
- type = "wallmounted"
+minetest.register_node(":streets:sign_lava",{
+ description = "Warning sign (lava)",
+ tiles = {"streets_sign_lava.png"},
+ inventory_image = "streets_sign_lava.png",
+ wield_image = "streets_sign_lava.png",
+ groups = {snappy = 1,attached_node = 1},
+ drawtype = "nodebox",
+ node_box = {
+ type = "wallmounted",
+ fixed = {
+ {-0.4,-0.5,-0.4,0.4,-0.4,0.4}
}
- })
-
- minetest.register_craft({
- output = "streets:sign_lava 2",
- recipe = {
- {"wool:red","wool:red","wool:red"},
- {"wool:red","bucket:bucket_lava","wool:red"},
- {"wool:red","wool:red","wool:red"}
- },
- replacements = {
- {"bucket:bucket_lava", "bucket:bucket_empty"}
+ },
+ paramtype = "light",
+ paramtype2 = "wallmounted",
+ walkable = false,
+ sunlight_propagates = true,
+ selection_box = {
+ type = "wallmounted"
}
- })
+})
+
+minetest.register_craft({
+ output = "streets:sign_lava 2",
+ recipe = {
+ {"wool:red","wool:red","wool:red"},
+ {"wool:red","bucket:bucket_lava","wool:red"},
+ {"wool:red","wool:red","wool:red"}
+ },
+ replacements = {
+ {"bucket:bucket_lava", "bucket:bucket_empty"}
+ }
+})
- minetest.register_node(":streets:sign_water",{
- description = "Warning sign (water)",
- tiles = {"streets_sign_water.png"},
- inventory_image = "streets_sign_water.png",
- wield_image = "streets_sign_water.png",
- groups = {snappy = 1,attached_node = 1},
- drawtype = "nodebox",
- node_box = {
- type = "wallmounted",
- fixed = {
- {-0.4,-0.5,-0.4,0.4,-0.4,0.4}
- }
- },
- paramtype = "light",
- paramtype2 = "wallmounted",
- walkable = false,
- sunlight_propagates = true,
- selection_box = {
- type = "wallmounted"
+minetest.register_node(":streets:sign_water",{
+ description = "Warning sign (water)",
+ tiles = {"streets_sign_water.png"},
+ inventory_image = "streets_sign_water.png",
+ wield_image = "streets_sign_water.png",
+ groups = {snappy = 1,attached_node = 1},
+ drawtype = "nodebox",
+ node_box = {
+ type = "wallmounted",
+ fixed = {
+ {-0.4,-0.5,-0.4,0.4,-0.4,0.4}
}
- })
+ },
+ paramtype = "light",
+ paramtype2 = "wallmounted",
+ walkable = false,
+ sunlight_propagates = true,
+ selection_box = {
+ type = "wallmounted"
+ }
+})
- minetest.register_craft({
- output = "streets:sign_water 2",
- recipe = {
- {"wool:red","wool:red","wool:red"},
- {"wool:red","bucket:bucket_water","wool:red"},
- {"wool:red","wool:red","wool:red"}
- },
- replacements = {
- {"bucket:bucket_water", "bucket:bucket_empty"}
- }
- })
+minetest.register_craft({
+ output = "streets:sign_water 2",
+ recipe = {
+ {"wool:red","wool:red","wool:red"},
+ {"wool:red","bucket:bucket_water","wool:red"},
+ {"wool:red","wool:red","wool:red"}
+ },
+ replacements = {
+ {"bucket:bucket_water", "bucket:bucket_empty"}
+ }
+})
- minetest.register_node(":streets:sign_construction",{
- description = "Warning sign (Construction area)",
- tiles = {"streets_sign_construction.png"},
- inventory_image = "streets_sign_construction.png",
- wield_image = "streets_sign_construction.png",
- groups = {snappy = 1,attached_node = 1},
- drawtype = "nodebox",
- node_box = {
- type = "wallmounted",
- fixed = {
- {-0.4,-0.5,-0.4,0.4,-0.4,0.4}
- }
- },
- paramtype = "light",
- paramtype2 = "wallmounted",
- walkable = false,
- sunlight_propagates = true,
- selection_box = {
- type = "wallmounted"
- }
- })
- minetest.register_craft({
- output = "streets:sign_construction 2",
- recipe = {
- {"wool:red","wool:red","wool:red"},
- {"wool:red","default:shovel_steel","wool:red"},
- {"wool:red","wool:red","wool:red"}
+minetest.register_node(":streets:sign_construction",{
+ description = "Warning sign (Construction area)",
+ tiles = {"streets_sign_construction.png"},
+ inventory_image = "streets_sign_construction.png",
+ wield_image = "streets_sign_construction.png",
+ groups = {snappy = 1,attached_node = 1},
+ drawtype = "nodebox",
+ node_box = {
+ type = "wallmounted",
+ fixed = {
+ {-0.4,-0.5,-0.4,0.4,-0.4,0.4}
}
- })
-end \ No newline at end of file
+ },
+ paramtype = "light",
+ paramtype2 = "wallmounted",
+ walkable = false,
+ sunlight_propagates = true,
+ selection_box = {
+ type = "wallmounted"
+ }
+})
+minetest.register_craft({
+ output = "streets:sign_construction 2",
+ recipe = {
+ {"wool:red","wool:red","wool:red"},
+ {"wool:red","default:shovel_steel","wool:red"},
+ {"wool:red","wool:red","wool:red"}
+ }
+}) \ No newline at end of file