Commit 7b916f126b12101bedcfd38bb0e1088cb169575d

Authored by Stefan Wichmann
1 parent 5b2870d3

Update to be compatible with Factorio 1.1

calcui-styles.lua
... ... @@ -2,9 +2,29 @@
2 2  
3 3 local default_gui = data.raw["gui-style"].default
4 4  
  5 +default_gui.calcui_icon_button =
  6 +{
  7 + type = "button_style",
  8 + parent = "button",
  9 + default_font_color = {},
  10 + size = 38,
  11 + top_padding = 1,
  12 + right_padding = 0,
  13 + bottom_padding = 1,
  14 + left_padding = 0,
  15 + left_click_sound = {{ filename = "__core__/sound/gui-square-button.ogg", volume = 1 }},
  16 + default_graphical_set =
  17 + {
  18 + filename = "__core__/graphics/gui.png",
  19 + corner_size = 3,
  20 + position = {8, 0},
  21 + scale = 1
  22 + }
  23 +}
  24 +
5 25 default_gui.calcui_button_style = {
6 26 type = "button_style",
7   - parent = "icon_button",
  27 + parent = "calcui_icon_button",
8 28 top_padding = 0,
9 29 right_padding = 0,
10 30 bottom_padding = 0,
... ...
changelog.txt
1 1 ---------------------------------------------------------------------------------------------------
2   -Version: 0.18.8
3   -Date: ????
  2 +Version: 1.1.0
  3 +Date: 2020-11-24
4 4 Changes:
  5 + - Updated the version for Factorio 1.1 Experimental Branch
5 6 ---------------------------------------------------------------------------------------------------
6 7 Version: 0.18.7
7 8 Date: 2020-06-25
... ...
info.json
1 1 {
2 2 "name": "calculator-ui",
3   - "version": "0.18.8",
  3 + "version": "1.1.0",
4 4 "title": "Calculator UI",
5 5 "author": "Wichu",
6   - "factorio_version": "0.18",
7   - "dependencies": ["base >= 0.18.33"],
  6 + "factorio_version": "1.1",
  7 + "dependencies": ["base >= 1.1.0"],
8 8 "description": "This mod adds a calculator with advanced controls to the UI."
9 9 }
10 10 \ No newline at end of file
... ...