Skip to content

Commit

Permalink
Glasses
Browse files Browse the repository at this point in the history
  • Loading branch information
lolybomb committed Oct 24, 2024
1 parent 10f1c92 commit f68ffb3
Show file tree
Hide file tree
Showing 8 changed files with 103 additions and 0 deletions.
56 changes: 56 additions & 0 deletions code/modules/client/preference/loadout/loadout_donor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,62 @@
..()
gear_tweaks += new /datum/gear_tweak/color(parent = src)

/datum/gear/donor/heart_meson
display_name = "Heart Meson Glasses"
path = /obj/item/clothing/glasses/meson/heart
donator_tier = 4
cost = 2
slot = ITEM_SLOT_EYES
allowed_roles = list(JOB_TITLE_CHIEF, JOB_TITLE_ENGINEER, JOB_TITLE_ATMOSTECH, JOB_TITLE_MECHANIC, JOB_TITLE_QUARTERMASTER, JOB_TITLE_MINER, JOB_TITLE_CAPTAIN)

/datum/gear/donor/heart_science
display_name = "Heart Science Glasses"
path = /obj/item/clothing/glasses/science/heart
donator_tier = 4
cost = 2
slot = ITEM_SLOT_EYES
allowed_roles = list(JOB_TITLE_CAPTAIN, JOB_TITLE_SCIENTIST, JOB_TITLE_ROBOTICIST, JOB_TITLE_RD, JOB_TITLE_GENETICIST, JOB_TITLE_CHEMIST)

/datum/gear/donor/heart_health
display_name = "Heart Medical Glasses"
path = /obj/item/clothing/glasses/hud/health/heart
donator_tier = 4
cost = 2
slot = ITEM_SLOT_EYES
allowed_roles = list(JOB_TITLE_CAPTAIN, JOB_TITLE_CMO, JOB_TITLE_INTERN, JOB_TITLE_PARAMEDIC, JOB_TITLE_VIROLOGIST, JOB_TITLE_BLUESHIELD, JOB_TITLE_PSYCHIATRIST, JOB_TITLE_DOCTOR)

/datum/gear/donor/heart_diagnostic
display_name = "Heart Medical Glasses"
path = /obj/item/clothing/glasses/hud/diagnostic/heart
donator_tier = 4
cost = 2
slot = ITEM_SLOT_EYES
allowed_roles = list(JOB_TITLE_CAPTAIN, JOB_TITLE_RD, JOB_TITLE_ROBOTICIST)

/datum/gear/donor/heart_security
display_name = "Heart Security Glasses"
path = /obj/item/clothing/glasses/hud/security/sunglasses/heart
donator_tier = 4
cost = 2
slot = ITEM_SLOT_EYES
allowed_roles = list(JOB_TITLE_CAPTAIN, JOB_TITLE_DETECTIVE, JOB_TITLE_PILOT, JOB_TITLE_HOS, JOB_TITLE_WARDEN, JOB_TITLE_BLUESHIELD, JOB_TITLE_JUDGE, JOB_TITLE_OFFICER)

/datum/gear/donor/heart_hydroponic
display_name = "Heart Hydroponic Glasses"
path = /obj/item/clothing/glasses/hud/heart
donator_tier = 4
cost = 2
slot = ITEM_SLOT_EYES
allowed_roles = list(JOB_TITLE_CAPTAIN, JOB_TITLE_BOTANIST)

/datum/gear/donor/heart_skills
display_name = "Heart Skills Glasses"
path = /obj/item/clothing/glasses/hud/skills/heart
donator_tier = 4
cost = 2
slot = ITEM_SLOT_EYES
allowed_roles = list(JOB_TITLE_CAPTAIN, JOB_TITLE_REPRESENTATIVE, JOB_TITLE_BLUESHIELD, JOB_TITLE_HOP, JOB_TITLE_QUARTERMASTER, JOB_TITLE_JUDGE)

/datum/gear/donor/night_dress
display_name = "night dress, select"
description = "A classic night dress."
Expand Down
13 changes: 13 additions & 0 deletions code/modules/clothing/glasses/glasses.dm
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@
flash_protect = FLASH_PROTECTION_FLASH
tint = 1

/obj/item/clothing/glasses/meson/heart
name = "Heart Meson Glasses"
desc = "Модные очки в форме сердечек с встроенным ИЛС под рабочие нужды."
icon_state = "heart_meson"
item_state = "heart_meson"
prescription_upgradable = FALSE

/obj/item/clothing/glasses/meson/night
name = "Night Vision Optical Meson Scanner"
desc = "An Optical Meson Scanner fitted with an amplified visible light spectrum overlay, providing greater visual clarity in darkness."
Expand Down Expand Up @@ -186,6 +193,12 @@
see_in_dark = 8
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_INVISIBLE //don't render darkness while wearing these

/obj/item/clothing/glasses/science/heart
name = "Heart Science Glasses"
desc = "Модные очки в форме сердечек с встроенным ИЛС под рабочие нужды."
icon_state = "heart_science"
item_state = "heart_science"

/obj/item/clothing/glasses/janitor
name = "Janitorial Goggles"
desc = "These'll keep the soap out of your eyes."
Expand Down
34 changes: 34 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/heart
name = "Heart Medical Glasses"
desc = "Модные очки в форме сердечек с встроенным ИЛС под рабочие нужды."
icon_state = "heart_med"
item_state = "heart_med"
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."
Expand Down Expand Up @@ -161,6 +168,13 @@ DIAGNOSTIC
item_state = "diaghudpatch"
prescription_upgradable = FALSE

/obj/item/clothing/glasses/hud/diagnostic/heart
name = "Heart Medical Glasses"
desc = "Модные очки в форме сердечек с встроенным ИЛС под рабочие нужды."
icon_state = "heart_diagnostic"
item_state = "heart_diagnostic"
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 @@ -262,6 +276,12 @@ SECURITY
SPECIES_STOK = 'icons/mob/clothing/species/monkey/eyes.dmi'
)

/obj/item/clothing/glasses/hud/security/sunglasses/heart
name = "Heart Security Glasses"
desc = "Модные очки в форме сердечек с встроенным ИЛС под рабочие нужды."
icon_state = "heart_sec"
item_state = "heart_sec"

/obj/item/clothing/glasses/hud/security/sunglasses/tacticool
name = "security tactical glasses"
desc = "Ballistic glasses with a security HUD. Gives you tacticool protection and selfish increase. The elastic band allows it to be worn over a helmet."
Expand Down Expand Up @@ -358,6 +378,13 @@ HYDROPONIC
item_state = "hydrohudpatch"
prescription_upgradable = FALSE

/obj/item/clothing/glasses/hud/heart
name = "Heart Hydroponic Glasses"
desc = "Модные очки в форме сердечек с встроенным ИЛС под рабочие нужды."
icon_state = "heart_hydro"
item_state = "heart_hydro"
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 @@ -421,6 +448,13 @@ SKILLS
item_state = "skillhudpatch"
prescription_upgradable = FALSE

/obj/item/clothing/glasses/hud/skills/heart
name = "Heart Skills Glasses"
desc = "Модные очки в форме сердечек с встроенным ИЛС под рабочие нужды."
icon_state = "heart_skill"
item_state = "heart_skill"
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/mob/clothing/species/drask/eyes.dmi
Binary file not shown.
Binary file modified icons/mob/clothing/species/grey/eyes.dmi
Binary file not shown.
Binary file modified icons/mob/clothing/species/monkey/eyes.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/glasses.dmi
Binary file not shown.

0 comments on commit f68ffb3

Please sign in to comment.