summaryrefslogtreecommitdiff
path: root/technic_worldgen/mg.lua
blob: 74807d7ecb8ce7aa36aaa1b351a463076ad5ffef (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
mg.register_ore({
	name = "technic:mineral_uranium",
	wherein = "default:stone",
	seeddiff = 11,
	maxvdistance = 10.5,
	maxheight = -80,
	minheight = -300,
	sizen = 20,
	sizedev = 10,
	seglenghtn = 3,
	seglenghtdev = 1,
	segincln = 0.4,
	segincldev = 0.6,
	turnangle = 57,
	numperblock = 1,
	fork_chance = 0
})

mg.register_ore({
	name = "technic:mineral_chromium",
	wherein = "default:stone",
	seeddiff = 12,
	maxvdistance = 10.5,
	maxheight = -100,
	sizen = 50,
	sizedev = 20,
	seglenghtn = 8,
	seglenghtdev = 3,
	segincln = 0,
	segincldev = 0.6,
	turnangle = 57,
	forkturnangle = 57,
	numperblock = 2
})

mg.register_ore({
	name = "technic:mineral_zinc",
	wherein = "default:stone",
	seeddiff = 13,
	maxvdistance = 10.5,
	maxheight = 2,
	seglenghtn = 15,
	seglenghtdev = 6,
	segincln = 0,
	segincldev = 0.6,
	turnangle = 57,
	forkturnangle = 57,
	numperblock = 2
})

mg.register_ore({
	name = "technic:mineral_lead",
	wherein = "default:stone",
	seeddiff = 14,
	maxvdistance = 10.5,
	maxheight = 16,
	seglenghtn = 15,
	seglenghtdev = 6,
	segincln = 0,
	segincldev = 0.6,
	turnangle = 57,
	forkturnangle = 57,
	numperblock = 3
})

if technic.config:get_bool("enable_granite_generation") then
	mg.register_ore_sheet({
		name = "technic:granite",
		wherein = "default:stone",
		height_min = -31000,
		height_max = -150,
		tmin = 3,
		tmax = 6,
		threshhold = 0.4,
		noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
	})
end

if technic.config:get_bool("enable_marble_generation") then
	mg.register_ore_sheet({
		name = "technic:marble",
		wherein = "default:stone",
		height_min = -31000,
		height_max = -50,
		tmin = 3,
		tmax = 6,
		threshhold = 0.4,
		noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=23, octaves=3, persist=0.70}
	})
end