bug: used-bottles-store built outside of CITY_RADIUS won't get used bottles · Issue #321 · bahrmichael/factorio-tycoon · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
moving it manually (PickerDollies mod) inside city radius makes it working again...
possible solutions
bad: increase search radius for all special buildings
good 1/3: such special buildings should never be built outside of city radius. make some space closer to center somehow (shoot some houses?)
good 2/3: building locations should be iterated in spiral from the center, adding some "bad" weight to queue in case of failure, so that very bad locations will be checked very rarely instead of linear iteration
good 3/3: increase attempts (10 currently) and check that this works... ;)
The text was updated successfully, but these errors were encountered:
I want to take a slightly different approach: A different mechanism for finding entities that the city places itself. Just as we store the town hall in a dedicated field, I'll do the same with the bottle return station.
special_buildings = {
town_hall = nil,
other = {}
},
reqs
Constants.CITY_RADIUS
bottling
, so city must buildtycoon-used-bottles-store
somewhere outside of that limitwhat happens
if any
tycoon-used-bottles-store
is outside of radius, this code denies to cache it inglobal.tycoon_cities[N].special_buildings.other[name]
:factorio-tycoon/util.lua
Lines 288 to 297 in 1bf7bd5
moving it manually (
PickerDollies
mod) inside city radius makes it working again...possible solutions
10
currently) and check that this works... ;)The text was updated successfully, but these errors were encountered: