Commit Graph
2 Commits
Author SHA1 Message Date
BombermansamandGitHub 6d4e2327a0 Speech Components are now Multilingual (#4018)
## About The Pull Request
You can now define a language for speech components to output in. They
are no longer limited to just outputting strings in Galactic Common.
This does not give access to ALL languages, for example Codespeak,
Cultspeak and Ashtongue, so you will still need to earn the privilege to
speak in those languages.
## Why It's Good For The Game
Many people complained that speech components could only output in
Galactic Common. This PR will make them happy.
Speech components are most often used for Universal Translator Circuits,
this PR will actually make them useful for such and allow for two way
communication between individuals if the circuit is made correctly.
## Proof Of Testing
It compiles and the valid languages were able to be observed while using
the speech component.
<details>
<summary>Screenshots/Videos</summary>


![image](https://github.com/user-attachments/assets/d68e0a9f-5dcb-48f4-b804-6753f545d480)


![image](https://github.com/user-attachments/assets/aab4e882-453a-4722-afbe-639cf05cbd0e)


![image](https://github.com/user-attachments/assets/de756797-900d-41b4-9194-cdd42a19dfae)


![image](https://github.com/user-attachments/assets/fe1ef8ab-c8eb-470e-8516-58c27696a9a6)


![image](https://github.com/user-attachments/assets/45e7b7ea-2cce-4b65-9359-177a3bd014ee)


</details>

## Changelog
🆑
add: Language Port to Speech Components
/🆑
## Acknowledgements
Thank you very much to Artur for helping me make the list which was a
pivotal part of this PR. I was tearing my hair out trying to make it.
They saved me much time and hair.
2025-06-16 13:44:19 -07:00
Spaghetti-bitandGitHub 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