-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes the radiation storm from the Radioactive Nebula station trait (…
…#854) * Removes the Radioactive Nebula station trait from the station traits pool * Updates the station trait so that it simply never runs the radiation storm * Tweaks this slightly * Lets admins toggle the storms on/off * Revert "Lets admins toggle the storms on/off" This reverts commit c4a56e2701ee8ad44e0cd922ac731c239a01f1e1. * Let's try this again * Update negative_traits.dm * Update negative_traits.dm * Update negative_traits.dm * Update negative_traits.dm --------- Co-authored-by: GoldenAlpharex <[email protected]> Co-authored-by: Bloop <[email protected]>
- Loading branch information
1 parent
0ff2917
commit b63805f
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
modular_skyrat/master_files/code/datums/station_traits/negative_traits.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/datum/station_trait/nebula/hostile/ | ||
/// Radiation storms are disabled by default | ||
var/storms_enabled | ||
|
||
/// Allows an admin to turn on/off the radiation storms. | ||
/datum/station_trait/nebula/hostile/proc/toggle_storms() | ||
storms_enabled = !storms_enabled | ||
message_admins("Radiation storms have been [storms_enabled ? "enabled" : "disabled"]!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters