mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-19 19:18:50 +01:00
* Restyles Stat Panel, Adds Subpanel Sub-Categories (#53947) I re-styled the CSS for the stat panel in hopes to make it look nice, and I also added the ability to use sub-categories (currently a single level) of verbs using a . (period), an example being Admin.Fun instead of the previous Admin - Fun. This now results in a sub-category being automagically generated in the stat panel. * Restyles Stat Panel, Adds Subpanel Sub-Categories Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
12 lines
495 B
Plaintext
12 lines
495 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 = input(src,"Cinematic","Choose",null) as null|anything in sortList(subtypesof(/datum/cinematic), /proc/cmp_typepaths_asc)
|
|
if(choice)
|
|
Cinematic(initial(choice.id),world,null)
|