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.
About The Pull Request
It seemed suspicious that no one had either of the NTSL achievements yet, so I took a look at what the code was doing on a separate branch.
The first issue was that when checking if the player uploading the NTSL script is a Telecomms Specialist, the code was comparing the player's job datatype with the Telecomms Specialist job name string. This will always return false.
The second issue is only for the achievement for blocking Poly on comms. The intended checks for this are, to check that Poly is blocked, then check that a nameless user is not blocked. The second check had a double negation on it, so the achievement was only given if effectively all users were blocked from comms. This is clearly not the intended behavior.
Known corner case: The achievement for making Poly loud, will be awarded even if everyone on comms is made loud. While this feels against the point of the achievement, I don't think this should be prevented, as the goal was adequately satisfied.
Known Issue: The 8 servers compile the code all at the same time, before each trying to award one of the achievements. This means either achievement will be awarded 8 times. This spams chat and the End of Round Summary, but otherwise appears harmless. It does not inflate the achievement score, and it does not add extra rows to the achievements table.
I can think of 2 potential solutions:
Why it's Good for the Game
Bugfix: broken achievements are now available
Proof of Testing
I am using an alt title to prove the achievements are still awarded while using them:
![image](https://private-user-images.githubusercontent.com/7697956/411335410-5cede086-5ce2-4f51-aebe-b11465003f94.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NzU0OTIsIm5iZiI6MTczOTQ3NTE5MiwicGF0aCI6Ii83Njk3OTU2LzQxMTMzNTQxMC01Y2VkZTA4Ni01Y2UyLTRmNTEtYWViZS1iMTE0NjUwMDNmOTQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTNUMTkzMzEyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmM1M2U5MzlkMDc0MWQyODM2YTM2NGM4NTJjNjBkYWMzOTBiMTJmZGYzZGEyNmZhOWJmMjFmMmNlM2YyNDAxZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.uk15JeU8L6jKqmPJ_YrGd1zXbyGW1SWf74L_SAMy_io)
Silence Bird:
NTSL Code
![image](https://github.com/user-attachments/assets/f1ee297b-4883-4749-b733-a67edad5018a)Embrace The Bird:
NTSL Code
![image](https://github.com/user-attachments/assets/207b95ed-25be-4da5-956d-1ac74b476109)Changelog
🆑
fix: NTSL achievements are now awardable
/:cl: