From b978ffea8ba34fa58c661d413d3982e9bbdcb801 Mon Sep 17 00:00:00 2001 From: h-v-smacker Date: Wed, 6 Jun 2018 01:36:56 +0300 Subject: pkarcs --- extranodes/depends.txt | 1 + extranodes/init.lua | 6 ++++++ technic/machines/LV/cnc_nodes.lua | 18 +++++++----------- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/extranodes/depends.txt b/extranodes/depends.txt index fa27879..ff994f8 100644 --- a/extranodes/depends.txt +++ b/extranodes/depends.txt @@ -7,3 +7,4 @@ concrete unifieddyes? intllib? moreblocks? +pkarcs? diff --git a/extranodes/init.lua b/extranodes/init.lua index 69cb820..f0d2a49 100644 --- a/extranodes/init.lua +++ b/extranodes/init.lua @@ -20,6 +20,12 @@ if minetest.get_modpath("bakedclay") then }) end +-- register procedurally-generated arcs +if minetest.get_modpath("technic") then + pkarcs.register_node("technic:marble") + pkarcs.register_node("technic:granite") +end + if minetest.get_modpath("moreblocks") then -- register stairsplus/circular_saw nodes diff --git a/technic/machines/LV/cnc_nodes.lua b/technic/machines/LV/cnc_nodes.lua index e6c586f..0f40ad5 100644 --- a/technic/machines/LV/cnc_nodes.lua +++ b/technic/machines/LV/cnc_nodes.lua @@ -254,17 +254,6 @@ technic.cnc.register_all("technic:granite", S("Granite")) -if minetest.get_modpath("ethereal") then - -- Glostone - ------------ - technic.cnc.register_all("ethereal:glostone", - {cracky=1, not_in_creative_inventory=1, light_source=13}, - {"glostone.png"}, - S("Glo Stone")) - -end - - if minetest.get_modpath("ethereal") then -- Glostone ------------ @@ -389,6 +378,13 @@ if minetest.get_modpath("moreblocks") then end +if minetest.get_modpath("pathv7") then + -- jungle wood already exists (and hence the CNC'd parts would be identical) + technic.cnc.register_all("pathv7:bridgewood", + {snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1}, + {"pathv7_bridgewood.png"}, + S("Bridge Wood")) +end if minetest.get_modpath("maple") then technic.cnc.register_all("maple:maple_wood", -- cgit v1.2.3