mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 08:31:57 +00:00
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.
12 lines
450 B
Plaintext
12 lines
450 B
Plaintext
// -- Spark Procs --
|
|
/proc/spark(var/atom/movable/loc, var/amount = 1, var/spread_dirs = cardinal)
|
|
new /datum/effect_system/sparks(get_turf(loc), TRUE, amount, spread_dirs)
|
|
|
|
/proc/bind_spark(var/atom/movable/loc, var/amount = 1, var/spread_dirs = cardinal)
|
|
var/datum/effect_system/sparks/S = new /datum/effect_system/sparks(loc, FALSE, amount, spread_dirs)
|
|
S.bind(loc)
|
|
return S
|
|
|
|
/proc/single_spark(var/turf/loc)
|
|
spark(loc, spread_dirs = list())
|