diff --git a/iron_age/hammer.lua b/iron_age/hammer.lua index 594f8a6..ab2168d 100644 --- a/iron_age/hammer.lua +++ b/iron_age/hammer.lua @@ -40,7 +40,11 @@ local function handler(player_name, node, itemstack, digparams) end end end - node.name = "default:gravel" + if node.name == "techage:basalt_stone" then + node.name = "techage:basalt_gravel" + else + node.name = "default:gravel" + end minetest.swap_node(pos, node) minetest.check_single_for_falling(pos) end diff --git a/nodes/basalt.lua b/nodes/basalt.lua index 0e6785b..aa94591 100644 --- a/nodes/basalt.lua +++ b/nodes/basalt.lua @@ -28,9 +28,17 @@ minetest.register_node("techage:basalt_stone", { description = "Basalt Stone", tiles = {"default_stone.png^[brighten"}, groups = {cracky = 3, stone = 1}, - drop = "default:silver_sand", + drop = 'techage:basalt_cobble', sounds = default.node_sound_stone_defaults(), }) + +minetest.register_node("techage:basalt_cobble", { + description = "Basalt Cobble", + tiles = {"default_cobble.png^[brighten"}, + groups = {cracky = 3, stone = 2}, + sounds = default.node_sound_stone_defaults(), +}) + minetest.register_node("techage:basalt_stone_brick", { description = "Basalt Stone Brick", paramtype2 = "facedir", @@ -131,6 +139,12 @@ stairs.register_stair_and_slab( false ) +minetest.register_craft({ + type = "cooking", + output = "techage:basalt_stone", + recipe = "techage:basalt_cobble", +}) + minetest.register_craft({ output = "techage:basalt_stone_brick 4", recipe = { diff --git a/textures/techage_bucket_oil.png b/textures/techage_bucket_oil.png new file mode 100644 index 0000000..a56a505 Binary files /dev/null and b/textures/techage_bucket_oil.png differ