From 009909650c921d0af28d11a326662976b526b7d5 Mon Sep 17 00:00:00 2001 From: Regen Date: Mon, 7 Sep 2015 12:11:45 +0200 Subject: [PATCH] Adds cinematic verb This will add the cinematic verb to the Event panel, will work like a normal nuke / AI override, meaning it will kill everyone (ending the round) --- code/modules/admin/admin_verbs.dm | 3 ++- code/modules/admin/verbs/cinematic.dm | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index fd3b7039386..b17c6e9953a 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -105,7 +105,8 @@ var/list/admin_verbs_event = list( /client/proc/response_team, // Response Teams admin verb /client/proc/cmd_admin_create_centcom_report, /client/proc/fax_panel, - /client/proc/event_manager_panel + /client/proc/event_manager_panel, + /client/proc/cinematic ) var/list/admin_verbs_spawn = list( diff --git a/code/modules/admin/verbs/cinematic.dm b/code/modules/admin/verbs/cinematic.dm index e78dfcf1bd5..4abc965d425 100644 --- a/code/modules/admin/verbs/cinematic.dm +++ b/code/modules/admin/verbs/cinematic.dm @@ -1,8 +1,7 @@ /client/proc/cinematic(var/cinematic as anything in list("explosion",null)) - set name = "cinematic" + set name = "Play cinematic" set category = "Event" - 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 + set desc = "Shows a cinematic, will work like a normal nuke" // 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. if(alert("Are you sure you want to run [cinematic]?","Confirmation","Yes","No")=="No") return if(!ticker) return switch(cinematic)