mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Buffs Dihydrogen monoxide
This commit is contained in:
@@ -145,12 +145,9 @@
|
|||||||
step_towards(W,my_target)
|
step_towards(W,my_target)
|
||||||
if(!W || !W.reagents) return
|
if(!W || !W.reagents) return
|
||||||
W.reagents.reaction(get_turf(W))
|
W.reagents.reaction(get_turf(W))
|
||||||
for(var/atom/atm in get_turf(W))
|
for(var/A in get_turf(W))
|
||||||
if(!W) return
|
if(!W) return
|
||||||
W.reagents.reaction(atm)
|
W.reagents.reaction(A)
|
||||||
if(isliving(atm)) //For extinguishing mobs on fire
|
|
||||||
var/mob/living/M = atm
|
|
||||||
M.ExtinguishMob()
|
|
||||||
if(W.loc == my_target) break
|
if(W.loc == my_target) break
|
||||||
sleep(2)
|
sleep(2)
|
||||||
|
|
||||||
|
|||||||
@@ -162,10 +162,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/datum/reagent/water/reaction_mob(mob/living/M, method=TOUCH, reac_volume)//Splashing people with water can help put them out!
|
/datum/reagent/water/reaction_mob(mob/living/M, method=TOUCH, reac_volume)//Splashing people with water can help put them out!
|
||||||
if(!istype(M, /mob/living))
|
if(!istype(M))
|
||||||
return
|
return
|
||||||
if(method == TOUCH)
|
if(method == TOUCH)
|
||||||
M.adjust_fire_stacks(-(reac_volume / 10))
|
M.adjust_fire_stacks(-(reac_volume / 10))
|
||||||
|
M.ExtinguishMob()
|
||||||
..()
|
..()
|
||||||
|
|
||||||
/datum/reagent/water/holywater
|
/datum/reagent/water/holywater
|
||||||
|
|||||||
Reference in New Issue
Block a user