Nerfs benos being able to hold any item but only if they strip it off someone else first (#8039)

This commit is contained in:
deathride58
2019-02-26 18:28:20 -05:00
committed by kevinz000
parent e792a6b515
commit 4f84ed7fdd
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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")