mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-10 07:41:16 +01:00
Merge pull request #727 from Giacomand/pickpocket
Emptying someone's pockets won't display a message anymore. This allows ...
This commit is contained in:
@@ -481,11 +481,15 @@
|
||||
//strip panel
|
||||
if(!usr.stat && usr.canmove && !usr.restrained() && in_range(src, usr))
|
||||
if(href_list["pockets"])
|
||||
visible_message("<span class='danger'>[usr] tries to empty [src]'s pockets.</span>", \
|
||||
"<span class='userdanger'>[usr] tries to empty [src]'s pockets.</span>")
|
||||
//visible_message("<span class='danger'>[usr] tries to empty [src]'s pockets.</span>", \
|
||||
"<span class='userdanger'>[usr] tries to empty [src]'s pockets.</span>") // Pickpocketing!
|
||||
usr << "<span class='notice'>You try to empty [src]'s pockets.</span>"
|
||||
if(do_mob(usr, src, STRIP_DELAY * 0.5))
|
||||
u_equip(r_store)
|
||||
u_equip(l_store)
|
||||
else
|
||||
// Display a warning if the user mocks up
|
||||
src << "<span class='warning'>You feel your pockets being fumbled with!</span>"
|
||||
|
||||
if(href_list["criminal"])
|
||||
if(istype(usr, /mob/living/carbon/human))
|
||||
|
||||
Reference in New Issue
Block a user