mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
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:
@@ -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"
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user