Allow anyone with a body_accessory to use the tail-wag verbs.

This commit is contained in:
Tigercat2000
2015-09-12 08:02:58 -07:00
parent aa508b42a6
commit 49b54508cd
@@ -116,7 +116,12 @@
m_type = 1
if("wag")
if(species.bodyflags & TAIL_WAGGING)
if(body_accessory)
if(body_accessory.try_restrictions(src))
message = "<B>[src]</B> starts wagging \his tail."
start_tail_wagging(1)
else if(species.bodyflags & TAIL_WAGGING)
if(!wear_suit || !(wear_suit.flags_inv & HIDETAIL) && !istype(wear_suit, /obj/item/clothing/suit/space))
message = "<B>[src]</B> starts wagging \his tail."
src.start_tail_wagging(1)
@@ -126,7 +131,7 @@
return
if("swag")
if(species.bodyflags & TAIL_WAGGING)
if(species.bodyflags & TAIL_WAGGING || body_accessory)
message = "<B>[src]</B> stops wagging \his tail."
src.stop_tail_wagging(1)
else