summaryrefslogtreecommitdiff
path: root/moreores/mg.lua
blob: 6551ae5d36dd1b1ad74559021fa47eb55d9f8176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
--[[
More Ores: `mg` mod support

Copyright (c) 2011-2017 Hugo Locurcio and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
--]]

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",
	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
})

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,
})