mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-01 05:02:33 +00:00
21 lines
891 B
Plaintext
21 lines
891 B
Plaintext
/client/proc/cinematic(cinematic as anything in list("explosion", null))
|
|
set name = "cinematic"
|
|
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.current_state < GAME_STATE_PREGAME)
|
|
return
|
|
|
|
if(!check_rights(R_MAINTAINER))
|
|
return
|
|
|
|
switch(cinematic)
|
|
if("explosion")
|
|
var/parameter = input(src, "station_missed = ?", "Enter Parameter", 0) as num
|
|
var/override
|
|
switch(parameter)
|
|
if(1)
|
|
override = input(src, "mode = ?","Enter Parameter", null) as anything in list("nuclear emergency", "fake", "no override")
|
|
if(0)
|
|
override = input(src, "mode = ?","Enter Parameter", null) as anything in list("blob", "nuclear emergency", "AI malfunction", "no override")
|
|
SSticker.station_explosion_cinematic(parameter, override)
|