Skip to content

Commit

Permalink
Notifies when intel points are maxed for non-xeno non-yautja corpses. (
Browse files Browse the repository at this point in the history
…#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
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
qol: USCM notice sent when intel points for non-xeno non-yautja corpses
are maxed out
/:cl:
  • Loading branch information
zzzmike authored Dec 2, 2024
1 parent e78ef7a commit e1681e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/modules/objectives/mob_objectives.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1681e7

Please sign in to comment.