mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 02:57:48 +01:00
Makes wormhole projector portals spawn effects once every 0.5 seconds max (#19398)
* Refactor the parameters and starting the teleport * Adds arguments and moves the default effect generation up to do_teleport * Typo in arguments * portals now only create sparks every 0.5 second when things pass through * Comment fix
This commit is contained in:
@@ -204,7 +204,7 @@ Difficulty: Hard
|
||||
if(mode == BLUESPACE)
|
||||
new /obj/effect/temp_visual/bsg_kaboom(get_turf(src))
|
||||
src.visible_message("<span class='danger'>[src] teleports somewhere nearby!</span>")
|
||||
do_teleport(src, target, 7, asoundin = 'sound/effects/phasein.ogg', safe_turf_pick = TRUE) //Teleport within 7 tiles of the target
|
||||
do_teleport(src, target, 7, sound_in = 'sound/effects/phasein.ogg', safe_turf_pick = TRUE) //Teleport within 7 tiles of the target
|
||||
new /obj/effect/temp_visual/bsg_kaboom(get_turf(src))
|
||||
|
||||
TR.health_and_snap_check(FALSE)// We want the legs to instantly teleport with it, without regening
|
||||
|
||||
Reference in New Issue
Block a user