diff options
author | Thomas--S <Thomas--S@users.noreply.github.com> | 2017-05-20 14:40:04 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.l@openmailbox.org> | 2017-05-20 14:40:04 +0200 |
commit | 73e99e7d66acca3f2be11a53a40ab3b9b9694dd9 (patch) | |
tree | ab554907fc074dd97e41caccac7462e34460e751 /mg.lua | |
parent | 0842b4fec4641d9e4f538361dc153abb3c4f8fe1 (diff) |
Tin is now in Minetest Game (#18)
Diffstat (limited to 'mg.lua')
-rw-r--r-- | mg.lua | 30 |
1 files changed, 16 insertions, 14 deletions
@@ -5,20 +5,22 @@ Copyright (c) 2011-2017 Hugo Locurcio and contributors. Licensed under the zlib license. See LICENSE.md for more information. --]] -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 -}) +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", |