Inane Optimizations And General Pedantry

This commit is contained in:
SamCroswell
2016-07-11 02:42:28 -04:00
parent 7bc47b3945
commit f5f6817a44

View File

@@ -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, "<span class = 'notice'>You comb your tail with the [src].</span>")
to_chat(target, "<span class='notice'>You comb your tail with the [src].</span>")
used = 1
//////////////////////////////////
@@ -513,4 +514,4 @@
update_icon()
else
to_chat(user, "<span class='notice'>The [src] is out of ink!</span>")
to_chat(user, "<span class='notice'>The [src] is out of ink!</span>")