mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
Adds Contaminant Detector HUD (#15970)
This commit is contained in:
@@ -193,6 +193,7 @@ var/global/list/image/splatter_cache=list()
|
||||
|
||||
icon = blood
|
||||
cut_overlays()
|
||||
add_overlay(janhud)
|
||||
add_overlay(giblets)
|
||||
|
||||
/obj/effect/decal/cleanable/blood/gibs/up
|
||||
|
||||
@@ -130,6 +130,7 @@ var/global/list/image/fluidtrack_cache=list()
|
||||
|
||||
/obj/effect/decal/cleanable/blood/tracks/update_icon()
|
||||
cut_overlays()
|
||||
add_overlay(janhud)
|
||||
color = "#FFFFFF"
|
||||
var/truedir=0
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ generic_filth = TRUE means when the decal is saved, it will be switched out for
|
||||
var/generic_filth = FALSE
|
||||
var/age = 0
|
||||
var/list/random_icon_states = list()
|
||||
var/list/janhud = list()
|
||||
|
||||
/obj/effect/decal/cleanable/Initialize(var/mapload, var/_age)
|
||||
if(!isnull(_age))
|
||||
@@ -20,10 +21,13 @@ generic_filth = TRUE means when the decal is saved, it will be switched out for
|
||||
src.icon_state = pick(src.random_icon_states)
|
||||
if(!mapload || !config.persistence_ignore_mapload)
|
||||
SSpersistence.track_value(src, /datum/persistent/filth)
|
||||
janhud += gen_hud_image(ingame_hud, src, "janhud[rand(1,9)]", plane = PLANE_JANHUD)
|
||||
add_overlay(janhud)
|
||||
. = ..()
|
||||
|
||||
/obj/effect/decal/cleanable/Destroy()
|
||||
SSpersistence.forget_value(src, /datum/persistent/filth)
|
||||
cut_overlays()
|
||||
. = ..()
|
||||
|
||||
/obj/effect/decal/cleanable/clean_blood(var/ignore = 0)
|
||||
|
||||
@@ -59,6 +59,12 @@
|
||||
icon_state = "material"
|
||||
icon = 'icons/inventory/eyes/item.dmi'
|
||||
|
||||
/obj/item/borg/sight/janitor
|
||||
name = "\proper contaminant detector vision"
|
||||
sight_mode = BORGJAN
|
||||
icon_state = "janhud"
|
||||
icon = 'icons/inventory/eyes/item.dmi'
|
||||
|
||||
/obj/item/borg/sight/anomalous
|
||||
name = "\proper anomaly vision"
|
||||
sight_mode = BORGANOMALOUS
|
||||
|
||||
@@ -485,7 +485,8 @@
|
||||
/obj/item/taperoll,
|
||||
/obj/item/weapon/reagent_containers/spray,
|
||||
/obj/item/weapon/soap,
|
||||
/obj/item/device/lightreplacer //VOREStation edit
|
||||
/obj/item/device/lightreplacer,
|
||||
/obj/item/clothing/glasses/hud/janitor
|
||||
)
|
||||
|
||||
/obj/item/weapon/storage/belt/archaeology
|
||||
|
||||
@@ -915,6 +915,7 @@
|
||||
/obj/item/clothing/head/soft/purple,
|
||||
/obj/item/weapon/storage/belt/janitor,
|
||||
/obj/item/clothing/shoes/galoshes,
|
||||
/obj/item/clothing/glasses/hud/janitor,
|
||||
/obj/item/weapon/storage/bag/trash,
|
||||
/obj/item/device/lightreplacer,
|
||||
/obj/item/weapon/reagent_containers/spray/cleaner,
|
||||
@@ -1193,6 +1194,7 @@
|
||||
/obj/item/clothing/head/soft/purple,
|
||||
/obj/item/weapon/storage/belt/janitor,
|
||||
/obj/item/clothing/shoes/galoshes,
|
||||
/obj/item/clothing/glasses/hud/janitor,
|
||||
/obj/item/weapon/storage/bag/trash,
|
||||
/obj/item/device/lightreplacer,
|
||||
/obj/item/weapon/reagent_containers/spray/cleaner,
|
||||
|
||||
@@ -80,7 +80,8 @@
|
||||
/obj/item/device/lightreplacer,
|
||||
/obj/item/weapon/storage/bag/trash,
|
||||
/obj/item/weapon/storage/belt/janitor,
|
||||
/obj/item/clothing/shoes/galoshes
|
||||
/obj/item/clothing/shoes/galoshes,
|
||||
/obj/item/clothing/glasses/hud/janitor
|
||||
)
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user