mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +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:
@@ -87,7 +87,7 @@ GLOBAL_LIST_INIT(rod_recipes, list (
|
||||
var/replace = user.is_in_inactive_hand(src)
|
||||
use(2)
|
||||
if(get_amount() <= 0 && replace)
|
||||
user.unEquip(src, 1)
|
||||
user.drop_item_to_ground(src, force = TRUE)
|
||||
if(new_item)
|
||||
user.put_in_hands(new_item)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user