mirror of
https://asciireactor.com/factorio/adamo-nuclear.git
synced 2024-11-21 20:25:08 +00:00
Added integration for Angel's.
This commit is contained in:
parent
4e3328da4f
commit
7159695010
@ -1,3 +1,10 @@
|
|||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 0.2.2
|
||||||
|
Date: 2020-06-26
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
- Added integration for Angel's Petrochem Hydrofluoric Acid.
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.2.1
|
Version: 0.2.1
|
||||||
Date: 2020-06-26
|
Date: 2020-06-26
|
||||||
|
@ -281,7 +281,22 @@ reactor.heat_buffer.heat_glow = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
adamomods.logging=true
|
||||||
|
|
||||||
if not data.raw.fluid["adamo-chemical-hydrofluoric-acid"] then
|
if not data.raw.fluid["adamo-chemical-hydrofluoric-acid"] then
|
||||||
|
if data.raw.fluid["liquid-hydrofluoric-acid"] then
|
||||||
|
for _,recipe in pairs(data.raw.recipe) do
|
||||||
|
if recipe_uses(recipe,"adamo-chemical-hydrofluoric-acid")
|
||||||
|
then
|
||||||
|
replace_recipe_io(
|
||||||
|
recipe,
|
||||||
|
"adamo-chemical-hydrofluoric-acid",
|
||||||
|
"liquid-hydrofluoric-acid"
|
||||||
|
)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
else
|
||||||
local hydrofluoric_acid_fluid = {
|
local hydrofluoric_acid_fluid = {
|
||||||
type = "fluid",
|
type = "fluid",
|
||||||
name = "adamo-chemical-hydrofluoric-acid",
|
name = "adamo-chemical-hydrofluoric-acid",
|
||||||
@ -338,11 +353,9 @@ if not data.raw.fluid["adamo-chemical-hydrofluoric-acid"] then
|
|||||||
recipe = "adamo-chemical-hydrofluoric-acid"
|
recipe = "adamo-chemical-hydrofluoric-acid"
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
adamomods.logging=true
|
|
||||||
|
|
||||||
if settings.startup["adamo-nuclear-recipe-trolling"].value then
|
if settings.startup["adamo-nuclear-recipe-trolling"].value then
|
||||||
for _,recipe in pairs(data.raw.recipe) do
|
for _,recipe in pairs(data.raw.recipe) do
|
||||||
if recipe_uses(recipe,"uranium-238") then
|
if recipe_uses(recipe,"uranium-238") then
|
||||||
|
Loading…
Reference in New Issue
Block a user