mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Thunderdoming someone now drops all of their items first.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@89 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -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)")
|
||||
|
||||
Reference in New Issue
Block a user