[Add] Deep Space Com (#912)

This commit is contained in:
BIGZi0348
2025-03-05 20:38:37 +03:00
committed by GitHub
13 changed files with 395 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
ent-ComputerDeepSpaceCom = консоль дальней связи
.desc = Дальняя космическая связь обеспечивает быстрый обмен сообщениями почти на любом расстоянии. Корпорация слышит!
ent-DeepSpaceComComputerCircuitboard = печатная плата пульта дальней связи
.desc = Печатная плата для пульта дальней космической связи.
chat-radio-deepspace = Дальняя связь

View File

@@ -0,0 +1,5 @@
deepspacecom-menu-title = Пульт дальней космической связи
deepspacecom-channel-label = Частота:
deepspacecom-button-text-mic = Микрофон
deepspacecom-button-text-speaker = Динамик
deepspacecom-flavor-text = Поиск сигналов...

View File

@@ -0,0 +1,62 @@
- type: entity
parent: BaseComputer
id: ComputerDeepSpaceCom
name: deep space communications desk
description: A computer.
components:
- type: ApcPowerReceiver
- type: Electrified
enabled: false
usesApcPower: true
- type: RadioMicrophone
powerRequired: true
unobstructedRequired: true
listenRange: 2
toggleOnInteract: false
- type: RadioSpeaker
toggleOnInteract: false
- type: DeepSpaceCom
supportedChannels:
- DeepSpace
- Common
- type: TTS # check tts work
id: Sentrybot
- type: Speech
speechVerb: Robotic
- type: Sprite # replace sprites in future
layers:
- map: ["computerLayerBody"]
state: computer
- map: ["computerLayerKeyboard"]
state: generic_keyboard
- map: ["computerLayerScreen"]
sprite: White/Structures/deepSpaceCom.rsi
state: comm
- map: ["computerLayerKeys"]
state: id_key
- type: ActivatableUI
key: enum.DeepSpaceComUiKey.Key
- type: UserInterface
interfaces:
enum.DeepSpaceComUiKey.Key:
type: DeepSpaceComBoundUI
- type: Computer
board: DeepSpaceComComputerCircuitboard
- type: PointLight
radius: 1.5
energy: 1.6
color: "#3c5eb5"
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: StrongMetallic
- type: entity
parent: BaseComputerCircuitboard
id: DeepSpaceComComputerCircuitboard
name: deepspacecom computer board
description: A computer printed circuit board for a DeepSpaceCom desk.
components:
- type: Sprite
state: cpu_command
- type: ComputerBoard
prototype: ComputerDeepSpaceCom

View File

@@ -118,3 +118,9 @@
color: "#f6ce64"
# long range since otherwise it'd defeat the point of a handheld radio independent of telecomms
longRange: true
- type: radioChannel # WD start
id: DeepSpace
name: chat-radio-deepspace
frequency: 1501
longRange: true # WD end

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,33 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/bd6873fd4dd6a61d7e46f1d75cd4d90f64c40894.",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "comm",
"directions": 4,
"delays": [
[
0.1,
0.1
],
[
0.1,
0.1
],
[
0.1,
0.1
],
[
0.1,
0.1
]
]
}
]
}