Configurable Sweepy Stats

If you liked this item, please rate it up on Steam Workshop page.

Author: Zonkeeh

Last revision: 2 Apr, 2020 at 10:34 UTC

File size: 114.69 KB

On Steam Workshop

Description:
Configurable Sweepy Stats

Change sweep bot storage, battery, speed and radius!

Description

Wanted to make a sweep bot store double it’s amount, or not depend on power to perform? Or would you just like more information available?

This mod adds the ability to customize how sweep bots perform, from their storage (and their station’s) to their movement speed.

Specifics
  • Can change sweep bot’s individual move speed and probing radius.
  • Changes global sweep bot variables, such as: storage capacity, battery capacity, battery depletion rate, movement speed, probing radius.
  • Provides some new status card items to display a sweep bot’s storage capacity (current/capacity), it’s current battery percentage and a debug item to show various variables (speed, distance travelled, probing radius, battery delta).
  • Provides functionality to change the sweep bot station’s storage capacity and adds a status card item to show it’s current storage status.
  • Adds a side screen to adjust a station’s sweep bot stats (speed and probing radius). As well as the ability to follow cam the sweep bot on a button press (useful for finding them).
  • Adds a range indicator to the sweep bot station to show how far a specific sweep bot can roam from it’s base station.
  • Adds a shipping output that will output based on the automation grid operational (or will always output, hard to conbfigure due to the sweep bot storage needs).
  • Config file has more parameters to configure balancing, such as battery depletion based on movement speed and the station’s building definitions.

Movement Speed Change Example

Status Cards Information

Shipping Conveyor Example

Options

Configuration of this mod and a basic template can be found in the following locations:

  • Windows • ~DocumentsKleiOxygenNotIncludedmodsSteam2042663291Config.json.template
  • Mac • ~/Library/Application Support/unity.Klei.Oxygen Not Included/mods/Steam/2042663291/Config.json.template

Debug Mode

DebugMode – Enables debug mode, when enabled will show the debug status item and print the config variables to output_log. (Default: false)

Sweep Bot Variables

StorageCapacity – Float that defines the storage capacity of the sweep bot, default is 2x the vanilla value. (Default: 1000.0)
SweepyUsesPower – Decides whether sweep bots should use power. (Default: true)
BatteryDepletionRate – Float that defines the delta for battery depletion, default is the same as vanilla. (Default: 40.0)
BatteryCapacity – Float that defines the battery capacity of the sweep bot, default is the same as vanilla. (Default: 21000.0)
BaseMovementSpeed – Float that defines the base movement speed of sweep bots, default is the same as vanilla. (Default: 1.0)
BaseProbingRadius – Float that defines the base range (both left and right) that sweep bots can venture from their base station, default is the same as vanilla. (Default: 32)
BatteryDrainBasedOnSpeed – Decides whether battery drain should be dependent on a sweep bot’s move speed. An attempt to balance the move speed increase. (Default: true)
DrainSpeedMultiplier – Float that defines the base multiplier of sweep bot battery depletion. Formula: Delta*Speed*Multiplier (Default: 1.0)

Sidescreen Variables

UseCustomSliders – Decides whether to show the custom side screen on Sweep Bot Stations to define their sweep bot’s speed & probing radius. (Default: true)
MinSpeedSliderValue – Float that defines the minimum value on the speed slider. (Default: 1.0)
MaxSpeedSliderValue – Float that defines the maximum value on the speed slider. (Default: 5.0)
MinProbingSliderValue – Float that defines the minimum value on the probing radius slider. (Default: 1.0)
MaxProbingSliderValue – Float that defines the minimum value on the probing radius slider. (Default: 64.0)

Base Station Variables

StationUsesPower – Decides whether the base station requires a power input. (Default: true)
StationCanOverheat – Decides whether the base station can overheat. (Default: false)
StationCanFlood – Decides whether the base station can be flooded. (Default: false)
StationEnergyConsumption – Float that defines the energy consumption for the base station. (Default: 240.0)
StationStorageCapacity – Float that defines the storage capacity of the base station, default 3x vanilla value. (Default: 3000.0)
StationHasConveyorOutput – Decides whether the base station has a built in conveyor/shipping output. (Default: false)

Disclaimer: In the case where invalid arguments are given the default values will be used.

Future Updates

In future some ideas for expansion would be including buttons to make or remove a sweep bot from a station, so that they’re not make on building creation.

Links & Issues

All of my mods can be found on the steam workshop here or alternatively they can be downloaded and source code can be viewed on my Github page[github.com].

Mod requests & issues can be reported on my Github[github.com] as following steam comments is often hard.

Other

Huge thanks to the folks on the ONI Discord Server[discord.gg].

Credit to @PeterHan for PLib[github.com], an Oxygen Not Included modding library used here for it’s UI features.

PS: Yes…. I love the sweep bot animations…

Hope you all enjoy!