mirror of
https://github.com/minetest-mods/magma_conduits.git
synced 2025-01-08 13:37:34 +01:00
actually turn the cooling material into the targeted material.
This commit is contained in:
parent
9e1cace0da
commit
508e10acc7
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user