Files
Delta-v/Content.Shared
Zachary Higgsandslarticodefast 4370d56895 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>
2024-11-15 17:27:41 +00:00
..
2024-08-21 15:36:50 +01:00
2024-10-24 00:11:34 +01:00
2024-08-30 07:53:19 +01:00
2024-11-07 20:09:25 +00:00
2024-08-18 17:21:07 +00:00
2024-08-09 17:35:23 +01:00
2024-10-02 12:08:12 +01:00
2024-11-14 14:28:08 +00:00
2024-07-25 01:57:58 +02:00
2024-11-07 20:09:25 +00:00
2024-10-02 11:22:12 +01:00
2024-08-27 01:00:42 +01:00
2024-11-07 20:09:25 +00:00
2024-03-27 18:28:59 +01:00
2024-11-07 20:09:25 +00:00
2024-08-30 07:53:19 +01:00
2024-08-09 17:45:45 +01:00
2024-08-09 18:12:53 +01:00
2023-01-15 00:01:47 -04:00
2024-08-30 07:53:19 +01:00
2024-08-22 13:41:09 +01:00
2024-11-07 20:09:25 +00:00
2024-11-14 14:28:08 +00:00
2024-09-22 02:44:27 +01:00
2023-09-27 21:59:12 +02:00
2024-11-14 14:28:08 +00:00
2024-08-27 00:45:07 +01:00
2024-03-24 00:04:13 +01:00
2022-11-15 22:30:59 +11:00
2024-10-02 12:17:34 +01:00
2023-10-14 22:02:29 +02:00
2023-09-09 23:37:56 -04:00
2024-07-09 12:47:18 +02:00
2024-10-02 12:06:37 +01:00
2024-09-10 01:20:38 +10:00
2024-08-09 17:54:47 +01:00
2024-10-02 12:08:11 +01:00
2024-08-09 18:58:54 +01:00
2024-08-14 15:09:20 +00:00
2022-05-13 17:59:03 +10:00
2023-11-19 22:09:46 +01:00
2024-10-24 02:14:32 +01:00
2024-09-01 03:36:44 +01:00
2024-09-07 23:04:34 -03:00
2024-09-10 01:20:38 +10:00
2024-11-03 18:02:03 +00:00
2024-09-22 02:44:27 +01:00
2024-11-07 20:09:25 +00:00
2024-09-10 01:20:38 +10:00
2024-08-30 07:53:19 +01:00
2024-01-22 18:56:57 +01:00
2024-09-22 02:44:27 +01:00
2024-07-05 20:23:41 +02:00
2024-09-10 01:20:38 +10:00
2024-09-10 01:20:38 +10:00
2024-09-10 01:20:38 +10:00
2024-09-22 02:23:49 +01:00
2024-02-18 23:17:22 +01:00
2024-10-02 11:29:23 +01:00
2024-08-27 01:00:42 +01:00
2024-09-22 02:23:49 +01:00
2024-09-10 01:20:38 +10:00
2023-10-03 14:15:46 -05:00
2024-08-27 01:00:42 +01:00
2024-06-08 20:17:23 +02:00
2024-09-10 01:20:38 +10:00
2024-10-24 02:25:12 +01:00
2024-09-07 23:04:34 -03:00
2022-09-15 03:30:56 +10:00
2024-09-10 01:20:38 +10:00
2024-09-10 01:20:38 +10:00
2022-05-13 17:59:03 +10:00
2024-05-07 02:19:25 +02:00
2024-08-09 17:34:17 +01:00
2024-05-18 13:58:44 +02:00
2024-08-09 19:04:17 +01:00
2024-09-10 01:20:38 +10:00
2024-08-21 15:36:50 +01:00
2024-06-06 21:33:38 +02:00
2024-09-10 01:20:38 +10:00
2024-01-28 00:33:40 +01:00
2024-01-22 18:30:44 +01:00
2024-10-02 12:08:12 +01:00
2022-02-07 02:59:41 +11:00
2023-05-02 00:25:33 +10:00
2024-08-30 07:53:19 +01:00
2024-05-07 02:19:25 +02:00
2024-08-11 14:33:50 +01:00
2024-08-27 01:00:43 +01:00
2024-10-24 00:32:47 +01:00
2024-08-30 07:53:19 +01:00
2022-02-05 11:39:36 -07:00