From 0375fa27f3d0797e56518a142b3c0d9d61d7ef8c Mon Sep 17 00:00:00 2001 From: Bobby Date: Fri, 4 Aug 2023 16:51:20 +0100 Subject: [PATCH] updates how the ERT is handled to hopefully be better and not break --- code/datums/emergency_calls/royal_marines.dm | 21 ++++++++++--------- code/datums/factions/royalmarinescommando.dm | 2 +- icons/mob/hud/marine_hud.dmi | Bin 5786 -> 5785 bytes 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/code/datums/emergency_calls/royal_marines.dm b/code/datums/emergency_calls/royal_marines.dm index c1e4c2237909..665949d027a1 100644 --- a/code/datums/emergency_calls/royal_marines.dm +++ b/code/datums/emergency_calls/royal_marines.dm @@ -31,17 +31,18 @@ to_chat(mob, SPAN_ROLE_HEADER("You are an Officer in the Royal Marines Commando. Born in the three world empire.")) arm_equipment(mob, /datum/equipment_preset/twe/royal_marine/team_leader, TRUE, TRUE) else if(heavies < max_heavies && HAS_FLAG(mob.client.prefs.toggles_ert, PLAY_HEAVY) && check_timelock(mob.client, JOB_SQUAD_SPECIALIST)) + var/specialist_kit = pick("Sniper", "Smartgun", "Breach") + switch(specialist_kit) + if("Sniper") + to_chat(mob, SPAN_ROLE_HEADER("You are a skilled marksman in the Royal Marines Commando. Born in the three world empire.")) + arm_equipment(mob, /datum/equipment_preset/twe/royal_marine/spec/marksman, TRUE, TRUE) + if("Smartgun") + to_chat(mob, SPAN_ROLE_HEADER("You are a Smartgunner in the Royal Marines Commando. Born in the three world empire.")) + arm_equipment(mob, /datum/equipment_preset/twe/royal_marine/spec/machinegun, TRUE, TRUE) + if("Breach") + to_chat(mob, SPAN_ROLE_HEADER("You are a CQB Specialist in the Royal Marines Commando. Born in the three world empire.")) + arm_equipment(mob, /datum/equipment_preset/twe/royal_marine/spec/breacher, TRUE, TRUE) heavies++ - to_chat(mob, SPAN_ROLE_HEADER("You are a skilled marksman in the Royal Marines Commando. Born in the three world empire.")) - arm_equipment(mob, /datum/equipment_preset/twe/royal_marine/spec/marksman, TRUE, TRUE) - else if(heavies < max_heavies && HAS_FLAG(mob.client.prefs.toggles_ert, PLAY_HEAVY) && check_timelock(mob.client, JOB_SQUAD_SPECIALIST)) - heavies++ - to_chat(mob, SPAN_ROLE_HEADER("You are a Smartgunner in the Royal Marines Commando. Born in the three world empire.")) - arm_equipment(mob, /datum/equipment_preset/twe/royal_marine/spec/machinegun, TRUE, TRUE) - else if(heavies < max_heavies && HAS_FLAG(mob.client.prefs.toggles_ert, PLAY_HEAVY) && check_timelock(mob.client, JOB_SQUAD_SPECIALIST)) - heavies++ - to_chat(mob, SPAN_ROLE_HEADER("You are a CQB Specialist in the Royal Marines Commando. Born in the three world empire.")) - arm_equipment(mob, /datum/equipment_preset/twe/royal_marine/spec/breacher, TRUE, TRUE) else to_chat(mob, SPAN_ROLE_HEADER("You are a member of the Royal Marines Commando. Born in the three world empire.")) arm_equipment(mob, /datum/equipment_preset/twe/royal_marine/standard, TRUE, TRUE) diff --git a/code/datums/factions/royalmarinescommando.dm b/code/datums/factions/royalmarinescommando.dm index b531357baed9..c7b1c671d134 100644 --- a/code/datums/factions/royalmarinescommando.dm +++ b/code/datums/factions/royalmarinescommando.dm @@ -14,7 +14,7 @@ if(JOB_TWE_RMC_LIEUTENANT) hud_icon_state = "lieutenant" if(JOB_TWE_RMC_TEAMLEADER) - hud_icon_state = "teamlead" + hud_icon_state = "teamleader" if(JOB_TWE_RMC_MARKSMAN) hud_icon_state = "marksman" if(JOB_TWE_RMC_RIFLEMAN) diff --git a/icons/mob/hud/marine_hud.dmi b/icons/mob/hud/marine_hud.dmi index 3e43974c10589bb87d1fd8f119390792c89f4387..bd562d7a2cc902aa503df20c72e4a07185193b74 100644 GIT binary patch delta 741 zcmVw- z$t}OH`orG0)eu+M{i+2|5n+ppHri%nrB+H*EU|X|wN-`>ON>U~y$I@8d>&a_87VUI ze1RQRWJL*VRrA^30P7BbNgS}S0oY7Rz!K@4_~#eEB^qGEKhBfPkx)hKp{3UrNHKCG ztjr0JscP#0OIkpE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