[MIRROR] Audio falloff re-work, and increased audio range. (#1406)

* Audio falloff re-work, and increased audio range.

* a

* a

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
SkyratBot
2020-10-21 07:36:31 +02:00
committed by GitHub
co-authored by Qustinnus Azarak
parent b9fe7a0402
commit d1315d9474
74 changed files with 204 additions and 134 deletions
@@ -757,7 +757,7 @@
/datum/reagent/consumable/liquidelectricity/on_mob_life(mob/living/carbon/M)
if(prob(25) && !isethereal(M))
M.electrocute_act(rand(10,15), "Liquid Electricity in their body", 1) //lmao at the newbs who eat energy bars
playsound(M, "sparks", 50, TRUE)
playsound(M, "sparks", 50, TRUE, SHORT_RANGE_SOUND_EXTRARANGE)
return ..()
/datum/reagent/consumable/astrotame
@@ -252,7 +252,7 @@
if(shock_timer >= rand(5,30)) //Random shocks are wildly unpredictable
shock_timer = 0
M.electrocute_act(rand(5,20), "Teslium in their body", 1, SHOCK_NOGLOVES) //SHOCK_NOGLOVES because it's caused from INSIDE of you
playsound(M, "sparks", 50, TRUE)
playsound(M, "sparks", 50, TRUE, SHORT_RANGE_SOUND_EXTRARANGE)
..()
/datum/reagent/teslium/on_mob_metabolize(mob/living/carbon/human/L)