[MIRROR] Improves logging for smoke clouds. [MDB IGNORE] (#14156)

* Improves logging for smoke clouds.

* Update robot_upgrades.dm

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-06-08 03:15:29 +02:00
committed by GitHub
parent a06b8b7732
commit 35286f5993
48 changed files with 168 additions and 130 deletions

View File

@@ -170,7 +170,7 @@
/obj/item/gun/magic/wand/teleport/zap_self(mob/living/user)
if(do_teleport(user, user, 10, channel = TELEPORT_CHANNEL_MAGIC))
var/datum/effect_system/fluid_spread/smoke/smoke = new
smoke.set_up(3, location = user.loc)
smoke.set_up(3, holder = src, location = user.loc)
smoke.start()
charges--
..()
@@ -193,7 +193,7 @@
if(do_teleport(user, destination, channel=TELEPORT_CHANNEL_MAGIC))
for(var/t in list(origin, destination))
var/datum/effect_system/fluid_spread/smoke/smoke = new
smoke.set_up(0, location = t)
smoke.set_up(0, holder = src, location = t)
smoke.start()
..()

View File

@@ -79,7 +79,7 @@
teleammount++
var/smoke_range = max(round(4 - teleammount), 0)
var/datum/effect_system/fluid_spread/smoke/smoke = new
smoke.set_up(smoke_range, location = stuff.loc) //Smoke drops off if a lot of stuff is moved for the sake of sanity
smoke.set_up(smoke_range, holder = src, location = stuff.loc) //Smoke drops off if a lot of stuff is moved for the sake of sanity
smoke.start()
/obj/projectile/magic/safety
@@ -100,7 +100,7 @@
if(do_teleport(target, destination_turf, channel=TELEPORT_CHANNEL_MAGIC))
for(var/t in list(origin_turf, destination_turf))
var/datum/effect_system/fluid_spread/smoke/smoke = new
smoke.set_up(0, location = t)
smoke.set_up(0, holder = src, location = t)
smoke.start()
/obj/projectile/magic/door