Convert old mese to the new mese block and generate it deep underground

This commit is contained in:
PilzAdam 2012-12-28 20:05:40 +01:00
parent deb39ddcd4
commit 33ec25caed
2 changed files with 9 additions and 22 deletions

@ -487,7 +487,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:mese_block', output = 'default:mese',
recipe = { recipe = {
{'default:mese_crystal', 'default:mese_crystal', 'default:mese_crystal'}, {'default:mese_crystal', 'default:mese_crystal', 'default:mese_crystal'},
{'default:mese_crystal', 'default:mese_crystal', 'default:mese_crystal'}, {'default:mese_crystal', 'default:mese_crystal', 'default:mese_crystal'},
@ -498,7 +498,7 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = 'default:mese_crystal 9', output = 'default:mese_crystal 9',
recipe = { recipe = {
{'default:mese_block'}, {'default:mese'},
} }
}) })
@ -509,16 +509,6 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
type = "shapeless",
output = 'default:mese',
recipe = {
'default:mese_crystal',
'default:stone',
}
})
-- --
-- Crafting (tool repair) -- Crafting (tool repair)
-- --
@ -613,12 +603,6 @@ minetest.register_craft({
burntime = 7, burntime = 7,
}) })
minetest.register_craft({
type = "fuel",
recipe = "default:mese_crystal",
burntime = 30,
})
minetest.register_craft({ minetest.register_craft({
type = "fuel", type = "fuel",
recipe = "default:lava_source", recipe = "default:lava_source",
@ -794,7 +778,7 @@ minetest.register_node("default:stone_with_iron", {
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
minetest.register_node("default:mese", { minetest.register_node("default:stone_with_mese", {
description = "Mese Crystals in Stone", description = "Mese Crystals in Stone",
tiles = {"default_stone.png^default_mineral_mese.png"}, tiles = {"default_stone.png^default_mineral_mese.png"},
is_ground_content = true, is_ground_content = true,
@ -1565,13 +1549,14 @@ minetest.register_node("default:steelblock", {
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
minetest.register_node("default:mese_block", { minetest.register_node("default:mese", {
description = "Mese Block", description = "Mese Block",
tiles = {"default_mese_block.png"}, tiles = {"default_mese_block.png"},
is_ground_content = true, is_ground_content = true,
groups = {cracky=1}, groups = {cracky=1},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
minetest.register_alias("default:mese_block", "default:mese")
minetest.register_node("default:nyancat", { minetest.register_node("default:nyancat", {
description = "Nyan Cat", description = "Nyan Cat",

@ -146,8 +146,10 @@ minetest.register_on_generated(function(minp, maxp, seed)
generate_ore("default:stone_with_iron", "default:stone", minp, maxp, seed+1, 1/12/12/12, 2, 3, -15, 2) generate_ore("default:stone_with_iron", "default:stone", minp, maxp, seed+1, 1/12/12/12, 2, 3, -15, 2)
generate_ore("default:stone_with_iron", "default:stone", minp, maxp, seed+2, 1/9/9/9, 3, 5, -63, -16) generate_ore("default:stone_with_iron", "default:stone", minp, maxp, seed+2, 1/9/9/9, 3, 5, -63, -16)
generate_ore("default:stone_with_iron", "default:stone", minp, maxp, seed+3, 1/7/7/7, 3, 5, -31000, -64) generate_ore("default:stone_with_iron", "default:stone", minp, maxp, seed+3, 1/7/7/7, 3, 5, -31000, -64)
generate_ore("default:mese", "default:stone", minp, maxp, seed+4, 1/16/16/16, 2, 3, -127, -64)
generate_ore("default:mese", "default:stone", minp, maxp, seed+5, 1/9/9/9, 3, 5, -31000,-128) generate_ore("default:stone_with_mese", "default:stone", minp, maxp, seed+4, 1/16/16/16, 2, 3, -127, -64)
generate_ore("default:stone_with_mese", "default:stone", minp, maxp, seed+5, 1/9/9/9, 3, 5, -31000, -128)
generate_ore("default:mese", "default:stone", minp, maxp, seed+8, 1/16/16/16, 2, 3, -31000,-1024)
generate_ore("default:stone_with_coal", "default:stone", minp, maxp, seed+7, 1/24/24/24, 6,27, -31000, 0) generate_ore("default:stone_with_coal", "default:stone", minp, maxp, seed+7, 1/24/24/24, 6,27, -31000, 0)
generate_ore("default:stone_with_iron", "default:stone", minp, maxp, seed+6, 1/24/24/24, 6,27, -31000, -64) generate_ore("default:stone_with_iron", "default:stone", minp, maxp, seed+6, 1/24/24/24, 6,27, -31000, -64)