2019-10-17 22:26:39 +03:00
|
|
|
--[[
|
|
|
|
|
|
|
|
TechAge
|
|
|
|
=======
|
|
|
|
|
|
|
|
Copyright (C) 2019 Joachim Stolberg
|
|
|
|
|
2020-10-19 20:09:17 +03:00
|
|
|
AGPL v3
|
2019-10-17 22:26:39 +03:00
|
|
|
See LICENSE.txt for more information
|
2022-01-03 23:40:31 +03:00
|
|
|
|
2019-10-17 22:26:39 +03:00
|
|
|
Bauxite
|
2022-01-03 23:40:31 +03:00
|
|
|
|
2019-10-17 22:26:39 +03:00
|
|
|
]]--
|
|
|
|
|
|
|
|
local S = techage.S
|
|
|
|
|
|
|
|
minetest.register_node("techage:bauxite_stone", {
|
|
|
|
description = S("Bauxite Stone"),
|
2019-11-17 02:08:10 +03:00
|
|
|
tiles = {"default_desert_stone.png^techage_bauxit_overlay.png^[colorize:#FB2A00:120"},
|
2019-10-17 22:26:39 +03:00
|
|
|
groups = {cracky = 3, stone = 1},
|
|
|
|
drop = 'techage:bauxite_cobble',
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("techage:bauxite_cobble", {
|
|
|
|
description = S("Bauxite Cobblestone"),
|
2019-11-17 02:08:10 +03:00
|
|
|
tiles = {"default_desert_cobble.png^[colorize:#FB2A00:80"},
|
2019-10-17 22:26:39 +03:00
|
|
|
is_ground_content = false,
|
|
|
|
groups = {cracky = 3, stone = 2},
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("techage:bauxite_gravel", {
|
|
|
|
description = S("Bauxite Gravel"),
|
2019-11-17 02:08:10 +03:00
|
|
|
tiles = {"default_gravel.png^[colorize:#FB2A00:180"},
|
2019-10-17 22:26:39 +03:00
|
|
|
is_ground_content = false,
|
|
|
|
groups = {crumbly = 2, falling_node = 1},
|
|
|
|
sounds = default.node_sound_gravel_defaults(),
|
|
|
|
})
|
|
|
|
|
2019-11-17 02:08:10 +03:00
|
|
|
minetest.register_craftitem("techage:bauxite_powder", {
|
|
|
|
description = S("Bauxite Powder"),
|
|
|
|
inventory_image = "techage_powder_inv.png^[colorize:#FB2A00:120",
|
2020-05-01 15:43:08 +03:00
|
|
|
groups = {powder = 1},
|
2019-11-17 02:08:10 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
|
2019-10-17 22:26:39 +03:00
|
|
|
minetest.register_ore({
|
2019-11-12 00:05:59 +03:00
|
|
|
ore_type = "blob",
|
|
|
|
ore = "techage:bauxite_stone",
|
|
|
|
wherein = {"default:stone", "default:desert_stone"},
|
|
|
|
clust_scarcity = 16 * 16 * 16,
|
|
|
|
clust_size = 6,
|
|
|
|
y_max = -50,
|
2019-11-22 01:21:44 +03:00
|
|
|
y_min = -500,
|
2019-11-12 00:05:59 +03:00
|
|
|
noise_threshold = 0.0,
|
|
|
|
noise_params = {
|
|
|
|
offset = 0.5,
|
|
|
|
scale = 0.2,
|
|
|
|
spread = {x = 5, y = 5, z = 5},
|
|
|
|
seed = 41524,
|
|
|
|
octaves = 1,
|
|
|
|
persist = 0.0
|
|
|
|
},
|
2019-10-17 22:26:39 +03:00
|
|
|
})
|
2019-11-12 00:05:59 +03:00
|
|
|
|
2019-11-17 02:08:10 +03:00
|
|
|
techage.add_grinder_recipe({input="techage:bauxite_cobble", output="techage:bauxite_gravel"})
|
2022-01-04 21:40:27 +03:00
|
|
|
techage.add_grinder_recipe({input="techage:bauxite_gravel", output="techage:bauxite_powder"})
|