This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
forked from crosma/RoboportLogistics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.lua
80 lines (74 loc) · 1.87 KB
/
data.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
data:extend({
{
type = "item-subgroup",
name = "virtual-signal-sensor",
group = "signals",
order = "z"
},
{
type = "virtual-signal",
name = "home-lrobots",
icon = "__RoboportLogistics__/graphics/lbot-rdy.png",
subgroup = "virtual-signal-sensor",
order = "z[sensor-a]",
},
{
type = "virtual-signal",
name = "home-crobots",
icon = "__RoboportLogistics__/graphics/cbot-rdy.png",
subgroup = "virtual-signal-sensor",
order = "z[sensor-a]",
},
{
type = "virtual-signal",
name = "all-lrobots",
icon = "__RoboportLogistics__/graphics/lbot-all.png",
subgroup = "virtual-signal-sensor",
order = "z[sensor-a]",
},
{
type = "virtual-signal",
name = "all-crobots",
icon = "__RoboportLogistics__/graphics/cbot-all.png",
subgroup = "virtual-signal-sensor",
order = "z[sensor-a]",
},
{
type = "constant-combinator", --decider-combinator
name = "roboport-output-proxy",
icon = "__base__/graphics/entity/smart-chest/smart-chest.png",
--flags = {"placeable-neutral", "player-creation"},
minable = {hardness = 0.2, mining_time = 0.5, result = "constant-combinator"},
selectable_in_game = false,
--collision_mask = {"ghost-layer"},
max_health = 1,
--subgroup = "grass",
--order="z",
collision_box = {{-1.7, -1.7}, {1.7, 1.7}},
selection_box = {{-2, -2}, {2, 2}},
item_slot_count = 20, -- must be at least the total amount of signal-able items in the current instance, to be safe.
sprite =
{
filename = "__base__/graphics/entity/smart-chest/smart-chest.png",
priority = "extra-high",
width = 0,
height = 0,
shift = {0,0}
},
circuit_wire_connection_point =
{
shadow =
{
red = {-1.335625, -1.278125}, --TODO: Adjust
green = {0, 0},
},
wire =
{
red = {-1.355625, -1.288125},
green = {0, 0},
}
},
circuit_wire_max_distance = 7.5
},
}
)