]> git.smokeofanarchy.ru Git - space-station-14.git/commit
De-duplicate loadout gear (#30341)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Mon, 5 Aug 2024 04:42:25 +0000 (14:42 +1000)
committerGitHub <noreply@github.com>
Mon, 5 Aug 2024 04:42:25 +0000 (00:42 -0400)
commit9a8620d9d87a08a5e4e1619a2b7e3448f7e3536f
tree31d25031832dcd30c0388208a332733be5a1e5cf
parent6264a557a659cddf1ddf968666d37cc2a43d9e57
De-duplicate loadout gear (#30341)

* De-duplicate loadout gear

Needs supporting code, probably with an interface with StartingGearPrototype which would also use it, but I regexed the yaml.

* Code updates

* Remaining yaml

* Fix automatic naming

* raiseEvent

* Don't code when tired kids
47 files changed:
Content.Client/Lobby/LobbyUIController.cs
Content.IntegrationTests/Tests/Preferences/LoadoutTests.cs
Content.IntegrationTests/Tests/Roles/StartingGearStorageTests.cs
Content.Server/Administration/Commands/SetOutfitCommand.cs
Content.Shared/Clothing/LoadoutSystem.cs
Content.Shared/Preferences/Loadouts/LoadoutPrototype.cs
Content.Shared/Roles/JobPrototype.cs
Content.Shared/Roles/StartingGearPrototype.cs
Content.Shared/Station/SharedStationSpawningSystem.cs
Resources/Prototypes/Loadouts/Jobs/Cargo/cargo_technician.yml
Resources/Prototypes/Loadouts/Jobs/Cargo/quartermaster.yml
Resources/Prototypes/Loadouts/Jobs/Cargo/salvage_specialist.yml
Resources/Prototypes/Loadouts/Jobs/Civilian/bartender.yml
Resources/Prototypes/Loadouts/Jobs/Civilian/botanist.yml
Resources/Prototypes/Loadouts/Jobs/Civilian/chaplain.yml
Resources/Prototypes/Loadouts/Jobs/Civilian/chef.yml
Resources/Prototypes/Loadouts/Jobs/Civilian/clown.yml
Resources/Prototypes/Loadouts/Jobs/Civilian/janitor.yml
Resources/Prototypes/Loadouts/Jobs/Civilian/lawyer.yml
Resources/Prototypes/Loadouts/Jobs/Civilian/librarian.yml
Resources/Prototypes/Loadouts/Jobs/Civilian/mime.yml
Resources/Prototypes/Loadouts/Jobs/Civilian/musician.yml
Resources/Prototypes/Loadouts/Jobs/Civilian/passenger.yml
Resources/Prototypes/Loadouts/Jobs/Command/captain.yml
Resources/Prototypes/Loadouts/Jobs/Command/head_of_personnel.yml
Resources/Prototypes/Loadouts/Jobs/Engineering/atmospheric_technician.yml
Resources/Prototypes/Loadouts/Jobs/Engineering/chief_engineer.yml
Resources/Prototypes/Loadouts/Jobs/Engineering/station_engineer.yml
Resources/Prototypes/Loadouts/Jobs/Engineering/technical_assistant.yml
Resources/Prototypes/Loadouts/Jobs/Medical/chemist.yml
Resources/Prototypes/Loadouts/Jobs/Medical/chief_medical_officer.yml
Resources/Prototypes/Loadouts/Jobs/Medical/medical_doctor.yml
Resources/Prototypes/Loadouts/Jobs/Medical/medical_intern.yml
Resources/Prototypes/Loadouts/Jobs/Medical/paramedic.yml
Resources/Prototypes/Loadouts/Jobs/Science/research_director.yml
Resources/Prototypes/Loadouts/Jobs/Science/scientist.yml
Resources/Prototypes/Loadouts/Jobs/Security/detective.yml
Resources/Prototypes/Loadouts/Jobs/Security/head_of_security.yml
Resources/Prototypes/Loadouts/Jobs/Security/security_cadet.yml
Resources/Prototypes/Loadouts/Jobs/Security/security_officer.yml
Resources/Prototypes/Loadouts/Jobs/Security/warden.yml
Resources/Prototypes/Loadouts/Jobs/Wildcards/boxer.yml
Resources/Prototypes/Loadouts/Jobs/Wildcards/reporter.yml
Resources/Prototypes/Loadouts/Miscellaneous/glasses.yml
Resources/Prototypes/Loadouts/Miscellaneous/instruments.yml
Resources/Prototypes/Loadouts/Miscellaneous/survival.yml
Resources/Prototypes/Loadouts/Miscellaneous/trinkets.yml