Fix unsupported tail spam

For vwag stuff.
This commit is contained in:
Arokha Sieyes
2017-03-26 19:55:47 -04:00
parent 4302d2373b
commit 32017be265
3 changed files with 9 additions and 7 deletions
@@ -2,7 +2,9 @@
switch(act)
if ("vwag")
toggle_tail()
toggle_tail_vr()
m_type = 1
message = "[wagging ? "starts" : "stops"] wagging their tail."
if ("mlem")
message = "mlems [get_visible_gender() == MALE ? "his" : get_visible_gender() == FEMALE ? "her" : "their"] tongue up over [get_visible_gender() == MALE ? "his" : get_visible_gender() == FEMALE ? "her" : "their"] nose. Mlem."
m_type = 1
@@ -53,7 +55,7 @@
return 0
/mob/living/carbon/human/proc/toggle_tail(var/setting)
/mob/living/carbon/human/proc/toggle_tail_vr(var/setting)
if(!tail_style || !tail_style.ani_state)
src << "<span class='warning'>You don't have a tail that supports this.</span>"
return
@@ -1120,7 +1120,7 @@ var/global/list/damage_icon_parts = list()
set_tail_state("[species.get_tail(src)]_idle[rand(0,9)]")
else
set_tail_state("[species.get_tail(src)]_static")
toggle_tail(0) //VOREStation Add - So tails stop when someone dies.
toggle_tail_vr(0) //VOREStation Add - So tails stop when someone dies.
if(update_icons)
update_icons()
@@ -551,28 +551,28 @@
do_colouration = 1
/datum/sprite_accessory/tail/curltail
name = "curltail (*vwag)"
name = "curltail (vwag)"
desc = ""
icon_state = "curltail"
ani_state = "curltail_w"
do_colouration = 1
/datum/sprite_accessory/tail/shorttail
name = "shorttail (*vwag)"
name = "shorttail (vwag)"
desc = ""
icon_state = "straighttail"
ani_state = "straighttail_w"
do_colouration = 1
/datum/sprite_accessory/tail/tiger_new
name = "tiger tail (*vwag)"
name = "tiger tail (vwag)"
desc = ""
icon_state = "tigertail"
ani_state = "tigertail_w"
do_colouration = 1
/datum/sprite_accessory/tail/vulp_new
name = "new vulp tail (*vwag)"
name = "new vulp tail (vwag)"
desc = ""
icon_state = "vulptail"
ani_state = "vulptail_w"