From 1b9b6d2d1922f7607d5608a5839092da7700beaf Mon Sep 17 00:00:00 2001 From: SoundScopes Date: Wed, 15 Oct 2014 17:33:07 +0100 Subject: [PATCH] Wind from the PP Winding people from the player panel --- code/modules/admin/player_panel.dm | 4 +++- code/modules/admin/topic.dm | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/code/modules/admin/player_panel.dm b/code/modules/admin/player_panel.dm index 13d06c1a..7b485966 100644 --- a/code/modules/admin/player_panel.dm +++ b/code/modules/admin/player_panel.dm @@ -81,7 +81,9 @@ body += "TP - " body += "PM - " body += "SM - " - body += "JMP
" + body += "JMP - " + body += "WIND
" + if(antagonist > 0) body += "Antagonist"; diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index a4879a4d..31a4a1f5 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -2675,3 +2675,17 @@ if("list") PlayerNotesPage(text2num(href_list["index"])) return + + if(href_list["admin_wind_player"]) + + var/mob/M = locate(href_list["admin_wind_player"]) + if(!ismob(M)) + usr << "This can only be used on instances of type /mob" + return + + if(!M.ckey) //sanity + usr << "This mob has no ckey" + return + + M.weakened = 500 + return \ No newline at end of file