Files
wwdpublic/Content.Shared
Zachary Higgs 04fda905d8 Add Silicon Law cues to Every method a Silicon can have their laws change (#32887)
* Silicon Law Sound cue refactor

- Added CueEntityMind to Silicon Law system to more uniformally
send sounds to minds

- Switch all previous MindPlaySound to instead call to the new method

* Change SiliconLawEui to cue the mind

* CR: TryGetComponent and Change the Documentation

- Remove GetComponentOrNull for  _entityManager.TryGetComponent

- Change SiliconLawProviderComponent.LawUploadSound to be more general
rather than just referencing lawboards

* Update Content.Server/Silicons/Laws/SiliconLawEui.cs

* Update Content.Shared/Silicons/Laws/Components/SiliconLawProviderComponent.cs

* Silicon-law-cue-refactor - CR:

- Roll the cuing into NotifyLawsChanged via an optional variable for the
cue

- Modify "SetLaws" to take in an optional soundProvider for the cue

- modify Emagged, Ion, Eui and SetLaws to instead send the sound cue via
NotifyLawsChanged

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

(cherry picked from commit a3f10ccfbb01616d08559950b5de4dc1c6df7f6d)
2025-07-20 14:54:20 +10:00
..
2025-07-20 13:37:35 +10:00
2025-07-20 13:09:28 +10:00
2025-07-20 14:17:46 +10:00
2025-07-14 14:04:31 +10:00
2025-07-20 14:22:41 +10:00
2025-07-19 15:43:29 +10:00
a
2025-07-20 14:25:39 +10:00
2025-07-20 14:37:13 +10:00
2025-06-11 11:05:17 +03:00
a
2025-07-20 14:25:39 +10:00
a
2025-07-20 14:25:39 +10:00
2025-07-12 03:01:19 +10:00
2025-07-19 15:22:11 +10:00
2025-07-12 12:20:25 +10:00
2025-07-12 03:02:21 +10:00
2025-07-12 12:20:25 +10:00
a
2025-07-20 14:25:39 +10:00
2025-07-14 14:24:38 +10:00
2025-07-20 14:24:17 +10:00
2025-07-12 13:37:58 +10:00
2025-06-16 20:35:48 +03:00
2025-07-20 13:37:35 +10:00
2025-07-20 14:37:13 +10:00
2025-07-16 17:08:18 +10:00
2025-06-28 11:31:07 +03:00
2025-07-20 14:50:45 +10:00
2025-07-20 14:50:45 +10:00
2025-07-12 03:02:44 +10:00
2025-07-12 00:55:42 +10:00
2025-07-20 14:50:45 +10:00
2025-07-16 17:08:18 +10:00
2025-07-12 13:39:30 +10:00
2025-06-28 11:31:07 +03:00
2025-06-19 20:25:46 +03:00
2025-07-19 14:44:43 +10:00
2025-07-19 15:40:13 +10:00
2025-07-12 13:24:09 +10:00
2025-06-16 20:35:48 +03:00
2025-07-20 13:21:18 +10:00
a
2025-07-20 14:25:39 +10:00
2025-07-12 00:55:52 +10:00
2025-07-12 13:37:58 +10:00
2025-07-20 14:22:41 +10:00
2025-07-12 00:55:42 +10:00
2025-07-20 14:05:17 +10:00
2025-06-18 09:28:51 +03:00