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>
This commit is contained in:
Magnus Larsen
2024-02-01 13:33:57 +00:00
committed by GitHub
parent 467e983ba9
commit 9cd6e4dccd
30 changed files with 83 additions and 34 deletions

View File

@@ -179,7 +179,7 @@
- SmokeOnTrigger
- Flash
- Handcuff
- RangedMagazine
- BallisticAmmoProvider
- Ammo
- type: ItemMapper
mapLayers:
@@ -221,7 +221,7 @@
- WetFloorSign
- HolosignProjector
- Plunger
- LightReplacer
- JanicartKeys
components:
- LightReplacer
- type: ItemMapper

View File

@@ -329,7 +329,7 @@
lightreplacer_slot:
name: janitorial-trolley-slot-component-slot-name-lightreplacer
whitelist:
tags:
components:
- LightReplacer
priority: 6
spraybottle_slot:

View File

@@ -17,7 +17,6 @@
amount: 5
- type: Tag
tags:
- LightReplacer
- DroneUsable
- type: StaticPrice
price: 100

View File

@@ -14,9 +14,6 @@
- key: enum.SprayPainterUiKey.Key
type: SprayPainterBoundUserInterface
- type: SprayPainter
whitelist:
tags:
- PaintableAirlock
colorPalette:
red: '#FF1212FF'
yellow: '#B3A234FF'

View File

@@ -186,6 +186,7 @@
shape:
!type:PhysShapeCircle
radius: 2
repeating: true
- type: Anchorable
- type: Sprite
sprite: Objects/Weapons/pflash.rsi

View File

@@ -713,9 +713,6 @@
- type: Tag
id: Lemon
- type: Tag
id: LightReplacer
- type: Tag
id: Lime
@@ -856,9 +853,6 @@
- type: Tag
id: Payload # for grenade/bomb crafting
- type: Tag
id: PaintableAirlock
- type: Tag
id: Pancake