Merge pull request #4651 from Fox-McCloud/ring

Telephone is More...Ring-y
This commit is contained in:
TheDZD
2016-06-16 11:53:54 -04:00
committed by GitHub
+9 -3
View File
@@ -127,10 +127,16 @@
icon = 'icons/obj/items.dmi'
icon_state = "red_phone"
flags = CONDUCT
force = 3.0
throwforce = 2.0
force = 3
throwforce = 2
throw_speed = 1
throw_range = 4
w_class = 2
attack_verb = list("called", "rang")
hitsound = 'sound/weapons/ring.ogg'
hitsound = 'sound/weapons/ring.ogg'
var/cooldown = 0
/obj/item/weapon/phone/attack_self(mob/user)
if(cooldown < world.time - 20)
playsound(user.loc, 'sound/weapons/ring.ogg', 50, 1)
cooldown = world.time