Files
Bubberstation/code/modules/wiremod/shell
Spaghetti-bit 796583b7f6 Adds the Color component to circuitry (#3894)
## About The Pull Request

Adds a new component to circuitry that allows the designer to change the
color of text outputted by the speech and BCI core components. Unlocked
on the circuitry node.

BCI Core and Speech components are given a new input: "Color" as a
string.
> Said string is checked against a global key:value pair list to verify
that it is a valid span. This list is cherry picked and very easy to
modify later on if anyone wishes to add more spans to the list later on.
> Current colors:
> Default, none
> Green, common
> Purple, science
> Yellow, command
> Red, sec
> Blue, medical
> Orange, engineering
> Brown, cargo
> Maroon, syndicate
> Pink, ai
## Why It's Good For The Game

This was made on request of a few people who do circuitry alot and tend
to have the same feedback; "You hear a robotic voice..." message being
easily missed and wanted to add some color to it, rather than hardcoding
the color I added a new component so that people would have the freedom
to change their text based off of circuits and other logic in their
creations.
## Proof Of Testing
<details>
<summary>Screenshots/Videos</summary>

BCI Brain Computer example with dropdown:


![image](https://github.com/user-attachments/assets/75071cb2-d78f-45c0-9342-71c68abb2140)

Colors:


![image](https://github.com/user-attachments/assets/f50990c3-5f45-45fa-a1cf-0a6aa2dda7ac)


![image](https://github.com/user-attachments/assets/a5c635e4-f621-4168-9d2f-921cfd3d8b85)


![image](https://github.com/user-attachments/assets/b38d1391-771b-4cea-8157-4dc14af24ca0)


![image](https://github.com/user-attachments/assets/6a6b9688-7ebf-4029-a673-05ee442a29c2)


![image](https://github.com/user-attachments/assets/37bd2a3f-d793-4faa-bdc8-23dd4a56f793)


![image](https://github.com/user-attachments/assets/c6b58423-e7a8-4e3c-ac50-3107553f74a8)


![image](https://github.com/user-attachments/assets/6a216b33-a9af-493c-8ad5-534022f65b01)


![image](https://github.com/user-attachments/assets/70e5d5e8-3c68-49d1-9f89-ac18fbffdb34)


![image](https://github.com/user-attachments/assets/67010f96-1228-430c-8756-76ba84a7af82)

</details>

## Changelog
🆑
add: Added a new circuit: Color component
/🆑
2025-05-27 23:38:52 -04:00
..