From 1f0a456085aa4808a63f06ee361ee7a199a3cb36 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Sat, 24 Feb 2018 06:05:18 -0600 Subject: [PATCH] [MIRROR] Reskinning objects now shows the possible appearances in chat (#5680) * Reskinning now shows options in chat (#35910) * Reskinning objects now shows the possible appearances in chat --- 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 55dc92b2b4..fdd331a6f1 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])