Skip to content

Commit 8e89db6

Browse files
committed
Update to 0.10.8
1 parent f50c34f commit 8e89db6

5 files changed

Lines changed: 15 additions & 4 deletions

File tree

changelog.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
---------------------------------------------------------------------------------------------------
2+
Version: 0.10.8
3+
Date: 20. 08. 2021
4+
Changes:
5+
- Added an info icon
6+
---------------------------------------------------------------------------------------------------
27
Version: 0.10.7
3-
Date: 19. 08. 2021
8+
Date: 20. 08. 2021
49
Changes:
510
- Refactored slightly
611
- Improved stability slightly

control.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ function microcontrollerGui( player, entity )
412412
state.gui_halt_button = buttons_row.add{type = "sprite-button", name = "halt-program", sprite = "microcontroller-stop-sprite"}
413413
state.gui_copy_button = buttons_row.add{type = "sprite-button", name = "copy-program", sprite = "microcontroller-copy-sprite"}
414414
state.gui_paste_button = buttons_row.add{type = "sprite-button", name = "paste-program", sprite = "microcontroller-paste-sprite"}
415-
state.help_button = buttons_row.add{type = "button", name = "mc-help-button", caption = "?"}
415+
buttons_row.add{type = "sprite-button", name = "mc-help-button", sprite = "microcontroller-info-sprite"}
416416
state.gui_exit_button = buttons_row.add{type = "sprite-button", name = "close-microcontroller-window", sprite = "microcontroller-exit-sprite"}
417417

418418
local scroll_pane = outerflow.add{type = "scroll-pane", name = "scroll_pane"}

data.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,13 @@ data:extend{
142142
width = 32,
143143
height = 32
144144
},
145-
145+
{
146+
type = "sprite",
147+
name = "microcontroller-info-sprite",
148+
filename = "__m-microcontroller__/graphics/info.png",
149+
width = 32,
150+
height = 32
151+
},
146152
{
147153
type = "virtual-signal",
148154
name = "signal-mc-halt",

graphics/info.png

853 Bytes
Loading

info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "m-microcontroller",
3-
"version": "0.10.7",
3+
"version": "0.10.8",
44
"factorio_version": "1.1",
55
"title": "MicroController",
66
"author": "Luke Perkin",

0 commit comments

Comments
 (0)