Nerfed Vulcanization, Tweaked Volcanoe Generation
parent
980d672339
commit
bc57be27ef
|
@ -13,13 +13,13 @@ local modpath = minetest.get_modpath(minetest.get_current_modname())
|
|||
--dofile(modpath .. "/volcano_lava.lua") -- https://github.com/minetest/minetest/issues/7864, https://github.com/minetest/minetest/issues/7878
|
||||
|
||||
local depth_root = -720
|
||||
local depth_base = -50 -- point where the mountain root starts expanding
|
||||
local depth_maxwidth = -30 -- point of maximum width
|
||||
local depth_base = -40 -- point where the mountain root starts expanding
|
||||
local depth_maxwidth = -10 -- point of maximum width
|
||||
|
||||
local radius_vent = 1 -- approximate minimum radius of vent - noise adds a lot to this
|
||||
local radius_lining = 1 -- the difference between this and the vent radius is about how thick the layer of lining nodes is, though noise will affect it
|
||||
local radius_lining = 3 -- the difference between this and the vent radius is about how thick the layer of lining nodes is, though noise will affect it
|
||||
local caldera_min = 2 -- minimum radius of caldera
|
||||
local caldera_max = 20 -- maximum radius of caldera
|
||||
local caldera_max = 32 -- maximum radius of caldera
|
||||
|
||||
local carbon_line = 60 -- above this elevation carbon is added to the stone
|
||||
local carbon_border = 20 -- transitional zone where there's scorched soil
|
||||
|
|
14
vulcan.lua
14
vulcan.lua
|
@ -14,7 +14,7 @@ nodecore.register_abm({
|
|||
nodenames = {"group:soil"},
|
||||
neighbors = {"nc_terrain:lava_source", "nc_terrain:lava_flowing"},
|
||||
interval = 20,
|
||||
chance = 2,
|
||||
chance = 10,
|
||||
action = function(pos)
|
||||
nodecore.set_loud(pos, {name = "nc_concrete:adobe"})
|
||||
end
|
||||
|
@ -26,7 +26,7 @@ nodecore.register_abm({
|
|||
nodenames = {"group:sand"},
|
||||
neighbors = {"nc_terrain:lava_source", "nc_terrain:lava_flowing"},
|
||||
interval = 20,
|
||||
chance = 2,
|
||||
chance = 10,
|
||||
action = function(pos)
|
||||
nodecore.set_loud(pos, {name = "nc_concrete:sandstone"})
|
||||
end
|
||||
|
@ -37,8 +37,8 @@ nodecore.register_abm({
|
|||
label = "Vulcanize Gravel",
|
||||
nodenames = {"nc_terrain:gravel"},
|
||||
neighbors = {"nc_terrain:lava_source", "nc_terrain:lava_flowing"},
|
||||
interval = 10,
|
||||
chance = 1,
|
||||
interval = 20,
|
||||
chance = 10,
|
||||
action = function(pos)
|
||||
nodecore.set_loud(pos, {name = "nc_terrain:stone"})
|
||||
end
|
||||
|
@ -47,10 +47,10 @@ nodecore.register_abm({
|
|||
--Vulcanize Carbon--
|
||||
nodecore.register_abm({
|
||||
label = "Vulcanize Carbon",
|
||||
nodenames = {"nc_tree:tree","nc_tree:root","nc_fire:coal8","group:mossy"},
|
||||
nodenames = {"nc_tree:tree","nc_tree:root","nc_fire:coal8","group:mossy", "wc_coal:lignite", "wc_coal:bituminite", "wc_coal:anthracite"},
|
||||
neighbors = {"nc_terrain:lava_source", "nc_terrain:lava_flowing"},
|
||||
interval = 10,
|
||||
chance = 2,
|
||||
interval = 20,
|
||||
chance = 10,
|
||||
action = function(pos)
|
||||
nodecore.set_loud(pos, {name = "nc_concrete:coalstone"})
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue