Skip to content

Commit

Permalink
feat: Повязки на глаза с ХУДом. (#6010)
Browse files Browse the repository at this point in the history
* feat: Повязки на глаза с ХУДом.

* CHERRY BLOSSOM ICE TEA CHERRY BLOSSOM ICE TEA ;3 cherry blossom ice tea

* bro forgot the empty line
  • Loading branch information
Etrnlmelancholy authored Oct 15, 2024
1 parent 97c00a2 commit 0699510
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
31 changes: 31 additions & 0 deletions code/modules/client/preference/loadout/loadout_glasses.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,34 @@
display_name = "Security tactical glasses"
path = /obj/item/clothing/glasses/hud/security/sunglasses/tacticool
allowed_roles = list(JOB_TITLE_HOS, JOB_TITLE_WARDEN, JOB_TITLE_OFFICER, JOB_TITLE_PILOT)

/datum/gear/glasses/medhudpatch
display_name = "Medical HUD eyepatch"
path = /obj/item/clothing/glasses/hud/health/patch
allowed_roles = list(JOB_TITLE_CMO, JOB_TITLE_DOCTOR, JOB_TITLE_INTERN, JOB_TITLE_CHEMIST, JOB_TITLE_PSYCHIATRIST, JOB_TITLE_PARAMEDIC, JOB_TITLE_VIROLOGIST, JOB_TITLE_BRIGDOC, JOB_TITLE_CORONER)

/datum/gear/glasses/sechudpatch
display_name = "Security HUD eyepatch"
path = /obj/item/clothing/glasses/hud/security/patch
allowed_roles = list(JOB_TITLE_HOS, JOB_TITLE_WARDEN, JOB_TITLE_OFFICER, JOB_TITLE_PILOT, JOB_TITLE_JUDGE, JOB_TITLE_DETECTIVE)

/datum/gear/glasses/sechudpatch/read_only
display_name = "Security HUD eyepatch (read only)"
path = /obj/item/clothing/glasses/hud/security/patch/read_only
allowed_roles = list(JOB_TITLE_LAWYER)

/datum/gear/glasses/hydrohudpatch
display_name = "Hydroponic HUD eyepatch"
path = /obj/item/clothing/glasses/hud/hydroponic/patch
allowed_roles = list(JOB_TITLE_BOTANIST)

/datum/gear/glasses/diaghudpatch
display_name = "Diagnostic HUD eyepatch"
path = /obj/item/clothing/glasses/hud/diagnostic/patch
allowed_roles = list(JOB_TITLE_ROBOTICIST, JOB_TITLE_RD)

/datum/gear/glasses/skillhudpatch
display_name = "Skills HUD eyepatch"
path = /obj/item/clothing/glasses/hud/skills/patch
allowed_roles = list(JOB_TITLE_HOP, JOB_TITLE_CAPTAIN)

38 changes: 38 additions & 0 deletions code/modules/clothing/glasses/hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ MEDICAL
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_VISIBLE
prescription_upgradable = FALSE

/obj/item/clothing/glasses/hud/health/patch
name = "\improper Medical HUD Eyepatch"
desc = "A heads-up eyepatch that scans the humans in view and provides accurate data about their health status."
icon_state = "medhudpatch"
item_state = "medhudpatch"
prescription_upgradable = FALSE

/obj/item/clothing/glasses/hud/health/sunglasses
name = "medical sunglasses"
desc = "Sunglasses with a medical HUD."
Expand Down Expand Up @@ -147,6 +154,13 @@ DIAGNOSTIC
SPECIES_STOK = 'icons/mob/clothing/species/monkey/eyes.dmi'
)

/obj/item/clothing/glasses/hud/diagnostic/patch
name = "\improper Diagnostic HUD Eyepatch"
desc = "A heads-up eyepatch capable of analyzing the integrity and status of robotics and exosuits."
icon_state = "diaghudpatch"
item_state = "diaghudpatch"
prescription_upgradable = FALSE

/obj/item/clothing/glasses/hud/diagnostic/night
name = "\improper Night Vision Diagnostic HUD"
desc = "A robotics diagnostic HUD fitted with a light amplifier."
Expand Down Expand Up @@ -206,6 +220,16 @@ SECURITY
SPECIES_STOK = 'icons/mob/clothing/species/monkey/eyes.dmi'
)

/obj/item/clothing/glasses/hud/security/patch
name = "\improper Security HUD Eyepatch"
desc = "A heads-up eyepatch that scans the humans in view and provides accurate data about their ID status and security records."
icon_state = "sechudpatch"
item_state = "sechudpatch"
prescription_upgradable = FALSE

/obj/item/clothing/glasses/hud/security/patch/read_only
examine_extensions = EXAMINE_HUD_SECURITY_READ

/obj/item/clothing/glasses/hud/security/read_only
examine_extensions = EXAMINE_HUD_SECURITY_READ

Expand Down Expand Up @@ -327,6 +351,13 @@ HYDROPONIC
SPECIES_STOK = 'icons/mob/clothing/species/monkey/eyes.dmi'
)

/obj/item/clothing/glasses/hud/hydroponic/patch
name = "\improper Hydroponic HUD Eyepatch"
desc = "A heads-up eyepatch capable of analyzing the health and status of plants growing in hydro trays and soil."
icon_state = "hydrohudpatch"
item_state = "hydrohudpatch"
prescription_upgradable = FALSE

/obj/item/clothing/glasses/hud/hydroponic/night
name = "\improper Night Vision Hydroponic HUD"
desc = "A hydroponic HUD fitted with a light amplifier."
Expand Down Expand Up @@ -383,6 +414,13 @@ SKILLS
SPECIES_STOK = 'icons/mob/clothing/species/monkey/eyes.dmi'
)

/obj/item/clothing/glasses/hud/skills/patch
name = "\improper Skills HUD Eyepatch"
desc = "A heads-up eyepatch capable of showing the employment history records of NT crew members."
icon_state = "skillhudpatch"
item_state = "skillhudpatch"
prescription_upgradable = FALSE

/obj/item/clothing/glasses/hud/skills/sunglasses
name = "skills sunglasses"
desc = "Sunglasses with a build-in skills HUD, showing the employment history of nearby NT crew members."
Expand Down
Binary file modified icons/mob/clothing/eyes.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/glasses.dmi
Binary file not shown.

0 comments on commit 0699510

Please sign in to comment.