Straight jackets can now properly be put onto others
This commit is contained in:
@@ -665,13 +665,13 @@
|
||||
else
|
||||
final_where = where
|
||||
|
||||
if(!what.mob_can_equip(who, src, final_where, TRUE))
|
||||
if(!what.mob_can_equip(who, src, final_where, TRUE, TRUE))
|
||||
to_chat(src, "<span class='warning'>\The [what.name] doesn't fit in that place!</span>")
|
||||
return
|
||||
|
||||
visible_message("<span class='notice'>[src] tries to put [what] on [who].</span>")
|
||||
if(do_mob(src, who, what.equip_delay_other))
|
||||
if(what && Adjacent(who) && what.mob_can_equip(who, src, final_where, TRUE))
|
||||
if(what && Adjacent(who) && what.mob_can_equip(who, src, final_where, TRUE, TRUE))
|
||||
if(temporarilyRemoveItemFromInventory(what))
|
||||
if(where_list)
|
||||
if(!who.put_in_hand(what, where_list[2]))
|
||||
|
||||
Reference in New Issue
Block a user