local modname = minetest.get_current_modname() blockgame.register_node(modname .. ":stone", { description = "Stone", tiles = { modname .. "_stone.png", }, groups = { cracky = 3, stoney = 1, }, drop = modname .. ":cobblestone", }) blockgame.register_node(modname .. ":cobblestone", { description = "Cobblestone", tiles = { modname .. "_cobblestone.png", }, groups = { cracky = 3, stoney = 1, }, loose_variant = modname .. ":cobblestone_loose", }) minetest.register_alias("mapgen_stone", modname .. ":stone") minetest.register_alias("mapgen_water_source", "air") blockgame.register_node(modname .. ":grass", { description = "Grass", tiles = { modname .. "_grass.png", }, groups = { dirty = 1, }, drop = modname .. ":dirt", }) blockgame.register_node(modname .. ":dirt", { description = "Dirt", tiles = { modname .. "_dirt.png", }, groups = { dirty = 1, grassable = 1, }, loose_variant = modname .. ":dirt_loose", })