From cccdd2cda5002db95040ece1051d0bb8d4534a71 Mon Sep 17 00:00:00 2001 From: jimmyl <70376633+mc-oofert@users.noreply.github.com> Date: Fri, 16 Jun 2023 21:56:56 +0200 Subject: [PATCH] Latejoining crew start with emergency large crowbars if arrivals is not powered (#75827) If you latejoin, and arrivals environmental power is off (airlocks depowered), you start with an emergency large crowbar in your hands (or floor if both hands are full already) Some arrival shuttles start with a crowbar, but its not enough if someone already took it before you arrived. Being stuck in airlock + firelock CBT especially with no air is very shit (unless youre the CE or an Engineer who start with tools, unlikely) Having a crowbar resolves movement --- code/modules/mob/dead/new_player/new_player.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/dead/new_player/new_player.dm b/code/modules/mob/dead/new_player/new_player.dm index 664a95c0cbe..40fbbfd4882 100644 --- a/code/modules/mob/dead/new_player/new_player.dm +++ b/code/modules/mob/dead/new_player/new_player.dm @@ -229,6 +229,9 @@ if((job.job_flags & JOB_ASSIGN_QUIRKS) && humanc && CONFIG_GET(flag/roundstart_traits)) SSquirks.AssignQuirks(humanc, humanc.client) + var/area/station/arrivals = GLOB.areas_by_type[/area/station/hallway/secondary/entry] + if(humanc && arrivals && !arrivals.power_environ) //arrivals depowered + humanc.put_in_hands(new /obj/item/crowbar/large/emergency(get_turf(humanc))) //if hands full then just drops on the floor log_manifest(character.mind.key,character.mind,character,latejoin = TRUE) SEND_GLOBAL_SIGNAL(COMSIG_GLOB_CREWMEMBER_JOINED, character, rank)