mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 01:24:21 +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))
|
||||
|
||||
+11
-1
@@ -51,7 +51,17 @@ should be listed in the changelog upon commit tho. Thanks. -->
|
||||
|
||||
<!-- You can simply add changelogs using AddToChangelog.exe -->
|
||||
|
||||
<!-- DO NOT REMOVE OR MOVE THIS COMMENT! THIS MUST BE THE LAST NON-EMPTY LINE BEFORE THE LOGS #ADDTOCHANGELOGMARKER# -->
|
||||
<!-- DO NOT REMOVE OR MOVE THIS COMMENT! THIS MUST BE THE LAST NON-EMPTY LINE BEFORE THE LOGS #ADDTOCHANGELOGMARKER# -->
|
||||
|
||||
|
||||
<div class='commit sansserif'>
|
||||
<h2 class='date'>6 June 2013</h2>
|
||||
<h3 class='author'>Giacom updated:</h3>
|
||||
<ul class='changes bgimages16'>
|
||||
<li class='rscadd'>Emptying someone's pockets won't display a message. In theory you can now pickpocket!</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class='commit sansserif'>
|
||||
<h2 class='date'>25 May 2013</h2>
|
||||
|
||||
Reference in New Issue
Block a user