1- data :extend ({
1+ local inv_sensor = table .deepcopy (data .raw [" constant-combinator" ][" constant-combinator" ])
2+ inv_sensor .name = " item-sensor"
3+ inv_sensor .icon = " __Inventory Sensor__/graphics/icons/inventory-sensor.png"
4+ inv_sensor .icon_size = 32
5+ inv_sensor .minable .result = " item-sensor"
6+
7+ inv_sensor .sprites =
8+ {
9+ north =
210 {
3- type = " constant-combinator" ,
4- name = " item-sensor" ,
5- icon = " __Inventory Sensor__/graphics/icons/inventory-sensor.png" ,
6- flags = {" placeable-neutral" , " player-creation" },
7- minable = {hardness = 0.2 , mining_time = 0.5 , result = " item-sensor" },
8- max_health = 50 ,
9- corpse = " small-remnants" ,
10-
11- collision_box = {{- 0.35 , - 0.35 }, {0.35 , 0.35 }},
12- selection_box = {{- 0.5 , - 0.5 }, {0.5 , 0.5 }},
13-
14- item_slot_count = 1000 ,
15-
16- sprites =
17- {
18- north =
19- {
20- filename = " __Inventory Sensor__/graphics/entity/inventory-sensor.png" ,
21- x = 158 ,
22- y = 5 ,
23- width = 79 ,
24- height = 63 ,
25- frame_count = 1 ,
26- shift = {0.140625 , 0.140625 },
27- },
28- east =
29- {
30- filename = " __Inventory Sensor__/graphics/entity/inventory-sensor.png" ,
31- y = 5 ,
32- width = 79 ,
33- height = 63 ,
34- frame_count = 1 ,
35- shift = {0.140625 , 0.140625 },
36- },
37- south =
38- {
39- filename = " __Inventory Sensor__/graphics/entity/inventory-sensor.png" ,
40- x = 237 ,
41- y = 5 ,
42- width = 79 ,
43- height = 63 ,
44- frame_count = 1 ,
45- shift = {0.140625 , 0.140625 },
46- },
47- west =
48- {
49- filename = " __Inventory Sensor__/graphics/entity/inventory-sensor.png" ,
50- x = 79 ,
51- y = 5 ,
52- width = 79 ,
53- height = 63 ,
54- frame_count = 1 ,
55- shift = {0.140625 , 0.140625 },
56- }
57- },
58-
59- activity_led_sprites =
60- {
61- north =
62- {
63- filename = " __base__/graphics/entity/combinator/activity-leds/combinator-led-constant-north.png" ,
64- width = 11 ,
65- height = 10 ,
66- frame_count = 1 ,
67- shift = {0.296875 , - 0.40625 },
68- },
69- east =
70- {
71- filename = " __base__/graphics/entity/combinator/activity-leds/combinator-led-constant-east.png" ,
72- width = 14 ,
73- height = 12 ,
74- frame_count = 1 ,
75- shift = {0.25 , - 0.03125 },
76- },
77- south =
78- {
79- filename = " __base__/graphics/entity/combinator/activity-leds/combinator-led-constant-south.png" ,
80- width = 11 ,
81- height = 11 ,
82- frame_count = 1 ,
83- shift = {- 0.296875 , - 0.078125 },
84- },
85- west =
86- {
87- filename = " __base__/graphics/entity/combinator/activity-leds/combinator-led-constant-west.png" ,
88- width = 12 ,
89- height = 12 ,
90- frame_count = 1 ,
91- shift = {- 0.21875 , - 0.46875 },
92- }
93- },
94-
95- activity_led_light =
96- {
97- intensity = 0.8 ,
98- size = 1 ,
99- },
100-
101- activity_led_light_offsets =
102- {
103- {0.296875 , - 0.40625 },
104- {0.25 , - 0.03125 },
105- {- 0.296875 , - 0.078125 },
106- {- 0.21875 , - 0.46875 }
107- },
108-
109- circuit_wire_connection_points =
110- {
111- {
112- shadow =
113- {
114- red = {0.15625 , - 0.28125 },
115- green = {0.65625 , - 0.25 }
116- },
117- wire =
118- {
119- red = {- 0.28125 , - 0.5625 },
120- green = {0.21875 , - 0.5625 },
121- }
122- },
123- {
124- shadow =
125- {
126- red = {0.75 , - 0.15625 },
127- green = {0.75 , 0.25 },
128- },
129- wire =
130- {
131- red = {0.46875 , - 0.5 },
132- green = {0.46875 , - 0.09375 },
133- }
134- },
135- {
136- shadow =
137- {
138- red = {0.75 , 0.5625 },
139- green = {0.21875 , 0.5625 }
140- },
141- wire =
142- {
143- red = {0.28125 , 0.15625 },
144- green = {- 0.21875 , 0.15625 }
145- }
146- },
147- {
148- shadow =
149- {
150- red = {- 0.03125 , 0.28125 },
151- green = {- 0.03125 , - 0.125 },
152- },
153- wire =
154- {
155- red = {- 0.46875 , 0 },
156- green = {- 0.46875 , - 0.40625 },
157- }
158- }
159- },
160-
161- circuit_wire_max_distance = 7.5
11+ filename = " __Inventory Sensor__/graphics/entity/inventory-sensor.png" ,
12+ x = 158 ,
13+ y = 5 ,
14+ width = 79 ,
15+ height = 63 ,
16+ frame_count = 1 ,
17+ shift = {0.140625 , 0.140625 },
18+ },
19+ east =
20+ {
21+ filename = " __Inventory Sensor__/graphics/entity/inventory-sensor.png" ,
22+ y = 5 ,
23+ width = 79 ,
24+ height = 63 ,
25+ frame_count = 1 ,
26+ shift = {0.140625 , 0.140625 },
27+ },
28+ south =
29+ {
30+ filename = " __Inventory Sensor__/graphics/entity/inventory-sensor.png" ,
31+ x = 237 ,
32+ y = 5 ,
33+ width = 79 ,
34+ height = 63 ,
35+ frame_count = 1 ,
36+ shift = {0.140625 , 0.140625 },
37+ },
38+ west =
39+ {
40+ filename = " __Inventory Sensor__/graphics/entity/inventory-sensor.png" ,
41+ x = 79 ,
42+ y = 5 ,
43+ width = 79 ,
44+ height = 63 ,
45+ frame_count = 1 ,
46+ shift = {0.140625 , 0.140625 },
16247 }
163- })
48+ }
49+
50+ inv_sensor .item_slot_count = 1000
51+
52+
53+ data :extend ({ inv_sensor })
0 commit comments