- Changed beartrap arming from a verb to attack_self.

- Gave two beartraps to the janitor for pest control purposes...... ... . .

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4170 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-07-25 06:00:46 +00:00
parent b157661c3b
commit 18b4a0e713
2 changed files with 76 additions and 77 deletions
+3 -4
View File
@@ -838,10 +838,8 @@
breakouttime = 300 //Deciseconds = 30s = 0.5 minute
var/armed = 0
/obj/item/weapon/legcuffs/beartrap/verb/arm()
set name = "Arm"
set category = "Object"
/obj/item/weapon/legcuffs/beartrap/attack_self()
..()
if(ishuman(usr) && !usr.stat && !usr.restrained())
armed = !armed
usr << "\blue \the [src] is now [(armed)?"armed":"disarmed"]"
@@ -857,6 +855,7 @@
src.loc = usr
usr.update_inv_legcuffed()
H << "\red <B>You step on \the [src]!</B>"
feedback_add_details("handcuffs","B") //Yes, I know they're legcuffs. Don't change this, no need for an extra variable. The "B" is used to tell them apart.
for(var/mob/O in viewers(H, null))
if(O == H)
continue