]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Give AI a Sound Cue when an Antimov board is inserted (#32625)
authorZachary Higgs <compgeek223@gmail.com>
Thu, 17 Oct 2024 03:41:06 +0000 (00:41 -0300)
committerGitHub <noreply@github.com>
Thu, 17 Oct 2024 03:41:06 +0000 (22:41 -0500)
commit79a23d3e0b33224fc4df28175b298ba860963e40
tree293b0f31f65bff17dcd3b192770b802aea7c01b6
parentfae5c89ef70555e4786d3eb362e4efcf6c5e84d3
Give AI a Sound Cue when an Antimov board is inserted (#32625)

* Subversion Board Insertion Audio Notification

Add Subversion flag and SubversionSound to SiliconLawProviderComponent

Add new Method (OnSubversionInserted)
to SiliconLawSystem to handle a Subversive
SiliconLawProviderComponent and play it's SubversionSound

Add Check for Subversive law provider to OnUpdaterInsert that
calls OnSubversionInserted if the SiliconLawProviderComponent is
Subversive

* Fix subversion Sound

- Change out Weh sound used to test that subversion sounds can be
changed by prototype for a a not yet present Antimov subversion sound

* Make it not just subversive

- Remove OnSubversionInserted and move the MindPlaySound in the
OnUpdaterInsert so long as LawUploadSound exists

- Modify SubversionSound into LawUploadSound

- Remove the Subversion flag

- Just use emagged_borg.ogg until the better one is made

* Remove errant spaces and a errant namespace

* CR Fixes - Add generic Lawboard insert cue

- Combine the If statements per /pull/32625#discussion_r1786926400
inside OnUpdaterInsert

- Remove the ViewVariables(VVAccess.ReadWrite) per
pull/32625#discussion_r1786924433

- Add Cryo_warning.ogg from TGStation, the sound utilized for Law Upload
cue, Attribution.

* CR Add a placeholder Antimov notification sound

- Add a new sound kitbashed from the cryo_sound used for uploading
and the emagged noise

* Add self referential source attribution

- also fix an errant space

* Add more bespoke Sound by ps3moira + attributions
Content.Server/Silicons/Laws/SiliconLawSystem.cs
Content.Shared/Silicons/Laws/Components/SiliconLawProviderComponent.cs
Resources/Audio/Ambience/Antag/attributions.yml
Resources/Audio/Ambience/Antag/silicon_lawboard_antimov.ogg [new file with mode: 0644]
Resources/Audio/Misc/attributions.yml
Resources/Audio/Misc/cryo_warning.ogg [new file with mode: 0644]
Resources/Prototypes/Entities/Mobs/Player/silicon.yml