summaryrefslogtreecommitdiff
path: root/extranodes/init.lua
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2013-04-04 01:17:39 +0200
committerRealBadAngel <mk@realbadangel.pl>2013-04-04 01:17:39 +0200
commit0ca19dacb03a0d33de34a2dabf921ba7c9cb5b25 (patch)
treed9e3fd03e5c5a549b61fab1bc809a6dd00a27a8b /extranodes/init.lua
parent1668d84b04d212c9b58edf9e5527140017b4b4a8 (diff)
Update 0.4.6-0
Diffstat (limited to 'extranodes/init.lua')
-rw-r--r--extranodes/init.lua42
1 files changed, 42 insertions, 0 deletions
diff --git a/extranodes/init.lua b/extranodes/init.lua
new file mode 100644
index 0000000..2cca1ed
--- /dev/null
+++ b/extranodes/init.lua
@@ -0,0 +1,42 @@
+-- Minetest 0.4.6 mod: extranodes
+-- namespace: technic
+
+--register stairslike nodes
+register_stair_slab_panel_micro("technic", "marble", "technic:marble",
+ {cracky=2, not_in_creative_inventory=1},
+ {"technic_marble.png"},
+ "Marble",
+ "marble",
+ "facedir",
+ 0)
+
+register_stair_slab_panel_micro("technic", "marble_bricks", "technic:marble_bricks",
+ {cracky=2, not_in_creative_inventory=1},
+ {"technic_marble_bricks.png"},
+ "Marble Bricks",
+ "marble_bricks",
+ "facedir",
+ 0)
+
+register_stair_slab_panel_micro("technic", "granite", "technic:granite",
+ {cracky=3, not_in_creative_inventory=1},
+ {"technic_granite.png"},
+ "Granite",
+ "granite",
+ "facedir",
+ 0)
+
+register_stair_slab_panel_micro("technic", "concrete", "technic:concrete",
+ {cracky=3, not_in_creative_inventory=1},
+ {"technic_concrete_block.png"},
+ "Concrete",
+ "concrete",
+ "facedir",
+ 0)
+
+--register nodes in circular saw if aviable
+if circular_saw then
+ for i,v in ipairs({"concrete", "marble", "marble_bricks", "granite", "default:obsidian"}) do
+ table.insert(circular_saw.known_stairs, "technic:" ..v);
+ end
+end