Compare commits
3 commits
517aa49179
...
a348f84ebb
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a348f84ebb | ||
![]() |
b714b0f6fe | ||
![]() |
c0dd8e69be |
10 changed files with 26 additions and 13 deletions
|
@ -39,6 +39,7 @@ Unsorted
|
||||||
- Integrate [PlanetsLib](https://mods.factorio.com/mod/PlanetsLib)
|
- Integrate [PlanetsLib](https://mods.factorio.com/mod/PlanetsLib)
|
||||||
- Compatibility with hot metals
|
- Compatibility with hot metals
|
||||||
- Compatibility with all wood mods from SafTheLamb
|
- Compatibility with all wood mods from SafTheLamb
|
||||||
|
- Compatibility with [Amator Phasma's Coal & Steam (forked)](https://mods.factorio.com/mod/apm_power_ldinc)
|
||||||
- Compatibility with [Noble Metals](https://mods.factorio.com/mod/bzgold) once it's updated
|
- Compatibility with [Noble Metals](https://mods.factorio.com/mod/bzgold) once it's updated
|
||||||
- Optimize images
|
- Optimize images
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@ require("__cf-lib__/util")
|
||||||
|
|
||||||
require("prototypes/content/data")
|
require("prototypes/content/data")
|
||||||
require("prototypes/integrations/data")
|
require("prototypes/integrations/data")
|
||||||
|
require("prototypes/compatibility/data")
|
BIN
lignumis/graphics/icons/hot-gold-plate.png
Normal file
BIN
lignumis/graphics/icons/hot-gold-plate.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
|
@ -14,6 +14,7 @@
|
||||||
"Wood-Walls >= 1.2.0",
|
"Wood-Walls >= 1.2.0",
|
||||||
"mf-buildings >= 0.1.0",
|
"mf-buildings >= 0.1.0",
|
||||||
"mf-logistics >= 0.1.0",
|
"mf-logistics >= 0.1.0",
|
||||||
|
"?hot-metals",
|
||||||
"!wood-logistics"
|
"!wood-logistics"
|
||||||
]
|
]
|
||||||
}
|
}
|
1
lignumis/prototypes/compatibility/data.lua
Normal file
1
lignumis/prototypes/compatibility/data.lua
Normal file
|
@ -0,0 +1 @@
|
||||||
|
require("hot-metals")
|
5
lignumis/prototypes/compatibility/hot-metals.lua
Normal file
5
lignumis/prototypes/compatibility/hot-metals.lua
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
if not mods["hot-metals"] then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
table.insert(HotMetals.items, { name = "gold-plate", iconFolder = "__lignumis__/graphics/icons/" })
|
|
@ -1,9 +1,18 @@
|
||||||
local blacklist = {
|
data.raw.item["wood"].fuel_category = "wood"
|
||||||
--"burner-assembling-machine",
|
data.raw.item["lumber"].fuel_category = "wood"
|
||||||
--"stone-furnace",
|
data.raw.item["tree-seed"].fuel_category = "wood"
|
||||||
--"desiccation-furnace",
|
data.raw.item["wooden-wall"].fuel_category = "wood"
|
||||||
--"lumber-mill"
|
|
||||||
}
|
-- Update burner inserters initial fuel
|
||||||
|
for _, inserter in pairs(data.raw["inserter"]) do
|
||||||
|
if inserter.energy_source and inserter.energy_source.initial_fuel == "wood" then
|
||||||
|
inserter.energy_source.initial_fuel = "coal"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Update energy source fuel categories for buildings that should still use wood as fuel
|
||||||
|
|
||||||
|
local blacklist = {}
|
||||||
|
|
||||||
function update_fuel_categories(t)
|
function update_fuel_categories(t)
|
||||||
for _, entity in pairs(t) do
|
for _, entity in pairs(t) do
|
||||||
|
@ -18,10 +27,5 @@ function update_fuel_categories(t)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
data.raw.item["wood"].fuel_category = "wood"
|
|
||||||
data.raw.item["lumber"].fuel_category = "wood"
|
|
||||||
data.raw.item["tree-seed"].fuel_category = "wood"
|
|
||||||
data.raw.item["wooden-wall"].fuel_category = "wood"
|
|
||||||
|
|
||||||
-- Add more if incompatibilities arise
|
-- Add more if incompatibilities arise
|
||||||
update_fuel_categories(data.raw["boiler"])
|
update_fuel_categories(data.raw["boiler"])
|
||||||
|
|
|
@ -5,6 +5,7 @@ Belt.EntityBuilder:new()
|
||||||
:itemsPerSecond(7.5)
|
:itemsPerSecond(7.5)
|
||||||
:nextTier("")
|
:nextTier("")
|
||||||
:undergroundDistance(4)
|
:undergroundDistance(4)
|
||||||
|
:animationSpeedMultiplier(1.01)
|
||||||
:apply({
|
:apply({
|
||||||
transportBelt = {
|
transportBelt = {
|
||||||
emissions_per_second = { noise = 0.01 }
|
emissions_per_second = { noise = 0.01 }
|
||||||
|
|
|
@ -29,7 +29,6 @@ burner_inserter.hand_base_picture.filename = "__lignumis__/graphics/entity/burne
|
||||||
burner_inserter.hand_closed_picture.filename = "__lignumis__/graphics/entity/burner-inserter-hand-closed.png"
|
burner_inserter.hand_closed_picture.filename = "__lignumis__/graphics/entity/burner-inserter-hand-closed.png"
|
||||||
burner_inserter.hand_open_picture.filename = "__lignumis__/graphics/entity/burner-inserter-hand-open.png"
|
burner_inserter.hand_open_picture.filename = "__lignumis__/graphics/entity/burner-inserter-hand-open.png"
|
||||||
burner_inserter.platform_picture.sheet.filename = "__lignumis__/graphics/entity/burner-inserter-platform.png"
|
burner_inserter.platform_picture.sheet.filename = "__lignumis__/graphics/entity/burner-inserter-platform.png"
|
||||||
burner_inserter.energy_source.initial_fuel = "coal"
|
|
||||||
burner_inserter.energy_source.initial_fuel_percent = 0.15
|
burner_inserter.energy_source.initial_fuel_percent = 0.15
|
||||||
|
|
||||||
data.raw.item["burner-inserter"].icon = "__lignumis__/graphics/icons/burner-inserter.png"
|
data.raw.item["burner-inserter"].icon = "__lignumis__/graphics/icons/burner-inserter.png"
|
||||||
|
|
BIN
sources/icons/hot-gold-plate.afphoto
Normal file
BIN
sources/icons/hot-gold-plate.afphoto
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue