Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reagent scanner icon fix #784

Merged
merged 4 commits into from
Dec 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions code/game/objects/items/scanners.dm
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ REAGENT SCANNER
/obj/item/reagent_scanner
name = "reagent scanner"
desc = "A hand-held reagent scanner which identifies chemical agents."
icon = 'icons/obj/device.dmi'
icon_state = "spectrometer"
item_state = "analyzer"
w_class = WEIGHT_CLASS_SMALL
Expand All @@ -513,6 +514,11 @@ REAGENT SCANNER
var/details = FALSE
var/recent_fail = FALSE

/obj/item/reagent_scanner/adv
name = "advanced reagent scanner"
icon_state = "adv_spectrometer"
details = TRUE

/obj/item/reagent_scanner/afterattack(obj/O, mob/user as mob, proximity)
if(!proximity)
return
Expand All @@ -539,8 +545,3 @@ REAGENT SCANNER
else
recent_fail = TRUE
to_chat(user, span_notice("Chemicals found: [dat]"))

/obj/item/reagent_scanner/adv
name = "advanced reagent scanner"
icon_state = "adv_spectrometer"
details = TRUE
Loading