Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regular UPS increases in volume when loaded #37901

Closed
ektoplazm opened this issue Feb 10, 2020 · 6 comments · Fixed by #37990
Closed

Regular UPS increases in volume when loaded #37901

ektoplazm opened this issue Feb 10, 2020 · 6 comments · Fixed by #37990

Comments

@ektoplazm
Copy link
Contributor

ektoplazm commented Feb 10, 2020

Describe the bug

Unlike other electronic devices UPS increases in volume when loaded with heavy batteries, which renders it useless for power armor.

Steps To Reproduce

  1. Spawn UPS
  2. Spawn different types of heavy batteries
  3. Check volume changes on the UPS after loading it

Expected behavior

The volume of the UPS should not increase since it's an electronic device and batteries are not supposed to protrude from those.

Just checked adv UPS - it behaves normally, loading it with plutonium cells does not increase its volume.

Screenshots

image

Versions and configuration

debug.log

- OS Version: 10.0 1903
  • Game Version: 0.D-12166-g0a401c8 [64-bit]
  • Graphics Version: Tiles
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Bionic Slots [cbm_slots],
    No Rail Stations [No_Rail_Stations]
@Funguss
Copy link
Contributor

Funguss commented Feb 12, 2020

In the full description it mentions that the UPS has its' own custom battery that's rechargeable but irremovable. In light of this it's reasonable to suppose the battery is attached via cable than by internal housing...

Was just struck by the realisation that the UPS isn't rechargeable via batteries at all. Not quite sure how you've achieved this.

@CSHague
Copy link
Contributor

CSHague commented Feb 12, 2020

That's the old description for the UPS in the screenshot so it must be an older version before it was changed. Until recently, you could load batteries into the UPS until it was changed to have its own battery making it slightly higher capacity than a heavy battery, giving the UPS some use. As a consequence of updating, however, any UPS that was loaded with a battery will have an unchargable UPS after updating as it will still have the battery loaded in it, overriding the internal "magazine"

@Funguss
Copy link
Contributor

Funguss commented Feb 12, 2020

Oh? How recently? I always used to recharge my UPS via a vehicle port, on the rare occasions I used them at all. I don't think I've recharged them with batteries since back when they came as ammo stacks.

@ektoplazm
Copy link
Contributor Author

ektoplazm commented Feb 12, 2020

The UPS is supposed to be rechargable with heavy batteries in the current experimental build:

[ "battery", [ "heavy_plus_battery_cell", "heavy_battery_cell", "heavy_atomic_battery_cell", "heavy_disposable_cell" ] ]

http://cdda-trunk.chezzo.com/UPS_off

The aftershock version however is described as: "Has it's own custom battery, with higher capacity and rechargeable, but not removeable.

@Funguss
Copy link
Contributor

Funguss commented Feb 12, 2020

Aha! Sorry about that! I would say that for power armour there's a CBM for it that allows it to work on bio energy, plus there's a UPS CBM I believe.

@ektoplazm
Copy link
Contributor Author

ektoplazm commented Feb 13, 2020

I found the culprit - in this PR the volume of all heavy batteries was increased, while "magazine_well" parameter for the regular UPS remained unchanged at 4 units (i.e. 1 L):


I'll make a PR to fix it shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants