uh, actually did that

This commit is contained in:
Putnam
2019-12-24 23:58:22 -08:00
parent 0b1b249eba
commit 88222c0901
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -153,12 +153,10 @@
/datum/quirk/alcohol_intolerance
name = "Alcohol Intolerance"
desc = "Your body just can't handle alcohol at all. You don't get drunk faster, you just vomit it right back up as soon as you taste any."
desc = "You take toxin damage from alcohol rather than getting drunk."
value = 0
mob_trait = TRAIT_NO_ALCOHOL
gain_text = "<span class='danger'>Just smelling alcohol makes you feel a little sick.</span>"
lose_text = "<span class='notice'>You no longer feel like vomiting just from the thought of alcohol.</span>"
medical_record_text = "Patient's body violently rejects ethyl alcohol."
medical_record_text = "Patient's body does not react properly to ethyl alcohol."
/datum/quirk/alcohol_intolerance/add()
var/mob/living/carbon/human/H = quirk_holder
@@ -36,7 +36,7 @@ All effects don't start immediately, but rather get worse over time; the rate is
*/
/datum/reagent/consumable/ethanol/on_mob_life(mob/living/carbon/C)
if(HAS_TRAIT(L, TRAIT_NO_ALCOHOL))
if(HAS_TRAIT(C, TRAIT_NO_ALCOHOL))
C.adjustToxLoss((boozepwr/25)*REM,forced = TRUE)
else if(C.drunkenness < volume * boozepwr * ALCOHOL_THRESHOLD_MODIFIER)
var/booze_power = boozepwr