forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
61 additions
and
1 deletion.
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
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
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,4 @@ | ||
/datum/modpack/security_levels | ||
name = "Коды безопасности" | ||
desc = "Коды безопасности Гамма и Эпсилон с Paradise" | ||
author = "dj-34, Aylong, VentelR" |
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,3 @@ | ||
#include "code/security_level_datums.dm" | ||
#include "code/status_display.dm" | ||
#include "code/fire_alarm.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,2 @@ | ||
/obj/machinery/firealarm | ||
icon = 'modular_bandastation/security_levels/icons/fire_alarm.dmi' |
46 changes: 46 additions & 0 deletions
46
modular_bandastation/security_levels/code/security_level_datums.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,46 @@ | ||
/// Security level is gamma. | ||
#define SEC_LEVEL_GAMMA 4 | ||
/// Security level is epsilon. | ||
#define SEC_LEVEL_EPSILON 5 | ||
|
||
// | ||
/datum/config_entry/string/alert_gamma | ||
default = "Центральным Командованием был установлен Код Гамма. Служба безопасности должна быть полностью вооружена. Гражданский персонал обязан немедленно обратиться к Главам отделов для получения дальнейших указаний." | ||
/datum/config_entry/string/alert_epsilon | ||
default = "Центральным командованием был установлен код ЭПСИЛОН. Все контракты расторгнуты." | ||
// | ||
|
||
/** | ||
* Gamma | ||
* | ||
* Station major hostile threats | ||
*/ | ||
|
||
/datum/security_level/gamma | ||
name = "gamma" | ||
announcement_color = "orange" | ||
sound = 'modular_bandastation/security_levels/sound/new_siren.ogg' | ||
status_display_icon_state = "gammaalert" | ||
fire_alarm_light_color = LIGHT_COLOR_ORANGE | ||
number_level = SEC_LEVEL_GAMMA | ||
elevating_to_configuration_key = /datum/config_entry/string/alert_gamma | ||
shuttle_call_time_mod = ALERT_COEFF_RED | ||
|
||
/** | ||
* Epsilon | ||
* | ||
* Station is not longer under the Central Command and to be destroyed by Death Squad (Or maybe not) | ||
*/ | ||
|
||
/datum/security_level/epsilon | ||
name = "epsilon" | ||
announcement_color = "purple" | ||
sound = 'modular_bandastation/security_levels/sound/epsilon.ogg' | ||
number_level = SEC_LEVEL_EPSILON | ||
status_display_icon_state = "epsilonalert" | ||
fire_alarm_light_color = LIGHT_COLOR_BLOOD_MAGIC | ||
elevating_to_configuration_key = /datum/config_entry/string/alert_epsilon | ||
shuttle_call_time_mod = 10 | ||
|
||
#undef SEC_LEVEL_GAMMA | ||
#undef SEC_LEVEL_EPSILON |
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,2 @@ | ||
/obj/machinery/status_display | ||
icon = 'modular_bandastation/security_levels/icons/status_display.dmi' |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.