Surface.upgrade_area{} returns information
Posted: Sun Sep 01, 2019 1:44 pm
I'd like to build a mod which automatically upgrades modules to the next tier as they're made available to the logistic network. What I'm struggling with is limiting how many upgrade requests are made.
Likely the best way to do this would be to have some information returned by the upgrade_area function. Either the number of entities flagged, or (perhaps with a flag passed to the function) a table of the entities themselves.
Likely the best way to do this would be to have some information returned by the upgrade_area function. Either the number of entities flagged, or (perhaps with a flag passed to the function) a table of the entities themselves.