tricorder moment (#19345)

This commit is contained in:
SapphicOverload
2023-06-21 21:41:47 -04:00
committed by GitHub
parent 78e98aa643
commit d48f5e134f
11 changed files with 22 additions and 52 deletions

View File

@@ -12,7 +12,7 @@ TRICORDER
/obj/item/multitool/tricorder
name = "tricorder"
desc = "A multifunction handheld device useful for data sensing, analysis, and recording."
desc = "A multifunctional handheld device useful for data sensing, analysis, and recording."
icon = 'yogstation/icons/obj/device.dmi'
icon_state = "tricorder"
item_state = "tricorder"
@@ -56,10 +56,17 @@ TRICORDER
return
//Gas Analyzer Tank Scan
/obj/item/multitool/tricorder/afterattack(atom/A as obj, mob/user, proximity)
if(!proximity)
return
A.analyzer_act(user, src)
/obj/item/multitool/tricorder/afterattack(atom/target as obj, mob/user, proximity)
add_fingerprint(user)
if(istype(target, /turf))
var/turf/U = get_turf(target)
atmosanalyzer_scan(user, U)
else if(istype(target, /obj/effect/anomaly))
var/obj/effect/anomaly/A = target
A.analyzer_act(user, src)
to_chat(user, span_notice("Analyzing... [A]'s unstable field is fluctuating along frequency [format_frequency(A.aSignal.frequency)], code [A.aSignal.code]."))
else
target.analyzer_act(user, src)
//Gas Analyzer Turf Scan
/obj/item/multitool/tricorder/attack_self(mob/user)

View File

@@ -3,13 +3,13 @@
name = "mining medic's jacket"
desc = "A protective jacket for medical emergencies on off-world planets. Has MM embossed into it."
armor = list(melee = 10, bullet = 10, laser = 0,energy = 0, bomb = 0, bio = 50, rad = 0, fire = 50, acid = 50)
allowed = list(/obj/item/analyzer,/obj/item/stack/medical,/obj/item/dnainjector,/obj/item/reagent_containers/dropper,/obj/item/reagent_containers/syringe,/obj/item/reagent_containers/autoinjector,/obj/item/healthanalyzer,/obj/item/flashlight/pen,/obj/item/reagent_containers/glass/bottle,/obj/item/reagent_containers/glass/beaker,/obj/item/reagent_containers/pill,/obj/item/storage/pill_bottle,/obj/item/paper,/obj/item/melee/classic_baton/telescopic,/obj/item/soap,/obj/item/sensor_device,/obj/item/tank/internals, /obj/item/hypospray)
allowed = list(/obj/item/analyzer,/obj/item/multitool/tricorder,/obj/item/stack/medical,/obj/item/dnainjector,/obj/item/reagent_containers/dropper,/obj/item/reagent_containers/syringe,/obj/item/reagent_containers/autoinjector,/obj/item/healthanalyzer,/obj/item/flashlight/pen,/obj/item/reagent_containers/glass/bottle,/obj/item/reagent_containers/glass/beaker,/obj/item/reagent_containers/pill,/obj/item/storage/pill_bottle,/obj/item/paper,/obj/item/melee/classic_baton/telescopic,/obj/item/soap,/obj/item/sensor_device,/obj/item/tank/internals, /obj/item/hypospray)
/obj/item/clothing/suit/toggle/labcoat/explorer
name = "mining medic's labcoat"
desc = "A protective labcoat for medical emergencies on off-world planets."
armor = list(melee = 10, bullet = 10, laser = 0,energy = 0, bomb = 0, bio = 50, rad = 0, fire = 50, acid = 50)
allowed = list(/obj/item/analyzer,/obj/item/stack/medical,/obj/item/dnainjector,/obj/item/reagent_containers/dropper,/obj/item/reagent_containers/syringe,/obj/item/reagent_containers/autoinjector,/obj/item/healthanalyzer,/obj/item/flashlight/pen,/obj/item/reagent_containers/glass/bottle,/obj/item/reagent_containers/glass/beaker,/obj/item/reagent_containers/pill,/obj/item/storage/pill_bottle,/obj/item/paper,/obj/item/melee/classic_baton/telescopic,/obj/item/soap,/obj/item/sensor_device,/obj/item/tank/internals, /obj/item/hypospray)
allowed = list(/obj/item/analyzer,/obj/item/multitool/tricorder,/obj/item/stack/medical,/obj/item/dnainjector,/obj/item/reagent_containers/dropper,/obj/item/reagent_containers/syringe,/obj/item/reagent_containers/autoinjector,/obj/item/healthanalyzer,/obj/item/flashlight/pen,/obj/item/reagent_containers/glass/bottle,/obj/item/reagent_containers/glass/beaker,/obj/item/reagent_containers/pill,/obj/item/storage/pill_bottle,/obj/item/paper,/obj/item/melee/classic_baton/telescopic,/obj/item/soap,/obj/item/sensor_device,/obj/item/tank/internals, /obj/item/hypospray)
mob_overlay_icon = 'yogstation/icons/mob/clothing/suit/suit.dmi'
icon = 'yogstation/icons/obj/clothing/suits.dmi'
icon_state = "labcoat_mining"