Spark Fixes (#1764)

changes:

Removed shim for old spark system.
Converted all calls to old spark system with calls to new one.
Processor-based effects are no longer pooled, as it had minimal performance impact and was breaking things.
Tweaked some visible_messages for rogue drones.
PB effects' handling of location is now done at the /datum/effect_system level.
This commit is contained in:
Lohikar
2017-02-14 14:37:16 +02:00
committed by skull132
parent 59cedff4b9
commit 2b9aa21421
88 changed files with 247 additions and 458 deletions
+1 -6
View File
@@ -1050,12 +1050,7 @@ Note that amputating the affected organ does in fact remove the infection from t
"<span class='danger'>Your [src.name] explodes!</span>",\
"<span class='danger'>You hear an explosion!</span>")
explosion(get_turf(owner),-1,-1,2,3)
var/datum/effect/effect/system/spark_spread/spark_system = new /datum/effect/effect/system/spark_spread()
spark_system.set_up(5, 0, victim)
spark_system.attach(owner)
spark_system.start()
spawn(10)
qdel(spark_system)
spark(victim, 5)
qdel(src)
/obj/item/organ/external/proc/disfigure(var/type = "brute")