diff --git a/nodes/baborium.lua b/nodes/baborium.lua new file mode 100644 index 0000000..1294ab3 --- /dev/null +++ b/nodes/baborium.lua @@ -0,0 +1,40 @@ +--[[ + + TechAge + ======= + + Copyright (C) 2019 Joachim Stolberg + + LGPLv2.1+ + See LICENSE.txt for more information + + Gravel Sieve basis functions + +]]-- + +minetest.register_node("techage:stone_with_baborium", { + description = "Baborium Ore", + tiles = {"default_stone.png^techage_baborium.png"}, + groups = {cracky = 2}, + drop = 'techage:baborium_lump', + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_craftitem("techage:baborium_lump", { + description = "Baborium Lump", + inventory_image = "techage_baborium_lump.png", +}) + + + +minetest.register_ore({ + ore_type = "scatter", + ore = "techage:stone_with_baborium", + wherein = "default:stone", + clust_scarcity = 8 * 8 * 8, + clust_num_ores = 5, + clust_size = 3, + y_min = -340, + y_max = -260, +}) + diff --git a/textures/techage_baborium.png b/textures/techage_baborium.png new file mode 100644 index 0000000..d01d136 Binary files /dev/null and b/textures/techage_baborium.png differ diff --git a/textures/techage_baborium_lump.png b/textures/techage_baborium_lump.png new file mode 100644 index 0000000..dea8a30 Binary files /dev/null and b/textures/techage_baborium_lump.png differ