2019-05-04 13:04:08 +03:00
|
|
|
--[[
|
|
|
|
|
|
|
|
TechAge
|
|
|
|
=======
|
|
|
|
|
|
|
|
Copyright (C) 2019 Joachim Stolberg
|
|
|
|
|
2020-10-19 20:09:17 +03:00
|
|
|
AGPL v3
|
2019-05-04 13:04:08 +03:00
|
|
|
See LICENSE.txt for more information
|
2022-01-03 23:40:31 +03:00
|
|
|
|
2019-11-17 02:08:10 +03:00
|
|
|
Baborium
|
2022-01-03 23:40:31 +03:00
|
|
|
|
2019-05-04 13:04:08 +03:00
|
|
|
]]--
|
|
|
|
|
2019-09-26 23:32:37 +03:00
|
|
|
local S = techage.S
|
|
|
|
|
2019-05-04 13:04:08 +03:00
|
|
|
minetest.register_node("techage:stone_with_baborium", {
|
2019-09-26 23:32:37 +03:00
|
|
|
description = S("Baborium Ore"),
|
2019-05-04 13:04:08 +03: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", {
|
2019-09-26 23:32:37 +03:00
|
|
|
description = S("Baborium Lump"),
|
2019-05-04 13:04:08 +03:00
|
|
|
inventory_image = "techage_baborium_lump.png",
|
|
|
|
})
|
|
|
|
|
2019-05-14 00:36:42 +03:00
|
|
|
minetest.register_craftitem("techage:baborium_ingot", {
|
2019-09-26 23:32:37 +03:00
|
|
|
description = S("Baborium Ingot"),
|
2019-05-14 00:36:42 +03:00
|
|
|
inventory_image = "techage_baborium_ingot.png",
|
|
|
|
})
|
|
|
|
|
2019-05-04 13:04:08 +03: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-26 01:15:44 +03:00
|
|
|
y_max = -250,
|
2019-05-04 13:04:08 +03:00
|
|
|
})
|
|
|
|
|
2020-06-21 10:57:03 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
type = 'cooking',
|
2019-05-27 22:12:17 +03:00
|
|
|
output = 'techage:baborium_ingot',
|
2020-06-21 10:57:03 +03:00
|
|
|
recipe = 'techage:baborium_lump',
|
|
|
|
cooktime = 5,
|
2022-01-04 21:40:27 +03:00
|
|
|
})
|