Skip to content

Commit

Permalink
[NO GBP]Fixes hypercharged slime core cells and circuit gun cells sta…
Browse files Browse the repository at this point in the history
…rting with an insignificant amount of charge. (#82977)

Scales the hypercharged slime core and wiremod gun cell maximum charge
and charge rate by the STANDARD_CELL_CHARGE and STANDARD_CELL_RATE
defines. Fixes their scale.

Closes #82907

## Changelog
:cl:
fix: Fixes hypercharged slime core cells and circuit guns having 1,000
times less energy than intended.
/:cl:
  • Loading branch information
Pickle-Coding committed May 1, 2024
1 parent 6fc7681 commit 4731db9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/modules/research/xenobiology/crossbreeding/_misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ Slimecrossing Items
icon_state = "yellow slime extract"
rating = 7
custom_materials = null
maxcharge = 50000
chargerate = 2500
maxcharge = 50 * STANDARD_CELL_CHARGE
chargerate = 2.5 * STANDARD_CELL_RATE
charge_light_type = null
connector_type = "slimecore"

Expand Down
2 changes: 1 addition & 1 deletion code/modules/wiremod/shell/gun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
range = 7

/obj/item/stock_parts/cell/emproof/wiremod_gun
maxcharge = 100
maxcharge = 0.1 * STANDARD_CELL_CHARGE

/obj/item/gun/energy/wiremod_gun/Initialize(mapload)
. = ..()
Expand Down

0 comments on commit 4731db9

Please sign in to comment.