Configurable Roboport Range deprecated

by mk-fg

Allows to adjust roboport construction/logistics bot ranges via Mod Settings menu. Default ranges are 25 for logistic robots (displayed as 50x50 on roboport) and 55 for construction (110x110). Check tooltips on Mod Settings for more information.

Content
4 years ago
0.17 - 1.1
4.31K
Logistics
Owner:
mk-fg
Source:
https://github.com/mk-fg/games
Homepage:
N/A
License:
MIT
Created:
5 years ago
Latest Version:
0.0.8 (4 years ago)
Factorio version:
0.17 - 1.1
Downloaded by:
4.31K users

Deprecated: this mod is not maintained for current Factorio 2.x release, at least at the moment.
Code/tweaks there might work as-is just fine though, with just a version bump in metadata, didn't check.
Feel free to update and re-upload it with any kind of changes, if it's still useful.


Description

Allows to adjust roboport construction/logistics bot ranges via Mod Settings menu.
Specifically - setting range multiplier value, specific static range values or copying one range to another.

Applies to all buildings of "roboport" type by default, so should also modify roboports added by mods, if any.
I don't play with any custom roboports though, so feel free to test and report if there are any issues.

Adds following Mod Settings (Startup tab):

  • Roboport Range Multiplier (real/float number >0)

    Multiplies both construction/logistics default or previously-modded ranges by this factor.
    Use 1 for no changes, >1 to increase, or e.g. 0.5 to reduce it.
    Result will be rounded to nearest integer value. Applied before range values below.
     

  • Roboport Logistics Range (integer)

    Logistics bot range (radius) of the roboport. Default/vanilla is 25 (displayed as 50x50 on roboport).
    Special values: -1 - do not change it via this option, -2 - set to be equal to construction range.
    Applied after multiplier above and after static construction range value (if set).
     

  • Roboport Construction Range (integer)

    Construction bot range (radius) of the roboport. Default/vanilla is 55 (displayed as 110x110 on roboport).
    Special values: -1 - do not change it via this option, -2 - set to be equal to logistics range.
    Applied after multiplier above and after static logistics range value (if set).
     

  • Min Range to affect it (integer, default=5).

    Minimum range (radius) value to affect it by range options above.
    Use this to avoid affecting roboports that are "recharge stations" and such, that have no or tiny robot range and are not supposed to have it.
    Construction/logistic ranges on same roboport are checked and tweaked separately.
     

  • Robot Energy Multiplier (real/float number >0)

    Max energy value (battery capacity) multiplier for construction and logistic robots.
    Values >1 will allow these bots to fly longer without running out of power.
     

  • Affect Mod Roboports/Robots (yes/no boolean)

    If enabled (default), mod will affect all roboports/robots in their respective categories, including those added by mods.
     


Cookbook

  • Increase roboport and robot ranges 2x: set Roboport Range Multiplier and Robot Energy Multiplier to 2.

  • Make roboport logistics bots range same as construction bots: set Logistics Range to -2.

  • Set roboport construction bots range (radius) to be 90 tiles (180x180 area): set Construction Range to 90.

  • Allow robots to stay in the air 5x longer: set Robot Energy Multiplier to 5.

  • Don't affect already-buff roboports/robots from other mods: uncheck Affect Mod Roboports/Robots.

  • To avoid changing modded recharging-stations or roboports for only one type of robots:
    Set "Min Range to affect it" to a value higher than they have (usually tiny, like 0-2).


[github link]