Even better water handling

This commit is contained in:
Mark van Alphen
2019-06-03 00:31:03 +02:00
parent 2c7e8ec505
commit c6e6c6cefd
10 changed files with 12 additions and 5 deletions
@@ -15,9 +15,9 @@
..()
/mob/living/carbon/water_act(volume, temperature, source, method = TOUCH)
. = ..()
if(volume > 10) //anything over 10 volume will make the mob wetter.
wetlevel = min(wetlevel + 1,5)
..()
/mob/living/carbon/attackby(obj/item/I, mob/user, params)
if(lying && surgeries.len)
@@ -507,7 +507,7 @@ emp_act
..()
/mob/living/carbon/human/water_act(volume, temperature, source, method = TOUCH)
..()
. = ..()
dna.species.water_act(src, volume, temperature, source, method)
/mob/living/carbon/human/is_eyes_covered(check_glasses = TRUE, check_head = TRUE, check_mask = TRUE)
@@ -37,7 +37,7 @@
H.dna.default_blocks.Add(REMOTETALKBLOCK)
/datum/species/grey/water_act(mob/living/carbon/human/H, volume, temperature, source, method = TOUCH)
..()
. = ..()
if(method == TOUCH)
if(volume > 25)
@@ -217,6 +217,7 @@
IgniteMob()
/mob/living/water_act(volume, temperature, source, method = TOUCH)
. = ..()
adjust_fire_stacks(-(volume * 0.2))
//This is called when the mob is thrown into a dense turf