mirror of
https://github.com/minetest-mods/moreores.git
synced 2025-07-04 09:00:30 +02:00
Adding settings, optional override of default bronze recipe, update internationalization
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.
This commit is contained in:
6
mg.lua
6
mg.lua
@ -5,6 +5,7 @@ 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",
|
||||
@ -19,7 +20,9 @@ mg.register_ore({
|
||||
forkturnangle = 57,
|
||||
numperblock = 2
|
||||
})
|
||||
end
|
||||
|
||||
if moreores.silver_enabled then
|
||||
mg.register_ore({
|
||||
name = "moreores:mineral_silver",
|
||||
wherein = "default:stone",
|
||||
@ -36,7 +39,9 @@ mg.register_ore({
|
||||
forkturnangle = 57,
|
||||
numperblock = 2
|
||||
})
|
||||
end
|
||||
|
||||
if moreores.mithril_enabled then
|
||||
mg.register_ore({
|
||||
name = "moreores:mineral_mithril",
|
||||
wherein = "default:stone",
|
||||
@ -51,3 +56,4 @@ mg.register_ore({
|
||||
segincldev = 0.6,
|
||||
turnangle = 57,
|
||||
})
|
||||
end
|
Reference in New Issue
Block a user