Add chromium ore in technic mod and pilbara biome
parent
8ecaa48d83
commit
9ce47271ac
|
@ -26,8 +26,8 @@ dofile(modpath.."/config.lua")
|
|||
-- Helper functions
|
||||
dofile(modpath.."/helpers.lua")
|
||||
|
||||
-- Uranium
|
||||
dofile(modpath.."/uranium.lua")
|
||||
-- Ores
|
||||
dofile(modpath.."/ores.lua")
|
||||
|
||||
-- Items
|
||||
dofile(modpath.."/items.lua")
|
||||
|
|
|
@ -0,0 +1,129 @@
|
|||
--[[
|
||||
Chromium
|
||||
--]]
|
||||
|
||||
minetest.register_node("technic:stone_with_chromium", {
|
||||
description = "Chromium Ore",
|
||||
tiles = {"base_stone.png^technic_mineral_chromium.png"},
|
||||
groups = {cracky=3},
|
||||
drop = "technic:chromium_lump",
|
||||
sounds = base.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("technic:granite_with_chromium", {
|
||||
description = "Chromium Ore",
|
||||
tiles = {"base_granite.png^technic_mineral_chromium.png"},
|
||||
groups = {cracky=3},
|
||||
drop = "technic:chromium_lump",
|
||||
sounds = base.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("technic:chromium_block", {
|
||||
description = "Chromium Block",
|
||||
tiles = {"technic_chromium_block.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 1, level = 2},
|
||||
sounds = base.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("technic:chromium_lump", {
|
||||
description = "Chromium Lump",
|
||||
inventory_image = "technic_chromium_lump.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("technic:chromium_ingot", {
|
||||
description = "Chromium Ingot",
|
||||
inventory_image = "technic_chromium_ingot.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:chromium_block',
|
||||
recipe = {
|
||||
{'technic:chromium_ingot', 'technic:chromium_ingot', 'technic:chromium_ingot'},
|
||||
{'technic:chromium_ingot', 'technic:chromium_ingot', 'technic:chromium_ingot'},
|
||||
{'technic:chromium_ingot', 'technic:chromium_ingot', 'technic:chromium_ingot'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:chromium_ingot 9',
|
||||
recipe = {
|
||||
{'technic:chromium_block'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "technic:chromium_ingot",
|
||||
recipe = "technic:chromium_lump",
|
||||
})
|
||||
|
||||
|
||||
--[[
|
||||
Uranium
|
||||
--]]
|
||||
|
||||
|
||||
minetest.register_node("technic:stone_with_uranium", {
|
||||
description = "Uranium Ore",
|
||||
tiles = {"base_stone.png^technic_mineral_uranium.png"},
|
||||
paramtype = "light",
|
||||
groups = {cracky = 3, radioactive = 1},
|
||||
drop = "technic:uranium_lump",
|
||||
sounds = base.node_sound_stone_defaults(),
|
||||
light_source = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("technic:granite_with_uranium", {
|
||||
description = "Uranium Ore",
|
||||
tiles = {"base_granite.png^technic_mineral_uranium.png"},
|
||||
paramtype = "light",
|
||||
groups = {cracky = 3, radioactive = 1},
|
||||
drop = "technic:uranium_lump",
|
||||
sounds = base.node_sound_stone_defaults(),
|
||||
light_source = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("technic:uranium_block", {
|
||||
description = "Uranium Block",
|
||||
tiles = {"technic_uranium_block.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {uranium_block = 1, cracky = 1, level = 2, radioactive = 2},
|
||||
sounds = base.node_sound_stone_defaults(),
|
||||
light_source = 2,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("technic:uranium_lump", {
|
||||
description = "Uranium Lump",
|
||||
inventory_image = "technic_uranium_lump.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("technic:uranium_ingot", {
|
||||
description = "Uranium Ingot",
|
||||
inventory_image = "technic_uranium_ingot.png",
|
||||
groups = {uranium_ingot =1},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:uranium_block',
|
||||
recipe = {
|
||||
{'technic:uranium_ingot', 'technic:uranium_ingot', 'technic:uranium_ingot'},
|
||||
{'technic:uranium_ingot', 'technic:uranium_ingot', 'technic:uranium_ingot'},
|
||||
{'technic:uranium_ingot', 'technic:uranium_ingot', 'technic:uranium_ingot'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:uranium_ingot 9',
|
||||
recipe = {
|
||||
{'technic:uraniumblock'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "technic:uranium_ingot",
|
||||
recipe = "technic:uranium_lump",
|
||||
})
|
||||
|
|
@ -1,68 +0,0 @@
|
|||
--[[
|
||||
Uranium
|
||||
--]]
|
||||
|
||||
|
||||
minetest.register_node("technic:stone_with_uranium", {
|
||||
description = "Uranium Ore",
|
||||
tiles = {"base_stone.png^technic_mineral_uranium.png" },
|
||||
paramtype = "light",
|
||||
groups = {cracky = 3, radioactive = 1},
|
||||
drop = "technic:uranium_lump",
|
||||
sounds = base.node_sound_stone_defaults(),
|
||||
light_source = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("technic:granite_with_uranium", {
|
||||
description = "Uranium Ore",
|
||||
tiles = {"base_granite.png^technic_mineral_uranium.png" },
|
||||
paramtype = "light",
|
||||
groups = {cracky = 3, radioactive = 1},
|
||||
drop = "technic:uranium_lump",
|
||||
sounds = base.node_sound_stone_defaults(),
|
||||
light_source = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("technic:uranium_block", {
|
||||
description = "Uranium Block",
|
||||
tiles = {"technic_uranium_block.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {uranium_block = 1, cracky = 1, level = 2, radioactive = 2},
|
||||
sounds = base.node_sound_stone_defaults(),
|
||||
light_source = 2,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("technic:uranium_lump", {
|
||||
description = "Uranium Lump",
|
||||
inventory_image = "technic_uranium_lump.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("technic:uranium_ingot", {
|
||||
description = "Uranium Ingot",
|
||||
inventory_image = "technic_uranium_ingot.png",
|
||||
groups = {uranium_ingot =1},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:uranium_block',
|
||||
recipe = {
|
||||
{'technic:uranium_ingot', 'technic:uranium_ingot', 'technic:uranium_ingot'},
|
||||
{'technic:uranium_ingot', 'technic:uranium_ingot', 'technic:uranium_ingot'},
|
||||
{'technic:uranium_ingot', 'technic:uranium_ingot', 'technic:uranium_ingot'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:uranium_ingot 9',
|
||||
recipe = {
|
||||
{'technic:uraniumblock'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "technic:uranium_ingot",
|
||||
recipe = "technic:uranium_lump",
|
||||
})
|
||||
|
|
@ -71,6 +71,19 @@ minetest.register_ore({
|
|||
y_max = -1072,
|
||||
})
|
||||
|
||||
-- Chromium
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "base:stone_with_chromium",
|
||||
wherein = {"base:stone"},
|
||||
biomes = {"deep_underground"},
|
||||
clust_scarcity = 2197,
|
||||
clust_num_ores = 5,
|
||||
clust_size = 3,
|
||||
y_min = -31000,
|
||||
y_max = -1072,
|
||||
})
|
||||
|
||||
-- Coal
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
|
@ -232,7 +245,7 @@ minetest.register_ore({
|
|||
y_max = -1072,
|
||||
})
|
||||
|
||||
--Silver
|
||||
-- Silver
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "base:stone_with_silver",
|
||||
|
|
|
@ -66,6 +66,19 @@ minetest.register_ore({
|
|||
noise_params = {offset=0, scale=15, spread={x=150, y=150, z=150}, seed=23, octaves=3, persist=0.70}
|
||||
})
|
||||
|
||||
-- Chromium (Coobina)
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "base:granite_with_chromium",
|
||||
wherein = {"base:granite"},
|
||||
biomes = {"pilbara"},
|
||||
clust_scarcity = 3375,
|
||||
clust_num_ores = 3,
|
||||
clust_size = 2,
|
||||
y_min = -31,
|
||||
y_max = 55,
|
||||
})
|
||||
|
||||
-- Amethyst (Ashburton River)
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
|
|
|
@ -71,6 +71,19 @@ minetest.register_ore({
|
|||
y_max = -256,
|
||||
})
|
||||
|
||||
-- Chromium
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "base:stone_with_chromium",
|
||||
wherein = {"base:stone"},
|
||||
biomes = {"underground"},
|
||||
clust_scarcity = 3375,
|
||||
clust_num_ores = 3,
|
||||
clust_size = 2,
|
||||
y_min = -1071,
|
||||
y_max = -512,
|
||||
})
|
||||
|
||||
-- Coal
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
|
|
Loading…
Reference in New Issue