-
Notifications
You must be signed in to change notification settings - Fork 13
/
crafts.lua
42 lines (36 loc) · 1.19 KB
/
crafts.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
local cheaper_part = "default:copper_ingot"
if minetest.get_modpath("mesecons") then
cheaper_part = "mesecons:wire_00000000_off"
end
minetest.register_craft({
output = "atm:atm",
recipe = {
{"default:steel_ingot", cheaper_part, "default:steel_ingot"},
{"default:glass", "currency:minegeld", "default:steel_ingot"},
{"default:steel_ingot", cheaper_part, "default:steel_ingot"}
}
})
minetest.register_craft({
output = "atm:atm2",
recipe = {
{"default:steel_ingot", cheaper_part, "default:steel_ingot"},
{"default:glass", "currency:minegeld_5", "default:steel_ingot"},
{"default:steel_ingot", "default:mese_crystal", "default:steel_ingot"}
}
})
minetest.register_craft({
output = "atm:atm3",
recipe = {
{"default:steel_ingot", "default:mese_crystal", "default:steel_ingot"},
{"default:glass", "currency:minegeld_10", "default:steel_ingot"},
{"default:steel_ingot", "default:mese_crystal", "default:steel_ingot"}
}
})
minetest.register_craft({
output = "atm:wtt",
recipe = {
{"default:steel_ingot", "default:mese_crystal", "default:steel_ingot"},
{"default:glass", cheaper_part, "default:steel_ingot"},
{"default:steel_ingot", "default:mese_crystal", "default:steel_ingot"}
}
})