mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 10:01:40 +00:00
* Adds sorting to most input() lists. * Sorted some global lists, added more input sorting * Should now use correct sort everywhere. * compiles * Last fixes.
12 lines
492 B
Plaintext
12 lines
492 B
Plaintext
/client/proc/cinematic()
|
|
set name = "cinematic"
|
|
set category = "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 = 1
|
|
if(!SSticker)
|
|
return
|
|
|
|
var/datum/cinematic/choice = input(src,"Cinematic","Choose",null) as anything in sortList(subtypesof(/datum/cinematic), /proc/cmp_typepaths_asc)
|
|
if(choice)
|
|
Cinematic(initial(choice.id),world,null)
|