Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gamma, Epsilon с Парадиза #331

Merged
merged 17 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions config/game_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ ALERT_BLUE_DOWNTO The immediate threat has passed. Security may no longer have w
ALERT_RED_UPTO There is an immediate serious threat to the station. Security may have weapons unholstered at all times. Random searches are allowed and advised. Additionally, access requirements on some doors have been lifted.
ALERT_RED_DOWNTO The station's destruction has been averted. There is still however an immediate serious threat to the station. Security may have weapons unholstered at all times, random searches are allowed and advised.
ALERT_DELTA Destruction of the station is imminent. All crew are instructed to obey all instructions given by heads of staff. Any violations of these orders can be punished by death. This is not a drill.
ALERT_GAMMA Центральным Командованием был установлен Код Гамма. Служба безопасности должна быть полностью вооружена. Гражданский персонал обязан немедленно обратиться к Главам отделов для получения дальнейших указаний.
ALERT_EPSILON Центральным командованием был установлен код ЭПСИЛОН. Все контракты расторгнуты.

## The total weight of station goals possible for a round (allows multiple goals)
STATION_GOAL_BUDGET 1
Expand Down
3 changes: 2 additions & 1 deletion modular_bandastation/modular_bandastation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,19 @@
#include "emote_panel/_emote_panel.dme" // Waiting for upstream merge
#include "examine_panel/_examine_panel.dme"
#include "gunhud/_gunhud.dme"
#include "hair/_hair.dme"
#include "keybinding/_keybinding.dme"
#include "loadout/_loadout.dme"
#include "mapping/_mapping.dme"
#include "medical/_medical.dme"
#include "nanomap/_nanomap.dme"
#include "pixel_shift/_pixel_shift.dme"
#include "ru_jobs/_ru_jobs.dme"
#include "security_levels/_security_levels.dme"
#include "translations/_translations.dme"
#include "tts/_tts.dme"
#include "whitelist220/_whitelist220.dme"
#include "world_topics/_world_topics.dme"
#include "preferences/_preferences.dme"
#include "jukebox/_jukebox.dme"
#include "objects/_objects.dme"
#include "hair/_hair.dme"
4 changes: 4 additions & 0 deletions modular_bandastation/security_levels/_security_levels.dm
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"
3 changes: 3 additions & 0 deletions modular_bandastation/security_levels/_security_levels.dme
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"
2 changes: 2 additions & 0 deletions modular_bandastation/security_levels/code/fire_alarm.dm
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 modular_bandastation/security_levels/code/security_level_datums.dm
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
2 changes: 2 additions & 0 deletions modular_bandastation/security_levels/code/status_display.dm
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.
Loading