New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds Antag Mastery Achievements #6476
Closed
Closed
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
762904e
Adds Antag Mastery Achievements
Ivniinvi 76ffcd8
Update code/modules/antagonists/xeno/xeno.dm
Ivniinvi 0230840
Update code/modules/antagonists/wizard/wizard.dm
Ivniinvi be46491
addresses reviews
Ivniinvi f04760c
levelchecks
Ivniinvi 13c2af7
reviews
Ivniinvi e72eb9f
lingoes
Ivniinvi 2d00f25
oops
Ivniinvi 994d6c2
Merge branch 'master' of https://github.com/BeeStation/BeeStation-Hor…
Ivniinvi d5182a2
Update code/datums/achievements/antagmastery.dm
Ivniinvi 4047326
caching
Ivniinvi 2e9eaab
Merge branch 'masterantag' of https://github.com/Ivniinvi/BeeStation-…
Ivniinvi 011d847
reward struck
Ivniinvi 5a94f8b
list type
Ivniinvi 9b4aa84
naming
Ivniinvi da987c1
Update code/datums/achievements/antagmastery.dm
Ivniinvi File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
/datum/award/achievement/antagmastery | ||
category = "Antag Mastery" | ||
reward = 400 | ||
|
||
/datum/award/achievement/antagmastery/on_unlock(mob/user) | ||
. = ..() | ||
for(var/achievement_type in SSachievements.antag_mastery_list) | ||
if(!user.client?.player_details.achievements.get_achievement_status(achievement_type)) | ||
return | ||
user.client?.give_award(/datum/award/achievement/antagmastery/super, user) | ||
|
||
/datum/award/achievement/antagmastery/super | ||
name = "Syndie Supreme" | ||
desc = "Possess all other antagonist mastery achievements." | ||
database_id = MASTERY_ALLANTAGS | ||
|
||
/datum/award/achievement/antagmastery/abductor | ||
name = "Area 51" | ||
desc = "As an Abductor, double your experimentation goal." | ||
database_id = MASTERY_ABDUCTOR | ||
|
||
/datum/award/achievement/antagmastery/blob | ||
name = "No Strain Train" | ||
desc = "As a Blob, reach critical mass without changing strain." | ||
database_id = MASTERY_BLOB | ||
|
||
/datum/award/achievement/antagmastery/brother | ||
name = "Brother from Another Mother" | ||
desc = "As a Blood Brother, complete your objectives and escape with all of your teammates." | ||
database_id = MASTERY_BROTHER | ||
|
||
/datum/award/achievement/antagmastery/changeling | ||
name = "Pretender to the Armchair" | ||
desc = "As a Changeling, escape as the Captain or Acting Captain." | ||
database_id = MASTERY_CHANGELING | ||
|
||
/datum/award/achievement/antagmastery/clock_cult | ||
name = "Engine of Destruction" | ||
desc = "As a Clockwork Cultist, successfully open the Ark after elevating to Delta Alert before the one hour mark." | ||
database_id = MASTERY_CLOCKCULT | ||
|
||
/datum/award/achievement/antagmastery/cult | ||
name = "Another Day, Another Eldritch God" | ||
desc = "As a Blood Cultist, summon Nar'Sie before the one hour mark." | ||
database_id = MASTERY_CULT | ||
|
||
/datum/award/achievement/antagmastery/heretic | ||
name = "Drive Thru Heresy" | ||
desc = "As a Heretic, achieve ascension before the one hour mark." | ||
database_id = MASTERY_HERETIC | ||
|
||
/datum/award/achievement/antagmastery/guardian | ||
name = "One Nice Stand" | ||
desc = "As a Guardian, assist your master in completing their objectives." | ||
database_id = MASTERY_GUARDIAN | ||
|
||
/datum/award/achievement/antagmastery/incursion | ||
name = "Mission: Impossible" | ||
desc = "As an Incursionist, complete your objectives and escape with all of your teammates." | ||
database_id = MASTERY_INCURSION | ||
|
||
/datum/award/achievement/antagmastery/ninja | ||
name = "I Call Shogun" | ||
desc = "As a Space Ninja, complete your objectives and escape alive." | ||
database_id = MASTERY_NINJA | ||
|
||
/datum/award/achievement/antagmastery/nukeop | ||
name = "Cool Guys Don't Look At Explosions" | ||
desc = "As a Nuclear Operative, destroy the station and escape with all of your teammates." | ||
database_id = MASTERY_NUKEOP | ||
|
||
/datum/award/achievement/antagmastery/pirate | ||
name = "The Best Pirate I've Ever Seen" | ||
desc = "As a Space Pirate, steal two hundred thousand credits of loot and survive until the end of the round." | ||
database_id = MASTERY_PIRATE | ||
|
||
/datum/award/achievement/antagmastery/revenant | ||
name = "DiCaprio Jr." | ||
desc = "As a Revenant, steal one thousand essence points and survive until the end of the round." | ||
database_id = MASTERY_REVENANT | ||
|
||
/datum/award/achievement/antagmastery/revolution | ||
name = "Make Love Not War" | ||
desc = "As a Head Revolutionary, overthrow the Heads of Staff with all Head Revolutionaries and Heads of Staff alive." | ||
database_id = MASTERY_REVOLUTION | ||
|
||
/datum/award/achievement/antagmastery/space_dragon | ||
name = "Breakfast of Champions" | ||
desc = "As a Space Dragon, eat all of the Heads of Staff and survive until the end of the round." | ||
database_id = MASTERY_DRAGON | ||
|
||
/datum/award/achievement/antagmastery/traitor | ||
name = "Bad Ass Syndie" | ||
desc = "As a Traitor, accomplish your objectives without spending any Telecrystals." | ||
database_id = MASTERY_TRAITOR | ||
|
||
/datum/award/achievement/antagmastery/loneop | ||
name = "Bad Ass Nukie" | ||
desc = "As a Lone Operative, destroy the station without spending any Telecrystals." | ||
database_id = MASTERY_LONEOP | ||
|
||
/datum/award/achievement/antagmastery/wizard | ||
name = "Penned and Told" | ||
desc = "As a Wizard, complete your objectives without buying any spells." | ||
database_id = MASTERY_WIZARD | ||
|
||
/datum/award/achievement/antagmastery/xeno | ||
name = "Outbreak Prime" | ||
desc = "As a Xenomorph, arrive at CentCom on an escape shuttle that contains no living non-xenomorphs." | ||
database_id = MASTERY_XENOMORPH | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,6 +106,12 @@ | |
var/obj/item/implant/radio/syndicate/selfdestruct/syndio = new | ||
syndio.implant(owner.current) | ||
|
||
/datum/antagonist/incursion/check_mastery() | ||
for(var/datum/mind/M in team.members) | ||
if(M.current.stat == DEAD || !is_centcom_level(M.current.z)) | ||
return | ||
owner.current.client?.give_award(/datum/award/achievement/antagmastery/incursion, owner.current) | ||
Comment on lines
+109
to
+113
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Doesn't seem like too much a challenge, but I guess it works |
||
|
||
/datum/team/incursion | ||
name = "syndicate incursion force" | ||
member_name = "incursion member" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be protected from var edits