Quick fix for 0.18.37+
- Property show_in_library was removed - Dectorio crafting tab compat
This commit is contained in:
@@ -3,6 +3,8 @@ Version: 0.18.2
|
||||
Date: 2020-05-28
|
||||
Changes:
|
||||
- moved plates to Dectorio recipe group (if installed)
|
||||
Bugfixes:
|
||||
- removed check for show_in_library (removed in 0.18.37)
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.18.1
|
||||
Date: 2020-05-26
|
||||
|
||||
+1
-1
@@ -376,7 +376,7 @@ local function create_display_gui(player, selected)
|
||||
local button_table = {}
|
||||
for prototype_type,prototypes in pairs(DID.elem_prototypes) do
|
||||
for _,prototype in pairs(game[prototypes]) do
|
||||
if not DID.displays[prototype.name] and not ((prototype_type == "item" and (prototype.has_flag("hidden") or prototype.show_in_library)) or (prototype_type == "fluid" and prototype.hidden)) then
|
||||
if not DID.displays[prototype.name] and not ((prototype_type == "item" and prototype.has_flag("hidden")) or (prototype_type == "fluid" and prototype.hidden)) then
|
||||
local group = (prototype.group.name == "fluids") and "intermediate-products" or prototype.group.name
|
||||
if not DID.group_blacklist[group] then
|
||||
if button_table[group] == nil then button_table[group] = {} end
|
||||
|
||||
@@ -4,7 +4,9 @@
|
||||
"title": "Industrial Display Plates",
|
||||
"author": "Wyrrrd",
|
||||
"homepage": "https://github.com/Wyrrrd/IndustrialDisplayPlates",
|
||||
"dependencies": ["base >= 0.18.27"],
|
||||
"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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user