-
-
Notifications
You must be signed in to change notification settings - Fork 456
Achievement Get Part 2 - Engineering Achievements #7729
Conversation
This is a surprise tool that will help us later!
A lot of shit had to happen in order to make this work. I had to add a new specification to powernets to mark what Z-level they exist on, to ensure that I only scan powernets that're on the station Z-level. Additionally, SSachievements now is SS_BACKGROUND instead of SS_NO_FIRE, since I didn't want to have this CE achievement bullshit happen in the middle of the very important SSmachine tick.
I needed *something* to put in for /datum/achievement/engineering, so...
...if you got *EXACTLY* 3000 kW of power in a powernet
|
add assistant achievements |
Will do, probably in the fifth PR |
Also ends up lowering the amount of requirements for the Poly_loud achievement. This code in general smells like ass and needs to be reworked to no longer make several NTSL calls to do its fuckin job.
| desc = "Trigger a keycard authentication device event, by yourself." | ||
| id = 23 | ||
|
|
||
| /datum/achievement/dab |
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.
No.
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.
I do not control the rate at which spacemen dab
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.
Undocumented change, PR denied
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.
Please no, im downvoting this shit until this gets yeeted out
| var/light_dab_speed = rand(3,7) | ||
| H.DabAnimation(angle = light_dab_angle , speed = light_dab_speed) | ||
| H.adjustOrganLoss(ORGAN_SLOT_BRAIN, 5) | ||
| SSachievements.unlock_achievement(/datum/achievement/dab,H.client) |
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.
No
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.
I do not control the rate at which spacemen dab
| desc = "Trigger a keycard authentication device event, by yourself." | ||
| id = 23 | ||
|
|
||
| /datum/achievement/dab |
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.
Please no, im downvoting this shit until this gets yeeted out
|
Imagine being annoyed by a dab in a hidden achievement |
|
uh oh, zoomer! hahaha dab funny make dab achievenem,tn hahahaha wow so original hahahah!!! Imagine finding an outdated 2015 meme funny, or even relevant enough to make an achievement about. Apparently your sense of humor is as far in the past as your code used to be. |
I see Ling shared this with their TG-coder friends. Again, this PR was paid for. One of the achievements they wanted was for dabbing, and so it's in here. I personally do not control the rate at which spessmen dab. Unfortunately, you do have to share this game with zoomers who like to dab a non-zero amount. Certainly a tragedy, but this achievement has no practical effect on the gameplay of anyone outside that group, so I doubt it deserves the 'jerk that it's currently getting. |
|
One: TG's gay. The literal only reason it's in this PR is because it wouldn't pass on it's own merit. that's shit. |
|
^ this guy looks a garfield porn |
|
@Altoids1 bruh im not ling, i shared PR because ready posted this abortion in discord: |
|
I see Altoids is back at it again with the baseless accusations. Also, imagine paying someone to code something and then throwing a hissy fit because people don't want said thing in the game. Cry more |
|
why is a fucking dab achievement causing drama you fucking losers |
Because it's unfunny. Go make dabstation if you like being an unfunny little shit so bad |
|
I don’t find dabbing funny but I find this ridiculous |
alexkar598
left a comment
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.
Turns out acheivement SQL queries arent sanitzed for the name or description. Hold off before merging this PR
| var/was_not_connected = !(connected_tracker && connected_panels.len) | ||
| search_for_connected() | ||
| if(last_user && was_not_connected && connected_tracker && connected_panels.len) // If this guy finished up the solars | ||
| if(last_user.stat != DEAD && (last_user.mind?.assigned_role in GLOB.engineering_positions)) // and he's an engineer who isn't long-dead or adminbussing |
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.
Verify his client exists here
|
@Altoids1 Please comply with alexkar's change request. |

Hopek & Readystorm also paid me to do these, too.
Overview
This is a continuation of #7657, adding some more achievements related to engineering and atmospherics that were on the spreadsheet of shit to add that I was given.
For those interested, here is the full list of achievements I've been tasked with adding:
https://docs.google.com/spreadsheets/d/1Q3XZE5a9B91kYmHl_-GCWASmXXwGjdy6Ld6bv8Ef5JE/edit?usp=sharing
Coder Warnings
This adds yet another achievement type,
/datum/achievement/engineering. Later in this quest I will be making a PR to improve the achievement menu UI to group related achievements together using their parent types like this. If you ever add an achievement, try to imitate that design decision.Adding
I'm givin' it all she's got, Captain!required modifying how powernets are created; /datum/powernet/New() now takes in an arg that describes the z-level of the powerlevel, which is then used bySSachievementsto determine whether it's on the station and so related to the CE getting the power achievement. I suppose this var could also be used in the future for some optimization of how powernets are created and reset, if that ever becomes relevant.It also required making
SSachievementsaSS_BACKGROUNDsubsystem instead of aSS_NO_TICKone, in some effort to avoid wasting the time ofSSmachine.Changelog
🆑 Altoids
rscadd: Four new Engineering-related Achievements have been added!
bugfix: A potential NTSL exploit involving the Poly achievements has been fixed.
/:cl: