Merge pull request #1977 from Regen1/Cinemaverb

Adds cinematic verb
This commit is contained in:
Fox-McCloud
2015-09-09 15:47:06 -04:00
2 changed files with 4 additions and 4 deletions
+1
View File
@@ -153,6 +153,7 @@ var/list/admin_verbs_debug = list(
/client/proc/check_bomb_impacts,
/client/proc/test_movable_UI,
/client/proc/test_snap_UI,
/client/proc/cinematic,
/proc/machine_upgrade
)
var/list/admin_verbs_possess = list(
+3 -4
View File
@@ -1,8 +1,7 @@
/client/proc/cinematic(var/cinematic as anything in list("explosion",null))
set name = "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 name = "Play cinematic"
set category = "Debug"
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)