mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Alcohol bugfixes.
This commit is contained in:
@@ -2788,7 +2788,7 @@ datum
|
|||||||
|
|
||||||
// make all the beverages work together
|
// make all the beverages work together
|
||||||
for(var/datum/reagent/ethanol/A in holder.reagent_list)
|
for(var/datum/reagent/ethanol/A in holder.reagent_list)
|
||||||
if(A.data) d += A.data
|
if(isnum(A.data)) d += A.data
|
||||||
|
|
||||||
M.dizziness +=dizzy_adj.
|
M.dizziness +=dizzy_adj.
|
||||||
if(d >= slur_start && d < pass_out)
|
if(d >= slur_start && d < pass_out)
|
||||||
@@ -3449,14 +3449,14 @@ datum
|
|||||||
nutriment_factor = 1 * FOOD_METABOLISM
|
nutriment_factor = 1 * FOOD_METABOLISM
|
||||||
color = "#2E6671" // rgb: 46, 102, 113
|
color = "#2E6671" // rgb: 46, 102, 113
|
||||||
|
|
||||||
on_mob_life(var/mob/living/M as mob)
|
on_mob_life(var/mob/living/M as mob)
|
||||||
if(!data) data = 1
|
if(!data) data = 1
|
||||||
data++
|
data++
|
||||||
M.dizziness +=10
|
M.dizziness +=10
|
||||||
if(data >= 55 && data <115)
|
if(data >= 55 && data <115)
|
||||||
if (!M.stuttering) M.stuttering = 1
|
if (!M.stuttering) M.stuttering = 1
|
||||||
M.stuttering += 10
|
M.stuttering += 10
|
||||||
else if(data >= 115 && prob(33))
|
else if(data >= 115 && prob(33))
|
||||||
M.confused = max(M.confused+15,15)
|
M.confused = max(M.confused+15,15)
|
||||||
..()
|
..()
|
||||||
return
|
return
|
||||||
Reference in New Issue
Block a user