techage_modpack/techage/items/baborium.lua

52 lines
1.1 KiB
Lua
Raw Normal View History

2020-05-31 23:31:18 +03:00
--[[
TechAge
=======
Copyright (C) 2019 Joachim Stolberg
2020-10-25 23:32:47 +03:00
AGPL v3
2020-05-31 23:31:18 +03:00
See LICENSE.txt for more information
2022-01-04 21:43:30 +03:00
2020-05-31 23:31:18 +03:00
Baborium
2022-01-04 21:43:30 +03:00
2020-05-31 23:31:18 +03:00
]]--
local S = techage.S
minetest.register_node("techage:stone_with_baborium", {
description = S("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 = S("Baborium Lump"),
inventory_image = "techage_baborium_lump.png",
})
minetest.register_craftitem("techage:baborium_ingot", {
description = S("Baborium Ingot"),
inventory_image = "techage_baborium_ingot.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 = -250,
})
2020-06-21 11:21:23 +03:00
minetest.register_craft({
type = 'cooking',
2020-05-31 23:31:18 +03:00
output = 'techage:baborium_ingot',
2020-06-21 11:21:23 +03:00
recipe = 'techage:baborium_lump',
cooktime = 5,
2022-01-04 21:43:30 +03:00
})