Compare commits

..

2 commits
2.0.0 ... main

Author SHA1 Message Date
Simon Brodtmann
ac2637518b 2.0.1 2025-10-11 18:11:36 +02:00
Simon Brodtmann
fb1aeefc95 Mod compatibility fixes 2025-10-11 18:11:09 +02:00
4 changed files with 23 additions and 78 deletions

View file

@ -1,65 +1,10 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 0.5.2 Version: 2.0.1
Date: 2024-07-24 Date: 11.10.2025
Features: Bug Fixes:
- Added ethanolamine to SE vitamelange spice. - Increase mod compatibility
- Upped nylon drive belt from 2 -> 8
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 0.5.1 Version: 2.0.0
Date: 2024-07-16 Date: 10.10.2025
Features: Features:
- Fixed conflict when using K2 but not bzcarbon. - Update to Factorio 2.0
---------------------------------------------------------------------------------------------------
Version: 0.5.0
Date: 2024-06-27
Features:
- Added nylon drive belt if BrimStuff is installed.
- Fixed error when not using Cobalt mod.
- Fixed missing mod errors.
---------------------------------------------------------------------------------------------------
Version: 0.4.3
Date: 2024-01-21
Features:
- Removed old unused files.
---------------------------------------------------------------------------------------------------
Version: 0.4.2
Date: 2024-01-14
Features:
- Added SE delivery cannon recipe for fluids.
---------------------------------------------------------------------------------------------------
Version: 0.4.1
Date: 2024-01-06
Features:
- Added coal tar solid fuel recipe.
---------------------------------------------------------------------------------------------------
Version: 0.4.0
Date: 2024-01-02
Features:
- Added a new production chain for alternative lubricant and epoxy if K2 is installed.
- Increesed destructive distillation base craft time to 12 from 10.
---------------------------------------------------------------------------------------------------
Version: 0.3.0
Date: 2023-12-25
Features:
- Added bio nitric acid recipe.
- Fixed Nylons K2 progression with few mods.
---------------------------------------------------------------------------------------------------
Version: 0.2.0
Date: 2023-12-24
Features:
- Split cobalt into its own mod.
- Replaced 248k fiberer maker iron gear wheel with nylon machine parts.
- Replaced 248k compound machine iron gear wheel with nylon machine parts.
- Replaced K2 biusart lab copper cable with nylon machine parts.
- Replaced bobassembly electronics machine 2 steel gear wheel with nylon machine parts.
- Replaced aai industry stack filter inserter steel gear wheel with nylon machine parts.
---------------------------------------------------------------------------------------------------
Version: 0.1.1
Date: 2023-12-21
Features:
- Added cobalt ore as a byproduct from nickel if If I Had A Nickel is installed.
---------------------------------------------------------------------------------------------------
Version: 0.1.0
Date: 2023-12-20
Features:
- Alpha release.

View file

@ -129,7 +129,7 @@ function util.se_matter(params)
{"se-astronomic-science-pack-4", 1}, {"se-astronomic-science-pack-4", 1},
{"se-energy-science-pack-4", 1}, {"se-energy-science-pack-4", 1},
{"se-material-science-pack-4", 1}, {"se-material-science-pack-4", 1},
{"matter-tech-card", 1}, {"kr-matter-tech-card", 1},
{"se-deep-space-science-pack-1", 1}, {"se-deep-space-science-pack-1", 1},
} }
}, },

View file

