first commit (probably doesn't work)

This commit is contained in:
LiteralMushroom
2022-05-07 15:04:06 -04:00
committed by GitHub
parent bb1a7a61a2
commit 73f1417eef
@@ -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")