From d6d74517fa44da9b3790b4bf6ee2ee519aa4696c Mon Sep 17 00:00:00 2001 From: Arceniu <129214736+Arceniu@users.noreply.github.com> Date: Thu, 8 Jan 2026 01:54:47 +0300 Subject: [PATCH] fix: ERT commander id (#94769) ## About The Pull Request ERT Commanders id cards now separated from Emergency Responce Team Intern one, also changed some code where probably should be commander cards(debug map, ert commander ofc and ert join button) ## Changelog :cl: fix: ert commander card properly appear in game, no longer overriding basetype ert card /:cl: --- _maps/map_files/debug/runtimestation.dmm | 2 +- code/game/objects/items/cards_ids.dm | 2 +- code/modules/admin/verbs/ert.dm | 2 +- code/modules/clothing/outfits/ert.dm | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_maps/map_files/debug/runtimestation.dmm b/_maps/map_files/debug/runtimestation.dmm index 95d31cc2042..66baca7acb2 100644 --- a/_maps/map_files/debug/runtimestation.dmm +++ b/_maps/map_files/debug/runtimestation.dmm @@ -265,7 +265,7 @@ /area/station/command/bridge) "bJ" = ( /obj/structure/table, -/obj/item/card/id/advanced/centcom/ert{ +/obj/item/card/id/advanced/centcom/ert/commander{ pixel_x = 6; pixel_y = -6 }, diff --git a/code/game/objects/items/cards_ids.dm b/code/game/objects/items/cards_ids.dm index 1cfa8977ea8..ee48e793cc1 100644 --- a/code/game/objects/items/cards_ids.dm +++ b/code/game/objects/items/cards_ids.dm @@ -1375,7 +1375,7 @@ registered_name = "Emergency Response Intern" trim = /datum/id_trim/centcom/ert -/obj/item/card/id/advanced/centcom/ert +/obj/item/card/id/advanced/centcom/ert/commander registered_name = JOB_ERT_COMMANDER trim = /datum/id_trim/centcom/ert/commander diff --git a/code/modules/admin/verbs/ert.dm b/code/modules/admin/verbs/ert.dm index efcfada7ce7..8070c5d6f34 100644 --- a/code/modules/admin/verbs/ert.dm +++ b/code/modules/admin/verbs/ert.dm @@ -124,7 +124,7 @@ var/list/spawn_points = GLOB.emergencyresponseteamspawn - var/list/mob/dead/observer/candidates = SSpolling.poll_ghost_candidates("Do you wish to be considered for [span_notice(ertemplate.polldesc)]?", check_jobban = "deathsquad", alert_pic = /obj/item/card/id/advanced/centcom/ert, role_name_text = "emergency response team") + var/list/mob/dead/observer/candidates = SSpolling.poll_ghost_candidates("Do you wish to be considered for [span_notice(ertemplate.polldesc)]?", check_jobban = "deathsquad", alert_pic = /obj/item/card/id/advanced/centcom/ert/commander, role_name_text = "emergency response team") if(!length(candidates)) message_admins("[key_name_admin(owner)] tried to create a CentCom response team but [owner.p_they()] didn't find any candidates.") diff --git a/code/modules/clothing/outfits/ert.dm b/code/modules/clothing/outfits/ert.dm index 1a4116b9579..e9440c2e32c 100644 --- a/code/modules/clothing/outfits/ert.dm +++ b/code/modules/clothing/outfits/ert.dm @@ -38,7 +38,7 @@ /datum/outfit/centcom/ert/commander name = "ERT Commander" - id = /obj/item/card/id/advanced/centcom/ert + id = /obj/item/card/id/advanced/centcom/ert/commander back = /obj/item/mod/control/pre_equipped/responsory/commander l_hand = /obj/item/gun/energy/e_gun box = /obj/item/storage/box/survival/centcom @@ -489,7 +489,7 @@ /datum/outfit/centcom/ert/marine name = "Marine Commander" - id = /obj/item/card/id/advanced/centcom/ert + id = /obj/item/card/id/advanced/centcom/ert/commander suit = /obj/item/clothing/suit/armor/vest/marine suit_store = /obj/item/gun/ballistic/automatic/wt550 back = /obj/item/shield/riot