@ -1,6 +1,6 @@
{ {
"name": "Nylon2", "name": "Nylon2",
"version": "2.0.0", "version": "2.0.1",
"factorio_version": "2.0", "factorio_version": "2.0",
"title": "Nylon", "title": "Nylon",
"author": "Timeken, cackling fiend", "author": "Timeken, cackling fiend",

View file

@ -15,12 +15,12 @@ else
}}) }})
end end
local ketone_alcohol_oil_ingredients = {{type="item", name="coal", amount = 5}, (data.raw.fluid["hydrogen"] and { type = "fluid", name = "hydrogen", amount = 10 }) or ({ type = "fluid", name = "water", amount = 10 }), (data.raw.item["cobalt-plate"] and {type="item", name="cobalt-plate", amount = 1}) or {type="item", name="iron-plate", amount=1}} local ketone_alcohol_oil_ingredients = {{type="item", name="coal", amount = 5}, (data.raw.fluid["kr-hydrogen"] and { type = "fluid", name = "kr-hydrogen", amount = 10 }) or ({ type = "fluid", name = "water", amount = 10 }), (data.raw.item["cobalt-plate"] and {type="item", name="cobalt-plate", amount = 1}) or {type="item", name="iron-plate", amount=1}}
if mods["bzgas"] then if mods["bzgas"] then
ketone_alcohol_oil_ingredients = {{type="item", name="phenol", amount = 5}, (data.raw.item["cobalt-plate"] and {type="item", name="cobalt-plate", amount = 1}) or {type="item", name="iron-plate", amount=1}} ketone_alcohol_oil_ingredients = {{type="item", name="phenol", amount = 5}, (data.raw.item["cobalt-plate"] and {type="item", name="cobalt-plate", amount = 1}) or {type="item", name="iron-plate", amount=1}}
if data.raw.fluid["hydrogen"] then if data.raw.fluid["kr-hydrogen"] then
table.insert(ketone_alcohol_oil_ingredients, { type = "fluid", name = "hydrogen", amount = 10 }) table.insert(ketone_alcohol_oil_ingredients, { type = "fluid", name = "kr-hydrogen", amount = 10 })
end end
end end
@ -144,12 +144,12 @@ data:extend({
order = "n", order = "n",
enabled = false, enabled = false,
energy_required = 30, energy_required = 30,
ingredients = {(data.raw.fluid["biomethanol"] and { type = "fluid", name = "biomethanol", amount = 50 }) or { type = "fluid", name = "light-oil", amount = 50 }, (data.raw.fluid["chlorine"] and { type = "fluid", name = "chlorine", amount = 50 }) or { type = "fluid", name = "water", amount = 50 }}, ingredients = {(data.raw.fluid["biomethanol"] and { type = "fluid", name = "biomethanol", amount = 50 }) or { type = "fluid", name = "light-oil", amount = 50 }, (data.raw.fluid["kr-chlorine"] and { type = "fluid", name = "kr-chlorine", amount = 50 }) or (data.raw.fluid["chlorine"] and { type = "fluid", name = "chlorine", amount = 50 }) or { type = "fluid", name = "water", amount = 50 }},
results = {{ type = "fluid", name = "ethylene-oxide", amount = 50 }, { type = "fluid", name = "acetic-acid", amount = 50 }}, results = {{ type = "fluid", name = "ethylene-oxide", amount = 50 }, { type = "fluid", name = "acetic-acid", amount = 50 }},
} }
}) })
local vinyl_acetate_ingredients = {{ type = "fluid", name = "acetic-acid", amount = 25 },(data.raw.fluid["oxygen"] and { type = "fluid", name = "oxygen", amount = 25 }) or { type = "fluid", name = "water", amount = 25 }} local vinyl_acetate_ingredients = {{ type = "fluid", name = "acetic-acid", amount = 25 },(data.raw.fluid["kr-oxygen"] and { type = "fluid", name = "kr-oxygen", amount = 25 }) or { type = "fluid", name = "water", amount = 25 }}
if data.raw.item["palladium-plate"] then if data.raw.item["palladium-plate"] then
table.insert(vinyl_acetate_ingredients, {type="item", name="palladium-plate", amount=1}) table.insert(vinyl_acetate_ingredients, {type="item", name="palladium-plate", amount=1})
end end
@ -211,7 +211,7 @@ data:extend({
order = "e", order = "e",
enabled = false, enabled = false,
energy_required = 4, energy_required = 4,
ingredients = {{ type = "fluid", name = "ethylene-oxide", amount = 10 }, (data.raw.fluid["ammonia"] and { type = "fluid", name = "ammonia", amount = 10 }) or { type = "fluid", name = "water", amount = 10 }}, ingredients = {{ type = "fluid", name = "ethylene-oxide", amount = 10 }, (data.raw.fluid["kr-ammonia"] and { type = "fluid", name = "kr-ammonia", amount = 10 }) or { type = "fluid", name = "water", amount = 10 }},
results = {{ type = "fluid", name = "ethanolamine", amount = 20 }}, results = {{ type = "fluid", name = "ethanolamine", amount = 20 }},
}, },
{ {
@ -273,12 +273,12 @@ if data.raw.fluid["kr-nitric-acid"] then
end end
local adipic_acid_results = {{type="item", name="adipic-acid", amount=5}} local adipic_acid_results = {{type="item", name="adipic-acid", amount=5}}
if data.raw.fluid["depleted-acid"] then if data.raw.fluid["depleted-acid"] then
table.insert({ type = "fluid", name = "depleted-acid", amount = 10 }) table.insert(adipic_acid_results, { type = "fluid", name = "depleted-acid", amount = 10 })
end end
local hexamethylenediamine_ingredients = {{ type = "fluid", name = "petroleum-gas", amount = 10 }, (data.raw.item["cobalt-plate"] and {type="item", name="cobalt-plate", amount = 1}) or {type="item", name="iron-plate", amount=1}} local hexamethylenediamine_ingredients = {{ type = "fluid", name = "petroleum-gas", amount = 10 }, (data.raw.item["cobalt-plate"] and {type="item", name="cobalt-plate", amount = 1}) or {type="item", name="iron-plate", amount=1}}
if data.raw.fluid["ammonia"] then if data.raw.fluid["kr-ammonia"] then
table.insert(hexamethylenediamine_ingredients, { type = "fluid", name = "ammonia", amount = 10 }) table.insert(hexamethylenediamine_ingredients, { type = "fluid", name = "kr-ammonia", amount = 10 })
end end
local hexamethylenediamine_results = {{ type = "fluid", name = "hexamethylenediamine", amount = 10 }, (data.raw.item["cobalt-plate"] and {type = "item", name ="cobalt-plate", amount=1, probability=0.4}) or {type = "item", name ="iron-plate", amount=1, probability=0.4}} local hexamethylenediamine_results = {{ type = "fluid", name = "hexamethylenediamine", amount = 10 }, (data.raw.item["cobalt-plate"] and {type = "item", name ="cobalt-plate", amount=1, probability=0.4}) or {type = "item", name ="iron-plate", amount=1, probability=0.4}}
if data.raw.fluid["chemical-waste"] then if data.raw.fluid["chemical-waste"] then
@ -290,8 +290,8 @@ if data.raw.item["phenol"] then
table.insert(destructive_distillation_ingredients, {type="item", name="phenol", amount=5}) table.insert(destructive_distillation_ingredients, {type="item", name="phenol", amount=5})
end end
local destructive_distillation_results = {{ type = "fluid", name = "coal-tar", amount = 20 }} local destructive_distillation_results = {{ type = "fluid", name = "coal-tar", amount = 20 }}
if data.raw.fluid["ammonia"] then if data.raw.fluid["kr-ammonia"] then
table.insert(destructive_distillation_results, { type = "fluid", name = "ammonia", amount = 10 }) table.insert(destructive_distillation_results, { type = "fluid", name = "kr-ammonia", amount = 10 })
end end
if data.raw.item["kr-coke"] then if data.raw.item["kr-coke"] then
table.insert(destructive_distillation_results, {type="item", name="kr-coke", amount=7}) table.insert(destructive_distillation_results, {type="item", name="kr-coke", amount=7})
@ -357,7 +357,7 @@ data:extend({
name = "destructive-distillation", name = "destructive-distillation",
icon = "__Nylon2__/graphics/icons/destructive-distillation.png", icon = "__Nylon2__/graphics/icons/destructive-distillation.png",
icon_size = 64, icon_size = 64,
main_porduct = "ammonia", main_porduct = "kr-ammonia",
category = "chemistry", category = "chemistry",
subgroup = "chemical", subgroup = "chemical",
order = "a", order = "a",
@ -370,7 +370,7 @@ data:extend({
util.add_productivity("destructive-distillation") util.add_productivity("destructive-distillation")
if mods["Krastorio2"] then if mods["Krastorio2"] then
local bio_nitric_acid_ingredients = {{ type = "fluid", name = "coal-tar", amount = 10 }, { type = "fluid", name = "water", amount = 10 }, {type="item", name="wood", 10}} local bio_nitric_acid_ingredients = {{ type = "fluid", name = "coal-tar", amount = 10 }, { type = "fluid", name = "water", amount = 10 }, {type="item", name="wood", amount = 10}}
if data.raw.item["limestone"] then if data.raw.item["limestone"] then
table.insert(bio_nitric_acid_ingredients, {type="item", name="limestone", amount=4}) table.insert(bio_nitric_acid_ingredients, {type="item", name="limestone", amount=4})
end end
@ -475,7 +475,7 @@ if mods["bzcarbon"] and mods["Krastorio2"] then
{ {
type = "recipe", type = "recipe",
name = "coke-powder", name = "coke-powder",
category = "crushing", category = "kr-crushing",
order = "l", order = "l",
enabled = false, enabled = false,
energy_required = 4, energy_required = 4,