mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
NODROP flag addition & handling
- Purges canremove - Implements functionality for NODROP flag, replaces canremove - Refactors mob inventory unequipping.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user