mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 16:42:13 +00:00
Alcohol/Liver adjustments (#8477)
This commit is contained in:
@@ -59,9 +59,11 @@
|
|||||||
filter_strength = INTOX_FILTER_BRUISED
|
filter_strength = INTOX_FILTER_BRUISED
|
||||||
if(is_broken())
|
if(is_broken())
|
||||||
filter_strength = INTOX_FILTER_DAMAGED
|
filter_strength = INTOX_FILTER_DAMAGED
|
||||||
|
if(BP_IS_ROBOTIC(src))
|
||||||
|
filter_strength *= 1.1
|
||||||
|
|
||||||
if (owner.intoxication > 0)
|
if (owner.intoxication > 0)
|
||||||
owner.intoxication -= min(owner.intoxication, filter_strength*PROCESS_ACCURACY)
|
owner.intoxication -= min(owner.intoxication, filter_strength)
|
||||||
if(!owner.intoxication)
|
if(!owner.intoxication)
|
||||||
owner.handle_intoxication()
|
owner.handle_intoxication()
|
||||||
|
|
||||||
|
|||||||
@@ -153,7 +153,7 @@
|
|||||||
/datum/reagent/alcohol/affect_ingest(mob/living/carbon/M, alien, removed)
|
/datum/reagent/alcohol/affect_ingest(mob/living/carbon/M, alien, removed)
|
||||||
|
|
||||||
if(alien != IS_DIONA)
|
if(alien != IS_DIONA)
|
||||||
M.intoxication += (strength / 100) * removed * 3.5
|
M.intoxication += (strength / 100) * removed * 3.15
|
||||||
|
|
||||||
if (druggy != 0)
|
if (druggy != 0)
|
||||||
M.druggy = max(M.druggy, druggy)
|
M.druggy = max(M.druggy, druggy)
|
||||||
|
|||||||
10
html/changelogs/doxxmedearly - dregbuffs.yml
Normal file
10
html/changelogs/doxxmedearly - dregbuffs.yml
Normal 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."
|
||||||
Reference in New Issue
Block a user