Quirks send on_gain messages in fewer contexts (#91867)

## About The Pull Request

Quirks only send their on_gain text when given midround, such as by an
admin

## Why It's Good For The Game

Spams the hell out of you for no reason - in very few contexts are these
messages important (randomized allergies come to mind), but there are
other avenues to figure out (such as dogtags)


![image](https://github.com/user-attachments/assets/a1abb43b-edd0-4a08-8085-319ee216917a)

## Changelog

🆑 Melbert
qol: Quirks spam you less on roundstart or latejoin
/🆑
This commit is contained in:
MrMelbert
2025-06-29 12:42:59 -05:00
committed by GitHub
parent 5fb3d24f85
commit 08045236ca
17 changed files with 21 additions and 18 deletions
@@ -94,7 +94,7 @@ PROCESSING_SUBSYSTEM_DEF(quirks)
for(var/quirk_name in applied_client.prefs.all_quirks)
var/datum/quirk/quirk_type = quirks[quirk_name]
if(ispath(quirk_type))
if(user.add_quirk(quirk_type, override_client = applied_client))
if(user.add_quirk(quirk_type, override_client = applied_client, announce = FALSE))
SSblackbox.record_feedback("tally", "quirks_taken", 1, "[quirk_name]")
else
stack_trace("Invalid quirk \"[quirk_name]\" in client [applied_client.ckey] preferences")