Add external_legacy mod with aliases for moreores' ores
authorPilzAdam <pilzadam@minetest.net>
Sun, 24 Mar 2013 21:33:53 +0000 (22:33 +0100)
committerPilzAdam <pilzadam@minetest.net>
Sun, 24 Mar 2013 21:47:33 +0000 (22:47 +0100)
mods/external_legacy/README.txt [new file with mode: 0644]
mods/external_legacy/init.lua [new file with mode: 0644]

diff --git a/mods/external_legacy/README.txt b/mods/external_legacy/README.txt
new file mode 100644 (file)
index 0000000..6451fec
--- /dev/null
@@ -0,0 +1,18 @@
+Minetest 0.4 mod: external_legacy
+=================================
+
+License of source code:
+-----------------------
+Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; either version 2.1 of the License, or
+(at your option) any later version.
+
+http://www.gnu.org/licenses/lgpl-2.1.html
+
+License of media (textures and sounds)
+--------------------------------------
+Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)                                 
+http://creativecommons.org/licenses/by-sa/3.0/
diff --git a/mods/external_legacy/init.lua b/mods/external_legacy/init.lua
new file mode 100644 (file)
index 0000000..82c76dd
--- /dev/null
@@ -0,0 +1,8 @@
+-- Minetest 0.4 mod: external_legacy
+-- See README.txt for licensing and other information.
+
+-- Aliases to support moreores' ores
+minetest.register_alias("moreores:mineral_gold", "default:stone_with_gold")
+minetest.register_alias("moreores:gold_block", "default:goldblock")
+minetest.register_alias("moreores:gold_lump", "default:gold_lump")
+minetest.register_alias("moreores:gold_ingot", "default:gold_ingot")