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
+3 -2
View File
@@ -91,8 +91,9 @@
var/obj/item/device/onetankbomb/R = new /obj/item/device/onetankbomb(loc)
M.remove_from_mob(src) //Remove the tank from your character,in case you were holding it
M.put_in_hands(R) //Equips the bomb if possible, or puts it on the floor.
M.temporarilyRemoveItemFromInventory(src, TRUE) //Remove the tank from your character,in case you were holding it
if(!M.put_in_hands(R)) //Equips the bomb if possible, or puts it on the floor.
forceMove(M.loc)
R.bombassembly = S //Tell the bomb about its assembly part
S.master = R //Tell the assembly about its new owner
+3 -2
View File
@@ -26,8 +26,9 @@
/obj/item/device/assembly_holder/proc/attach(obj/item/device/assembly/A, mob/user)
if(!A.remove_item_from_storage(src))
if(user)
user.remove_from_mob(A)
A.loc = src
user.transferItemToLoc(A, src)
else
A.forceMove(src)
A.holder = src
A.toggle_secure()
if(!a_left)