Admin verb to toggle latejoin-ability. Wipe Core disallowed in malfunction.

This commit is contained in:
GinjaNinja32
2015-02-02 18:34:26 +00:00
parent 6ea6c82897
commit 271fe31e64
3 changed files with 27 additions and 1 deletions
@@ -15,6 +15,10 @@ var/global/list/empty_playable_ai_cores = list()
set category = "OOC"
set desc = "Wipe your core. This is functionally equivalent to cryo or robotic storage, freeing up your job slot."
if(ticker && ticker.mode && ticker.mode.name == "AI malfunction")
usr << "<span class='danger'>You cannot use this verb in malfunction. If you need to leave, please adminhelp.</span>"
return
// Guard against misclicks, this isn't the sort of thing we want happening accidentally
if(alert("WARNING: This will immediately wipe your core and ghost you, removing your character from the round permanently (similar to cryo and robotic storage). Are you entirely sure you want to do this?",
"Wipe Core", "No", "No", "Yes") != "Yes")