mirror of
https://github.com/minetest-mods/moreores.git
synced 2024-11-16 07:10:36 +01:00
e67cc361e9
All configurable settings are moved into settingtypes. The three minerals can be independently enabled/disabled. Also, the unrealistic default crafting recipe for bronze can be disabled so that only the tin+copper recipe is available. Updating the internationalization mod to current version.
59 lines
1.0 KiB
Lua
59 lines
1.0 KiB
Lua
--[[
|
|
More Ores: `mg` mod support
|
|
|
|
Copyright (c) 2011-2015 Calinou and contributors.
|
|
Licensed under the zlib license. See LICENSE.md for more information.
|
|
--]]
|
|
|
|
if moreores.tin_enabled 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
|
|
|
|
if moreores.silver_enabled then
|
|
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
|
|
})
|
|
end
|
|
|
|
if moreores.mithril_enabled then
|
|
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,
|
|
})
|
|
end |