locomotive stuffs, icon fix
This commit is contained in:
parent
b73386dd64
commit
872ec639fa
4 changed files with 24 additions and 5 deletions
|
|
@ -177,3 +177,15 @@ util.replace_ingredient("cargo-wagon-immortal-mk2", "iron-plate", "aluminum-6061
|
|||
util.replace_ingredient("fluid-wagon-immortal-mk2", "iron-plate", "aluminum-6061")
|
||||
util.replace_ingredient("cargo-wagon-immortal-mk3", "iron-plate", "aluminum-6061")
|
||||
util.replace_ingredient("fluid-wagon-immortal-mk3", "iron-plate", "aluminum-6061")
|
||||
|
||||
-- Battery locomotive
|
||||
util.add_ingredient("battery-locomotive", "aluminum-6061", 30)
|
||||
|
||||
-- Battery electric train
|
||||
util.add_ingredient("bet-locomotive", "aluminum-6061", 30)
|
||||
util.add_ingredient("bet-charger-1", "acsr-cable", 2)
|
||||
util.add_ingredient("bet-charger-2", "acsr-cable", 2)
|
||||
util.add_ingredient("bet-charger-3", "acsr-cable", 2)
|
||||
util.replace_ingredient("bet-charger-1", "copper-cable", "aluminum-cable")
|
||||
util.replace_ingredient("bet-charger-2", "copper-cable", "aluminum-cable")
|
||||
util.replace_ingredient("bet-charger-3", "copper-cable", "aluminum-cable")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,11 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.1.3
|
||||
Date: 2022-02-27
|
||||
Fixes:
|
||||
- K2 stacked icon fix
|
||||
Changes:
|
||||
- More train compatibility
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.1.2
|
||||
Date: 2022-02-25
|
||||
Changes:
|
||||
|
|
|
|||
|
|
@ -541,10 +541,10 @@ end
|
|||
|
||||
-- Set recipe icons
|
||||
function util.set_item_icons(item_name, icons)
|
||||
if data.raw.recipe[item_name] then
|
||||
data.raw.recipe[item_name].icons = icons
|
||||
data.raw.recipe[item_name].icon = nil
|
||||
data.raw.recipe[item_name].icon_size = nil
|
||||
if data.raw.item[item_name] then
|
||||
data.raw.item[item_name].icons = icons
|
||||
data.raw.item[item_name].icon = nil
|
||||
data.raw.item[item_name].icon_size = nil
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bzaluminum",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"factorio_version": "1.1",
|
||||
"title": "Aluminum",
|
||||
"author": "Brevven",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue