mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-07-19 11:44:17 +01:00
c8983e1b03
AKA [PORT] Refactors smiting, adds smite build mode tgstation/tgstation#55327 !! NOT!! A!! RUNNING!! BUILD!! LIGHTNING IS BROKEN IMMERSE IS COMMENTED OUT HALF OF THIS SHIT IS BROKEN DO NOT BASE YOURSELF ON THIS BUILD!!
17 lines
649 B
Plaintext
17 lines
649 B
Plaintext
/// Tableslam the target
|
|
/datum/smite/tabletide
|
|
name = "Table Tideslam"
|
|
|
|
/datum/smite/tabletide/effect(client/user, mob/living/target)
|
|
. = ..()
|
|
priority_announce(html_decode("[target] has brought the wrath of the gods upon themselves and is now being tableslammed across the station. Please stand by."), null, 'sound/misc/announce.ogg', "CentCom")
|
|
var/list/areas = list()
|
|
for(var/area/A in world)
|
|
if(A.z == SSmapping.station_start)
|
|
areas += A
|
|
SEND_SOUND(target, sound('modular_splurt/sound/misc/slamofthenorthstar.ogg',volume=60))
|
|
for(var/area/A in areas)
|
|
for(var/obj/structure/table/T in A)
|
|
T.tablepush(target, target)
|
|
sleep(1)
|