* allow usage of network configurator for door electronics
* add checks for "allowed" items
if (component.InHandsOnly)
return;
+ if (component.AllowedItems != null)
+ return;
+
args.Handled = InteractUI(args.User, uid, component);
}
if (component.RightClickOnly)
return;
+ if (component.AllowedItems != null)
+ return;
+
args.Handled = InteractUI(args.User, uid, component);
}
key: enum.DoorElectronicsConfigurationUiKey.Key
allowedItems:
tags:
- - Multitool
+ - DoorElectronicsConfigurator
- type: UserInterface
interfaces:
- key: enum.DoorElectronicsConfigurationUiKey.Key
- type: Tag
tags:
- Multitool
+ - DoorElectronicsConfigurator
- type: PhysicalComposition
materialComposition:
Steel: 100
- type: ActivatableUI
key: enum.NetworkConfiguratorUiKey.List
inHandsOnly: true
+ - type: Tag
+ tags:
+ - DoorElectronicsConfigurator
- type: UserInterface
interfaces:
- key: enum.NetworkConfiguratorUiKey.List
description: The rapid construction device can be used to quickly place and remove various station structures and fixtures. Requires compressed matter to function.
components:
- type: RCD
- availablePrototypes:
+ availablePrototypes:
- WallSolid
- FloorSteel
- Plating
- Catwalk
- Grille
- - Window
+ - Window
- WindowDirectional
- WindowReinforcedDirectional
- ReinforcedWindow
- type: LimitedCharges
charges: 0
- type: RCD
- availablePrototypes:
+ availablePrototypes:
- WallSolid
- FloorSteel
- Plating
- type: Tag
id: DoorElectronics
+- type: Tag
+ id: DoorElectronicsConfigurator
+
- type: Tag
id: DrinkBottle
- type: Tag
id: SuitEVA
-
+
- type: Tag
id: Sunglasses