techage/items/baborium.lua

52 lines
1.1 KiB
Lua
Raw Normal View History

2019-05-04 03:04:08 -07:00
--[[
TechAge
=======
Copyright (C) 2019 Joachim Stolberg
GPL v3
2019-05-04 03:04:08 -07:00
See LICENSE.txt for more information
Baborium
2019-05-04 03:04:08 -07:00
]]--
local S = techage.S
2019-05-04 03:04:08 -07:00
minetest.register_node("techage:stone_with_baborium", {
description = S("Baborium Ore"),
2019-05-04 03:04:08 -07:00
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"),
2019-05-04 03:04:08 -07:00
inventory_image = "techage_baborium_lump.png",
})
2019-05-13 14:36:42 -07:00
minetest.register_craftitem("techage:baborium_ingot", {
description = S("Baborium Ingot"),
2019-05-13 14:36:42 -07:00
inventory_image = "techage_baborium_ingot.png",
})
2019-05-04 03:04:08 -07:00
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,
2020-01-25 14:15:44 -08:00
y_max = -250,
2019-05-04 03:04:08 -07:00
})
2019-05-27 12:12:17 -07:00
minetest.register_craft({
type = 'cooking',
output = 'techage:baborium_ingot',
recipe = 'techage:baborium_lump',
cooktime = 5,
})