Added griffin headgear caw ability

This commit is contained in:
ZomgPonies
2015-05-07 16:00:29 -04:00
parent 71a23c338a
commit 0a7d2b8697
2 changed files with 19 additions and 0 deletions
+19
View File
@@ -344,6 +344,25 @@
item_state = "griffinhat"
flags = BLOCKHAIR|NODROP
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE
var/cooldown = 0
action_button_name = "Caw"
icon_action_button = "action_griffin"
/obj/item/clothing/head/griffin/attack_self()
caw()
/obj/item/clothing/head/griffin/verb/caw()
set category = "Object"
set name = "Caw"
set src in usr
if(!istype(usr, /mob/living)) return
if(usr.stat) return
if(cooldown < world.time - 20) // A cooldown, to stop people being jerks
playsound(src.loc, "sound/misc/caw.ogg", 50, 1)
cooldown = world.time
/obj/item/clothing/head/lordadmiralhat
name = "Lord Admiral's Hat"