Battery Pack

by mrudat

Changes modular armor batteries to work as removable battery packs able to power armor, vehicles or your factory.

3 years ago
0.17 - 0.18
9
Owner:
mrudat
Source:
https://github.com/mrudat/Factorio-Ba...
Homepage:
N/A
License:
MIT
Created:
5 years ago
Latest Version:
0.0.11 (3 years ago)
Factorio version:
0.17 - 0.18
Downloaded by:
9 users

A combination of Modular Charge Packs, Batteries Not Included and Power Cubes.

It allows you to charge personal batteries from your factory, and use that stored power in your equipment grid, in specially modified vehicles, and also to power your factory.

"Support" for (turning Battery Pack off for) other mods.

To stop Battery Pack from creating Battery-Powered vehicles derived from a mod-added vehicle, you can add a key to BatteryPack.vehicle_blacklist, for example:

BatteryPack.vehicle_blacklist['my-special-vehicle'] = true

To stop Battery Pack from creating charged versions of battery equipment, you can add a key to BatteryPack.equipment_blacklist or BatteryPack.item_blacklist, for example:

BatteryPack.equipment_blacklist['not-actually-a-battery'] = true
BatteryPack.item_blacklist['pretends-to-be-a-battery'] = true

To get Battery Pack to treat a battery as a primary battery (add a fuel value, don't return a discharged battery), add a key to BatteryPack.primary_batteries, for example:

BatteryPack.primary_batteries['a-primary-battery'] = true