]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Arcade machine improvements (#24200)
authorTayrtahn <tayrtahn@gmail.com>
Thu, 28 Mar 2024 06:28:45 +0000 (02:28 -0400)
committerGitHub <noreply@github.com>
Thu, 28 Mar 2024 06:28:45 +0000 (17:28 +1100)
commitb1ba6b5bb615615cc58f255dc9fe84c5ffe8822b
tree6f3c694ec307e8ddf13e0c918c02c5a6ebc29c13
parenta071bc5dbfdd5418b664af95d00f676d8d915482
Arcade machine improvements (#24200)

* Give 'em something to talk about

* Wire panel visuals

* Wire graphics tweak

* More ads and thanks

* More ads for a noisy arcade

* New screen for space villain machines

* Implement EmitSoundIntervalComponent and a bunch of arcade noises

* Require power for sounds

* Allow earlier startup intervals

* Orange glow

* Audio attributions

* Include the PR link

* Replace EmitSoundInterval with expanded SpamEmitSound

* Remove pacman-themed arcade sounds

* Documentation good.

* Updated methods to use Entity<T>

* Refactored SpamEmitSound to get rid of accumulator and chance.

* Fixed prewarm logic

* Moved stuff to Shared

* Fix outdated YAML

* Better prediction, auto pause handling

* Make enable/disable reset the timer instead of trying to save it.
35 files changed:
Content.Server/Arcade/BlockGame/BlockGameArcadeComponent.cs
Content.Server/Arcade/BlockGame/BlockGameArcadeSystem.cs
Content.Server/Arcade/SpaceVillainGame/SpaceVillainArcadeComponent.cs
Content.Server/Arcade/SpaceVillainGame/SpaceVillainArcadeSystem.cs
Content.Server/Bed/Sleep/SleepingSystem.cs
Content.Server/Sound/Components/SpamEmitSoundComponent.cs [deleted file]
Content.Server/Sound/EmitSoundSystem.cs
Content.Server/Sound/SpamEmitSoundRequirePowerSystem.cs [new file with mode: 0644]
Content.Shared/Bed/Sleep/SleepEmitSoundComponent.cs
Content.Shared/Sound/Components/SpamEmitSoundComponent.cs [new file with mode: 0644]
Content.Shared/Sound/Components/SpamEmitSoundRequirePowerComponent.cs [new file with mode: 0644]
Content.Shared/Sound/SharedEmitSoundSystem.cs
Content.Shared/Sound/SharedSpamEmitSoundRequirePowerSystem.cs [new file with mode: 0644]
Resources/Audio/Machines/Arcade/attributions.yml [new file with mode: 0644]
Resources/Audio/Machines/Arcade/hahaha.ogg [new file with mode: 0644]
Resources/Audio/Machines/Arcade/pew_pew.ogg [new file with mode: 0644]
Resources/Audio/Machines/Arcade/sting_01.ogg [new file with mode: 0644]
Resources/Audio/Machines/Arcade/sting_02.ogg [new file with mode: 0644]
Resources/Audio/Machines/Arcade/sting_03.ogg [new file with mode: 0644]
Resources/Audio/Machines/Arcade/sting_04.ogg [new file with mode: 0644]
Resources/Audio/Machines/Arcade/sting_05.ogg [new file with mode: 0644]
Resources/Audio/Machines/Arcade/sting_06.ogg [new file with mode: 0644]
Resources/Locale/en-US/advertisements/arcade/blockgame.ftl [new file with mode: 0644]
Resources/Locale/en-US/advertisements/arcade/spacevillain.ftl [new file with mode: 0644]
Resources/Prototypes/Catalog/Arcade/Advertisements/blockgame.yml [new file with mode: 0644]
Resources/Prototypes/Catalog/Arcade/Advertisements/spacevillain.yml [new file with mode: 0644]
Resources/Prototypes/Entities/Structures/Machines/Computers/arcades.yml
Resources/Prototypes/Roles/Jobs/Civilian/clown.yml
Resources/Prototypes/SoundCollections/arcade.yml [new file with mode: 0644]
Resources/Prototypes/Wires/layouts.yml
Resources/Textures/Structures/Machines/arcade.rsi/meta.json
Resources/Textures/Structures/Machines/arcade.rsi/panel.png [new file with mode: 0644]
Resources/Textures/Structures/Machines/arcade.rsi/screen_blockgame.png [moved from Resources/Textures/Structures/Machines/arcade.rsi/blockgame.png with 100% similarity]
Resources/Textures/Structures/Machines/arcade.rsi/screen_invaders.png [moved from Resources/Textures/Structures/Machines/arcade.rsi/invaders.png with 100% similarity]
Resources/Textures/Structures/Machines/arcade.rsi/screen_spacevillain.png [new file with mode: 0644]