Page 1 of 1
[MOD 0.10.x] Coal liquefaction
Posted: Sun Jul 06, 2014 2:30 pm
by Chris987
This modification enables the production of heavy oil, light oil and petroleum gas with water and coal in the oil refinery. Coal liquefaction must be researched before.
Content:
- "Liquefaction" technology
- "Coal liquefaction" recipe
Example:
- coal_liquefaction.jpg (103.36 KiB) Viewed 8014 times
I hope it helps someone and have fun with it.
Re: [MOD 0.10.x] Coal liquefaction
Posted: Sun Jul 06, 2014 3:28 pm
by bobingabout
That sounds pretty useful.
Re: [MOD 0.10.x] Coal liquefaction
Posted: Wed Jul 09, 2014 10:32 pm
by Turtle
This is nice for when you find yourself in a map that's lacking oil. I noticed you can't put productivity modules in the refinery though. Bug maybe?
Re: [MOD 0.10.x] Coal liquefaction
Posted: Wed Jul 09, 2014 11:46 pm
by bobingabout
you'd need to edit the production modules to add the new recipe to their allow list.
Re: [MOD 0.10.x] Coal liquefaction
Posted: Fri Jul 11, 2014 7:44 pm
by Turtle
With the help of
this thread, I was able to add it to the mod itself. If you want to update your mod, just add these lines to the data.lua:
Code: Select all
for k, v in pairs(data.raw.module) do
if v.name:find("productivity%-module") and v.limitation then
for _, recipe in ipairs({"coal-liquefaction"}) do
table.insert(v.limitation, recipe)
end
end
end
Thanks for your indirect help, FreeER!
Re: [MOD 0.10.x] Coal liquefaction
Posted: Sat Jul 12, 2014 9:34 am
by Chris987
Ok, I've updated it now. I hadn't noticed it.