From 73f1417eefc46d699f0b8459b08f9c335d88e566 Mon Sep 17 00:00:00 2001 From: LiteralMushroom <79603707+LiteralMushroom@users.noreply.github.com> Date: Sat, 7 May 2022 15:04:06 -0400 Subject: [PATCH] first commit (probably doesn't work) --- .../carbon/human/innate_abilities/customization.dm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/code/modules/mob/living/carbon/human/innate_abilities/customization.dm b/code/modules/mob/living/carbon/human/innate_abilities/customization.dm index f395dfd556..b9c665453e 100644 --- a/code/modules/mob/living/carbon/human/innate_abilities/customization.dm +++ b/code/modules/mob/living/carbon/human/innate_abilities/customization.dm @@ -116,6 +116,20 @@ if(new_snout) H.dna.features["mam_snouts"] = new_snout H.update_body() + + else if (select_alteration == "Wings") + var/list/snowflake_wings_list = list("Normal" = null) + for(var/path in GLOB.deco_wings_list) + var/datum/sprite_accessory/wings/deco_wings/instance = GLOB.deco_wings_list[path] + if(istype(instance, /datum/sprite_accessory)) + var/datum/sprite_accessory/S = instance + if((!S.ckeys_allowed) || (S.ckeys_allowed.Find(H.client.ckey))) + snowflake_wings_list[S.name] = path + var/new_wings + new_wings = input(owner, "Choose your character's wings:", "Wing Alteration") as null|anything in snowflake_wings_list + if(new_wings) + H.dna.features["deco_wings"] = new_wings + H.update_body() else if (select_alteration == "Markings") var/list/snowflake_markings_list = list("None")