From e1681e7f4244820ff715b7bdc608d9144f113eda Mon Sep 17 00:00:00 2001 From: zzzmike <85382350+zzzmike@users.noreply.github.com> Date: Mon, 2 Dec 2024 04:03:16 -0800 Subject: [PATCH] Notifies when intel points are maxed for non-xeno non-yautja corpses. (#7596) # About the pull request Notifies when intel points are maxed for non-xeno non-yautja corpses. # Explain why it's good for the game If we're gonna limit intel points for corpses to 50 bodies, then there should at least be a notice sent so that people aren't trying to recover bodies for points when it's not possible. # Testing Photographs and Procedure
Screenshots & Videos Put screenshots and videos here with an empty line between the screenshots and the `
` tags.
# Changelog :cl: qol: USCM notice sent when intel points for non-xeno non-yautja corpses are maxed out /:cl: --- code/modules/objectives/mob_objectives.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/modules/objectives/mob_objectives.dm b/code/modules/objectives/mob_objectives.dm index b6c3e8422d7b..4725f9c20e0d 100644 --- a/code/modules/objectives/mob_objectives.dm +++ b/code/modules/objectives/mob_objectives.dm @@ -118,7 +118,11 @@ if(isqueen(X)) //Queen is Tier 0 for some reason... value = OBJECTIVE_ABSOLUTE_VALUE - else if(ishumansynth_strict(target) && length(scored_humansynth_corpses) <= 49) // Limit human corpse recovery to 5 total points (.1 each) + else if(ishumansynth_strict(target) && length(scored_humansynth_corpses) <= 48) // Limit human corpse recovery to 5 total points (.1 each) + return OBJECTIVE_LOW_VALUE + + else if(ishumansynth_strict(target) && length(scored_humansynth_corpses) == 49) + marine_announcement("Maximum intel points for non-xenomorph corpses has been achieved.", "Intel Announcement", 'sound/misc/notice2.ogg') return OBJECTIVE_LOW_VALUE return value