Skip to content

Commit

Permalink
Gives the tcomms substations starting power (#6089)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

Give the tcomms substations with power in them to start, as well as
breakers that start deactivated. This means that the comms will run for
about 1 hour even if nobody starts power immediately. While I did adjust
the Tether tcomms, this PR was not actually tested there since it isn't
a server we currently run, I just didn't want to leave it behind on this
particular change. The power usage (and therefore expected uptime) there
should be similar.

## Why It's Good For The Game

People shouldn't be rendered unable to communicate over radio within 5
minutes of roundstart because engineers aren't around or aren't capable
of immediately generating power. This gives the facility about an hour
of leeway before the comms die, making it still important to get main
power running but not something that's going to immediately negatively
impact everyone.

## Changelog

<!-- If your PR modifies aspects of the game that can be concretely
observed by players or admins you should add a changelog. If your change
does NOT meet this description, remove this section. Be sure to properly
mark your PRs to prevent unnecessary GBP loss. You can read up on GBP
and it's effects on PRs in the tgstation guides for contributors. Please
note that maintainers freely reserve the right to remove and add tags
should they deem it appropriate. You can attempt to finagle the system
all you want, but it's best to shoot for clear communication right off
the bat. -->

:cl: SingingSpock
tweak: Tcomms substations start with a bit of power in them, so they
won't die immediately on roundstart
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
  • Loading branch information
SingingSpock authored Oct 20, 2023
1 parent e899d39 commit 7c8e17a
Show file tree
Hide file tree
Showing 4 changed files with 375 additions and 222 deletions.
8 changes: 8 additions & 0 deletions code/modules/power/smes/smes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,14 @@ GLOBAL_LIST_EMPTY(smeses)
input_level = 100
output_level = 200

/obj/machinery/power/smes/buildable/tcomms
name = "telecomms smes"
desc = "A high-capacity superconducting magnetic energy storage (SMES) unit. This is the one dedicated to telecommunications."
charge = KWH_TO_KWM(SMES_COIL_STORAGE_BASIC * 1 * 0.25)
input_level = 100
output_level = 200
RCon_tag = "Telecomms"

#define SMES_UI_INPUT 1
#define SMES_UI_OUTPUT 2

Expand Down
Loading

0 comments on commit 7c8e17a

Please sign in to comment.