Alcohol/Liver adjustments (#8477)

This commit is contained in:
Doxxmedearly
2020-03-22 19:14:01 -05:00
committed by GitHub
parent eab79682ef
commit f1c6c31d93
3 changed files with 15 additions and 3 deletions

View File

@@ -59,9 +59,11 @@
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)
owner.intoxication -= min(owner.intoxication, filter_strength)
if(!owner.intoxication)
owner.handle_intoxication()

View File

@@ -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)

View File

@@ -0,0 +1,10 @@
# Your name.
author: Doxxmedearly
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
delete-after: True
# Any changes you've made. See valid prefix list above.
changes:
- tweak: "Made adjustments to liver filtration and alcohol strength. You should be able to get drunk again and will stay drunk slightly longer."
- tweak: "Robotic/assisted livers are now very slightly better at filtering out booze."