Skip to content

Commit 41b03fc

Browse files
committed
updated to 0.13
1 parent c1cd77a commit 41b03fc

File tree

2 files changed

+62
-61
lines changed

2 files changed

+62
-61
lines changed

info.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "ModuleInserter",
33
"version": "{{VERSION}}",
4+
"factorio_version": "0.13",
45
"title": "Module Inserter",
56
"author": "Choumiko",
67
"homepage": "",
7-
"dependencies": ["base >= 0.12.30"],
8+
"dependencies": ["base >= 0.13.0"],
89
"description": "Mass insert modules into machines with pocket bots"
910
}

prototypes/style.lua

+60-60
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
1-
data:extend({
2-
{
3-
type = "font",
4-
name = "module-inserter-small-font",
5-
from = "default",
6-
size = 14
7-
}
8-
})
1+
data:extend({
2+
{
3+
type = "font",
4+
name = "module-inserter-small-font",
5+
from = "default",
6+
size = 14
7+
}
8+
})
9+
10+
data.raw["gui-style"].default["module-inserter-small-button"] = {
11+
type = "button_style",
12+
parent = "button_style",
13+
font = "module-inserter-small-font"
14+
}
915

10-
data.raw["gui-style"].default["module-inserter-small-button"] = {
11-
type = "button_style",
12-
parent = "default",
13-
font = "module-inserter-small-font"
14-
}
15-
16-
data.raw["gui-style"].default["module-inserter-button"] =
17-
{
18-
type = "button_style",
19-
parent = "button_style",
20-
width = 33,
21-
height = 33,
22-
top_padding = 6,
23-
right_padding = 0,
24-
bottom_padding = 0,
25-
left_padding = 0,
26-
font = "module-inserter-small-font",
27-
default_graphical_set =
28-
{
29-
type = "monolith",
30-
monolith_image =
31-
{
32-
filename = "__ModuleInserter__/graphics/gui.png",
33-
priority = "extra-high-no-scale",
34-
width = 32,
35-
height = 32,
36-
x = 64
37-
}
38-
},
39-
hovered_graphical_set =
40-
{
41-
type = "monolith",
42-
monolith_image =
43-
{
44-
filename = "__ModuleInserter__/graphics/gui.png",
45-
priority = "extra-high-no-scale",
46-
width = 32,
47-
height = 32,
48-
x = 96
49-
}
50-
},
51-
clicked_graphical_set =
52-
{
53-
type = "monolith",
54-
monolith_image =
55-
{
56-
filename = "__ModuleInserter__/graphics/gui.png",
57-
width = 32,
58-
height = 32,
59-
x = 96
60-
}
61-
}
16+
data.raw["gui-style"].default["module-inserter-button"] =
17+
{
18+
type = "button_style",
19+
parent = "button_style",
20+
width = 33,
21+
height = 33,
22+
top_padding = 6,
23+
right_padding = 0,
24+
bottom_padding = 0,
25+
left_padding = 0,
26+
font = "module-inserter-small-font",
27+
default_graphical_set =
28+
{
29+
type = "monolith",
30+
monolith_image =
31+
{
32+
filename = "__ModuleInserter__/graphics/gui.png",
33+
priority = "extra-high-no-scale",
34+
width = 32,
35+
height = 32,
36+
x = 64
37+
}
38+
},
39+
hovered_graphical_set =
40+
{
41+
type = "monolith",
42+
monolith_image =
43+
{
44+
filename = "__ModuleInserter__/graphics/gui.png",
45+
priority = "extra-high-no-scale",
46+
width = 32,
47+
height = 32,
48+
x = 96
49+
}
50+
},
51+
clicked_graphical_set =
52+
{
53+
type = "monolith",
54+
monolith_image =
55+
{
56+
filename = "__ModuleInserter__/graphics/gui.png",
57+
width = 32,
58+
height = 32,
59+
x = 96
60+
}
61+
}
6262
}

0 commit comments

Comments
 (0)