minetest-mods/moreores/mg.lua

56 lines
1 KiB
Lua
Raw Normal View History

2019-12-14 17:47:31 +01:00
--[[
More Ores: `mg` mod support
2021-05-16 18:01:50 +02:00
Copyright © 2011-2020 Hugo Locurcio and contributors.
2019-12-14 17:47:31 +01:00
Licensed under the zlib license. See LICENSE.md for more information.
--]]
if not minetest.registered_items["default:tin_ingot"] then
mg.register_ore({
name = "moreores:mineral_tin",
wherein = "default:stone",
seeddiff = 8,
maxvdistance = 10.5,
maxheight = 8,
seglenghtn = 15,
seglenghtdev = 6,
segincln = 0,
segincldev = 0.6,
turnangle = 57,
forkturnangle = 57,
numperblock = 2
})
end
mg.register_ore({
name = "moreores:mineral_silver",
wherein = "default:stone",
seeddiff = 9,
maxvdistance = 10.5,
maxheight = -2,
seglenghtn = 15,
seglenghtdev = 6,
sizen = 60,
sizedev = 30,
segincln = 0,
segincldev = 0.6,
turnangle = 57,
forkturnangle = 57,
numperblock = 2
})
mg.register_ore({
name = "moreores:mineral_mithril",
wherein = "default:stone",
seeddiff = 10,
maxvdistance = 10.5,
maxheight = -512,
seglenghtn = 2,
seglenghtdev = 4,
sizen = 12,
sizedev = 5,
segincln = 0,
segincldev = 0.6,
turnangle = 57,
})