Tea heals a bit more if you're british (#21068)

* chav now gives slight healing on tea

* Update code/_globalvars/traits.dm

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>

---------

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
GDN
2023-05-12 07:52:55 +01:00
committed by GitHub
co-authored by Ryan
parent 14d0c68dc1
commit 092fe017a5
4 changed files with 6 additions and 0 deletions
+1
View File
@@ -182,6 +182,7 @@ Remember to update _globalvars/traits.dm if you're adding/removing/renaming trai
#define TRAIT_BURN_WOUND_IMMUNE "burn_immune"
#define TRAIT_COMIC_SANS "comic_sans"
#define TRAIT_CHAV "chav"
#define TRAIT_NOFINGERPRINTS "no_fingerprints"
#define TRAIT_SLOWDIGESTION "slow_digestion"
#define TRAIT_COLORBLIND "colorblind"
+1
View File
@@ -54,6 +54,7 @@ GLOBAL_LIST_INIT(traits_by_type, list(
"TRAIT_STURDY_LIMBS" = TRAIT_STURDY_LIMBS,
"TRAIT_COMIC_SANS" = TRAIT_COMIC_SANS,
"TRAIT_CHAV" = TRAIT_CHAV,
"TRAIT_NOFINGERPRINTS" = TRAIT_NOFINGERPRINTS,
"TRAIT_SLOWDIGESTION" = TRAIT_SLOWDIGESTION,
"TRAIT_COLORBLIND" = TRAIT_COLORBLIND,
+1
View File
@@ -305,6 +305,7 @@
desc = "Forces the language center of the subject's brain to construct sentences in a more rudimentary manner."
activation_messages = list("Ye feel like a rite prat like, innit?")
deactivation_messages = list("You no longer feel like being rude and sassy.")
traits_to_add = list(TRAIT_CHAV)
//List of swappable words. Normal word first, chav word second.
var/static/list/chavlinks = list(
"arrest" = "nick",
@@ -387,6 +387,9 @@
/datum/reagent/consumable/drink/tea/on_mob_life(mob/living/M)
var/update_flags = STATUS_UPDATE_NONE
if(prob(20))
if(HAS_TRAIT(M, TRAIT_CHAV))
update_flags |= M.adjustBruteLoss(-1, FALSE)
update_flags |= M.adjustFireLoss(-1, FALSE)
update_flags |= M.adjustToxLoss(-1, FALSE)
return ..() | update_flags