Skip to content

Commit

Permalink
TGS Test Merge (#8188)
Browse files Browse the repository at this point in the history
  • Loading branch information
cm13-github committed Jan 23, 2025
2 parents 1179dd7 + eff7f57 commit c47323e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions code/modules/objectives/mob_objectives.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
var/list/corpses = list()
var/list/scored_other_corpses = list()
var/list/scored_humansynth_corpses = list()
var/max_humans = FALSE

/datum/cm_objective/recover_corpses/New()
. = ..()
Expand Down Expand Up @@ -118,12 +119,13 @@
if(isqueen(X)) //Queen is Tier 0 for some reason...
value = OBJECTIVE_ABSOLUTE_VALUE

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
else if(ishumansynth_strict(target))
if(length(scored_humansynth_corpses) <= 48) // Limit human corpse recovery to 5 total points (.1 each)
return OBJECTIVE_LOW_VALUE
if(!max_humans)
marine_announcement("Maximum intel points for non-xenomorph corpses has been achieved.", "Intel Announcement", 'sound/misc/notice2.ogg')
max_humans = TRUE
return OBJECTIVE_LOW_VALUE

return value

Expand Down

0 comments on commit c47323e

Please sign in to comment.