mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
tricorder moment (#19345)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user