mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 08:31:57 +00:00
Alcohol/Liver adjustments (#8477)
This commit is contained in:
@@ -59,10 +59,12 @@
|
||||
filter_strength = INTOX_FILTER_BRUISED
|
||||
if(is_broken())
|
||||
filter_strength = INTOX_FILTER_DAMAGED
|
||||
if(BP_IS_ROBOTIC(src))
|
||||
filter_strength *= 1.1
|
||||
|
||||
if (owner.intoxication > 0)
|
||||
owner.intoxication -= min(owner.intoxication, filter_strength*PROCESS_ACCURACY)
|
||||
if (!owner.intoxication)
|
||||
owner.intoxication -= min(owner.intoxication, filter_strength)
|
||||
if(!owner.intoxication)
|
||||
owner.handle_intoxication()
|
||||
|
||||
if(toxin_type in owner.chem_effects)
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
/datum/reagent/alcohol/affect_ingest(mob/living/carbon/M, alien, removed)
|
||||
|
||||
if(alien != IS_DIONA)
|
||||
M.intoxication += (strength / 100) * removed * 3.5
|
||||
M.intoxication += (strength / 100) * removed * 3.15
|
||||
|
||||
if (druggy != 0)
|
||||
M.druggy = max(M.druggy, druggy)
|
||||
|
||||
Reference in New Issue
Block a user