Nerfs benos being able to hold any item but only if they strip it off someone else first (#8039)
This commit is contained in:
@@ -264,7 +264,7 @@
|
||||
if(pocket_item)
|
||||
if(pocket_item == (pocket_id == SLOT_R_STORE ? r_store : l_store)) //item still in the pocket we search
|
||||
dropItemToGround(pocket_item)
|
||||
if(!put_in_hands(pocket_item))
|
||||
if(!usr.can_hold_items() || !usr.put_in_hands(pocket_item))
|
||||
pocket_item.forceMove(drop_location())
|
||||
else
|
||||
if(place_item)
|
||||
|
||||
@@ -705,7 +705,7 @@
|
||||
log_combat(src, who, "stripped [what] off")
|
||||
if(what == who.get_item_by_slot(where))
|
||||
if(who.dropItemToGround(what))
|
||||
if(!put_in_hands(what))
|
||||
if(!can_hold_items() || !put_in_hands(what))
|
||||
what.forceMove(drop_location())
|
||||
log_combat(src, who, "stripped [what] off")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user