-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathcrafting.lua
88 lines (75 loc) · 2.26 KB
/
crafting.lua
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
minetest.register_craft({
output = 'currency:safe',
recipe = {
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'default:steel_ingot', '', '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_5",
recipe = {"currency:minegeld", "currency:minegeld", "currency:minegeld", "currency:minegeld", "currency:minegeld"},
})
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"},
})
--Ajout des billets de 20 Minegeld's :D / Adds 20 Minegeld's note
minetest.register_craft({
type = "shapeless",
output = "currency:minegeld_20",
recipe = {"currency:minegeld_10", "currency:minegeld_10"},
})
minetest.register_craft({
type = "shapeless",
output = "currency:minegeld_10 2",
recipe = {"currency:minegeld_20"},
})
--Ajout des billets de 50 Minegeld's :D / Adds 50 Minegeld's note
minetest.register_craft({
type = "shapeless",
output = "currency:minegeld_50",
recipe = {"currency:minegeld_20", "currency:minegeld_20","currency:minegeld_10"},
})
minetest.register_craft({
type = "shapeless",
output = "currency:minegeld_10 5",
recipe = {"currency:minegeld_50"},
})
--Ajout des billets de 100 Minegeld's :D / Adds 100 Minegeld's note
minetest.register_craft({
type = "shapeless",
output = "currency:minegeld_100",
recipe = {"currency:minegeld_20", "currency:minegeld_20","currency:minegeld_10","currency:minegeld_20", "currency:minegeld_20","currency:minegeld_10"},
})
minetest.register_craft({
type = "shapeless",
output = "currency:minegeld_10 10",
recipe = {"currency:minegeld_100"},
})