Skip to content

Commit

Permalink
[MIRROR] Corrects Suit Storage Unit charge rate (#2596)
Browse files Browse the repository at this point in the history
* Corrects Suit Storage Unit charge rate  (#82192)

## About The Pull Request

Adjusts SSU charge rate according to the new conversion ratio. 

Betcha didn't know SSUs recharge suit and MOD cells? 

This number is actually supposed to be equal to the rate a recharger
station does it.
I don't know if we have some macro for it. 

## Changelog

:cl: Melbert
fix: Fixed Suit Storage Unit cell charging rate
/:cl:

* Corrects Suit Storage Unit charge rate

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: MrMelbert <[email protected]>
Co-authored-by: SomeRandomOwl <[email protected]>
Co-authored-by: Iajret <[email protected]>
  • Loading branch information
5 people authored Mar 28, 2024
1 parent b3b6951 commit 99ff226
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/game/machinery/suit_storage_unit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
/// Cooldown for occupant breakout messages via relaymove()
var/message_cooldown
/// How long it takes to break out of the SSU.
var/breakout_time = 300
var/breakout_time = 30 SECONDS
/// Power contributed by this machine to charge the mod suits cell without any capacitors
var/base_charge_rate = 200
var/base_charge_rate = 200 KILO WATTS
/// Final charge rate which is base_charge_rate + contribution by capacitors
var/final_charge_rate = 250
var/final_charge_rate = 250 KILO WATTS
/// is the card reader installed in this machine
var/card_reader_installed = FALSE
/// physical reference of the players id card to check for PERSONAL access level
Expand Down Expand Up @@ -287,7 +287,7 @@
. = ..()

for(var/datum/stock_part/capacitor/capacitor in component_parts)
final_charge_rate = base_charge_rate + (capacitor.tier * 50)
final_charge_rate = base_charge_rate + (capacitor.tier * 50 KILO WATTS)

set_access()

Expand Down

0 comments on commit 99ff226

Please sign in to comment.