Add telecommunication server (#14415)
This commit is contained in:
@@ -376,6 +376,7 @@
|
||||
- SignalTrigger
|
||||
- VoiceTrigger
|
||||
- TimerTrigger
|
||||
- TelecomServerCircuitboard
|
||||
|
||||
- type: technology
|
||||
name: technologies-electrical-engineering
|
||||
|
||||
@@ -762,3 +762,18 @@
|
||||
Amount: 1
|
||||
DefaultPrototype: Beaker
|
||||
ExamineName: Glass Beaker
|
||||
|
||||
- type: entity
|
||||
id: TelecomServerCircuitboard
|
||||
parent: BaseMachineCircuitboard
|
||||
name: telecommunication server machine board
|
||||
description: A machine printed circuit board for an telecommunication server
|
||||
components:
|
||||
- type: MachineBoard
|
||||
prototype: TelecomServer
|
||||
requirements:
|
||||
Capacitor: 1
|
||||
ScanningModule: 2
|
||||
materialRequirements:
|
||||
Steel: 1
|
||||
Cable: 2
|
||||
|
||||
@@ -326,6 +326,7 @@
|
||||
- TraversalDistorterMachineCircuitboard
|
||||
- BoozeDispenserMachineCircuitboard
|
||||
- SodaDispenserMachineCircuitboard
|
||||
- TelecomServerCircuitboard
|
||||
- type: MaterialStorage
|
||||
whitelist:
|
||||
tags:
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
- type: entity
|
||||
parent: [ BaseMachinePowered, ConstructibleMachine ]
|
||||
id: TelecomServer
|
||||
name: telecommunication server
|
||||
description: When powered and filled with encryption keys it allows radio headset communication
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Structures/Machines/telecomms.rsi
|
||||
snapCardinals: true
|
||||
netsync: false
|
||||
layers:
|
||||
- state: icon
|
||||
- state: unlit
|
||||
shader: unshaded
|
||||
map: ["enum.PowerDeviceVisualLayers.Powered"]
|
||||
- state: panel
|
||||
map: ["enum.WiresVisualLayers.MaintenancePanel"]
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.PowerDeviceVisuals.Powered:
|
||||
enum.PowerDeviceVisualLayers.Powered:
|
||||
True: { visible: true }
|
||||
False: { visible: false }
|
||||
- type: Appearance
|
||||
- type: WiresVisuals
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.4,-0.4,0.4,0.4"
|
||||
density: 190
|
||||
mask:
|
||||
- MachineMask
|
||||
layer:
|
||||
- MachineLayer
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 100
|
||||
behaviors:
|
||||
- !type:ChangeConstructionNodeBehavior
|
||||
node: machineFrame
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- type: Machine
|
||||
board: TelecomServerCircuitboard
|
||||
- type: Wires
|
||||
BoardName: "TelecomServer"
|
||||
LayoutId: TelecomServer
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Pullable
|
||||
- type: EncryptionKeyHolder
|
||||
keysExtractionMethod: Prying
|
||||
keySlots: 10
|
||||
- type: TelecomServer
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
key_slots: !type:Container
|
||||
machine_board: !type:Container
|
||||
machine_parts: !type:Container
|
||||
|
||||
- type: entity
|
||||
parent: TelecomServer
|
||||
id: TelecomServerFilled
|
||||
suffix: Filled
|
||||
components:
|
||||
- type: ContainerFill
|
||||
containers:
|
||||
key_slots:
|
||||
- EncryptionKeyCommon
|
||||
- EncryptionKeyCargo
|
||||
- EncryptionKeyEngineering
|
||||
- EncryptionKeyMedical
|
||||
- EncryptionKeyScience
|
||||
- EncryptionKeySecurity
|
||||
- EncryptionKeyService
|
||||
- EncryptionKeyCommand
|
||||
@@ -527,3 +527,11 @@
|
||||
materials:
|
||||
Steel: 100
|
||||
Glass: 900
|
||||
|
||||
- type: latheRecipe
|
||||
id: TelecomServerCircuitboard
|
||||
result: TelecomServerCircuitboard
|
||||
completetime: 4
|
||||
materials:
|
||||
Steel: 100
|
||||
Glass: 900
|
||||
|
||||
Reference in New Issue
Block a user