Removes/Refactors /mob/unEquip (#22918)

* Part1

* IT COMPILES!!!!

* Fuck wait this was missing from that last

* Update handlabeler.dm

* Update handlabeler.dm

* Fixes n shit

* Fix this

* Fixes #23310

* Fucking @RemieRichards was right

* Fixes devil unEquip

* WTF ARE BITFLAGS?

* THERES THE FUCKING PROBLEM

* Fixes
This commit is contained in:
Cyberboss
2017-01-31 09:28:31 +13:00
committed by oranges
parent b7384ec99e
commit 3f7f5d4000
189 changed files with 643 additions and 810 deletions
+4 -12
View File
@@ -102,18 +102,10 @@
return
var/turf/T = get_turf(obj)
for(var/atom/movable/AM in obj.contents) // these should be derezed if they were generated
AM.loc = T // otherwise make sure they are dropped
if(istype(obj))
var/mob/M = obj.loc
if(ismob(M))
M.unEquip(obj, 1) //Holoweapons should always drop.
for(var/mob/M in obj.contents)
M.loc = obj.loc
silent = 0
AM.loc = T
if(ismob(AM))
silent = FALSE // otherwise make sure they are dropped
if(!silent)
var/obj/oldobj = obj
visible_message("The [oldobj.name] fades away!")
visible_message("The [obj.name] fades away!")
qdel(obj)