mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-27 10:02:12 +00:00
[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:
@@ -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()
|
||||
..()
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user