Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Conversation

@Altoids1
Copy link
Contributor

@Altoids1 Altoids1 commented Jan 17, 2020

Hopek and Readystorm are paying me for this.
image

Overview

Included are 18 of the 88 achievements I'm being paid to add to the game, all of them having to do with greentexting.

There are also unique achievements for the leaders of team antag groups winning, too. Like Eminences get both the default "win as clockie" achievement as well as the "win as Eminence" one.

Coder Warning

Doing this involved the creation of a new achievement type, /datum/achievement/greentext. All achievements related to greentexting should be put under this type so that the user can also get the generic "get a greentext" achievement, too.

Additionally, /datum/antagonist got a new var: greentext_achieve, which is the type of an achievement the antag will receive if they greentext as that antag type.

Not all antag types have been converted to the new greentext_achieve method, due to the excessive copypaste and lack of inheritence when it comes to determining win condition and objective accomplishment.

Changelog

🆑 Altoids
rscadd: Gangs, Clownops, Generic antags, EAAs, IAAs, Culties, Clockies, Revs, Sentient Diseases, Revenants, Vampires, Pirates and Blobs now all have unique achievements for greentexting!
/:cl:

@Altoids1 Altoids1 requested a review from AsV9 as a code owner January 17, 2020 01:17
@yogstation13-bot yogstation13-bot added the Feature This adds new content to the game label Jan 17, 2020
@boodaliboo
Copy link
Contributor

do my kudzu bounty

@monster860
Copy link
Member

You should add an achievement for greentexting as a nightmare.

@Altoids1
Copy link
Contributor Author

You should add an achievement for greentexting as a nightmare.

That'll be $0.34 at the next window please

@Hopekz
Copy link
Contributor

Hopekz commented Jan 17, 2020

You should add an achievement for greentexting as a nightmare.

LOL is there any way to NOT greentext as nightmare?

@Altoids1
Copy link
Contributor Author

Okay, that should be all the Greentext achievements on my list done, with a couple runtime fixes already committed.

Ready for Review.

Copy link
Member

@alexkar598 alexkar598 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My small little nitpick and also you have to write a database query to unlock the green text achievement on everybody who already has a green text achievement

@AsV9 AsV9 merged commit ce8d915 into yogstation13:master Jan 18, 2020
if(!achievement)
log_sql("Achievement [achievementPath] not found in list of achievements when trying to unlock for [C.ckey]")
return FALSE
if(istype(achievement,/datum/achievement/greentext) && achievementPath != /datum/achievement/greentext)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bruh

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Feature This adds new content to the game

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants