6 Commits
Author SHA1 Message Date
Wyrrrd 88a01b4bee Fixed dependency (oops) 2020-05-26 21:10:31 +02:00
Wyrrrd 3cf302c51f Merge branch 'master' of https://github.com/Wyrrrd/IndustrialDisplayPlates 2020-05-26 20:43:08 +02:00
Wyrrrd ae2c66d174 GUI fixes
for 0.18.27
2020-05-26 20:43:03 +02:00
WyrrrdandGitHub f9560c6cda Merge pull request #2 from ickputzdirwech/master
Fix for migration issue with steel displays.
2020-05-17 16:28:55 +00:00
ickputzdirwech 8b6638dcd4 Fix for migration issue with steel displays.
Added fast replaceable group. (Resets the label)
2020-05-16 18:10:45 +02:00
Wyrrrd 615d8209d6 Fixed mod name 2020-04-08 11:17:17 +02:00
6 changed files with 27 additions and 9 deletions
+6
View File
@@ -1,10 +1,16 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 0.18.1
Date: 2020-05-26
Bugfixes:
- Quick fix for base GUI changes (styles and search icon)
---------------------------------------------------------------------------------------------------
Version: 0.18.0 Version: 0.18.0
Date: 2020-04-08 Date: 2020-04-08
Changes: Changes:
- Mod takeover from https://mods.factorio.com/mod/IndustrialDisplays - Mod takeover from https://mods.factorio.com/mod/IndustrialDisplays
- Changed versioning - Changed versioning
- Changed changelog date format - Changed changelog date format
- Changed mod name
Features: Features:
- Added german locale - Added german locale
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
+1 -1
View File
@@ -331,7 +331,7 @@ local function create_display_gui(player, selected)
local search_button = header.add { local search_button = header.add {
name = "display-search-button", name = "display-search-button",
type = "sprite-button", type = "sprite-button",
sprite = "utility/search_small_white", sprite = "utility/search_white",
style = "display_small_button", style = "display_small_button",
tooltip = {"gui.search-with-focus","__CONTROL__focus-search__"}, tooltip = {"gui.search-with-focus","__CONTROL__focus-search__"},
} }
+3 -2
View File
@@ -54,6 +54,7 @@ for display,displaydata in pairs(DID.displays) do
icon_size = DID.icon_size, icon_size = DID.icon_size,
icon_mipmaps = DID.icon_mipmaps, icon_mipmaps = DID.icon_mipmaps,
corpse = "small-remnants", corpse = "small-remnants",
fast_replaceable_group = "display",
minable = { minable = {
mining_time = 0.2, mining_time = 0.2,
result = display, result = display,
@@ -232,7 +233,7 @@ add_styles({
display_button_selected = { display_button_selected = {
type = "button_style", type = "button_style",
parent = "quick_bar_slot_button", parent = "quick_bar_slot_button",
default_graphical_set = data.raw["gui-style"]["default"]["CGUI_filter_slot_button"].selected_graphical_set default_graphical_set = data.raw["gui-style"]["default"]["slot_button"].selected_graphical_set
}, },
display_fake_header = { display_fake_header = {
type = "frame_style", type = "frame_style",
@@ -247,7 +248,7 @@ add_styles({
}, },
display_small_button = { display_small_button = {
type = "button_style", type = "button_style",
parent = "frame_action_button_no_border", parent = "frame_action_button",
left_margin = 1, left_margin = 1,
right_margin = 1, right_margin = 1,
}, },
+4 -4
View File
@@ -60,14 +60,14 @@ return {
}, },
icon_size = 64, icon_size = 64,
icon_mipmaps = 4, icon_mipmaps = 4,
icon_path = "__IndustrialDisplays__/graphics/icons", icon_path = "__IndustrialDisplayPlates__/graphics/icons",
sprites_path = "__IndustrialDisplays__/graphics/entities", sprites_path = "__IndustrialDisplayPlates__/graphics/entities",
sound_path = "__IndustrialDisplays__/sound", sound_path = "__IndustrialDisplayPlates__/sound",
base_sound_path = "__base__/sound", base_sound_path = "__base__/sound",
core_sound_path = "__core__/sound", core_sound_path = "__core__/sound",
base_icons_path = "__base__/graphics/icons", base_icons_path = "__base__/graphics/icons",
custom_gui = "DID_gui", custom_gui = "DID_gui",
mod_name = "IndustrialDisplays", mod_name = "IndustrialDisplayPlates",
grid_columns = 10, grid_columns = 10,
pending_translation_value = "", pending_translation_value = "",
} }
+2 -2
View File
@@ -1,10 +1,10 @@
{ {
"name": "IndustrialDisplayPlates", "name": "IndustrialDisplayPlates",
"version": "0.18.0", "version": "0.18.1",
"title": "Industrial Display Plates", "title": "Industrial Display Plates",
"author": "Wyrrrd", "author": "Wyrrrd",
"homepage": "https://github.com/Wyrrrd/IndustrialDisplayPlates", "homepage": "https://github.com/Wyrrrd/IndustrialDisplayPlates",
"dependencies": ["base >= 0.18.13"], "dependencies": ["base >= 0.18.27"],
"description": "Big, medium and small signs which display item and fluid icons. Can be used to blueprint map markers.", "description": "Big, medium and small signs which display item and fluid icons. Can be used to blueprint map markers.",
"factorio_version": "0.18" "factorio_version": "0.18"
} }
+11
View File
@@ -0,0 +1,11 @@
for index, force in pairs(game.forces) do
local technologies = force.technologies
local recipes = force.recipes
if technologies["steel-processing"].researched then
recipes["steel-display-small"].enabled = true
recipes["steel-display-medium"].enabled = true
recipes["steel-display"].enabled = true
end
end