[0.17.x] demo-resource-autoplace.lua sucks

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
Therax
Filter Inserter
Filter Inserter
Posts: 470
Joined: Sun May 21, 2017 6:28 pm
Contact:

Re: [0.17.x] demo-resource-autoplace.lua sucks

Post by Therax »

eradicator wrote:
Thu Jun 13, 2019 6:53 am
How would that work in cases where the new resources are derived off the old ones? I.e. as a rough example i need a deravative resource for *every* resource. Let's call it "contaminated xyz-ore". As i need every other ore to exist, data-updates is the earliest place i can create these resources in. Currently contaminated ore isn't being auto-placed for game-mechanic reasons, but i'd prefer if it wasn't completely impossible to auto-place it if i later find that the current mechanic doesn't work.
There could be something called "reindex_autoplace" in core/lualib, and for the relatively rare cases like yours where a mod has to create new resources in data-updates, a mod can call the function. I'd honestly like something like that for barrelling recipes too.
Miniloader — UPS-friendly 1x1 loaders
Bulk Rail Loaders — Rapid train loading and unloading
Beltlayer & Pipelayer — Route items and fluids freely underground

Post Reply

Return to “Modding interface requests”