You are viewing a potentially older version of this package. View all versions.
ponyo-CartChargingStation-0.2.2 icon

CartChargingStation

Turn the haul cart into a rechargeable battery station with purchasable capacity upgrades.

By ponyo
Date uploaded 2 days ago
Version 0.2.2
Download link ponyo-CartChargingStation-0.2.2.zip
Downloads 276
Dependency string ponyo-CartChargingStation-0.2.2

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
Zehs-REPOLib-4.5.1 icon
Zehs-REPOLib

Library for adding content to R.E.P.O.

Preferred version: 4.5.1

README

Cart Charging Station

Set a rechargeable item in the standard haul cart to recharge it from the cart's stored energy. The display beside the cart shows current energy and maximum capacity in charge crystals. A new run starts with one crystal of energy and capacity by default.

Bring a cart close to the truck's charging area to refill it from the station's crystal supply. Each owned cart has its own energy and maximum capacity. The truck's default cart and carts with native item IDs retain their individual state across scenes and alongside the selected run checkpoint. An older shared cart balance is migrated to the first tracked cart once.

The shop sells ten capacity expansions for 50K each by default. Buy them at the normal checkout, pick them up in the next truck, and release them inside the cart. Each expansion adds half a crystal of maximum capacity.

Install through Thunderstore and launch Modded. For multiplayer, all players must have the same version of CartChargingStation and REPOLib. Test in a private room. The host handles energy, purchases, and saves. Multiplayer is experimental and host migration is unsupported.

To test with five free items, set [Testing] SpawnFiveExpansions = true in ponyo.cartchargingstation.cfg on the host. The test expansions are granted once per run. In solo, a handgun with 20% battery is also placed once per game launch. This option is off by default.

CHANGELOG

Changelog

0.2.2

  • Fix native grabbed-object initialization for networked expansion batteries and align their price callout.

0.2.1

  • Track charge and capacity separately for each cart and synchronize each cart's readout in multiplayer.

0.2.0

  • Add experimental multiplayer with host-controlled energy, checkout, discounts, and synchronized expansion batteries.

0.1.8

  • Allow the SHOP keeper to discount individual expansion batteries and carry the discounted price through checkout.

0.1.7

  • Fix checkout and impact exceptions on custom expansion batteries.

0.1.6

  • List cart expansions at SHOP checkout and use depth-tested yellow digital numerals.

0.1.5

  • Give capacity expansions an armored cylindrical battery model.

0.1.4

  • Use depth-tested text so opaque objects can cover the cart readout.

0.1.3

  • Mount a collision-free energy readout on the long sides of the cart and size it for 999.99/999.99.

0.1.2

  • Place a partially discharged test handgun in the first truck when test supplies are enabled.

0.1.1

  • Detect carts near the truck charger using their physical bounds and log docking and transfer.

0.1.0

  • Add a rechargeable reservoir and crystal readout to the standard haul cart.
  • Sell installable capacity expansions and keep cart state across scenes.
  • Add an optional set of five test expansions.