Make Mime PDA interactions silent (#34426)
* make insert and eject datafields in ItemSlotsComponent.cs nullable, make mime PDA silent * make it so that you can't fit wirecutters into the slots, among other various things
This commit is contained in:
@@ -75,10 +75,10 @@ namespace Content.Shared.Containers.ItemSlots
|
||||
public EntityWhitelist? Blacklist;
|
||||
|
||||
[DataField]
|
||||
public SoundSpecifier InsertSound = new SoundPathSpecifier("/Audio/Weapons/Guns/MagIn/revolver_magin.ogg");
|
||||
public SoundSpecifier? InsertSound = new SoundPathSpecifier("/Audio/Weapons/Guns/MagIn/revolver_magin.ogg");
|
||||
|
||||
[DataField]
|
||||
public SoundSpecifier EjectSound = new SoundPathSpecifier("/Audio/Weapons/Guns/MagOut/revolver_magout.ogg");
|
||||
public SoundSpecifier? EjectSound = new SoundPathSpecifier("/Audio/Weapons/Guns/MagOut/revolver_magout.ogg");
|
||||
|
||||
/// <summary>
|
||||
/// The name of this item slot. This will be shown to the user in the verb menu.
|
||||
|
||||
@@ -362,11 +362,35 @@
|
||||
components:
|
||||
- type: Pda
|
||||
id: MimeIDCard
|
||||
idSlot: # rewrite without sound because mime
|
||||
name: ID Card
|
||||
paiSlot:
|
||||
priority: -2
|
||||
ejectSound: null
|
||||
insertSound: null
|
||||
whitelist:
|
||||
components:
|
||||
- PAI
|
||||
idSlot:
|
||||
name: access-id-card-component-default
|
||||
ejectSound: null # mime is silent
|
||||
insertSound: null
|
||||
whitelist:
|
||||
components:
|
||||
- IdCard
|
||||
penSlot:
|
||||
startingItem: Pen
|
||||
priority: -1
|
||||
whitelist:
|
||||
tags:
|
||||
- Write
|
||||
ejectSound: null
|
||||
insertSound: null
|
||||
- type: CartridgeLoader
|
||||
cartridgeSlot:
|
||||
ejectSound: null
|
||||
insertSound: null
|
||||
whitelist:
|
||||
components:
|
||||
- Cartridge
|
||||
- type: Appearance
|
||||
appearanceDataInit:
|
||||
enum.PdaVisuals.PdaType:
|
||||
|
||||
Reference in New Issue
Block a user