diff --git a/code/game/mecha/mecha_construction_paths.dm b/code/game/mecha/mecha_construction_paths.dm index f8905e7e7b..3d06a3d91a 100644 --- a/code/game/mecha/mecha_construction_paths.dm +++ b/code/game/mecha/mecha_construction_paths.dm @@ -8,38 +8,39 @@ /datum/component/construction/mecha/examine(mob/user) . = ..() if(looky_helpy) - if("key" == TOOL_WRENCH) - desc += "The mech could be wrenched into place." - if("key" == TOOL_SCREWDRIVER) - desc += "The mech could be screwed into place." - if("key" == TOOL_WIRECUTTER) - desc += "The mech wires could be trimmed into place." - if("key" == /obj/item/stack/cable_coil) - desc += "The mech could use some wiring." - if("key" == /obj/item/circuitboard) - desc += "The mech could use a type ofcircuitboard." - if("key" == /obj/item/stock_parts/scanning_module) - desc += "The mech could use a scanning stock part." - if("key" == /obj/item/stock_parts/capacitor) - desc += "The mech could use a power based stock part." - if("key" == /obj/item/stock_parts/cell) - desc += "The mech could use a power source." - if("key" == /obj/item/stack/sheet/metal) - desc += "The mech could use some sheets of metal." - if("key" == /obj/item/stack/sheet/plasteel) - desc += "The mech could use some sheets of strong steel." - if("key" == /obj/item/bikehorn) - desc += "HONK IT!." - if("key" == /obj/item/clothing/mask/gas/clown_hat) - desc += "GIVE IT CLOWN MAKEUP HONK!." - if("key" == /obj/item/clothing/shoes/clown_shoes) - desc += "GIVE IT GOOFY SHOES HONK HONK!." - if("key" == /obj/item/mecha_parts/part) - desc += "The mech could use a mech part." - if("key" == /obj/item/stack/ore/bluespace_crystal) - desc += "The mech could use a crystal of sorts." - if("key" == /obj/item/assembly/signaler/anomaly) - desc += "The mech could use a anomaly of sorts." + switch(key) + if(TOOL_WRENCH) + desc += "The mech could be wrenched into place." + if(TOOL_SCREWDRIVER) + desc += "The mech could be screwed into place." + if(TOOL_WIRECUTTER) + desc += "The mech wires could be trimmed into place." + if(/obj/item/stack/cable_coil) + desc += "The mech could use some wiring." + if(/obj/item/circuitboard) + desc += "The mech could use a type ofcircuitboard." + if(/obj/item/stock_parts/scanning_module) + desc += "The mech could use a scanning stock part." + if(/obj/item/stock_parts/capacitor) + desc += "The mech could use a power based stock part." + if(/obj/item/stock_parts/cell) + desc += "The mech could use a power source." + if(/obj/item/stack/sheet/metal) + desc += "The mech could use some sheets of metal." + if(/obj/item/stack/sheet/plasteel) + desc += "The mech could use some sheets of strong steel." + if(/obj/item/bikehorn) + desc += "HONK IT!." + if(/obj/item/clothing/mask/gas/clown_hat) + desc += "GIVE IT CLOWN MAKEUP HONK!." + if(/obj/item/clothing/shoes/clown_shoes) + desc += "GIVE IT GOOFY SHOES HONK HONK!." + if(/obj/item/mecha_parts/part) + desc += "The mech could use a mech part." + if(/obj/item/stack/ore/bluespace_crystal) + desc += "The mech could use a crystal of sorts." + if(/obj/item/assembly/signaler/anomaly) + desc += "The mech could use a anomaly of sorts." else return