Skip to content

Commit

Permalink
CyberEyes Night Vision And Thermal Vision Modules (#1477)
Browse files Browse the repository at this point in the history
# Description

Thanks to @Spatison for the Night Vision PR.
This PR adds traits for CyberEyes users that enables the use of either
the Night Vision ability, or the Thermal Vision ability. The former lets
you see in the dark (It can be toggled on and off at will). The latter
lets you see living creatures through walls (for brief pulses). The
latter is on the quite expensive side of things (12 trait points in
total if you include the requirement that you first have CyberEyes).

# TODO

<details><summary><h1>Media</h1></summary>
<p>


![image](https://github.com/user-attachments/assets/465edf95-c0e6-4695-b1f1-e9916ccf10f0)

Sorry the pulse for thermographic was too short for me to be able to
screenshot it. But it does work!

</p>
</details>

# Changelog

:cl:
- add: Added 2 new traits related to CyberEyes. Light Amplification
Module, and Thermographic Scanner Module.
  • Loading branch information
VMSolidus authored Jan 10, 2025
1 parent 83fa923 commit b38b7f9
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Resources/Locale/en-US/traits/misc.ftl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
examine-cybereyes-message = {CAPITALIZE(POSS-ADJ($entity))} eyes shine with a faint inner light.
examine-dermal-armor-message = {CAPITALIZE(POSS-ADJ($entity))} skin seems to be made of a sturdy, yet flexible plastic.
examine-bionic-arm-message = {CAPITALIZE(POSS-ADJ($entity))} limbs emit an ever present faint chirp of servomotors.
examine-thermal-vision-message = {CAPITALIZE(POSS-ADJ($entity))} eyes periodically pulse with a menacing red glare.
9 changes: 9 additions & 0 deletions Resources/Locale/en-US/traits/traits.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -500,3 +500,12 @@ trait-name-BrittleBoneDisease = Osteogenesis Imperfecta
trait-description-BrittleBoneDisease =
Also known as "brittle bone disease", people with this genetic disorder have bones that are easily broken,
often simply by moving. This trait reduces your threshold for critical injury by 50 points.
trait-name-LightAmplification = CyberEyes Module: Light Amplification
trait-description-LightAmplification =
Your CyberEyes have been enhanced with a light amplifier module, enabling the user to toggle between standard sight and "Night Vision" mode.
trait-name-ThermographicVision = CyberEyes Module: Thermographic Scanner
trait-description-ThermographicVision =
Your CyberEyes have been enhanced with a Thermographic Scanner. When enabled, it captures a snapshot of the user's surroundings, while highlighting all
biological life forms. It can even detect individuals through the walls of a station.
41 changes: 41 additions & 0 deletions Resources/Prototypes/Traits/physical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -765,3 +765,44 @@
components:
- type: CritModifier
critThresholdModifier: -50

- type: trait
id: LightAmplification
category: Physical
points: -4
requirements:
- !type:CharacterJobRequirement
inverted: true
jobs:
- Prisoner # Bionics should be "Confiscated" from long term prisoners.
- !type:CharacterTraitRequirement
traits:
- CyberEyes
functions:
- !type:TraitAddComponent
components:
- type: NightVision

- type: trait
id: ThermographicVision
category: Physical
points: -8
requirements:
- !type:CharacterJobRequirement
inverted: true
jobs:
- Prisoner # Bionics should be "Confiscated" from long term prisoners.
- !type:CharacterTraitRequirement
traits:
- CyberEyes
functions:
- !type:TraitAddComponent
components:
- type: ThermalVision
pulseTime: 2
toggleAction: PulseThermalVision
- !type:TraitPushDescription
descriptionExtensions:
- description: examine-thermal-vision-message
fontSize: 12
requireDetailRange: true

0 comments on commit b38b7f9

Please sign in to comment.