mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +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:
@@ -91,7 +91,7 @@
|
||||
animate_fading_leap_up(user)
|
||||
|
||||
for(var/obj/item/W in user)
|
||||
user.unEquip(W)
|
||||
user.drop_item_to_ground(W)
|
||||
|
||||
user.dust()
|
||||
return OBLITERATION
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
|
||||
playsound(loc, 'sound/effects/supermatter.ogg', 50, TRUE, -1)
|
||||
for(var/obj/item/W in user)
|
||||
user.unEquip(W)
|
||||
user.drop_item_to_ground(W)
|
||||
|
||||
user.dust()
|
||||
return OBLITERATION
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
new /obj/item/restraints/handcuffs/cable/zipties/used(user.loc)
|
||||
|
||||
for(var/obj/item/W in user)
|
||||
user.unEquip(W)
|
||||
user.drop_item_to_ground(W)
|
||||
|
||||
user.dust()
|
||||
return OBLITERATION
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
return
|
||||
|
||||
for(var/obj/item/W in user)
|
||||
user.unEquip(W)
|
||||
user.drop_item_to_ground(W)
|
||||
|
||||
for(var/mob/living/M in orange(2, src))
|
||||
// you're close enough, it's pretty fuckin bright
|
||||
|
||||
Reference in New Issue
Block a user