diff --git a/mods/bg_core/node.lua b/mods/bg_core/node.lua index 020f273..89f4a15 100644 --- a/mods/bg_core/node.lua +++ b/mods/bg_core/node.lua @@ -1,6 +1,17 @@ local modname = minetest.get_current_modname() -blockgame.reg_simple_node("stone", "Stone", { +minetest.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, }) @@ -8,11 +19,17 @@ blockgame.reg_simple_node("stone", "Stone", { minetest.register_alias("mapgen_stone", modname .. ":stone") minetest.register_alias("mapgen_water_source", "air") -blockgame.reg_simple_node("grass", "Grass", { - cracky = 3, - dirty = 1, +minetest.register_node(modname .. ":grass", { + description = "Grass", + tiles = { + modname .. "_grass.png", + }, + groups = { + cracky = 3, + dirty = 1, + }, + drop = modname .. ":dirt", }) - blockgame.reg_simple_node("dirt", "Dirt", { cracky = 3, dirty = 1, diff --git a/mods/bg_core/textures/core_cobble.png b/mods/bg_core/textures/core_cobble.png deleted file mode 100644 index d379840..0000000 Binary files a/mods/bg_core/textures/core_cobble.png and /dev/null differ diff --git a/mods/bg_core/textures/core_cobblestone.png b/mods/bg_core/textures/core_cobblestone.png new file mode 100644 index 0000000..55f5c71 Binary files /dev/null and b/mods/bg_core/textures/core_cobblestone.png differ