blockgame/mods/bg_terrain/biome.lua
trans_soup 7755583fa4 rename mods and add hacky cleanup thing.
rename mods; add `bg_` prefix.

add hacky cleanup ABM (couldn't get LBM:s to work), that converts old
nodes into new ones according to this rename.

the cleanup doesn't do anything for items, though.
2023-10-15 18:22:13 +02:00

15 lines
340 B
Lua

local modname = minetest.get_current_modname()
minetest.clear_registered_biomes()
minetest.register_biome({
name = "unknown",
node_top = modname .. ":grass",
depth_top = 1,
node_filler = modname .. ":dirt",
depth_filler = 2,
node_stone = modname .. ":stone",
heat_point = 0,
humidity_point = 0,
y_min = -31000,
y_max = 31000,
})