Code update

This commit is contained in:
r4d6
2020-02-09 07:21:47 -05:00
parent e6398815b6
commit 9ba0a1b470
2 changed files with 4 additions and 5 deletions
@@ -725,11 +725,12 @@ All effects don't start immediately, but rather get worse over time; the rate is
var/dorf_mode
/datum/reagent/consumable/ethanol/manly_dorf/on_mob_metabolize(mob/living/M)
var/real_dorf = is_species(H, /datum/species/dwarf)
if(ishuman(M))
var/mob/living/carbon/human/H = M
if(H.dna.check_mutation(DWARFISM) || HAS_TRAIT(H, TRAIT_ALCOHOL_TOLERANCE || is_species(H, /datum/species/dwarf)))
if(H.dna.check_mutation(DWARFISM) || HAS_TRAIT(H, TRAIT_ALCOHOL_TOLERANCE || real_dorf)
to_chat(H, "<span class='notice'>Now THAT is MANLY!</span>")
if(is_species(H, /datum/species/dwarf))
if(real_dorf)
boozepwr = 100 // Don't want dwarves to die because of a low booze power
else
boozepwr = 5 //We've had worse in the mines