[MIRROR] Refactors do_teleport (#11935)

Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-11-07 15:17:27 -07:00
committed by GitHub
parent 806a61ef5c
commit 1f8f2888f4
15 changed files with 185 additions and 258 deletions

View File

@@ -72,7 +72,7 @@
spark_system.start()
playsound(src, "sparks", 50, 1)
user.visible_message(span_danger("[user] is abruptly flung somewhere else in response to the damage!"))
do_teleport(user, locate(telex,teley,telez), local = 0, bohsafe = 1)
do_teleport(user, locate(telex,teley,telez), channel = TELEPORT_CHANNEL_QUANTUM)
tele_threshold = initial(tele_threshold)
return TRUE