ns_cavegen/lua/register.lua

85 lines
1.9 KiB
Lua

ns_cavegen.register_shape({
name = "ns_cavegen:bubbles",
noise_params = {
offset = -0.2,
scale = 0.5,
spread = { x = 100, y = 100, z = 100 },
seed = 248039,
octaves = 2,
persistence = 0.6,
lacunarity = 2.0,
flags = "eased",
},
y_min = -31000,
y_max = 0,
connectivity_point = 10,
verticality_point = 10,
})
ns_cavegen.register_shape({
name = "ns_cavegen:cliffs",
noise_params = {
offset = -0.4,
scale = 0.9,
spread = { x = 30, y = 200, z = 30 },
seed = 92742002,
octaves = 2,
persistence = 0.6,
lacunarity = 3.0,
flags = "eased",
},
y_min = -31000,
y_max = 0,
connectivity_point = 20,
verticality_point = 80,
})
ns_cavegen.register_biome({
name = "ns_cavegen:snow",
node_dust = "mcl_core:snow",
node_floor = "mcl_crimson:shroomlight",
node_wall = "mcl_core:cobble",
node_roof = "dripstone:dry_dripstone_block",
node_air = "air",
heat_point = 0,
humidity_point = 50,
})
ns_cavegen.register_biome({
name = "ns_cavegen:drip",
node_floor = "dripstone:dry_dripstone_block",
node_wall = "dripstone:dry_dripstone_block",
node_roof = "dripstone:dry_dripstone_block",
heat_point = 50,
humidity_point = 0,
})
ns_cavegen.register_decoration({
deco_type = "simple",
place_on = "ceiling",
fill_ratio = 0.25,
biomes = { "ns_cavegen:snow" },
decoration = "mcl_core:water_source",
height = 1,
place_offset_y = 2,
})
ns_cavegen.register_decoration({
deco_type = "simple",
place_on = "ceiling",
fill_ratio = 0.025,
decoration = "mcl_colorblocks:concrete_green",
height = 3,
height_max = 7,
})
ns_cavegen.register_decoration({
deco_type = "simple",
place_on = "floor",
fill_ratio = 0.025,
decoration = "mcl_bamboo:bamboo_block",
height = 3,
height_max = 7,
})