mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-29 10:31:34 +00:00
* ONLY SKYRAT CHANGES * ACTUALLY SKYRAT CHANGES * yolo, revert later * Update alternate_byond_versions.txt Co-authored-by: AnturK <AnturK@users.noreply.github.com>
15 lines
585 B
Plaintext
15 lines
585 B
Plaintext
/client/proc/cinematic()
|
|
set name = "Cinematic"
|
|
set category = "Admin.Fun"
|
|
set desc = "Shows a cinematic." // Intended for testing but I thought it might be nice for events on the rare occasion Feel free to comment it out if it's not wanted.
|
|
set hidden = TRUE
|
|
|
|
if(!SSticker)
|
|
return
|
|
|
|
var/datum/cinematic/choice = tgui_input_list(usr, "Chose a cinematic to play to everyone in the server.", "Choose Cinematic", sort_list(subtypesof(/datum/cinematic), GLOBAL_PROC_REF(cmp_typepaths_asc)))
|
|
if(!choice || !ispath(choice, /datum/cinematic))
|
|
return
|
|
|
|
play_cinematic(choice, world)
|