]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix clientside storage Whitelists (#24063)
authorMagnus Larsen <i.am.larsenml@gmail.com>
Thu, 1 Feb 2024 13:33:57 +0000 (13:33 +0000)
committerGitHub <noreply@github.com>
Thu, 1 Feb 2024 13:33:57 +0000 (00:33 +1100)
commit9cd6e4dccdfaa7e273417e3c94d66b5171c7d841
tree59ed4d48cd3ae1db5869250a0ed10fbea58c2ba4
parent467e983ba972a7ae749c95448febd19c7c285514
Fix clientside storage Whitelists (#24063)

* Fix outdated component name in assaultbelt whitelist

RangedMagazine was replaced with BallisticAmmoProvider in the Gun
refactor (#8301)

* Move FlashOnTrigger, SmokeOnTrigger, Flash components to Shared

* Move LightReplacerComponent to Shared

* Move Utensil, Mousetrap components to Shared

* Move SprayPainterComponent to Shared

The PaintableAirlock tag has also been removed, as it was unused &
unnecessary, likely a vestige of spray painter development when the
PaintableAirlock component wasn't in Content.Shared.

* Add trivial Produce and Seed components to Client

This allows the plant bag and botanical belt whitelists to correctly
match produce and seeds on the client, fixing the extraneous "Can't
insert" message that previously appeared.

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
30 files changed:
Content.Client/Botany/Components/ProduceComponent.cs [new file with mode: 0644]
Content.Client/Botany/Components/SeedComponent.cs [new file with mode: 0644]
Content.Server/Botany/Components/ProduceComponent.cs
Content.Server/Botany/Components/SeedComponent.cs
Content.Server/Explosion/EntitySystems/ClusterGrenadeSystem.cs
Content.Server/Explosion/EntitySystems/SmokeOnTriggerSystem.cs
Content.Server/Flash/FlashSystem.cs
Content.Server/Light/EntitySystems/LightReplacerSystem.cs
Content.Server/Nutrition/Components/FoodComponent.cs
Content.Server/Nutrition/EntitySystems/FoodSystem.cs
Content.Server/Nutrition/EntitySystems/SliceableFoodSystem.cs
Content.Server/Nutrition/EntitySystems/UtensilSystem.cs
Content.Server/SprayPainter/SprayPainterSystem.cs
Content.Shared/Botany/Components/SharedProduceComponent.cs [new file with mode: 0644]
Content.Shared/Botany/Components/SharedSeedComponent.cs [new file with mode: 0644]
Content.Shared/Explosion/Components/OnTrigger/SmokeOnTriggerComponent.cs
Content.Shared/Explosion/EntitySystems/SharedSmokeOnTriggerSystem.cs
Content.Shared/Flash/Components/FlashOnTriggerComponent.cs
Content.Shared/Light/Components/LightReplacerComponent.cs [moved from Content.Server/Light/Components/LightReplacerComponent.cs with 84% similarity]
Content.Shared/Light/EntitySystems/SharedLightReplacerSystem.cs [new file with mode: 0644]
Content.Shared/Mousetrap/MousetrapComponent.cs [moved from Content.Server/Mousetrap/MousetrapComponent.cs with 74% similarity]
Content.Shared/Nutrition/Components/UtensilComponent.cs [moved from Content.Server/Nutrition/Components/UtensilComponent.cs with 85% similarity]
Content.Shared/Nutrition/EntitySystems/SharedUtensilSystem.cs [new file with mode: 0644]
Content.Shared/SprayPainter/Components/SprayPainterComponent.cs [moved from Content.Server/SprayPainter/SprayPainterComponent.cs with 84% similarity]
Resources/Prototypes/Entities/Clothing/Belt/belts.yml
Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml
Resources/Prototypes/Entities/Objects/Tools/light_replacer.yml
Resources/Prototypes/Entities/Objects/Tools/spray_painter.yml
Resources/Prototypes/Entities/Objects/Weapons/security.yml
Resources/Prototypes/tags.yml