fix simple compress
This commit is contained in:
parent
04832f65fe
commit
79049f8917
4 changed files with 12 additions and 5 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 1.0.9
|
||||||
|
Date: 2022-05-25
|
||||||
|
Features:
|
||||||
|
- Fix a breakage when used with simple compress mod.
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.0.8
|
Version: 1.0.8
|
||||||
Date: 2022-02-22
|
Date: 2022-02-22
|
||||||
Features:
|
Features:
|
||||||
|
|
|
||||||
|
|
@ -541,10 +541,10 @@ end
|
||||||
|
|
||||||
-- Set recipe icons
|
-- Set recipe icons
|
||||||
function util.set_item_icons(item_name, icons)
|
function util.set_item_icons(item_name, icons)
|
||||||
if data.raw.recipe[item_name] then
|
if data.raw.item[item_name] then
|
||||||
data.raw.recipe[item_name].icons = icons
|
data.raw.item[item_name].icons = icons
|
||||||
data.raw.recipe[item_name].icon = nil
|
data.raw.item[item_name].icon = nil
|
||||||
data.raw.recipe[item_name].icon_size = nil
|
data.raw.item[item_name].icon_size = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bztitanium",
|
"name": "bztitanium",
|
||||||
"version": "1.0.8",
|
"version": "1.0.9",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Titanium",
|
"title": "Titanium",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
local util = require("data-util");
|
||||||
|
|
||||||
if simpleCompress then
|
if simpleCompress then
|
||||||
if simpleCompress.ores then
|
if simpleCompress.ores then
|
||||||
simpleCompress.currentSubgroup = "intermediate-product"
|
simpleCompress.currentSubgroup = "intermediate-product"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue