TG: Commited on behalf of Nodrak

- Fixes:  Issue 257 ,  Issue 346  and  Issue 343
- Monkeys no longer continue to take suffocation damage after dying.
- PDAs can no longer be used while stunned or paralysed.
- Vending machines now have a delay to stop product spamming.

Note: I upped the delay a little as it was still pretty spammable when I tested
it, seems to be fine now as it's way more effort than it's worth to empty a
vending machine.
Revision: r3107
Author: 	 trubblebass
This commit is contained in:
Ren Erthilo
2012-04-22 20:25:21 +01:00
parent 9e0218e4a3
commit b1900af5fb
3 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -567,7 +567,7 @@
playsound(P.loc, 'twobeep.ogg', 50, 1)
// log_pda("[usr] (PDA: [src.name]) sent \"[t]\" to [P.name]")
log_pda("[usr] (PDA: [src.name]) sent \"[t]\" to [P.name]")
if("Send Honk")//Honk virus
+1 -1
View File
@@ -564,7 +564,7 @@ Code:
/obj/item/weapon/cartridge/Topic(href, href_list)
..()
if (usr.stat || usr.restrained() || !in_range(loc, usr))
if (!usr.canmove || usr.stat || usr.restrained() || !in_range(loc, usr))
usr.machine = null
usr << browse(null, "window=pda")
return