mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 14:37:04 +01:00
Refactor /mob/unEquip. (#27720)
* Refactor /mob/unEquip. * fix things found in testing * more fixes from testing * fix removal of hooded suits * fix flayers inability to deploy swarmprod * fix changeling blade activation * unnecessary parens * pass default unequip args to proc overrides * fix belts being able to forceMove into full hands
This commit is contained in:
@@ -150,7 +150,7 @@
|
||||
if(istype(I, /obj/item/honey_frame))
|
||||
var/obj/item/honey_frame/HF = I
|
||||
if(length(honey_frames) < BEEBOX_MAX_FRAMES)
|
||||
if(!user.unEquip(HF))
|
||||
if(!user.unequip(HF))
|
||||
return
|
||||
visible_message("<span class='notice'>[user] adds a frame to the apiary.</span>")
|
||||
HF.forceMove(src)
|
||||
@@ -165,7 +165,7 @@
|
||||
return
|
||||
|
||||
var/obj/item/queen_bee/qb = I
|
||||
if(!user.unEquip(qb))
|
||||
if(!user.drop_item_to_ground(qb))
|
||||
return
|
||||
qb.queen.forceMove(src)
|
||||
bees += qb.queen
|
||||
|
||||
Reference in New Issue
Block a user