2023-10-15 16:22:13 +00:00
|
|
|
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.reg_simple_node("cobblestone", "Cobblestone", {
|
|
|
|
cracky = 3,
|
|
|
|
stoney = 1,
|
|
|
|
})
|
|
|
|
|
|
|
|
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 = {
|
|
|
|
cracky = 3,
|
|
|
|
dirty = 1,
|
|
|
|
},
|
|
|
|
drop = modname .. ":dirt",
|
|
|
|
})
|
2023-10-16 08:50:25 +00:00
|
|
|
|
2023-10-15 16:22:13 +00:00
|
|
|
blockgame.reg_simple_node("dirt", "Dirt", {
|
|
|
|
cracky = 3,
|
|
|
|
dirty = 1,
|
|
|
|
})
|
2023-10-16 08:50:25 +00:00
|
|
|
|
|
|
|
blockgame.register_loose_version(modname .. ":dirt")
|
|
|
|
blockgame.register_loose_version(modname .. ":grass")
|
|
|
|
blockgame.register_loose_version(modname .. ":cobblestone")
|