NODROP flag addition & handling

- Purges canremove
- Implements functionality for NODROP flag, replaces canremove
- Refactors mob inventory unequipping.
This commit is contained in:
DZD
2015-02-18 13:22:41 -05:00
parent 723dc2ad98
commit fbd9c367c0
128 changed files with 618 additions and 659 deletions
+2 -2
View File
@@ -374,13 +374,13 @@
else ..()
if (load == 1)
user.u_equip(W)
user.unEquip(W)
W.loc = src
if ((user.client && user.s_active != src))
user.client.screen -= W
W.dropped()
else if (load == 2)
user.u_equip(W)
user.unEquip(W)
W.dropped()
if ((user.client && user.s_active != src))
user.client.screen -= W
+1 -1
View File
@@ -20,7 +20,7 @@
/obj/structure/ore_box/attackby(obj/item/weapon/W as obj, mob/user as mob)
if (istype(W, /obj/item/weapon/ore))
user.u_equip(W)
user.unEquip(W)
src.contents += W
if (istype(W, /obj/item/weapon/storage))
var/obj/item/weapon/storage/S = W