default/init.lua
Code: Select all
minetest.register_node("default:proxima_stone", {
description = "Proxima Stone",
tiles = {"default_proxima_stone.png"},
groups = {picky = 3, stone = 1},
drop = "default:proxima_stone",
})
minetest.register_node("default:proxima_sand", {
description = "Proxima Stone",
tiles = {"default_proxima_sand.png"},
groups = {spady = 1, sand = 1},
drop = "default:proxima_sand",
})
minetest.register_node("default:little_proxima_stone", {
description = "Little Proxima Stone",
tiles = {"default_green_topas.png"},
groups = {picky = 3, handy = 3, stone = 1},
drop = "default:little_proxima_stone",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.2500, -0.5000, -0.1563, 0.2500, -0.3750, 0.1563}
}
},
is_ground_content = true,
legacy_mineral = true,
})
Code: Select all
minetest.register_biome({
name = "stoneland",
node_dust = "default:proxima_stone",
node_top = "default:proxima_sand",
depth_top = 1,
node_filler = "default:proxima_stone",
depth_filler = 3,
node_stone = "default:proxima_stone",
node_water_top = "default:mars_stone",
depth_water_top = 10,
node_river_water = "air",
node_riverbed = "default:proxima_sand",
depth_riverbed = 2,
node_dungeon = "default:mars_stone",
node_dungeon_stair = "default:mars_stone",
y_max = 31000,
y_min = -31000,
heat_point = 0,
humidity_point = 73,
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:proxima_stone"},
sidelen = 16,
fill_ratio = 0.1,
biomes = {"stoneland"},
y_max = 200,
y_min = 1,
decoration = "default:little_proxima_stone",
})