Making cocoons a positive trait

Also fixed a found issue that prevented custom species from generating a list of wings/tails/ears.
This commit is contained in:
FartMaster69420
2022-05-08 14:21:28 -04:00
parent c270354fe7
commit 8bde8b299f
4 changed files with 14 additions and 12 deletions
@@ -551,7 +551,7 @@
// VOREStation Add - Ears/Tails/Wings
/datum/tgui_module/appearance_changer/proc/can_use_sprite(datum/sprite_accessory/X, mob/living/carbon/human/target, mob/user)
if(!isnull(X.species_allowed) && !(target.species.name in X.species_allowed))
if(!isnull(X.species_allowed) && !(target.species.name in X.species_allowed) && (!istype(target.species, /datum/species/custom))) // Letting custom species access wings/ears/tails.
return FALSE
if(LAZYLEN(X.ckeys_allowed) && !(user?.ckey in X.ckeys_allowed) && !(target.ckey in X.ckeys_allowed))
@@ -47,6 +47,8 @@
// Cocoon Stuff
/datum/tgui_module/appearance_changer/cocoon
name ="Appearance Editor (Cocoon)"
flags = APPEARANCE_ALL_HAIR
customize_usr = TRUE
/datum/tgui_module/appearance_changer/cocoon/tgui_status(mob/user, datum/tgui_state/state)
//if(!istype(owner.loc, /obj/item/weapon/storage/vore_egg/bugcocoon))