Prevent Skrell tentacles from being shaved

This commit is contained in:
Tayyyyyyy
2017-05-21 22:04:05 -07:00
parent 461db15e3c
commit 0de4b320fa
+2 -2
View File
@@ -133,7 +133,7 @@
if((C.species && C.species.flags & ALL_RPARTS) && robohead.is_monitor) //If the target is of a species that can have prosthetic heads, but the head doesn't support human hair 'wigs'...
to_chat(user, "<span class='warning'>You find yourself disappointed at the appalling lack of hair.</span>")
return
if(C.h_style == "Bald" || C.h_style == "Balding Hair" || C.h_style == "Skinhead")
if(C.h_style == "Bald" || C.h_style == "Balding Hair" || C.h_style == "Skinhead" || findtextEx(C.h_style, "Skrell"))
to_chat(user, "<span class='notice'>There is not enough hair left to shave...</span>")
return
if(H == user) //shaving yourself
@@ -160,4 +160,4 @@
else
..()
else
..()
..()