Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 88a01b4bee | |||
| 3cf302c51f | |||
| ae2c66d174 | |||
| f9560c6cda | |||
| 8b6638dcd4 | |||
| 615d8209d6 |
@@ -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
|
||||
Date: 2020-04-08
|
||||
Changes:
|
||||
- Mod takeover from https://mods.factorio.com/mod/IndustrialDisplays
|
||||
- Changed versioning
|
||||
- Changed changelog date format
|
||||
- Changed mod name
|
||||
Features:
|
||||
- Added german locale
|
||||
---------------------------------------------------------------------------------------------------
|
||||
|
||||
+1
-1
@@ -331,7 +331,7 @@ local function create_display_gui(player, selected)
|
||||
local search_button = header.add {
|
||||
name = "display-search-button",
|
||||
type = "sprite-button",
|
||||
sprite = "utility/search_small_white",
|
||||
sprite = "utility/search_white",
|
||||
style = "display_small_button",
|
||||
tooltip = {"gui.search-with-focus","__CONTROL__focus-search__"},
|
||||
}
|
||||
|
||||
@@ -54,6 +54,7 @@ for display,displaydata in pairs(DID.displays) do
|
||||
icon_size = DID.icon_size,
|
||||
icon_mipmaps = DID.icon_mipmaps,
|
||||
corpse = "small-remnants",
|
||||
fast_replaceable_group = "display",
|
||||
minable = {
|
||||
mining_time = 0.2,
|
||||
result = display,
|
||||
@@ -232,7 +233,7 @@ add_styles({
|
||||
display_button_selected = {
|
||||
type = "button_style",
|
||||
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 = {
|
||||
type = "frame_style",
|
||||
@@ -247,7 +248,7 @@ add_styles({
|
||||
},
|
||||
display_small_button = {
|
||||
type = "button_style",
|
||||
parent = "frame_action_button_no_border",
|
||||
parent = "frame_action_button",
|
||||
left_margin = 1,
|
||||
right_margin = 1,
|
||||
},
|
||||
|
||||
+4
-4
@@ -60,14 +60,14 @@ return {
|
||||
},
|
||||
icon_size = 64,
|
||||
icon_mipmaps = 4,
|
||||
icon_path = "__IndustrialDisplays__/graphics/icons",
|
||||
sprites_path = "__IndustrialDisplays__/graphics/entities",
|
||||
sound_path = "__IndustrialDisplays__/sound",
|
||||
icon_path = "__IndustrialDisplayPlates__/graphics/icons",
|
||||
sprites_path = "__IndustrialDisplayPlates__/graphics/entities",
|
||||
sound_path = "__IndustrialDisplayPlates__/sound",
|
||||
base_sound_path = "__base__/sound",
|
||||
core_sound_path = "__core__/sound",
|
||||
base_icons_path = "__base__/graphics/icons",
|
||||
custom_gui = "DID_gui",
|
||||
mod_name = "IndustrialDisplays",
|
||||
mod_name = "IndustrialDisplayPlates",
|
||||
grid_columns = 10,
|
||||
pending_translation_value = "",
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "IndustrialDisplayPlates",
|
||||
"version": "0.18.0",
|
||||
"version": "0.18.1",
|
||||
"title": "Industrial Display Plates",
|
||||
"author": "Wyrrrd",
|
||||
"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.",
|
||||
"factorio_version": "0.18"
|
||||
}
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user