From 508e10acc7c3871cc56fb8347e7931e5595b5f54 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Tue, 20 Nov 2018 23:35:46 -0700 Subject: [PATCH] actually turn the cooling material into the targeted material. --- hot_rock.lua | 2 +- volcanoes.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hot_rock.lua b/hot_rock.lua index eff62e7..e297a81 100644 --- a/hot_rock.lua +++ b/hot_rock.lua @@ -94,7 +94,7 @@ minetest.register_abm{ local def = minetest.registered_nodes[name] local target = def._magma_conduits_cools_to if target then - minetest.set_node(pos, {name = "default:cobble"}) + minetest.set_node(pos, {name = target}) else minetest.log("error", name .. " is in group lava_heated but doesn't have a _magma_conduits_cools_to property defined in its definition") end diff --git a/volcanoes.lua b/volcanoes.lua index e6abde2..ef1e1e4 100644 --- a/volcanoes.lua +++ b/volcanoes.lua @@ -39,7 +39,7 @@ local c_water = minetest.get_content_id("default:water_source") local c_lining = minetest.get_content_id("default:obsidian") local c_hot_lining = minetest.get_content_id("default:obsidian") -local c_cone = minetest.get_content_id("default:stone") +local c_cone = minetest.get_content_id("default:wood") local c_ash = minetest.get_content_id("default:gravel") local c_soil = minetest.get_content_id("default:dirt") @@ -63,7 +63,7 @@ local mapgen_seed = tonumber(minetest.get_mapgen_setting("seed")) -- the curvy form of a vein or a cave that's one node tall. -- Some annoying hackery is needed to patch those slices back up -- again, and I only want to do that hackery if we're actually in mapgen v7. -local mg_name = minetest.get_mapgen_setting("mg_name") +local mg_name = nil--minetest.get_mapgen_setting("mg_name") -- derived values