Skip to content

Commit

Permalink
wawa
Browse files Browse the repository at this point in the history
  • Loading branch information
BonniePandora committed Oct 5, 2024
1 parent d96f8cb commit 5a5965a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 27 deletions.
4 changes: 2 additions & 2 deletions code/datums/medal_awards.dm
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ GLOBAL_LIST_INIT(human_medals, list(MARINE_CONDUCT_MEDAL))
return

if(!((card.paygrade in GLOB.co_paygrades) || (card.paygrade in GLOB.platco_paygrades) || (card.paygrade in GLOB.uscm_highcom_paygrades)))
to_chat(user, SPAN_WARNING("Only a Senior Officer can award medals!"))
to_chat(user, SPAN_WARNING("Only an Officer can award medals!"))
return

if(!card.registered_ref)
Expand Down Expand Up @@ -599,7 +599,7 @@ GLOBAL_DATUM_INIT(ic_medals_panel, /datum/ic_medal_panel, new)
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.platco_paygrades) || (card.paygrade in GLOB.highcom_paygrades)))
if(!((card.paygrade in GLOB.co_paygrades) || (card.paygrade in GLOB.platco_paygrades) || (card.paygrade in GLOB.uscm_highcom_paygrades)))
to_chat(user, SPAN_WARNING("Only an Officer can award medals!"))
return

Expand Down
28 changes: 3 additions & 25 deletions code/datums/paygrades/paygrade.dm
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,6 @@ GLOBAL_LIST_INIT(co_paygrades, list(
PAY_SHORT_AO4
))

GLOBAL_LIST_INIT(highcom_paygrades, list(
"PvI",
"AO7",
"NO7",
"MO7",
"AO8",
"NO8",
"MO8",
"AO9",
"NO9",
"MO9",
"AO10",
"NO10",
"MO10",
"AO10C",
"NO10C",
"MO10C",
"PvO8",
"PvO9",
"PvCM"
))

/datum/paygrade/New()
. = ..()
switch(default_faction)
Expand All @@ -84,7 +62,7 @@ GLOBAL_LIST_INIT(highcom_paygrades, list(
.[pg_id] = new PG

GLOBAL_LIST_INIT(platco_paygrades, list(
"MO3",
"MO2",
"MO1",
PAY_SHORT_MO3,
PAY_SHORT_MO2,
PAY_SHORT_MO1,
))

0 comments on commit 5a5965a

Please sign in to comment.