From 0314cb19b6ca1bcecb83670508eb892b3c13cfc0 Mon Sep 17 00:00:00 2001 From: "uhangi@gmail.com" Date: Sun, 12 Sep 2010 21:48:03 +0000 Subject: [PATCH] Thunderdoming someone now drops all of their items first. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@89 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/admin/admin.dm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index c9c1808b398..2da27d8ca34 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -413,6 +413,15 @@ var/showadminmessages = 1 if (href_list["tdome1"]) if ((src.rank in list( "Administrator", "Secondary Administrator", "Primary Administrator", "Shit Guy", "Coder", "Host" ))) var/mob/M = locate(href_list["tdome1"]) + for(var/obj/item/W in M) + if (istype(W,/obj/item)) + M.u_equip(W) + if (M.client) + M.client.screen -= W + if (W) + W.loc = M.loc + W.dropped(M) + W.layer = initial(W.layer) // M.revive() M.loc = pick(tdome1) log_admin("[key_name(usr)] has sent [key_name(M)] to the thunderdome. (Team 1)") @@ -422,6 +431,15 @@ var/showadminmessages = 1 if (href_list["tdome2"]) if ((src.rank in list( "Administrator", "Secondary Administrator", "Primary Administrator", "Shit Guy", "Coder", "Host" ))) var/mob/M = locate(href_list["tdome2"]) + for(var/obj/item/W in M) + if (istype(W,/obj/item)) + M.u_equip(W) + if (M.client) + M.client.screen -= W + if (W) + W.loc = M.loc + W.dropped(M) + W.layer = initial(W.layer) // M.revive() M.loc = pick(tdome2) log_admin("[key_name(usr)] has sent [key_name(M)] to the thunderdome. (Team 2)")