summaryrefslogtreecommitdiff
path: root/currency/crafting.lua
blob: 5013fd27fa2004df082fcb1223e67179d8e7c562 (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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
minetest.register_craft({
	output = 'currency:safe',
	recipe = {
		{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
		{'default:steel_ingot', 'default:mese_crystal', 'default:steel_ingot'},
		{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
	}
})

minetest.register_craft({
	output = 'currency:shop',
	recipe = {
		{'default:sign_wall'},
		{'default:chest_locked'},
	}
})

minetest.register_craft({
	output = 'currency:barter',
	recipe = {
		{'default:sign_wall'},
		{'default:chest'},
	}
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld_cent_10",
	recipe = {
		"currency:minegeld_cent_5",
		"currency:minegeld_cent_5"
	},
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld_cent_5 2",
	recipe = {"currency:minegeld_cent_10"},
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld_cent_25",
	recipe = {
		"currency:minegeld_cent_5",
		"currency:minegeld_cent_5",
		"currency:minegeld_cent_5",
		"currency:minegeld_cent_5",
		"currency:minegeld_cent_5"
	},
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld_cent_5 5",
	recipe = {"currency:minegeld_cent_25"},
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld",
	recipe = {
		"currency:minegeld_cent_25",
		"currency:minegeld_cent_25",
		"currency:minegeld_cent_25",
		"currency:minegeld_cent_25"
	},
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld_cent_25 4",
	recipe = {"currency:minegeld"},
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld_5",
	recipe = {
		"currency:minegeld",
		"currency:minegeld",
		"currency:minegeld",
		"currency:minegeld",
		"currency:minegeld"
	},
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld 5",
	recipe = {"currency:minegeld_5"},
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld_10",
	recipe = {
		"currency:minegeld_5",
		"currency:minegeld_5"
	},
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld_5 2",
	recipe = {"currency:minegeld_10"},
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld 5",
	recipe = {"currency:minegeld_5"},
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld_10 5",
	recipe = {"currency:minegeld_50"},
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld_50",
	recipe = {
		"currency:minegeld_10",
		"currency:minegeld_10",
		"currency:minegeld_10",
		"currency:minegeld_10",
		"currency:minegeld_10"
	},
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld_100",
	recipe = {
		"currency:minegeld_50",
		"currency:minegeld_50"
	},
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld_50 2",
	recipe = {"currency:minegeld_100" },
})

minetest.register_craft({
	type = "shapeless",
	output = "currency:minegeld_bundle",
	recipe = {
		"group:minegeld",
		"group:minegeld",
		"group:minegeld",
		"group:minegeld",
		"group:minegeld",
		"group:minegeld",
		"group:minegeld",
		"group:minegeld",
		"group:minegeld"
	},
})

minetest.register_craft({
	type = "fuel",
	recipe = "currency:minegeld_bundle",
	burntime = 1,
})