From a95073eaedb98a3b736345382c62fc24cb21da55 Mon Sep 17 00:00:00 2001 From: Cactus Date: Wed, 21 Aug 2019 19:00:56 -0400 Subject: [PATCH] examine text helper list let's name the chassis something different than the icon state haha --- code/modules/mob/living/silicon/pai/pai_vr.dm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/code/modules/mob/living/silicon/pai/pai_vr.dm b/code/modules/mob/living/silicon/pai/pai_vr.dm index 4700660ad9..54ce534ddd 100644 --- a/code/modules/mob/living/silicon/pai/pai_vr.dm +++ b/code/modules/mob/living/silicon/pai/pai_vr.dm @@ -71,3 +71,20 @@ chassis = possible_chassis[choice] verbs |= /mob/living/proc/hide update_icon() + +//Invert list of the chassis list if you need the name of the chassis but only have the chassis's icon state +/mob/living/silicon/pai + var/list/chassis_names = list( + "repairbot" = "Drone", + "cat" = "Cat", + "mouse" = "Mouse", + "monkey" = "Monkey", + "borgi" = "Corgi", + "fox" = "Fox", + "parrot" = "Parrot", + "rabbit" = "Rabbit", + "bear" = "Bear", + "raccoon" = "Raccoon", + "rat" = "rat", + "panther" = "Panther" + )