Research Examines!

Science Goggles and the Prototype Hardsuit Helmet may now scan items for
their research potential and machines for their contents.

Examine an item to gain additional data.
- Tech levels
- Materials that can be salvaged from it if recycled
- Reliability rating
- Crit failure, if present.

Examine a machine to learn the components used to build it.
This commit is contained in:
GunHog
2015-10-07 13:45:51 -05:00
parent 4697cdb1df
commit 4a5caf968a
5 changed files with 56 additions and 7 deletions
+9 -1
View File
@@ -33,10 +33,18 @@
/obj/item/clothing/glasses/science
name = "Science Goggles"
desc = "A pair of snazzy goggles used to protect against chemical spills."
desc = "A pair of snazzy goggles used to protect against chemical spills. Fitted with an analyzer for scanning items."
icon_state = "purple"
item_state = "glasses"
/obj/item/clothing/glasses/science/equipped(mob/user, slot)
user.research_scanner = 1
..(user, slot)
/obj/item/clothing/glasses/science/dropped(mob/user)
user.research_scanner = initial(user.research_scanner) //Because some mobs might have it defaulted to 1.
..(user)
/obj/item/clothing/glasses/night
name = "Night Vision Goggles"
desc = "You can totally see in the dark now!"
@@ -324,6 +324,14 @@
max_heat_protection_temperature = FIRE_SUIT_MAX_TEMP_PROTECT
armor = list(melee = 10, bullet = 5, laser = 10, energy = 5, bomb = 100, bio = 100, rad = 60)
/obj/item/clothing/head/helmet/space/hardsuit/rd/equipped(mob/user, slot)
user.research_scanner = 1
..(user, slot)
/obj/item/clothing/head/helmet/space/hardsuit/rd/dropped(mob/user)
user.research_scanner = 0
..(user)
/obj/item/clothing/suit/space/hardsuit/rd
icon_state = "hardsuit-rd"
name = "prototype hardsuit"
+2
View File
@@ -93,6 +93,8 @@
var/datum/hud/hud_used = null
var/research_scanner = 0 //For research scanner equipped mobs. Enable to show research data when examining.
var/list/grabbed_by = list( )
var/list/requests = list( )