From b9a7e3ef6b49efb663edb49e2a49a1be2e87331e Mon Sep 17 00:00:00 2001 From: Ashe Higgs Date: Sat, 24 Feb 2018 00:03:22 -0500 Subject: [PATCH] Reskinning now shows options in chat (#35910) --- code/game/objects/objs.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/game/objects/objs.dm b/code/game/objects/objs.dm index 55dc92b2b4f..fdd331a6f12 100644 --- a/code/game/objects/objs.dm +++ b/code/game/objects/objs.dm @@ -226,6 +226,11 @@ /obj/proc/reskin_obj(mob/M) if(!LAZYLEN(unique_reskin)) return + to_chat(M, "Reskin options for [name]:") + for(var/V in unique_reskin) + var/output = icon2html(src, M, unique_reskin[V]) + to_chat(M, "[V]: [output]") + var/choice = input(M,"Warning, you can only reskin [src] once!","Reskin Object") as null|anything in unique_reskin if(!QDELETED(src) && choice && !current_skin && !M.incapacitated() && in_range(M,src)) if(!unique_reskin[choice])