Black Powder Sound Tweak

This commit is contained in:
Fox-McCloud
2015-05-10 21:51:50 -04:00
parent adf8f2d909
commit e2ee01b621
+7
View File
@@ -63,6 +63,8 @@
var/turf/simulated/wall/W = T
if(prob(volume/10))
W.ChangeTurf(/turf/simulated/floor)
if(istype(T, /turf/simulated/shuttle/))
new /obj/effect/hotspot(T)
return
/datum/reagent/clf3/reaction_mob(var/mob/living/M, var/method=TOUCH, var/volume)
@@ -195,6 +197,11 @@ datum/reagent/blackpowder/reaction_turf(var/turf/T, var/volume) //oh shit
return
/datum/reagent/blackpowder/on_ex_act()
var/location = get_turf(holder.my_atom)
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread
s.set_up(2, 1, location)
s.start()
sleep(rand(10,15))
blackpowder_detonate(holder, volume)
holder.remove_reagent("blackpowder", volume)
return