From 5439988d5ec00ff4186bfa119e9a81c793e544eb Mon Sep 17 00:00:00 2001
From: Kyani <65205627+EmeraldCandy@users.noreply.github.com>
Date: Thu, 28 Aug 2025 10:57:37 -0400
Subject: [PATCH] Warp cubes require do_after on station (#30132)
* Warp cubes require do_after on station
* grammar
* Update code/modules/mining/lavaland/loot/tendril_loot.dm
Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com>
* Update code/modules/mining/lavaland/loot/tendril_loot.dm
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com>
---------
Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com>
Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
---
code/modules/mining/lavaland/loot/tendril_loot.dm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/code/modules/mining/lavaland/loot/tendril_loot.dm b/code/modules/mining/lavaland/loot/tendril_loot.dm
index 5811fa82e52..f90e957ab39 100644
--- a/code/modules/mining/lavaland/loot/tendril_loot.dm
+++ b/code/modules/mining/lavaland/loot/tendril_loot.dm
@@ -291,6 +291,11 @@
return
if(SEND_SIGNAL(user, COMSIG_MOVABLE_TELEPORTING, get_turf(linked)) & COMPONENT_BLOCK_TELEPORT)
return FALSE
+ if(is_station_level(user.z) && !iswizard(user)) // specifically not station (instead of lavaland) so it works for explorers potentially
+ user.visible_message("[user] begins to channel [src]!", "You begin channeling [src], cutting through the interference of the station!")
+ if(!do_after_once(user, 4 SECONDS, TRUE, src, allow_moving = TRUE, must_be_held = TRUE))
+ return
+ user.visible_message("[user] disappears in a puff of smoke!")
var/datum/effect_system/smoke_spread/smoke = new
smoke.set_up(1, FALSE, user)