mirror of
https://github.com/minetest-mods/moreores.git
synced 2024-09-27 14:20:25 +02:00
Merge de28eb2486
into 0842b4fec4
This commit is contained in:
commit
804a4bf76b
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -1,10 +0,0 @@
|
|||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## [1.0.0] - 2017-02-19
|
||||
|
||||
- Initial versioned release.
|
|
@ -1,10 +0,0 @@
|
|||
# Contribution Guide
|
||||
|
||||
Thank you for your interest in this mod! Before contributing, be sure to know
|
||||
about these few guidelines:
|
||||
|
||||
- Contributions have to be under the zlib license (or compatible) for code,
|
||||
and CC BY-SA 3.0 license (or compatible) for assets.
|
||||
- Make sure to update the change log, keeping the
|
||||
[change log format](http://keepachangelog.com/) we use.
|
||||
- Don't bump the version yourself. Maintainers will do this when necessary.
|
|
@ -1,6 +1,7 @@
|
|||
# zlib license
|
||||
zlib license
|
||||
============
|
||||
|
||||
Copyright (c) 2011-2017 Hugo Locurcio and contributors
|
||||
Copyright (c) 2011-2015 Calinou and contributors
|
||||
|
||||
**This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.**
|
||||
|
||||
|
|
13
README.md
13
README.md
|
@ -1,8 +1,17 @@
|
|||
# More Ores
|
||||
## More Ores
|
||||
|
||||
More Ores for [Minetest](http://minetest.net), a free and open source infinite
|
||||
More Ores for Minetest <http://minetest.net>, a free/libre infinite
|
||||
world block sandbox game.
|
||||
|
||||
It adds three new ores: silver, tin, and mithril. The ores can be enabled independently
|
||||
in the mod's settings.
|
||||
|
||||
Silver and mithril can be used to make various tools and weapons.
|
||||
|
||||
Tin cannot be used to make tools, but can be mixed with copper to produce bronze.
|
||||
There is an optional setting that removes the default game's bronze recipe
|
||||
(steel + copper) to make this the only way to produce bronze.
|
||||
|
||||
To install, just clone this repository into your "mods" directory.
|
||||
|
||||
More Ores code is licensed under the zlib license, textures are by Calinou and are licensed under CC BY-SA 3.0 Unported.
|
||||
|
|
27
_config.txt
27
_config.txt
|
@ -1,27 +0,0 @@
|
|||
------------------------------------------------------------------------------
|
||||
------------------------------ CONFIGURATION ---------------------------------
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
-------- Change settings by changing the values after the "=". ---------------
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
-- Chunk sizes for ore generation (bigger = ore deposits are more scattered around)
|
||||
moreores.tin_chunk_size = 7
|
||||
moreores.silver_chunk_size = 11
|
||||
moreores.mithril_chunk_size = 11
|
||||
|
||||
-- Amount of ore per chunk (higher = bigger ore deposits)
|
||||
moreores.tin_ore_per_chunk = 3
|
||||
moreores.silver_ore_per_chunk = 4
|
||||
moreores.mithril_ore_per_chunk = 1
|
||||
|
||||
-- Minimal depths of ore generation (Y coordinate, 0 being sea level by default)
|
||||
moreores.tin_min_depth = -31000
|
||||
moreores.silver_min_depth = -31000
|
||||
moreores.mithril_min_depth = -31000
|
||||
|
||||
-- Maximal depths of ore generation (Y coordinate, 0 being sea level by default)
|
||||
moreores.tin_max_depth = 8
|
||||
moreores.silver_max_depth = -2
|
||||
moreores.mithril_max_depth = -512
|
|
@ -1,2 +1,4 @@
|
|||
default
|
||||
mg?
|
||||
intllib?
|
||||
loot?
|
73
init.lua
73
init.lua
|
@ -3,28 +3,20 @@
|
|||
** More Ores **
|
||||
By Calinou, with the help of Nore.
|
||||
|
||||
Copyright (c) 2011-2017 Hugo Locurcio and contributors.
|
||||
Copyright (c) 2011-2017 Calinou and contributors.
|
||||
Licensed under the zlib license. See LICENSE.md for more information.
|
||||
=====================================================================
|
||||
--]]
|
||||
|
||||
moreores = {}
|
||||
|
||||
local S
|
||||
if minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function(s) return s end
|
||||
end
|
||||
|
||||
-- internationalization boilerplate
|
||||
local modpath = minetest.get_modpath("moreores")
|
||||
local S, NS = dofile(modpath.."/intllib.lua")
|
||||
|
||||
dofile(modpath .. "/_config.txt")
|
||||
|
||||
-- `mg` support:
|
||||
if minetest.get_modpath("mg") then
|
||||
dofile(modpath .. "/mg.lua")
|
||||
end
|
||||
dofile(modpath .. "/readsettings.lua")
|
||||
dofile(modpath .. "/loot.lua")
|
||||
dofile(modpath .. "/mg.lua")
|
||||
|
||||
-- Utility functions
|
||||
-- =================
|
||||
|
@ -233,9 +225,11 @@ end
|
|||
-- Add everything:
|
||||
local modname = "moreores"
|
||||
|
||||
local oredefs = {
|
||||
silver = {
|
||||
description = "Silver",
|
||||
local oredefs = {}
|
||||
|
||||
if moreores.silver_enabled then
|
||||
oredefs.silver = {
|
||||
description = S("Silver"),
|
||||
makes = {ore = true, block = true, lump = true, ingot = true, chest = true},
|
||||
oredef = {clust_scarcity = moreores.silver_chunk_size * moreores.silver_chunk_size * moreores.silver_chunk_size,
|
||||
clust_num_ores = moreores.silver_ore_per_chunk,
|
||||
|
@ -265,9 +259,12 @@ local oredefs = {
|
|||
},
|
||||
full_punch_interval = 1.0,
|
||||
damage_groups = {fleshy = 6},
|
||||
},
|
||||
tin = {
|
||||
description = "Tin",
|
||||
}
|
||||
end
|
||||
|
||||
if moreores.tin_enabled then
|
||||
oredefs.tin = {
|
||||
description = S("Tin"),
|
||||
makes = {ore = true, block = true, lump = true, ingot = true, chest = false},
|
||||
oredef = {clust_scarcity = moreores.tin_chunk_size * moreores.tin_chunk_size * moreores.tin_chunk_size,
|
||||
clust_num_ores = moreores.tin_ore_per_chunk,
|
||||
|
@ -276,9 +273,12 @@ local oredefs = {
|
|||
y_max = moreores.tin_max_depth
|
||||
},
|
||||
tools = {},
|
||||
},
|
||||
mithril = {
|
||||
description = "Mithril",
|
||||
}
|
||||
end
|
||||
|
||||
if moreores.mithril_enabled then
|
||||
oredefs.mithril = {
|
||||
description = S("Mithril"),
|
||||
makes = {ore = true, block = true, lump = true, ingot = true, chest = false},
|
||||
oredef = {clust_scarcity = moreores.mithril_chunk_size * moreores.mithril_chunk_size * moreores.mithril_chunk_size,
|
||||
clust_num_ores = moreores.mithril_ore_per_chunk,
|
||||
|
@ -288,28 +288,28 @@ local oredefs = {
|
|||
},
|
||||
tools = {
|
||||
pick = {
|
||||
cracky = {times = {[1] = 2.25, [2] = 0.55, [3] = 0.35}, uses = 200, maxlevel= 2}
|
||||
cracky = {times = {[1] = 2.25, [2] = 0.55, [3] = 0.35}, uses = 200, maxlevel= 1}
|
||||
},
|
||||
hoe = {
|
||||
uses = 1000
|
||||
},
|
||||
shovel = {
|
||||
crumbly = {times = {[1] = 0.70, [2] = 0.35, [3] = 0.20}, uses = 200, maxlevel= 2}
|
||||
crumbly = {times = {[1] = 0.70, [2] = 0.35, [3] = 0.20}, uses = 200, maxlevel= 1}
|
||||
},
|
||||
axe = {
|
||||
choppy = {times = {[1] = 1.75, [2] = 0.45, [3] = 0.45}, uses = 200, maxlevel= 2},
|
||||
choppy = {times = {[1] = 1.75, [2] = 0.45, [3] = 0.45}, uses = 200, maxlevel= 1},
|
||||
fleshy = {times = {[2] = 0.95, [3] = 0.30}, uses = 200, maxlevel= 1}
|
||||
},
|
||||
sword = {
|
||||
fleshy = {times = {[2] = 0.65, [3] = 0.25}, uses = 200, maxlevel= 2},
|
||||
snappy = {times = {[2] = 0.70, [3] = 0.25}, uses = 200, maxlevel= 2},
|
||||
fleshy = {times = {[2] = 0.65, [3] = 0.25}, uses = 200, maxlevel= 1},
|
||||
snappy = {times = {[2] = 0.70, [3] = 0.25}, uses = 200, maxlevel= 1},
|
||||
choppy = {times = {[3] = 0.65}, uses = 200, maxlevel= 0}
|
||||
}
|
||||
},
|
||||
full_punch_interval = 0.45,
|
||||
damage_groups = {fleshy = 9},
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
for orename,def in pairs(oredefs) do
|
||||
add_ore(modname, def.description, orename, def)
|
||||
|
@ -325,8 +325,9 @@ minetest.register_craft({
|
|||
}
|
||||
})
|
||||
|
||||
if moreores.tin_enabled then
|
||||
-- Bronze has some special cases, because it is made from copper and tin:
|
||||
minetest.register_craft( {
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "default:bronze_ingot 3",
|
||||
recipe = {
|
||||
|
@ -334,7 +335,16 @@ minetest.register_craft( {
|
|||
"default:copper_ingot",
|
||||
"default:copper_ingot",
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
if moreores.override_default_bronze_recipe then
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "default:bronze_ingot 0",
|
||||
recipe = {"default:steel_ingot", "default:copper_ingot"},
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
-- Unique node:
|
||||
minetest.register_node("moreores:copper_rail", {
|
||||
|
@ -365,7 +375,6 @@ minetest.register_node("moreores:copper_rail", {
|
|||
},
|
||||
})
|
||||
|
||||
|
||||
if minetest.setting_getbool("log_mods") then
|
||||
minetest.log("action", S("[moreores] loaded."))
|
||||
end
|
||||
|
|
45
intllib.lua
Normal file
45
intllib.lua
Normal file
|
@ -0,0 +1,45 @@
|
|||
|
||||
-- Fallback functions for when `intllib` is not installed.
|
||||
-- Code released under Unlicense <http://unlicense.org>.
|
||||
|
||||
-- Get the latest version of this file at:
|
||||
-- https://raw.githubusercontent.com/minetest-mods/intllib/master/lib/intllib.lua
|
||||
|
||||
local function format(str, ...)
|
||||
local args = { ... }
|
||||
local function repl(escape, open, num, close)
|
||||
if escape == "" then
|
||||
local replacement = tostring(args[tonumber(num)])
|
||||
if open == "" then
|
||||
replacement = replacement..close
|
||||
end
|
||||
return replacement
|
||||
else
|
||||
return "@"..open..num..close
|
||||
end
|
||||
end
|
||||
return (str:gsub("(@?)@(%(?)(%d+)(%)?)", repl))
|
||||
end
|
||||
|
||||
local gettext, ngettext
|
||||
if minetest.get_modpath("intllib") then
|
||||
if intllib.make_gettext_pair then
|
||||
-- New method using gettext.
|
||||
gettext, ngettext = intllib.make_gettext_pair()
|
||||
else
|
||||
-- Old method using text files.
|
||||
gettext = intllib.Getter()
|
||||
end
|
||||
end
|
||||
|
||||
-- Fill in missing functions.
|
||||
|
||||
gettext = gettext or function(msgid, ...)
|
||||
return format(msgid, ...)
|
||||
end
|
||||
|
||||
ngettext = ngettext or function(msgid, msgid_plural, n, ...)
|
||||
return format(n==1 and msgid or msgid_plural, ...)
|
||||
end
|
||||
|
||||
return gettext, ngettext
|
82
locale/de.po
Normal file
82
locale/de.po
Normal file
|
@ -0,0 +1,82 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-02-10 13:36-0700\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: Xanthin\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: init.lua:97
|
||||
#, c-format
|
||||
msgid "%s Ore"
|
||||
msgstr "%serz"
|
||||
|
||||
#: init.lua:108
|
||||
#, c-format
|
||||
msgid "%s Block"
|
||||
msgstr "%sblock"
|
||||
|
||||
#: init.lua:130
|
||||
#, c-format
|
||||
msgid "%s Lump"
|
||||
msgstr "%sklumpen"
|
||||
|
||||
#: init.lua:145
|
||||
#, c-format
|
||||
msgid "%s Ingot"
|
||||
msgstr "%sbarren"
|
||||
|
||||
#: init.lua:185
|
||||
#, c-format
|
||||
msgid "%s Sword"
|
||||
msgstr "%sschwert"
|
||||
|
||||
#: init.lua:191
|
||||
#, c-format
|
||||
msgid "%s Pickaxe"
|
||||
msgstr "%sspitzhacke"
|
||||
|
||||
#: init.lua:197
|
||||
#, c-format
|
||||
msgid "%s Axe"
|
||||
msgstr "%saxt"
|
||||
|
||||
#: init.lua:203
|
||||
#, c-format
|
||||
msgid "%s Shovel"
|
||||
msgstr "%sschaufel"
|
||||
|
||||
#: init.lua:208
|
||||
#, c-format
|
||||
msgid "%s Hoe"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:235
|
||||
msgid "Silver"
|
||||
msgstr "Silber"
|
||||
|
||||
#: init.lua:270
|
||||
msgid "Tin"
|
||||
msgstr "Zinn"
|
||||
|
||||
#: init.lua:284
|
||||
msgid "Mithril"
|
||||
msgstr "Mithril"
|
||||
|
||||
#: init.lua:346
|
||||
msgid "Copper Rail"
|
||||
msgstr "Kupferschiene"
|
||||
|
||||
#: init.lua:374
|
||||
msgid "[moreores] loaded."
|
||||
msgstr "[moreores] geladen."
|
|
@ -1,22 +0,0 @@
|
|||
# Translation by Xanthin
|
||||
|
||||
[moreores] loaded. = [moreores] geladen.
|
||||
|
||||
%s Ore = %serz
|
||||
%s Lump = %sklumpen
|
||||
%s Ingot = %sbarren
|
||||
%s Block = %sblock
|
||||
%s Pickaxe = %sspitzhacke
|
||||
%s Shovel = %sschaufel
|
||||
%s Axe = %saxt
|
||||
%s Sword = %sschwert
|
||||
%s Hoe = %shacke
|
||||
|
||||
Copper = Kupfer
|
||||
Tin = Zinn
|
||||
Bronze = Bronze
|
||||
Silver = Silber
|
||||
Gold = Gold
|
||||
Mithril = Mithril
|
||||
|
||||
Copper Rail = Kupferschiene
|
82
locale/es.po
Normal file
82
locale/es.po
Normal file
|
@ -0,0 +1,82 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-02-10 13:36-0700\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: kaeza\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: init.lua:97
|
||||
#, c-format
|
||||
msgid "%s Ore"
|
||||
msgstr "Mineral de %s"
|
||||
|
||||
#: init.lua:108
|
||||
#, c-format
|
||||
msgid "%s Block"
|
||||
msgstr "Bloque de %s"
|
||||
|
||||
#: init.lua:130
|
||||
#, c-format
|
||||
msgid "%s Lump"
|
||||
msgstr "Pepita de %s"
|
||||
|
||||
#: init.lua:145
|
||||
#, c-format
|
||||
msgid "%s Ingot"
|
||||
msgstr "Lingote de %s"
|
||||
|
||||
#: init.lua:185
|
||||
#, c-format
|
||||
msgid "%s Sword"
|
||||
msgstr "Espada de %s"
|
||||
|
||||
#: init.lua:191
|
||||
#, c-format
|
||||
msgid "%s Pickaxe"
|
||||
msgstr "Pico de %s"
|
||||
|
||||
#: init.lua:197
|
||||
#, c-format
|
||||
msgid "%s Axe"
|
||||
msgstr "Hacha de %s"
|
||||
|
||||
#: init.lua:203
|
||||
#, c-format
|
||||
msgid "%s Shovel"
|
||||
msgstr "Pala de %s"
|
||||
|
||||
#: init.lua:208
|
||||
#, c-format
|
||||
msgid "%s Hoe"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:235
|
||||
msgid "Silver"
|
||||
msgstr "plata"
|
||||
|
||||
#: init.lua:270
|
||||
msgid "Tin"
|
||||
msgstr "estaño"
|
||||
|
||||
#: init.lua:284
|
||||
msgid "Mithril"
|
||||
msgstr "mitrilo"
|
||||
|
||||
#: init.lua:346
|
||||
msgid "Copper Rail"
|
||||
msgstr "Riel de Cobre"
|
||||
|
||||
#: init.lua:374
|
||||
msgid "[moreores] loaded."
|
||||
msgstr "[moreores] cargado."
|
|
@ -1,21 +0,0 @@
|
|||
# Translation by kaeza
|
||||
|
||||
[moreores] loaded. = [moreores] cargado.
|
||||
|
||||
%s Ore = Mineral de %s
|
||||
%s Lump = Pepita de %s
|
||||
%s Ingot = Lingote de %s
|
||||
%s Block = Bloque de %s
|
||||
%s Pickaxe = Pico de %s
|
||||
%s Shovel = Pala de %s
|
||||
%s Axe = Hacha de %s
|
||||
%s Sword = Espada de %s
|
||||
|
||||
Copper = cobre
|
||||
Tin = estaño
|
||||
Bronze = bronce
|
||||
Silver = plata
|
||||
Gold = oro
|
||||
Mithril = mitrilo
|
||||
|
||||
Copper Rail = Riel de Cobre
|
82
locale/fr.po
Normal file
82
locale/fr.po
Normal file
|
@ -0,0 +1,82 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-02-10 13:36-0700\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: Calinou\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: init.lua:97
|
||||
#, c-format
|
||||
msgid "%s Ore"
|
||||
msgstr "Minerai en %s"
|
||||
|
||||
#: init.lua:108
|
||||
#, c-format
|
||||
msgid "%s Block"
|
||||
msgstr "Bloc en %s"
|
||||
|
||||
#: init.lua:130
|
||||
#, c-format
|
||||
msgid "%s Lump"
|
||||
msgstr "Roche en %s"
|
||||
|
||||
#: init.lua:145
|
||||
#, c-format
|
||||
msgid "%s Ingot"
|
||||
msgstr "Lingot en %s"
|
||||
|
||||
#: init.lua:185
|
||||
#, c-format
|
||||
msgid "%s Sword"
|
||||
msgstr "Épée en %s"
|
||||
|
||||
#: init.lua:191
|
||||
#, c-format
|
||||
msgid "%s Pickaxe"
|
||||
msgstr "Pioche en %s"
|
||||
|
||||
#: init.lua:197
|
||||
#, c-format
|
||||
msgid "%s Axe"
|
||||
msgstr "Hache en %s"
|
||||
|
||||
#: init.lua:203
|
||||
#, c-format
|
||||
msgid "%s Shovel"
|
||||
msgstr "Pelle en %s"
|
||||
|
||||
#: init.lua:208
|
||||
#, c-format
|
||||
msgid "%s Hoe"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:235
|
||||
msgid "Silver"
|
||||
msgstr "argent"
|
||||
|
||||
#: init.lua:270
|
||||
msgid "Tin"
|
||||
msgstr "étain"
|
||||
|
||||
#: init.lua:284
|
||||
msgid "Mithril"
|
||||
msgstr "mithril"
|
||||
|
||||
#: init.lua:346
|
||||
msgid "Copper Rail"
|
||||
msgstr "Rail en cuivre"
|
||||
|
||||
#: init.lua:374
|
||||
msgid "[moreores] loaded."
|
||||
msgstr "[moreores] a été chargé."
|
|
@ -1,21 +0,0 @@
|
|||
# Translation by Calinou
|
||||
|
||||
[moreores] loaded. = [moreores] a été chargé.
|
||||
|
||||
%s Ore = Minerai en %s
|
||||
%s Lump = Roche en %s
|
||||
%s Ingot = Lingot en %s
|
||||
%s Block = Bloc en %s
|
||||
%s Pickaxe = Pioche en %s
|
||||
%s Shovel = Pelle en %s
|
||||
%s Axe = Hache en %s
|
||||
%s Sword = Épée en %s
|
||||
|
||||
Copper = cuivre
|
||||
Tin = étain
|
||||
Bronze = bronze
|
||||
Silver = argent
|
||||
Gold = or
|
||||
Mithril = mithril
|
||||
|
||||
Copper Rail = Rail en cuivre
|
82
locale/it.po
Normal file
82
locale/it.po
Normal file
|
@ -0,0 +1,82 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-02-10 13:36-0700\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: Pagliaccio\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: init.lua:97
|
||||
#, c-format
|
||||
msgid "%s Ore"
|
||||
msgstr "Minerale di %s"
|
||||
|
||||
#: init.lua:108
|
||||
#, c-format
|
||||
msgid "%s Block"
|
||||
msgstr "Blocco di %s"
|
||||
|
||||
#: init.lua:130
|
||||
#, c-format
|
||||
msgid "%s Lump"
|
||||
msgstr "%s grezzo"
|
||||
|
||||
#: init.lua:145
|
||||
#, c-format
|
||||
msgid "%s Ingot"
|
||||
msgstr "Lingotto di %s"
|
||||
|
||||
#: init.lua:185
|
||||
#, c-format
|
||||
msgid "%s Sword"
|
||||
msgstr "Spada di %s"
|
||||
|
||||
#: init.lua:191
|
||||
#, c-format
|
||||
msgid "%s Pickaxe"
|
||||
msgstr "Piccone di %s"
|
||||
|
||||
#: init.lua:197
|
||||
#, c-format
|
||||
msgid "%s Axe"
|
||||
msgstr "Ascia di %s"
|
||||
|
||||
#: init.lua:203
|
||||
#, c-format
|
||||
msgid "%s Shovel"
|
||||
msgstr "Badile di %s"
|
||||
|
||||
#: init.lua:208
|
||||
#, c-format
|
||||
msgid "%s Hoe"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:235
|
||||
msgid "Silver"
|
||||
msgstr "Argento"
|
||||
|
||||
#: init.lua:270
|
||||
msgid "Tin"
|
||||
msgstr "Stagno"
|
||||
|
||||
#: init.lua:284
|
||||
msgid "Mithril"
|
||||
msgstr "Mithril"
|
||||
|
||||
#: init.lua:346
|
||||
msgid "Copper Rail"
|
||||
msgstr "Binario di rame"
|
||||
|
||||
#: init.lua:374
|
||||
msgid "[moreores] loaded."
|
||||
msgstr "[moreores] caricato."
|
|
@ -1,21 +0,0 @@
|
|||
# Translation by Pagliaccio
|
||||
|
||||
[moreores] loaded. = [moreores] caricato.
|
||||
|
||||
%s Ore = Minerale di %s
|
||||
%s Lump = %s grezzo
|
||||
%s Ingot = Lingotto di %s
|
||||
%s Block = Blocco di %s
|
||||
%s Pickaxe = Piccone di %s
|
||||
%s Shovel = Badile di %s
|
||||
%s Axe = Ascia di %s
|
||||
%s Sword = Spada di %s
|
||||
|
||||
Copper = Rame
|
||||
Tin = Stagno
|
||||
Bronze = Bronzo
|
||||
Silver = Argento
|
||||
Gold = Oro
|
||||
Mithril = Mithril
|
||||
|
||||
Copper Rail = Binario di rame
|
82
locale/template.pot
Normal file
82
locale/template.pot
Normal file
|
@ -0,0 +1,82 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-02-10 13:36-0700\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: init.lua:97
|
||||
#, c-format
|
||||
msgid "%s Ore"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:108
|
||||
#, c-format
|
||||
msgid "%s Block"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:130
|
||||
#, c-format
|
||||
msgid "%s Lump"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:145
|
||||
#, c-format
|
||||
msgid "%s Ingot"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:185
|
||||
#, c-format
|
||||
msgid "%s Sword"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:191
|
||||
#, c-format
|
||||
msgid "%s Pickaxe"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:197
|
||||
#, c-format
|
||||
msgid "%s Axe"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:203
|
||||
#, c-format
|
||||
msgid "%s Shovel"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:208
|
||||
#, c-format
|
||||
msgid "%s Hoe"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:235
|
||||
msgid "Silver"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:270
|
||||
msgid "Tin"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:284
|
||||
msgid "Mithril"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:346
|
||||
msgid "Copper Rail"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:374
|
||||
msgid "[moreores] loaded."
|
||||
msgstr ""
|
82
locale/tr.po
Normal file
82
locale/tr.po
Normal file
|
@ -0,0 +1,82 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-02-10 13:36-0700\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: Mahmutelmas06 mahmutelmas06@hotmail.com\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: init.lua:97
|
||||
#, c-format
|
||||
msgid "%s Ore"
|
||||
msgstr "%s madeni"
|
||||
|
||||
#: init.lua:108
|
||||
#, c-format
|
||||
msgid "%s Block"
|
||||
msgstr "%s blok"
|
||||
|
||||
#: init.lua:130
|
||||
#, c-format
|
||||
msgid "%s Lump"
|
||||
msgstr "%s yığını"
|
||||
|
||||
#: init.lua:145
|
||||
#, c-format
|
||||
msgid "%s Ingot"
|
||||
msgstr "%s külçesi"
|
||||
|
||||
#: init.lua:185
|
||||
#, c-format
|
||||
msgid "%s Sword"
|
||||
msgstr "%s kılıç"
|
||||
|
||||
#: init.lua:191
|
||||
#, c-format
|
||||
msgid "%s Pickaxe"
|
||||
msgstr "%s kazma"
|
||||
|
||||
#: init.lua:197
|
||||
#, c-format
|
||||
msgid "%s Axe"
|
||||
msgstr "%s balta"
|
||||
|
||||
#: init.lua:203
|
||||
#, c-format
|
||||
msgid "%s Shovel"
|
||||
msgstr "%s kürek"
|
||||
|
||||
#: init.lua:208
|
||||
#, c-format
|
||||
msgid "%s Hoe"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua:235
|
||||
msgid "Silver"
|
||||
msgstr "Gümüş"
|
||||
|
||||
#: init.lua:270
|
||||
msgid "Tin"
|
||||
msgstr "Kalay"
|
||||
|
||||
#: init.lua:284
|
||||
msgid "Mithril"
|
||||
msgstr "Mithril"
|
||||
|
||||
#: init.lua:346
|
||||
msgid "Copper Rail"
|
||||
msgstr "Bakır ray"
|
||||
|
||||
#: init.lua:374
|
||||
msgid "[moreores] loaded."
|
||||
msgstr "[moreores] yüklendi."
|
|
@ -1,25 +0,0 @@
|
|||
# Translation by Mahmutelmas06
|
||||
# mahmutelmas06@hotmail.com
|
||||
# Türkçe Çeviri
|
||||
# Turkish translation
|
||||
# Language 2 letter iso code is "tr"
|
||||
|
||||
[moreores] loaded. = [moreores] yüklendi.
|
||||
|
||||
%s Ore = %s madeni
|
||||
%s Lump = %s yığını
|
||||
%s Ingot = %s külçesi
|
||||
%s Block = %s blok
|
||||
%s Pickaxe = %s kazma
|
||||
%s Shovel = %s kürek
|
||||
%s Axe = %s balta
|
||||
%s Sword = %s kılıç
|
||||
|
||||
Copper = Bakır
|
||||
Tin = Kalay
|
||||
Bronze = Bronz
|
||||
Silver = Gümüş
|
||||
Gold = Altın
|
||||
Mithril = Mithril
|
||||
|
||||
Copper Rail = Bakır ray
|
63
loot.lua
Normal file
63
loot.lua
Normal file
|
@ -0,0 +1,63 @@
|
|||
if not minetest.get_modpath("loot") then
|
||||
return
|
||||
end
|
||||
|
||||
if moreores.tin_enabled then
|
||||
loot.register_loot({
|
||||
weights = { generic = 500 },
|
||||
payload = {
|
||||
stack = ItemStack("moreores:tin_ingot"),
|
||||
min_size = 1,
|
||||
max_size = 10,
|
||||
},
|
||||
})
|
||||
|
||||
loot.register_loot({
|
||||
weights = { generic = 500 },
|
||||
payload = {
|
||||
stack = ItemStack("moreores:tin_lump"),
|
||||
min_size = 1,
|
||||
max_size = 10,
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
if moreores.silver_enabled then
|
||||
loot.register_loot({
|
||||
weights = { generic = 200, valuable = 200, },
|
||||
payload = {
|
||||
stack = ItemStack("moreores:silver_ingot"),
|
||||
min_size = 1,
|
||||
max_size = 10,
|
||||
},
|
||||
})
|
||||
|
||||
loot.register_loot({
|
||||
weights = { generic = 200, valuable = 200, },
|
||||
payload = {
|
||||
stack = ItemStack("moreores:silver_lump"),
|
||||
min_size = 1,
|
||||
max_size = 10,
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
if moreores.mithril_enabled then
|
||||
loot.register_loot({
|
||||
weights = { generic = 25, valuable = 25, },
|
||||
payload = {
|
||||
stack = ItemStack("moreores:mithril_ingot"),
|
||||
min_size = 1,
|
||||
max_size = 5,
|
||||
},
|
||||
})
|
||||
|
||||
loot.register_loot({
|
||||
weights = { generic = 25, valuable = 25, },
|
||||
payload = {
|
||||
stack = ItemStack("moreores:mithril_lump"),
|
||||
min_size = 1,
|
||||
max_size = 5,
|
||||
},
|
||||
})
|
||||
end
|
12
mg.lua
12
mg.lua
|
@ -1,10 +1,15 @@
|
|||
--[[
|
||||
More Ores: `mg` mod support
|
||||
|
||||
Copyright (c) 2011-2017 Hugo Locurcio and contributors.
|
||||
Copyright (c) 2011-2015 Calinou and contributors.
|
||||
Licensed under the zlib license. See LICENSE.md for more information.
|
||||
--]]
|
||||
if not minetest.get_modpath("mg") then
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
if moreores.tin_enabled then
|
||||
mg.register_ore({
|
||||
name = "moreores:mineral_tin",
|
||||
wherein = "default:stone",
|
||||
|
@ -19,7 +24,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 +43,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 +60,4 @@ mg.register_ore({
|
|||
segincldev = 0.6,
|
||||
turnangle = 57,
|
||||
})
|
||||
end
|
36
readsettings.lua
Normal file
36
readsettings.lua
Normal file
|
@ -0,0 +1,36 @@
|
|||
------------------------------------------------------------------------------
|
||||
------------------------------ CONFIGURATION ---------------------------------
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
-- Chunk sizes for ore generation (bigger = ore deposits are more scattered around)
|
||||
-- Amount of ore per chunk (higher = bigger ore deposits)
|
||||
-- Minimal depths of ore generation (Y coordinate, 0 being sea level by default)
|
||||
-- Maximal depths of ore generation (Y coordinate, 0 being sea level by default)
|
||||
|
||||
-- Tin
|
||||
moreores.tin_enabled = minetest.setting_getbool("moreores_tin_enabled")
|
||||
if moreores.tin_enabled == nil then moreores.tin_enabled = true end -- defaults to true
|
||||
moreores.tin_chunk_size = tonumber(minetest.setting_get("moreores_tin_chunk_size")) or 7
|
||||
moreores.tin_ore_per_chunk = tonumber(minetest.setting_get("moreores_tin_ore_per_chunk")) or 3
|
||||
moreores.tin_min_depth = tonumber(minetest.setting_get("moreores_tin_min_depth")) or -31000
|
||||
moreores.tin_max_depth = tonumber(minetest.setting_get("moreores_tin_max_depth")) or 8
|
||||
|
||||
moreores.override_default_bronze_recipe = minetest.setting_getbool("moreores_override_default_bronze_recipe") -- defaults to false
|
||||
|
||||
-- Silver
|
||||
|
||||
moreores.silver_enabled = minetest.setting_getbool("moreores_silver_enabled")
|
||||
if moreores.silver_enabled == nil then moreores.silver_enabled = true end -- defaults to true
|
||||
moreores.silver_chunk_size = tonumber(minetest.setting_get("moreores_silver_chunk_size")) or 11
|
||||
moreores.silver_ore_per_chunk = tonumber(minetest.setting_get("moreores_silver_ore_per_chunk")) or 4
|
||||
moreores.silver_min_depth = tonumber(minetest.setting_get("moreores_silver_min_depth")) or -31000
|
||||
moreores.silver_max_depth = tonumber(minetest.setting_get("moreores_silver_max_depth")) or -2
|
||||
|
||||
-- Mithril
|
||||
|
||||
moreores.mithril_enabled = minetest.setting_getbool("moreores_mithril_enabled")
|
||||
if moreores.mithril_enabled == nil then moreores.mithril_enabled = true end -- defaults to true
|
||||
moreores.mithril_chunk_size = tonumber(minetest.setting_get("moreores_mithril_chunk_size")) or 11
|
||||
moreores.mithril_ore_per_chunk = tonumber(minetest.setting_get("moreores_mithril_ore_per_chunk")) or 1
|
||||
moreores.mithril_min_depth = tonumber(minetest.setting_get("moreores_mithril_min_depth")) or -31000
|
||||
moreores.mithril_max_depth = tonumber(minetest.setting_get("moreores_mithril_max_depth")) or -512
|
39
settingtypes.txt
Normal file
39
settingtypes.txt
Normal file
|
@ -0,0 +1,39 @@
|
|||
[Tin]
|
||||
# Enables/disables tin generation
|
||||
moreores_tin_enabled (Generate) bool true
|
||||
#Chunk sizes for ore generation (bigger = ore deposits are more scattered around)
|
||||
moreores_tin_chunk_size (Chunk size) int 7 1 100
|
||||
#Amount of ore per chunk (higher = bigger ore deposits)
|
||||
moreores_tin_ore_per_chunk (Ore per chunk) int 3 1 100
|
||||
#Minimal depths of ore generation (Y coordinate, 0 being sea level by default)
|
||||
moreores_tin_min_depth (Min depth) int -31000 -31000 31000
|
||||
#Maximal depths of ore generation (Y coordinate, 0 being sea level by default)
|
||||
moreores_tin_max_depth (Max depth) int 8 -31000 31000
|
||||
|
||||
#When tin is enabled and this is true, removes the default bronze recipe
|
||||
#(steel + copper) in favor of the tin + copper recipe included in this mod.
|
||||
moreores_override_default_bronze_recipe (Override default bronze recipe) bool false
|
||||
|
||||
[Silver]
|
||||
# Enables/disables silver generation
|
||||
moreores_silver_enabled (Generate) bool true
|
||||
#Chunk sizes for ore generation (bigger = ore deposits are more scattered around)
|
||||
moreores_silver_chunk_size (Chunk size) int 11 1 100
|
||||
#Amount of ore per chunk (higher = bigger ore deposits)
|
||||
moreores_silver_ore_per_chunk (Ore per chunk) int 4 1 100
|
||||
#Minimal depths of ore generation (Y coordinate, 0 being sea level by default)
|
||||
moreores_silver_min_depth (Min depth) int -31000 -31000 31000
|
||||
#Maximal depths of ore generation (Y coordinate, 0 being sea level by default)
|
||||
moreores_silver_max_depth (Max depth) int -2 -31000 31000
|
||||
|
||||
[Mithril]
|
||||
# Enables/disables mithril generation
|
||||
moreores_mithril_enabled (Generate) bool true
|
||||
#Chunk sizes for ore generation (bigger = ore deposits are more scattered around)
|
||||
moreores_mithril_chunk_size (Chunk size) int 11 1 100
|
||||
#Amount of ore per chunk (higher = bigger ore deposits)
|
||||
moreores_mithril_ore_per_chunk (Ore per chunk) int 1 1 100
|
||||
#Minimal depths of ore generation (Y coordinate, 0 being sea level by default)
|
||||
moreores_mithril_min_depth (Min depth) int -31000 -31000 31000
|
||||
#Maximal depths of ore generation (Y coordinate, 0 being sea level by default)
|
||||
moreores_mithril_max_depth (Max depth) int -512 -31000 31000
|
Loading…
Reference in New Issue
Block a user