Factorio+

by fishbus

A mod that builds upon and tweaks the vanilla experience with a little bit of everything: crafting, furnaces, resources, turrets, vehicles, enemies and weapons.

Overhaul
24 days ago
0.18 - 2.0
17.0K
Transportation Logistics Trains Combat Armor Enemies Environment Mining Fluids Logistic network Manufacturing Power Storage

g [Fixed]Long distance warehouse drops post v2.1.0

a month ago

why were warehouses far from the start location nerfed? I really enjoyed an exploration based playstyle that these deep warehouses enabled. I also enjoy relocating my factory from the crash site, toward higher yield resources. this pushes me closer to the now useless warehouses. If this could be made into a toggle I would very much appreciate it.

a month ago

Heya,

So it's more of a fix than a balance change because after a certain distance all warehouses drop the same item, which is weird. So basically, once the max distance is reached they become barren.

The overall distance should still be very far before that happens, and there is a setting to increase the distance it scales as well just in case.

Cheers

a month ago

I was using the fastest scaling on a 300% water map with boats and rushing a few hundred chunks out asap, and this a huge (and new) issue. I hadn't experienced all warehouses dropping the same item, more that they dropped from a relatively small list of high tier items. This may be a variation in how far out I have gone in different save files.

I wouldn't have spoken up about it if this mod saw less frequent updates, because I would have been able to make a local to revert that change or otherwise attempt to solve the problem.

is it possible/reasonable to instead take a minimum of the distance from the crash site, and a distance that avoids the issue when checking what item to drop?

for example if the normal formula took in [distance_from_crash_site] and output a specific drop for each distance up to 100 chunks, my proposed "solution" would have the formula take "minimum([scaled_distance_from_crash_site],80+[a random number from 0 to 20])"

this would in theory give any warehouse farther than 80 chunks from the crash site a chance to drop something that would normally be dropped anywhere between 80 chunks, and it's actual distance.

a month ago

Hey,

Thanks for letting me know how it interacts with your play style, I'll add a setting to be be able to disable barren warehouses, as well as additional larger scaling options.

Cheers!

a month ago

looking through abandonments.lua, I can't tell exactly where the distance value is used, but it looks like you set distance 16 to barren, after distance 14 is the max value that has loot. can duplicates of the warehouse drops at 12, 13, and 14 all be copied to 16 instead to give it a larger random pool at long range?

a month ago

I've found another bug in regards to scaling, so setting the scale factor won't actually do anything (it's old commented code at this moment).

I can also add a few other items to the max value to alleviate it as well.

Cheers!

a month ago

thank you so much! love this! updating now

New response