mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-07 07:53:15 +00:00
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
11 lines
398 B
Plaintext
11 lines
398 B
Plaintext
ADMIN_VERB(cinematic, R_FUN, "Cinematic", "Show a cinematic to all players.", "Fun.Do Not")
|
|
var/datum/cinematic/choice = tgui_input_list(
|
|
user,
|
|
"Chose a cinematic to play to everyone in the server.",
|
|
"Choose Cinematic",
|
|
sortList(subtypesof(/datum/cinematic), GLOBAL_PROC_REF(cmp_typepaths_asc)),
|
|
)
|
|
if(!choice || !ispath(choice, /datum/cinematic))
|
|
return
|
|
play_cinematic(choice, world)
|