2023-10-15 16:22:13 +00:00
|
|
|
local modname = minetest.get_current_modname()
|
|
|
|
|
2023-10-17 18:20:42 +00:00
|
|
|
blockgame.register_node("stone", {
|
2023-10-15 16:22:13 +00:00
|
|
|
description = "Stone",
|
|
|
|
groups = {
|
|
|
|
cracky = 3,
|
|
|
|
stoney = 1,
|
|
|
|
},
|
|
|
|
drop = modname .. ":cobblestone",
|
|
|
|
})
|
2023-10-17 18:07:26 +00:00
|
|
|
|
2023-10-17 18:20:42 +00:00
|
|
|
blockgame.register_node("cobblestone", {
|
2023-10-17 18:07:26 +00:00
|
|
|
description = "Cobblestone",
|
|
|
|
groups = {
|
|
|
|
cracky = 3,
|
|
|
|
stoney = 1,
|
|
|
|
},
|
2023-10-17 18:52:06 +00:00
|
|
|
loose_variant = "cobblestone_loose",
|
2023-10-15 16:22:13 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_alias("mapgen_stone", modname .. ":stone")
|
|
|
|
minetest.register_alias("mapgen_water_source", "air")
|
|
|
|
|
2023-10-17 18:20:42 +00:00
|
|
|
blockgame.register_node("grass", {
|
2023-10-15 16:22:13 +00:00
|
|
|
description = "Grass",
|
|
|
|
groups = {
|
|
|
|
dirty = 1,
|
|
|
|
},
|
|
|
|
drop = modname .. ":dirt",
|
|
|
|
})
|
2023-10-16 08:50:25 +00:00
|
|
|
|
2023-10-17 18:20:42 +00:00
|
|
|
blockgame.register_node("dirt", {
|
2023-10-17 18:07:26 +00:00
|
|
|
description = "Dirt",
|
|
|
|
groups = {
|
|
|
|
dirty = 1,
|
|
|
|
grassable = 1,
|
|
|
|
},
|
2023-10-17 18:52:06 +00:00
|
|
|
loose_variant = "dirt_loose",
|
2023-10-15 16:22:13 +00:00
|
|
|
})
|