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:
Farie82
2022-10-15 11:40:32 +01:00
committed by GitHub
parent 34309c24b8
commit a7179d97bf
6 changed files with 52 additions and 24 deletions
+1 -1
View File
@@ -732,7 +732,7 @@
M.Confused(20 SECONDS)
M.flash_eyes(override_blindness_check = TRUE)
M.EyeBlind(20 SECONDS)
do_teleport(M, get_turf(M), 5, asoundin = 'sound/magic/cult_spell.ogg')
do_teleport(M, get_turf(M), 5, sound_in = 'sound/magic/cult_spell.ogg')
qdel(src)
return