summaryrefslogtreecommitdiff
path: root/extranodes
diff options
context:
space:
mode:
Diffstat (limited to 'extranodes')
-rw-r--r--extranodes/depends.txt4
-rw-r--r--extranodes/init.lua42
2 files changed, 46 insertions, 0 deletions
diff --git a/extranodes/depends.txt b/extranodes/depends.txt
new file mode 100644
index 0000000..cd0e778
--- /dev/null
+++ b/extranodes/depends.txt
@@ -0,0 +1,4 @@
+default
+moreblocks
+technic_worldgen
+concrete
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