Space Ninja Update

Updating to allow kamikaze mode with Space Ninjas
This commit is contained in:
SamCroswell
2013-10-25 19:56:58 -04:00
parent 42b3335e5c
commit 2ca928274f
4 changed files with 28 additions and 9 deletions
+2 -1
View File
@@ -97,7 +97,8 @@ var/list/admin_verbs_fun = list(
/client/proc/make_sound,
/client/proc/toggle_random_events,
/client/proc/set_ooc,
/client/proc/editappear
/client/proc/editappear,
/client/proc/toggle_kamikaze
)
var/list/admin_verbs_spawn = list(
/datum/admins/proc/spawn_atom, /*allows us to spawn instances*/
+15
View File
@@ -836,3 +836,18 @@ Traitors and the like can also be revived with the previous role mostly intact.
usr << "Random events disabled"
message_admins("Admin [key_name_admin(usr)] has disabled random events.", 1)
feedback_add_details("admin_verb","TRE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
var/global/kamikaze_allowed = 0
/client/proc/toggle_kamikaze()
set category = "Fun"
set name = "Toggle Kamikaze"
set desc = "Toggles the ability for Ninjas to use Kamikaze mode."
if (kamikaze_allowed == 0)
kamikaze_allowed = 1
usr << "Kamikaze mode globally enabled."
else
kamikaze_allowed = 0
usr << "Kamikaze mode globally disabled."