VoxeLibre/mods/MAPGEN/vl_biomes/deco/fossil.lua

27 lines
1.1 KiB
Lua
Raw Normal View History

local modname = minetest.get_current_modname()
local modpath = minetest.get_modpath(modname)
2024-10-31 18:27:21 +01:00
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-10-31 18:27:21 +01:00
priority = 900, -- actually a terrain feature,
terrain_feature = false, -- but add them to /locate nevertheless
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,
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
},
})