mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 10:33:30 +01:00
Added an invisimin verb. It toggles your mob's invisibility between ghost-like invis and it's initial state. It is bound to the F8 key.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4710 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -169,6 +169,7 @@
|
||||
deadchat = 1
|
||||
seeprayers = 1
|
||||
|
||||
verbs += /client/proc/invisimin
|
||||
verbs += /obj/admins/proc/view_txt_log
|
||||
verbs += /obj/admins/proc/view_atk_log
|
||||
verbs += /obj/admins/proc/toggleaban //abandon mob
|
||||
@@ -427,6 +428,7 @@
|
||||
verbs -= /client/proc/cmd_debug_mob_lists
|
||||
verbs -= /obj/admins/proc/access_news_network
|
||||
verbs -= /client/proc/one_click_antag
|
||||
verbs -= /client/proc/invisimin
|
||||
return
|
||||
|
||||
/client/proc/admin_ghost()
|
||||
@@ -459,6 +461,16 @@
|
||||
src << "[C.key] is undefined - [C.holder.state]"
|
||||
feedback_add_details("admin_verb","GAS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/invisimin()
|
||||
set name = "Invisimin"
|
||||
set category = "Admin"
|
||||
set desc = "Toggles ghost-like invisibility (Don't abuse this)"
|
||||
if(holder && mob)
|
||||
if(mob.invisibility == INVISIBILITY_OBSERVER)
|
||||
mob.invisibility = initial(mob.invisibility)
|
||||
else
|
||||
mob.invisibility = INVISIBILITY_OBSERVER
|
||||
|
||||
|
||||
/client/proc/player_panel()
|
||||
set name = "Player Panel"
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ should be listed in the changelog upon commit tho. Thanks. -->
|
||||
<h2 class="date">17 September 2012</h2>
|
||||
<h3 class="author">Carn updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="rscadd">F5 is now a hotkey for adminghosting (for admins obviously)</li>
|
||||
<li class="rscadd">F5 is now a hotkey for adminghosting. F8 toggles ghost-like invisibility for admins.</li>
|
||||
<li class="tweak">Catatonia makes you fall down. Admins appear braindead when admin-ghosting.</li>
|
||||
<li class="tweak">"Set-observe"/"Set-play" renamed and merged into "Aghost".</li>
|
||||
<li class="tweak">"Lay down/Get up" renamed to "Rest"</li>
|
||||
|
||||
@@ -122,7 +122,7 @@ Admin:
|
||||
\tF5 = Aghost (admin-ghost)
|
||||
\tF6 = player-panel-new
|
||||
\tF7 = admin-pm
|
||||
\tF8 = (WIP)
|
||||
\tF8 = Invisimin
|
||||
</font>"}
|
||||
|
||||
src << hotkey_mode
|
||||
|
||||
@@ -131,6 +131,10 @@ macro "macro"
|
||||
name = "F7"
|
||||
command = "Admin-PM"
|
||||
is-disabled = false
|
||||
elem
|
||||
name = "F8"
|
||||
command = "Invisimin"
|
||||
is-disabled = false
|
||||
elem
|
||||
name = "F12"
|
||||
command = "F12"
|
||||
@@ -313,6 +317,10 @@ macro "hotkeymode"
|
||||
name = "F7"
|
||||
command = "Admin-PM"
|
||||
is-disabled = false
|
||||
elem
|
||||
name = "F8"
|
||||
command = "Invisimin"
|
||||
is-disabled = false
|
||||
elem
|
||||
name = "F12"
|
||||
command = "F12"
|
||||
|
||||
Reference in New Issue
Block a user