mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-31 07:58:22 +01:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user