Wireless Power

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

Author: Zonkeeh

Last revision: 11 Jan, 2021 at 06:33 UTC

File size: 525.31 KB

On Steam Workshop

Description:

Send power around your base wirelessly, by the use of 3 unique buildings!

Description

Ever wanted to provide power to various areas of your base without running wires everywhere?

This mod enables 3 distinct buildings to send, store and receive power from the Wireless Power Grid, providing balance options maximise usability.

Mod Version: 1.0.1
Latest Tested Game Version: CS-444111

Specifics
  • Adds 3 buildings to provide wirelessly accessible power: Wireless Battery, Sender & Receiver.
  • Batteries are needed for the Wireless Power Grid to function. They store power and act much like the traditional batteries.
  • Senders add power to batteries located on the same channel of the Wireless Power Grid. They act as power consumers on a local power circuit and send a configurable amount of power.
  • Receivers take power from batteries located on the same channel of the Wireless Power Grid. They act as power generators on a local power circuit and take a configurable amount of power.
  • Multiple Senders & Receivers can be located on the same channel, each interfacing dynamically with wireless Batteries on the same channel.
  • Many Batteries can also be located on the same channel, energy can be taken/added to any which have the available power or capacity available.
  • Grid capacity is determined by the amount of Batteries present on a channel. Each battery stores it’s own power, allowing you to change channels and prevse power.
  • Power on the Wireless Power Grid is sent to the most full batteries first and is received from the least full batteries first. Senders & Receivers will (and often do) distribute their power needs to multiple batteries if one battery runs out/fills up.
  • By default, these buildings aim to be (Slightly) balanced by using an Energy Falloff mechanic which causes a percentage of the transferred power to be lost. This value can be changed in the configuration file.
  • These buildings are located in the Power building menu and require the "Low-Resistance Conductors" research to unlock.
  • These buildings can also be customised in the configuration file for this mod, allowing custom intervals, capacity and material costs to be set.
  • Buildings are also now built out of steel, this can be changed in the configuration file.
  • Senders & Receivers display a Grid Transfer Threshold which denotes how full a battery must be to send/receive power.
  • All buildings display their current connection and activity status in their screens and as various status cards.
Wireless Battery

Wireless Sender

Wireless Receiver

Disclaimer: Images do not contain the new Grid Capacity status item and Grid Transfer Threshold UI option.

Options

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

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

MaxNumberOfChannels – Denotes the maximum number of wireless channels available. (Default: 10)

UseColourInStatusItems – Determines whether status items are displayed with colour. (Default: true)

UseEnergyFalloff – Determines whether wireless energy falloff is used when transferring power. (Default: true)

CustomEnergyFalloffPercentage – Denotes the percentage of power lost during the transfer process, using a float from 0 to 1. (Default: 0.05 [5%])

BatteryCapacity – Denotes the capacity of the Wireless Batteries as a float. (Default: 40000)

BatteryJoulesLostPerSecond – Denotes the joules lost per second for Wireless Batteries, similar to smart batteries in the base game, using a float. (Default: 0.75)

DefaultTransfer – Denotes the default transfer amount for the Wireless Senders & Receivers, using a float. (Default: 200)

MinTransfer – Denotes the minimum transfer amount for the Wireless Senders & Receivers, using a float. (Default: 10)

MaxTransfer – Denotes the maximum transfer amount for the Wireless Senders & Receivers, using a float. (Default: 5000)

BuildUsesOnlySteel – Determines whether wireless power buildings can only be made with steel. (Default: true)

BatteryBuildTime – Denotes the time taken to build the Wireless Battery in seconds, using a float. (Default: 60)

BatteryMaterialCost – Denotes the amount of refined metals needed to construct the Wireless Battery, using a float. (Default: 400)

SenderReceiverBuildTime – Denotes the time taken to build the Wireless Senders & Receivers in seconds, using a float. (Default: 30)

SenderReceiverMaterialCost – Denotes the amount of refined metals needed to construct the Wireless Senders & Receivers, using a float. (Default: 200)

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

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.

Hope you all enjoy!