2024-08-23 10:55:30 +02:00
|
|
|
|
local modname = minetest.get_current_modname()
|
|
|
|
|
local modpath = minetest.get_modpath(modname)
|
|
|
|
|
|
|
|
|
|
vl_structures.register_structure("fossil",{
|
|
|
|
|
place_on = {"group:material_stone","group:sand"},
|
|
|
|
|
flags = "place_center_x, place_center_z",
|
2024-09-05 01:03:33 +02:00
|
|
|
|
prepare = false,
|
2024-08-26 00:00:11 +02:00
|
|
|
|
chunk_probability = 15, -- was 25, FIXME: needs rebalancing
|
|
|
|
|
y_offset = function(pr) return pr:next(-32,-16) end,
|
2024-08-23 10:55:30 +02:00
|
|
|
|
y_max = 15,
|
|
|
|
|
y_min = mcl_vars.mg_overworld_min + 35,
|
|
|
|
|
biomes = { "Desert" },
|
|
|
|
|
filenames = {
|
|
|
|
|
modpath.."/schematics/mcl_structures_fossil_skull_1.mts", -- 4×5×5
|
|
|
|
|
modpath.."/schematics/mcl_structures_fossil_skull_2.mts", -- 5×5×5
|
|
|
|
|
modpath.."/schematics/mcl_structures_fossil_skull_3.mts", -- 5×5×7
|
|
|
|
|
modpath.."/schematics/mcl_structures_fossil_skull_4.mts", -- 7×5×5
|
|
|
|
|
modpath.."/schematics/mcl_structures_fossil_spine_1.mts", -- 3×3×13
|
|
|
|
|
modpath.."/schematics/mcl_structures_fossil_spine_2.mts", -- 5×4×13
|
|
|
|
|
modpath.."/schematics/mcl_structures_fossil_spine_3.mts", -- 7×4×13
|
|
|
|
|
modpath.."/schematics/mcl_structures_fossil_spine_4.mts", -- 8×5×13
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
|