From b7f746d466359ec981057562ff005e8ecd99dec0 Mon Sep 17 00:00:00 2001 From: Batrachophreno Date: Sun, 6 Jul 2025 20:53:56 -0400 Subject: [PATCH] Offbrand sightlights (#20722) (DISCLAIMER: I currently mostly play an engineer!) Sightlights are currently only available to Medical, Science, and Bridge personnel- but arguably (strongly arguably) Engineering is actually the department most likely to be regularly walking through very dark areas (see: areas with power outages, and maintenance tunnels). Certainly more commonly than Med and Bridge in almost any given shift! I don't think this is particularly balance-breaking, and I think it makes a lot of sense, so here it is. Also minor cleanup to description. --------- Signed-off-by: Batrachophreno Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com> --- .../loadout/items/augments.dm | 10 +++- .../subtypes/augment/augments/sight_lights.dm | 18 ++++-- .../Batrachophreno-SightlightsOffbrand.yml | 59 +++++++++++++++++++ 3 files changed, 81 insertions(+), 6 deletions(-) create mode 100644 html/changelogs/Batrachophreno-SightlightsOffbrand.yml diff --git a/code/modules/client/preference_setup/loadout/items/augments.dm b/code/modules/client/preference_setup/loadout/items/augments.dm index a4ddfbcf719..11f84109f3c 100644 --- a/code/modules/client/preference_setup/loadout/items/augments.dm +++ b/code/modules/client/preference_setup/loadout/items/augments.dm @@ -193,14 +193,20 @@ allowed_roles = list("Physician", "Surgeon", "Chief Medical Officer", "Pharmacist", "Paramedic", "Psychiatrist", "Medical Intern", "Corporate Liaison", "Research Director","Scientist", "Xenobiologist", "Xenobotanist", "Xenoarchaeologist", "Research Intern", "Assistant", "Off-Duty Crew Member", "Corporate Reporter", "Captain", "Bridge Crew", "Medical Personnel", "Science Personnel") /datum/gear/augment/sightlights - display_name = "ocular installed sightlights" - description = "Designed to assist Zeng-Hu medical personnel in darker areas or places experiencing periodic power issues, Sightlights will allow one to be able to use their eyes as a flashlight." + display_name = "Zeng-Hu ocular sightlights" + description = "Designed to assist Zeng-Hu medical personnel in darker areas or places experiencing periodic power issues, Sightlights allow one to use their eyes as a flashlight. These are the original high-spec models available exclusively through Zeng-Hu." path = /obj/item/organ/internal/augment/sightlights whitelisted = list(SPECIES_HUMAN, SPECIES_HUMAN_OFFWORLD, SPECIES_VAURCA_WORKER, SPECIES_VAURCA_WARRIOR, SPECIES_VAURCA_ATTENDANT, SPECIES_VAURCA_BULWARK, SPECIES_SKRELL, SPECIES_SKRELL_AXIORI, SPECIES_IPC, SPECIES_IPC_G1, SPECIES_IPC_G2, SPECIES_IPC_XION, SPECIES_IPC_ZENGHU, SPECIES_IPC_BISHOP, SPECIES_IPC_SHELL) faction = "Zeng-Hu Pharmaceuticals" cost = 3 allowed_roles = list("Physician", "Surgeon", "Chief Medical Officer", "Pharmacist", "Paramedic", "Psychiatrist", "Medical Intern", "Corporate Liaison", "Research Director","Scientist", "Xenobiologist", "Xenobotanist", "Xenoarchaeologist", "Research Intern", "Assistant", "Off-Duty Crew Member", "Corporate Reporter", "Captain", "Bridge Crew", "Medical Personnel", "Science Personnel") +/datum/gear/augment/sightlights/generic + display_name = "offbrand ocular sightlights" + description = "Designed to assist personnel in darker areas or places experiencing periodic power issues, sightlights allow one to use their eyes as a flashlight. Later SCC-mediated negotiation loosened the augment's patent restrictions, allowing offbrand manufacture and use of lesser models by other members of the Chainlink." + path = /obj/item/organ/internal/augment/sightlights/generic + cost = 3 + /datum/gear/augment/zenghu_mask display_name = "zeng-hu facial augment selection" description = "A clear sign of Zeng-Hu's best, this plate bearing the company's symbol is installed on those who prove themselves in the hyper-competitive environment." diff --git a/code/modules/organs/subtypes/augment/augments/sight_lights.dm b/code/modules/organs/subtypes/augment/augments/sight_lights.dm index c7f2a75918c..872097dab8d 100644 --- a/code/modules/organs/subtypes/augment/augments/sight_lights.dm +++ b/code/modules/organs/subtypes/augment/augments/sight_lights.dm @@ -1,7 +1,6 @@ /obj/item/organ/internal/augment/sightlights - name = "ocular installed sightlights " - desc = "Designed to assist medical personnel in darker areas or places experiencing periodic power issues, " \ - + "Sightlights will allow one to be able to use their eyes as a flashlight." + name = "Zeng-Hu ocular sightlights" + desc = "Designed to assist Zeng-Hu medical personnel in darker areas or places experiencing periodic power issues, sightlights will allow one to be able to use their eyes as a flashlight. These are the original high-spec models available exclusively through Zeng-Hu." icon_state = "sightlights" organ_tag = BP_AUG_SIGHTLIGHTS parent_organ = BP_HEAD @@ -10,6 +9,17 @@ cooldown = 30 activable = TRUE var/lights_on = FALSE + var/lights_color = "#e9dfea" // Pale violet, very Zeng-Hu. + var/lights_range = 6 + var/lights_intensity = 2 + +/obj/item/organ/internal/augment/sightlights/generic + name = "offbrand ocular sightlights" + desc = "Designed to assist personnel in darker areas or places experiencing periodic power issues, Zeng-Hu sightlights will allow one to be able to use their eyes as a flashlight. Later SCC-mediated negotiation loosened the augment's patent restrictions, allowing offbrand manufacture and use of lesser models by other members of the Chainlink." + icon_state = "m2eyes" + lights_color = LIGHT_COLOR_TUNGSTEN + lights_range = 4 + lights_intensity = 2 /obj/item/organ/internal/augment/sightlights/attack_self(var/mob/user) . = ..() @@ -20,7 +30,7 @@ lights_on = !lights_on if(lights_on) - set_light(5, 2, LIGHT_COLOR_TUNGSTEN, uv = 0, angle = LIGHT_WIDE) + set_light(lights_range, lights_intensity, lights_color, uv = 0, angle = LIGHT_WIDE) else set_light(0) diff --git a/html/changelogs/Batrachophreno-SightlightsOffbrand.yml b/html/changelogs/Batrachophreno-SightlightsOffbrand.yml new file mode 100644 index 00000000000..9ab4fd3ee04 --- /dev/null +++ b/html/changelogs/Batrachophreno-SightlightsOffbrand.yml @@ -0,0 +1,59 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# - (fixes bugs) +# wip +# - (work in progress) +# qol +# - (quality of life) +# soundadd +# - (adds a sound) +# sounddel +# - (removes a sound) +# rscadd +# - (adds a feature) +# rscdel +# - (removes a feature) +# imageadd +# - (adds an image or sprite) +# imagedel +# - (removes an image or sprite) +# spellcheck +# - (fixes spelling or grammar) +# experiment +# - (experimental change) +# balance +# - (balance changes) +# code_imp +# - (misc internal code change) +# refactor +# - (refactors code) +# config +# - (makes a change to the config files) +# admin +# - (makes changes to administrator tools) +# server +# - (miscellaneous changes to server) +################################# + +# Your name. +author: Batrachophreno + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, this gets changed to [] after reading. Just remove the brackets when you add new shit. +# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog. +changes: + - rscadd: "Offbrand variant of sightlights available to non-Zeng-Hu crew; 50% weaker than Zeng-Hu variant." + - balance: "Tiny increase to brightness of original Zeng-Hu sightlights and the light is now tinged a stylish pale violet." \ No newline at end of file