@@ -5,47 +5,44 @@ inv_sensor.icon_size = 32
5
5
inv_sensor .minable .result = " item-sensor"
6
6
7
7
inv_sensor .sprites =
8
- {
9
- north =
10
- {
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 },
47
- }
48
- }
8
+ make_4way_animation_from_spritesheet ({ layers =
9
+ {
10
+ {
11
+ filename = " __Inventory Sensor__/graphics/entity/inventory-sensor.png" ,
12
+ width = 58 ,
13
+ height = 52 ,
14
+ frame_count = 1 ,
15
+ shift = util .by_pixel (0 , 5 ),
16
+ hr_version =
17
+ {
18
+ scale = 0.5 ,
19
+ filename = " __Inventory Sensor__/graphics/entity/hr-inventory-sensor.png" ,
20
+ width = 114 ,
21
+ height = 102 ,
22
+ frame_count = 1 ,
23
+ shift = util .by_pixel (0 , 5 ),
24
+ },
25
+ },
26
+ {
27
+ filename = " __base__/graphics/entity/combinator/constant-combinator-shadow.png" ,
28
+ width = 50 ,
29
+ height = 34 ,
30
+ frame_count = 1 ,
31
+ shift = util .by_pixel (9 , 6 ),
32
+ draw_as_shadow = true ,
33
+ hr_version =
34
+ {
35
+ scale = 0.5 ,
36
+ filename = " __base__/graphics/entity/combinator/hr-constant-combinator-shadow.png" ,
37
+ width = 98 ,
38
+ height = 66 ,
39
+ frame_count = 1 ,
40
+ shift = util .by_pixel (8.5 , 5.5 ),
41
+ draw_as_shadow = true ,
42
+ },
43
+ },
44
+ },
45
+ })
49
46
50
47
inv_sensor .item_slot_count = 1000
51
48
0 commit comments