mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-20 21:57:44 +01:00
89fb9871e0
* next set of admin verbs * invoke * . * a few more * few more * . * few more * some more * move thos * next * some debug verbs * axe the old mod loading * del * is local for some verbs * few more * . * . * . * Add local narrate. * Fixes this Needed to be user.mob, since user is the client and usr was the old user.mob * fixes * . * . * . * . --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
11 lines
411 B
Plaintext
11 lines
411 B
Plaintext
ADMIN_VERB(cinematic, R_FUN, "Cinematic", "Show a cinematic to all players.", ADMIN_CATEGORY_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)
|