Skip to content

Commit

Permalink
Мержим наше
Browse files Browse the repository at this point in the history
  • Loading branch information
FeenieRU committed Dec 13, 2022
1 parent daca893 commit 7fc844f
Show file tree
Hide file tree
Showing 161 changed files with 1,205 additions and 938 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"name": "Launch DreamSeeker",
"preLaunchTask": "Build All",
"dmb": "${workspaceFolder}/${command:CurrentDMB}",
"dreamDaemon": false
"dreamDaemon": true
}
]
}
2 changes: 1 addition & 1 deletion code/controllers/configuration/entries/movespeed.dm
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
config_entry_value = 24

/datum/config_entry/number/movedelay/sprint_stamina_cost
config_entry_value = 1.4
config_entry_value = 5

/datum/config_entry/number/movedelay/sprint_buffer_regen_per_ds
config_entry_value = 0.4
Expand Down
4 changes: 2 additions & 2 deletions code/controllers/subsystem/nightshift.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ SUBSYSTEM_DEF(nightshift)
nightshift_active = active
if(announce)
if (active)
announce("Good evening, crew. To reduce power consumption and stimulate the circadian rhythms of some species, all of the lights aboard the station have been dimmed for the night.")
announce("Добрый вечер, Экипаж Космической Станции. Чтобы снизить потребление энергии и стимулировать Биоритмы некоторых видов, все осветительные приборы на борту станции были приглушены на ночь.")
else
announce("Good morning, crew. As it is now day time, all of the lights aboard the station have been restored to their former brightness.")
announce("Доброе утро, Экипаж Космической Станции. Поскольку сейчас дневное время, все осветительные приборы на борту станции были восстановлены до их прежней яркости.")
var/max_level
var/configured_level = CONFIG_GET(number/night_shift_public_areas_only)
if(isnull(max_level_override))
Expand Down
16 changes: 8 additions & 8 deletions code/controllers/subsystem/security_level.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SUBSYSTEM_DEF(security_level)
if(new_level >= SEC_LEVEL_GREEN && new_level <= SEC_LEVEL_DELTA && new_level != GLOB.security_level)
switch(new_level)
if(SEC_LEVEL_GREEN)
minor_announce(CONFIG_GET(string/alert_green), "Attention! Security level lowered to green:")
minor_announce(CONFIG_GET(string/alert_green), "Внимание! Уровень Безопасности понижен до Зеленого:")
if(SSshuttle.emergency.mode == SHUTTLE_CALL || SSshuttle.emergency.mode == SHUTTLE_RECALL)
if(GLOB.security_level >= SEC_LEVEL_RED)
SSshuttle.emergency.modTimer(4)
Expand All @@ -34,11 +34,11 @@ SUBSYSTEM_DEF(security_level)
FA.update_icon()
if(SEC_LEVEL_BLUE)
if(GLOB.security_level < SEC_LEVEL_BLUE)
minor_announce(CONFIG_GET(string/alert_blue_upto), "Attention! Security level elevated to blue:",1)
minor_announce(CONFIG_GET(string/alert_blue_upto), "Внимание! Уровень Безопасности повышен до Синего:",1)
if(SSshuttle.emergency.mode == SHUTTLE_CALL || SSshuttle.emergency.mode == SHUTTLE_RECALL)
SSshuttle.emergency.modTimer(0.6)
else
minor_announce(CONFIG_GET(string/alert_blue_downto), "Attention! Security level lowered to blue:")
minor_announce(CONFIG_GET(string/alert_blue_downto), "Внимание! Уровень Безопасности понижен до Синего:")
if(SSshuttle.emergency.mode == SHUTTLE_CALL || SSshuttle.emergency.mode == SHUTTLE_RECALL)
if(GLOB.security_level >= SEC_LEVEL_RED)
SSshuttle.emergency.modTimer(2.4)
Expand All @@ -51,14 +51,14 @@ SUBSYSTEM_DEF(security_level)
FA.update_icon()
if(SEC_LEVEL_AMBER)
if(GLOB.security_level < SEC_LEVEL_AMBER)
minor_announce(CONFIG_GET(string/alert_amber_upto), "Attention! Security level elevated to amber:",1)
minor_announce(CONFIG_GET(string/alert_amber_upto), "Внимание! Уровень Безопасности повышен до Янтарного:",1)
if(SSshuttle.emergency.mode == SHUTTLE_CALL || SSshuttle.emergency.mode == SHUTTLE_RECALL)
if(GLOB.security_level == SEC_LEVEL_GREEN)
SSshuttle.emergency.modTimer(0.4)
else
SSshuttle.emergency.modTimer(0.66)
else
minor_announce(CONFIG_GET(string/alert_amber_downto), "Attention! Security level lowered to amber:")
minor_announce(CONFIG_GET(string/alert_amber_downto), "Внимание! Уровень Безопасности понижен до Янтарного:")
if(SSshuttle.emergency.mode == SHUTTLE_CALL || SSshuttle.emergency.mode == SHUTTLE_RECALL)
SSshuttle.emergency.modTimer(1.6)
GLOB.security_level = SEC_LEVEL_AMBER
Expand All @@ -68,7 +68,7 @@ SUBSYSTEM_DEF(security_level)
FA.update_icon()
if(SEC_LEVEL_RED)
if(GLOB.security_level < SEC_LEVEL_RED)
minor_announce(CONFIG_GET(string/alert_red_upto), "Attention! Code red!",1)
minor_announce(CONFIG_GET(string/alert_red_upto), "Внимание! Код Красный!",1)
if(SSshuttle.emergency.mode == SHUTTLE_CALL || SSshuttle.emergency.mode == SHUTTLE_RECALL)
if(GLOB.security_level == SEC_LEVEL_GREEN)
SSshuttle.emergency.modTimer(0.25)
Expand All @@ -77,7 +77,7 @@ SUBSYSTEM_DEF(security_level)
else
SSshuttle.emergency.modTimer(0.625)
else
minor_announce(CONFIG_GET(string/alert_red_downto), "Attention! Code red!")
minor_announce(CONFIG_GET(string/alert_red_downto), "Внимание! Код Красный!")
GLOB.security_level = SEC_LEVEL_RED
sound_to_playing_players('sound/misc/voyalert.ogg', volume = 50) // Citadel change - Makes alerts play a sound

Expand All @@ -87,7 +87,7 @@ SUBSYSTEM_DEF(security_level)
for(var/obj/machinery/computer/shuttle/pod/pod in GLOB.machines)
pod.admin_controlled = FALSE
if(SEC_LEVEL_DELTA)
minor_announce(CONFIG_GET(string/alert_delta), "Attention! Delta security level reached!",1)
minor_announce(CONFIG_GET(string/alert_delta), "Внимание! Уровень Безопасности достигнут Дельта-Кода!",1)
if(SSshuttle.emergency.mode == SHUTTLE_CALL || SSshuttle.emergency.mode == SHUTTLE_RECALL)
if(GLOB.security_level < SEC_LEVEL_BLUE)
SSshuttle.emergency.modTimer(0.25)
Expand Down
1 change: 1 addition & 0 deletions code/controllers/subsystem/vote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ SUBSYSTEM_DEF(vote)
GLOB.master_mode = "dynamic"
if(. == "extended")
GLOB.dynamic_extended = TRUE
GLOB.master_mode = "extended"
message_admins("The gamemode has been voted for, and has been changed to: [GLOB.master_mode]")
log_admin("Gamemode has been voted for and switched to: [GLOB.master_mode].")
if("restart")
Expand Down
Loading

0 comments on commit 7fc844f

Please sign in to comment.