From e76411cd50a065ddf2fec6c485be6f77479ef316 Mon Sep 17 00:00:00 2001 From: GunHog Date: Thu, 8 Oct 2015 18:31:19 -0500 Subject: [PATCH] Buildable Science goggles - You can now build Science Goggles at a protolathe. - Fixes small var derp --- code/game/machinery/machinery.dm | 2 +- code/modules/research/designs.dm | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/machinery.dm b/code/game/machinery/machinery.dm index 34a20ca0f5a..eb20f9248e9 100644 --- a/code/game/machinery/machinery.dm +++ b/code/game/machinery/machinery.dm @@ -412,7 +412,7 @@ Class Procs: /obj/machinery/proc/display_parts(mob/user) user << "Following parts detected in the machine:" - for(var/var/obj/item/C in component_parts) + for(var/obj/item/C in component_parts) user << "\icon[C] [C.name]" /obj/machinery/examine(mob/user) diff --git a/code/modules/research/designs.dm b/code/modules/research/designs.dm index f4db3ab9ba2..91dc1ccf37d 100644 --- a/code/modules/research/designs.dm +++ b/code/modules/research/designs.dm @@ -379,6 +379,16 @@ other types of metals and chemistry for reagents). build_path = /obj/item/clothing/shoes/magboots category = list("Equipment") +/datum/design/sci_goggles + name = "Science Goggles" + desc = "Goggles fitted with a portable analyzer capable of determining the research worth of an item or components of a machine." + id = "scigoggles" + req_tech = list("materials" = 3, "magnets" = 3, "engineering" = 2) + build_type = PROTOLATHE + materials = list(MAT_METAL = 250, MAT_GLASS = 300) + build_path = /obj/item/clothing/glasses/science + category = list("Equipment") + ///////////////////////////////////////// ////////////Janitor Designs////////////// /////////////////////////////////////////