mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
Update human.dm
This commit is contained in:
@@ -281,11 +281,13 @@
|
|||||||
dropItemToGround(pocket_item)
|
dropItemToGround(pocket_item)
|
||||||
if(!usr.can_hold_items() || !usr.put_in_hands(pocket_item))
|
if(!usr.can_hold_items() || !usr.put_in_hands(pocket_item))
|
||||||
pocket_item.forceMove(drop_location())
|
pocket_item.forceMove(drop_location())
|
||||||
|
log_combat(usr, src, "pickpocketed of item: [pocket_item]")
|
||||||
else
|
else
|
||||||
if(place_item)
|
if(place_item)
|
||||||
if(place_item.mob_can_equip(src, usr, pocket_id, FALSE, TRUE))
|
if(place_item.mob_can_equip(src, usr, pocket_id, FALSE, TRUE))
|
||||||
usr.temporarilyRemoveItemFromInventory(place_item, TRUE)
|
usr.temporarilyRemoveItemFromInventory(place_item, TRUE)
|
||||||
equip_to_slot(place_item, pocket_id, TRUE)
|
equip_to_slot(place_item, pocket_id, TRUE)
|
||||||
|
log_combat(usr, src, "placed item [pocket_item] onto")
|
||||||
//do nothing otherwise
|
//do nothing otherwise
|
||||||
|
|
||||||
// Update strip window
|
// Update strip window
|
||||||
@@ -293,8 +295,9 @@
|
|||||||
show_inv(usr)
|
show_inv(usr)
|
||||||
else
|
else
|
||||||
// Display a warning if the user mocks up
|
// Display a warning if the user mocks up
|
||||||
if (!strip_silence)
|
if(!strip_silence)
|
||||||
to_chat(src, "<span class='warning'>You feel your [pocket_side] pocket being fumbled with!</span>")
|
to_chat(src, "<span class='warning'>You feel your [pocket_side] pocket being fumbled with!</span>")
|
||||||
|
log_combat(usr, src, "failed to [pocket_item ? "pickpocket item [pocket_item] from" : "place item [pocket_item] onto "]")
|
||||||
|
|
||||||
if(usr.canUseTopic(src, BE_CLOSE, NO_DEXTERY, null, FALSE))
|
if(usr.canUseTopic(src, BE_CLOSE, NO_DEXTERY, null, FALSE))
|
||||||
// separate from first canusetopic
|
// separate from first canusetopic
|
||||||
|
|||||||
Reference in New Issue
Block a user