From cd0f67d4e9017a33027e6cd0f1d0a1cbbde1b357 Mon Sep 17 00:00:00 2001 From: LC4492 <122557086+LC4492@users.noreply.github.com> Date: Wed, 24 Jul 2024 18:26:08 -0300 Subject: [PATCH] Commended Changes and etc --- .../cm_marines/altitude_control_console.dm | 31 +++++++++--------- .../objectives/objective_memory_storage.dm | 4 +-- code/modules/shuttle/dropship_hijack.dm | 2 +- icons/obj/structures/machinery/ares.dmi | Bin 4523 -> 4562 bytes .../interfaces/AltitudeControlConsole.jsx | 15 ++------- 5 files changed, 20 insertions(+), 32 deletions(-) diff --git a/code/modules/cm_marines/altitude_control_console.dm b/code/modules/cm_marines/altitude_control_console.dm index e5ae12876fc2..e6fc28ca97d7 100644 --- a/code/modules/cm_marines/altitude_control_console.dm +++ b/code/modules/cm_marines/altitude_control_console.dm @@ -48,23 +48,23 @@ GLOBAL_VAR_INIT(ship_alt, SHIP_ALT_MED) /obj/structure/machinery/computer/altitude_control_console/process() . = ..() - var/altitude = "Altitude" - switch(GLOB.ship_alt) - if(SHIP_ALT_LOW) - altitude = "Low altitude" - if(SHIP_ALT_MED) - altitude = "Medium altitude" - if(SHIP_ALT_HIGH) - altitude = "High altitude" var/temperature_change - if(GLOB.ship_temp >= OVERHEAT) - ai_silent_announcement("Attention: [altitude] orbital maneuver no longer sustainable, moving to geo-synchronous orbit until engine cooloff.", ";", TRUE) + if(GLOB.ship_alt == SHIP_ALT_LOW && GLOB.ship_temp >= OVERHEAT) + ai_silent_announcement("Attention: Low altitude orbital maneuver no longer sustainable, moving to furthest geo-synchronous orbit until engine cooloff.", ";", TRUE) GLOB.ship_alt = SHIP_ALT_HIGH temperature_change = OVERHEAT_COOLING for(var/mob/living/carbon/current_mob in GLOB.living_mob_list) if(!is_mainship_level(current_mob.z)) continue - current_mob.apply_effect(3, WEAKEN) + current_mob.apply_effect(3, SLOW) + shake_camera(current_mob, 10, 2) + if(GLOB.ship_alt == SHIP_ALT_HIGH && GLOB.ship_temp == 0) + ai_silent_announcement("Attention: Engine cooloff completed, automatic stabilization to most optimal geo-synchronous orbit undergoing.", ";", TRUE) + GLOB.ship_alt = SHIP_ALT_MED + for(var/mob/living/carbon/current_mob in GLOB.living_mob_list) + if(!is_mainship_level(current_mob.z)) + continue + current_mob.apply_effect(3, SLOW) shake_camera(current_mob, 10, 2) if(!temperature_change) switch(GLOB.ship_alt) @@ -82,7 +82,7 @@ GLOBAL_VAR_INIT(ship_alt, SHIP_ALT_MED) if(!is_mainship_level(current_mob.z)) continue shake_camera(current_mob, 10, 1) - ai_silent_announcement(" [altitude] maneuver currently under performance, full stabilization of the altitude unable to be achieved, maintaining procedures until overheat.", ";", TRUE) + ai_silent_announcement("Low altitude maneuver currently under performance, full stabilization of the altitude unable to be achieved, maintaining procedures until overheat.", ";", TRUE) //TGUI.... fun... years have gone by, I am dying of old age /obj/structure/machinery/computer/altitude_control_console/tgui_interact(mob/user, datum/tgui/ui) @@ -114,6 +114,7 @@ GLOBAL_VAR_INIT(ship_alt, SHIP_ALT_MED) var/mob/user = ui.user if(TIMER_COOLDOWN_CHECK(src, COOLDOWN_ALTITUDE_CHANGE)) message_admins("[key_name(user)] tried to change the ship's altitude, but it is still on cooldown.") + to_chat(user, SPAN_WARNING("Engines pending recalibration to burn again, stand by.")) else switch(action) if("low_alt") @@ -130,9 +131,6 @@ GLOBAL_VAR_INIT(ship_alt, SHIP_ALT_MED) add_fingerprint(ui.user) /obj/structure/machinery/computer/altitude_control_console/proc/change_altitude(mob/user, new_altitude) - if(TIMER_COOLDOWN_CHECK(src, COOLDOWN_ALTITUDE_CHANGE)) - to_chat(user, SPAN_WARNING("Engines pending recalibration to burn again, stand by.")) - return if(GLOB.ship_alt == new_altitude) return else @@ -141,7 +139,8 @@ GLOBAL_VAR_INIT(ship_alt, SHIP_ALT_MED) for(var/mob/living/carbon/current_mob in GLOB.living_mob_list) if(!is_mainship_level(current_mob.z)) continue - current_mob.apply_effect(3, WEAKEN) + current_mob.apply_effect(3, SLOW) + to_chat(user, SPAN_WARNING("You have some difficulty on maintaining balance!")) shake_camera(current_mob, 10, 2) ai_silent_announcement("Attention: Altitude control protocols initialized, currently performing high-g orbital maneuver.", ";", TRUE) diff --git a/code/modules/objectives/objective_memory_storage.dm b/code/modules/objectives/objective_memory_storage.dm index c84f71556743..df24c2d1c1e6 100644 --- a/code/modules/objectives/objective_memory_storage.dm +++ b/code/modules/objectives/objective_memory_storage.dm @@ -115,7 +115,7 @@ GLOBAL_DATUM_INIT(intel_system, /datum/intel_system, new()) name = "Intel Computer" var/label = "" desc = "An USCM Intel Computer for data cataloguing and distribution." - icon_state = "terminal1_old" + icon_state = "comm" unslashable = TRUE unacidable = TRUE var/typing_time = 20 @@ -235,7 +235,7 @@ GLOBAL_DATUM_INIT(intel_system, /datum/intel_system, new()) /obj/structure/machinery/computer/view_objectives name = "Intel Database Computer" desc = "An USCM Intel Database Computer used for consulting the current intel database." - icon_state = "terminal1_old" + icon_state = "comm" unslashable = TRUE unacidable = TRUE diff --git a/code/modules/shuttle/dropship_hijack.dm b/code/modules/shuttle/dropship_hijack.dm index 73150f5bfc08..2ac4ef2b5746 100644 --- a/code/modules/shuttle/dropship_hijack.dm +++ b/code/modules/shuttle/dropship_hijack.dm @@ -70,7 +70,7 @@ /datum/dropship_hijack/almayer/proc/fire() if(!shuttle || !crash_site) return FALSE - shuttle.callTime = DROPSHIP_CRASH_TRANSIT_DURATION * GLOB.ship_alt + shuttle.callTime = DROPSHIP_CRASH_TRANSIT_DURATION SSshuttle.moveShuttle(shuttle.id, crash_site.id, TRUE) if(GLOB.round_statistics) GLOB.round_statistics.track_hijack() diff --git a/icons/obj/structures/machinery/ares.dmi b/icons/obj/structures/machinery/ares.dmi index 5bbe4a42441ae925e365ae6e67d7383a552f629a..9d4f4d398d590cd10fb343d88065e5550a98013c 100644 GIT binary patch delta 4064 zcmXX}c|6o>7yr!|jCCwovJFwnq_~y6nX!{XS`b-pDnxFwT*mL02nj6;xy+=xM7ESI z%h-!*D6(%&HTEH9GBal89q;=-&*$@;bDpz(&pFROPnq^-?Yla#k$b!QW$K?>Nj{S# zlgYBOvbrlQ`|2%y7?|#8V|hB}pXKvnapOjE3XW;jL)|ArJl!5YEZe9mXdM1`!6=1l zbmjLrpP!|u8}SjyE|LB7afeCu22yg>K-ukY`OAm@UOJn7;XSB=(NMzbm96D+FTd2= zW_!+@IosWxAbPZiB_??=`-b|4N{(*!gI9_;c2dyr4!O!ML(p<9%}jerqi3DvE;*{z zUjA|;bKYD!Db>V(e_=otJ2NXX_4s3%le*dR%&Vcv{hb{l5_Q&9ZMtC`Aev42fgXXI zMfchhdaBiCl3l@w0-@e-Vth-hJJjb{F5VWG=(D<8x?{LSf7SR``U!AGW!R3wlAY&t zb7jVa67G|CgJAZiSRw`
XT+
z!)DI~v1hB%OCvjb{(_X+BkO&%-t6hC^VN$RKMw5}HpRDuvk_tuGQ`j +T+qa! uV-WyRWU`;}d5!;Is(<=Z11S~zfBVtY|EzmJ(LV9#l>B-A
zh;-})OmP4|#?Dq3gOOlGv-!Bi<$fvXt~-vpYv7BA`-dp_Ap67d0WVBYt9}5fPy~Hb
zUoi%Ump}^NqDN_we^7j}mJ#Fnt{)GvM2;sYt9V2H0|>GdmL7$al#?ys?dNRC$rm*5
z4-o_tNUdi3_oS%g4ItE|u;Z2g3m+F5GMCkezx{UrHB+nX8U~OC1EIIrit4Z0xid?!
zpl57ix-Y)DS_Fu-4pIYxwY>y2o$cLj?=9TmO>UW?3PM88Q~ItyPIrLc3!nV8?K%i1
zttDONlC;60)ouP;{!_(v$8IpwdFCV=`f~aInf`&k0v+`_GnZ