-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathrobot.lua
108 lines (86 loc) · 4.01 KB
/
robot.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
--[[
Frame:
digiterms:cathodic_beige_monitor
hook:pchest
tubelib:tubeS
terumet:frame_cgls
Controller:
mesecons_luacontroller:luacontroller0000
digilines_memory:memory_7
moremesecons_timegate:timegate_off
basic_materials:energy_crystal_simple
Actor:
tubelib:distributor
tubelib_addons1:liquidsampler
digistuff:piston
terumet:block_entropy
Interface:
digistuff:touchscreen
digistuff:noteblock
tubelib_addons2:sequencer
mesecons_switch:mesecon_switch_off
"robot:norm_robot"
{ "mesecons_luacontroller:luacontroller0000", "digistuff:touchscreen", "scifi_nodes:block_lights" },
{ "digiterms:cathodic_beige_monitor", "terumet:frame_cgls", "digilines_memory:memory_7" },
{ "tubelib_addons3:distributor", "basic_materials:energy_crystal_simple", "hook:pchest" },
"robot:norm_robot_body"
{ "mesecons_luacontroller:luacontroller0000", "digistuff:touchscreen", "scifi_nodes:block_lights" },
{ "unified_inventory:bag_small", "terumet:frame_cgls", "technic:stainless_steel_block" },
{ "tubelib_addons3:distributor", "unified_inventory:bag_small", "hook:pchest" },
"robot:norm_robot_legs"
{ "mesecons_luacontroller:luacontroller0000", "digistuff:touchscreen", "scifi_nodes:block_lights" },
{ "rhotator:screwdriver", "terumet:frame_cgls", "bike:wheel" },
{ "tubelib_addons3:distributor", "carts:cart", "hook:pchest" },
"robot:dark_robot*"
{ "digistuff:touchscreen", "terumet:block_entropy", "scifi_nodes:blink" },
{ "digistuff:touchscreen", "robot:norm_robot*", "terumet:block_entropy" },
{ "digistuff:touchscreen", "terumet:block_entropy", "scifi_nodes:blackplate" },
"robot:light_robot*"
{ "scifi_nodes:glassscreen", "quartz:block", "morelights_extras:f_block" },
{ "scifi_nodes:glassscreen", "robot:dark_robot*", "quartz:block" },
{ "scifi_nodes:glassscreen", "quartz:block", "scifi_nodes:ultra_white" },
]]
if not minetest.get_modpath("robot") then return end
minetest.register_craft({
output="robot:norm_robot",
recipe={
{ "mesecons_luacontroller:luacontroller0000", "digistuff:touchscreen", "scifi_nodes:black_lights" },
{ "digiterms:cathodic_beige_monitor", "terumet:frame_cgls", "digilines_memory:memory_7" },
{ "tubelib_addons3:distributor", "basic_materials:energy_crystal_simple", "hook:pchest" },
},
})
minetest.register_craft({
output="robot:norm_robot_body",
recipe={
{ "mesecons_luacontroller:luacontroller0000", "digistuff:touchscreen", "scifi_nodes:black_lights" },
{ "unified_inventory:bag_small", "terumet:frame_cgls", "technic:stainless_steel_block" },
{ "tubelib_addons3:distributor", "unified_inventory:bag_large", "hook:pchest" },
}
})
minetest.register_craft({
output="robot:norm_robot_legs",
recipe={
{ "mesecons_luacontroller:luacontroller0000", "digistuff:touchscreen", "scifi_nodes:black_lights" },
{ "rhotator:screwdriver", "terumet:frame_cgls", "bike:wheel" },
{ "tubelib_addons3:distributor", "carts:cart", "hook:pchest" },
}
})
local parts = {"", "_body", "_legs"}
for _,part in ipairs(parts) do
minetest.register_craft({
output="robot:dark_robot"..part,
recipe={
{ "digistuff:touchscreen", "terumet:block_entropy", "scifi_nodes:blink" },
{ "digistuff:touchscreen", "robot:norm_robot"..part, "terumet:block_entropy" },
{ "digistuff:touchscreen", "terumet:block_entropy", "scifi_nodes:blackplate" },
}
})
minetest.register_craft({
output="robot:light_robot"..part,
recipe={
{ "scifi_nodes:glassscreen", "quartz:block", "morelights_extras:f_block" },
{ "scifi_nodes:glassscreen", "robot:dark_robot"..part, "quartz:block" },
{ "scifi_nodes:glassscreen", "quartz:block", "scifi_nodes:ultra_white" },
}
})
end