From f5f6817a44d77ab6773e47abf920a7e8a574f0be Mon Sep 17 00:00:00 2001 From: SamCroswell Date: Mon, 11 Jul 2016 02:42:28 -0400 Subject: [PATCH] Inane Optimizations And General Pedantry --- code/modules/customitems/item_defines.dm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/code/modules/customitems/item_defines.dm b/code/modules/customitems/item_defines.dm index 9f055d83a9e..33db62e4f41 100644 --- a/code/modules/customitems/item_defines.dm +++ b/code/modules/customitems/item_defines.dm @@ -181,18 +181,19 @@ attack_verb = "combed" force = 0 throwforce = 0 + w_class = 2 var/used = 0 -/obj/item/fluff/wingler_comb/attack_self(mob/user as mob) +/obj/item/fluff/wingler_comb/attack_self(mob/user) if(used) return var/mob/living/carbon/human/target = user - if(!istype(target) || !istype(target.species, /datum/species/tajaran)) // Only catbeasts, kthnx. + if(!istype(target) || target.get_species() != "Tajaran") // Only catbeasts, kthnx. return if(target.change_body_accessory("Jay Wingler Tail")) - to_chat(target, "You comb your tail with the [src].") + to_chat(target, "You comb your tail with the [src].") used = 1 ////////////////////////////////// @@ -513,4 +514,4 @@ update_icon() else - to_chat(user, "The [src] is out of ink!") \ No newline at end of file + to_chat(user, "The [src] is out of ink!")