Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions yogstation/code/game/gamemodes/infiltration/infiltration.dm
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
if(INFILTRATION_ALLCOMPLETE)
SSticker.mode_result = "major win - objectives complete"
if(INFILTRATION_MOSTCOMPLETE)
SSticker.mode_result = "semi-major win - most objectives complete"
SSticker.mode_result = "minor win - most objectives complete"
if(INFILTRATION_SOMECOMPLETE)
SSticker.mode_result = "minor win - some objectives complete"
SSticker.mode_result = "neutral - some objectives complete"
else
SSticker.mode_result = "loss - no objectives complete"
16 changes: 8 additions & 8 deletions yogstation/code/modules/antagonists/infiltrator/team.dm
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@
if (INFILTRATION_SOMECOMPLETE)
var/static/list/messages = list(
"Better than a complete fluke, I guess.",
"Nowhere near the smoothest operation I've ever seen, but it was okay.",
"We did it, but we didn't get everything. We'll get it next time."
"I'm going to have to pull some strings to make sure we don't get a pay cut for sub-par preformance.",
"I suppose it wasn't a complete waste of time at least..."
)
parts += span_marooned(span_big("Infiltrator Minor Victory"))
parts += span_bold("The Syndicate infiltrators completed some of their objectives successfully!")
parts += span_marooned(span_big("Neutral victory"))
parts += span_bold("The Syndicate infiltrators completed some of their objectives, but not enough to win.")
flavor_message = pick(messages)
else
var/static/list/messages = list(
Expand Down Expand Up @@ -151,11 +151,11 @@
else
objectives_failed++

if(objectives_failed == 0 && objectives_complete > 0)
if(objectives_failed == 0 && objectives_complete > 0) //Complete all, and fail none, big win!
return INFILTRATION_ALLCOMPLETE
else if (objectives_complete > objectives_failed)
else if (objectives_failed == 1 && objectives_complete > 0) // Fail one, but complete the rest, still pretty good!
return INFILTRATION_MOSTCOMPLETE
else if((objectives_complete == objectives_failed) || (objectives_complete > 0 && objectives_failed > objectives_complete))
else if((objectives_complete == objectives_failed) || (objectives_complete > 0 && objectives_failed > objectives_complete)) //Fail almost all of them, not very good...
return INFILTRATION_SOMECOMPLETE
else
return INFILTRATION_NONECOMPLETE
return INFILTRATION_NONECOMPLETE //You completely failed, you suck.