From 5c25619fb62b2ff82031feb75afe82a1e13b8579 Mon Sep 17 00:00:00 2001 From: Kirie Saito <77302679+Kitsunemitsu@users.noreply.github.com> Date: Mon, 30 Oct 2023 15:47:54 -0400 Subject: [PATCH] lets Platoon Commander award medals --- code/datums/medal_awards.dm | 2 +- code/datums/paygrades/paygrade.dm | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/code/datums/medal_awards.dm b/code/datums/medal_awards.dm index 54af48fd334..399736868a0 100644 --- a/code/datums/medal_awards.dm +++ b/code/datums/medal_awards.dm @@ -165,7 +165,7 @@ GLOBAL_LIST_EMPTY(jelly_awards) to_chat(user, SPAN_WARNING("You must have an authenticated ID Card to award medals.")) return - if(!((card.paygrade in GLOB.co_paygrades) || (card.paygrade in GLOB.highcom_paygrades))) + if(!((card.paygrade in GLOB.command_paygrades) || (card.paygrade in GLOB.highcom_paygrades))) to_chat(user, SPAN_WARNING("Only a Senior Officer can award medals!")) return diff --git a/code/datums/paygrades/paygrade.dm b/code/datums/paygrades/paygrade.dm index bb0a3aa84bf..162541868e5 100644 --- a/code/datums/paygrades/paygrade.dm +++ b/code/datums/paygrades/paygrade.dm @@ -41,6 +41,21 @@ GLOBAL_LIST_INIT(highcom_paygrades, list( "PvCM" )) +GLOBAL_LIST_INIT(command_paygrades, list( + "NO6", + "NO6E", + "NO6C", + "NO5", + "NO4", + "MO6", + "MO6E", + "MO6C", + "MO5", + "MO4", + "MO3", + "MO2" +)) + GLOBAL_LIST_INIT(co_paygrades, list( "NO6", "NO6E",