Skip to content

Commit

Permalink
The Debug and Admin MODsuits now take a lot less time to (de)activate. (
Browse files Browse the repository at this point in the history
#76261)

## About The Pull Request
Read the title. An equivalent 'activation_step_time' variable has been
added to the mod theme datum to accomplish that.

## Why It's Good For The Game
Why do we have to wait over 10 seconds for a debug suit to activate or
deactivate on top of everything else that comes with coding,
programming, bugfixing etc? It now takes about 2 seconds to do so, which
should be enough to notice the effects of modules such as the springlock
anyway. The admin one takes 0.5 seconds, as it's by all means a better
debug suit.

## Changelog

:cl:
admin: The Debug and Admin MODsuits now take a lot less time to
(de)activate. 2 and 0.5 seconds respectively, compared to the default of
10s.
/:cl:

---------

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
  • Loading branch information
Ghommie and Fikou committed Jun 24, 2023
1 parent 076862a commit f2fc2fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/mod/mod_control.dm
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
extended_desc = theme.extended_desc
slowdown_inactive = theme.slowdown_inactive
slowdown_active = theme.slowdown_active
activation_step_time = theme.activation_step_time
complexity_max = theme.complexity_max
ui_theme = theme.ui_theme
charge_drain = theme.charge_drain
Expand Down
4 changes: 4 additions & 0 deletions code/modules/mod/mod_theme.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
var/slowdown_inactive = 1.25
/// Slowdown of the MOD when active.
var/slowdown_active = 0.75
/// How long this MOD takes each part to seal.
var/activation_step_time = MOD_ACTIVATION_STEP_TIME
/// Theme used by the MOD TGUI.
var/ui_theme = "ntos"
/// List of inbuilt modules. These are different from the pre-equipped suits, you should mainly use these for unremovable modules with 0 complexity.
Expand Down Expand Up @@ -1633,6 +1635,7 @@
siemens_coefficient = 0
slowdown_inactive = 0.5
slowdown_active = 0
activation_step_time = 0.4 SECONDS
allowed_suit_storage = list(
/obj/item/gun,
)
Expand Down Expand Up @@ -1692,6 +1695,7 @@
siemens_coefficient = 0
slowdown_inactive = 0
slowdown_active = 0
activation_step_time = 0.1 SECONDS
allowed_suit_storage = list(
/obj/item/gun,
)
Expand Down

0 comments on commit f2fc2fb

Please sign in to comment.