Hey, I am starting with my own overhaul mod and was wondering...
how does the barrelling pump with auto-barrelling work script-wise?
I mean, it's not possible to have a furnace with two inputs.
Unfortunately, I couldn't really find much in the files and the auto-barreling mod for 0.15 is just baffling (no scripts).
Any modder who can explain this?
I'd mainly like to know, because I have a lot of recipes that require x + a specific liquid.
Not yet acquainted with lua, though I am a coder.
How does auto barrelling work? (modding question)
Moderator: Arch666Angel
- Deadlock989
- Smart Inserter
- Posts: 2529
- Joined: Fri Nov 06, 2015 7:41 pm
Re: How does auto barrelling work? (modding question)
Any fluid that does not have the auto barrelling flag set to false in its prototype will have barrelling recipes generated by the base data-updates script, if it is created before that happens.
Furnaces can't have recipes with more than one solid ingredient. Fluids don't count towards that restriction.
Furnaces can't have recipes with more than one solid ingredient. Fluids don't count towards that restriction.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: How does auto barrelling work? (modding question)
After some trivial fixes that mod works fine in 0.17 too. As it depends on "crafting-with-fluid" the auto-barreling machines can make everything in that category that fullfills the requirement "1 solid + 1 fluid", which is mostly barreling, but for vanilla also includes i.e. rocket fuel.SoulCake wrote: Mon Sep 02, 2019 11:17 am Unfortunately, I couldn't really find much in the files and the auto-barreling mod for 0.15 is just baffling (no scripts).
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: How does auto barrelling work? (modding question)
Oh, wow. I did not know that. Time to change all of my machines to furnaces....Furnaces can't have recipes with more than one solid ingredient. Fluids don't count towards that restriction.