Skip to content

Commit 4b65893

Browse files
committed
Publish fluid-permutations-crude-oil-processing
1 parent 89e3d04 commit 4b65893

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixes productivity modules not being allowed in permutated iterations of aai industry's crude oil processing recipes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
-- this is a hack, there's no other way to say it.
2+
3+
-- "somewhere" in the prototype stage only "oil-processing-heavy" (crude oil processing from aai-industry) makes it into productivity modules,
4+
-- i have not been able to pinpoint yet why that's the case, so i'm writing this dirty mod just to force it to function, too much work otherwise.
5+
6+
-- fluid permutations checks if a module has the base recipe before giving productivity to its variations, but at that time in data-final-fixes
7+
-- the crude oil processing recipe itself didn't even make it into the limitations table yet, so we're gonna add it premtively just in case.
8+
9+
-- in data-final-fixes of space exploration there's a bit that clones the limitations from module 3 onto 4 through 9.
10+
11+
-- shoutout to codegreen and jansharp for trying to help on the factorio discord, but its just too deep for now.
12+
13+
table.insert(data.raw.module['productivity-module' ].limitation, 'oil-processing-heavy')
14+
table.insert(data.raw.module['productivity-module-2'].limitation, 'oil-processing-heavy')
15+
table.insert(data.raw.module['productivity-module-3'].limitation, 'oil-processing-heavy')
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "fluid-permutations-crude-oil-processing",
3+
"title": "Fluid Permutations X Space Exploration - crude oil processing",
4+
"description": "Fixes productivity modules not being allowed in variations of that specific recipe.",
5+
"version": "1.0.0",
6+
"author": "Quezler",
7+
"factorio_version": "1.1",
8+
"dependencies": [
9+
"fluid_permutations",
10+
"space-exploration"
11+
]
12+
}
Loading

0 commit comments

Comments
 (0)