Stealthmin Improvements

Removes stealthmins from the orbit list and makes them invisible.
Remember to always use dsay instead of say to avoid the (F) links!
This commit is contained in:
Tkdrg
2015-12-29 15:09:27 -03:00
parent 5930ee0d66
commit 2a08622b7e
2 changed files with 9 additions and 1 deletions
+7 -1
View File
@@ -423,6 +423,9 @@ var/list/admin_verbs_hideable = list(
if(holder)
if(holder.fakekey)
holder.fakekey = null
mob.invisibility = initial(mob.invisibility)
mob.alpha = initial(mob.alpha)
mob.name = initial(mob.name)
else
var/new_key = ckeyEx(input("Enter your desired display name.", "Fake Key", key) as text|null)
if(!new_key) return
@@ -430,6 +433,9 @@ var/list/admin_verbs_hideable = list(
new_key = copytext(new_key, 1, 26)
holder.fakekey = new_key
createStealthKey()
mob.invisibility = INVISIBILITY_MAXIMUM + 1 //JUST IN CASE
mob.alpha = 0 //JUUUUST IN CASE
mob.name = " "
log_admin("[key_name(usr)] has turned stealth mode [holder.fakekey ? "ON" : "OFF"]")
message_admins("[key_name_admin(usr)] has turned stealth mode [holder.fakekey ? "ON" : "OFF"]")
feedback_add_details("admin_verb","SM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -647,4 +653,4 @@ var/list/admin_verbs_hideable = list(
AI_Interact = !AI_Interact
log_admin("[key_name(usr)] has [AI_Interact ? "activated" : "deactivated"] Admin AI Interact")
message_admins("[key_name_admin(usr)] has [AI_Interact ? "activated" : "deactivated"] their AI interaction")
message_admins("[key_name_admin(usr)] has [AI_Interact ? "activated" : "deactivated"] their AI interaction")