Voice recorder (#20)

*added voice recorder
This commit is contained in:
Viktor
2024-02-01 15:17:04 +02:00
committed by GitHub
parent 84c89245b6
commit 876bd21bd2
16 changed files with 427 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
voice-recorder-on = recording now
voice-recorder-off = recording stopped
voice-recorder-print = Print recording
voice-recorder-stamp = TRANSCRIPT
voice-recorder-title = NANOTRASEN BLCK-M VOICE RECORDER TRANSCRIPT
voice-recorder-start = *start of recording*
voice-recorder-end = *end of recording*
voice-recorder-paper-name = recorder transcript
voice-recorder-paper-desc = BLCK-M voice recorder transcript
voice-recorder-state = Voice recorder
voice-recorder-state-on = is recording
voice-recorder-state-off = is off
ent-CrateSecurityVoiceRecorder = voice recorder crate
.desc = Contains 3 voice recorders to ensure that no evidence will be lost. Does not require any access to open.

View File

@@ -0,0 +1,17 @@
voice-recorder-on = запись включена
voice-recorder-off = запись остановлена
voice-recorder-print = Распечатать
voice-recorder-stamp = СТЕНОГРАММА
voice-recorder-title = NANOTRASEN BLCK-M VOICE RECORDER TRANSCRIPT
voice-recorder-start = *начало записи*
voice-recorder-end = *конец записи*
voice-recorder-paper-name = стенограмма
voice-recorder-paper-desc = копия стенограммы записанной на диктофон типа BLCK-M
voice-recorder-state = Диктофон
voice-recorder-state-on = ведёт запись
voice-recorder-state-off = выключен
ent-VoiceRecorder = диктофон
.desc = Диктофон типа BLCK-M. Имеет втроенный принтер для печати стенограмм. Каждая новая запись стирает предыдущую.
ent-CrateSecurityVoiceRecorder = ящик с диктофонами
.desc = Ящик с диктофонами типа BLCK-M. Содержит 3 единицы. Не трубует дополнительных доступов.

View File

@@ -87,3 +87,13 @@
cost: 2000
category: Security
group: market
- type: cargoProduct
id: SecurityVoiceRecorder
icon:
sprite: White/VoiceRecorder/voicerecorder.rsi
state: icon
product: CrateSecurityVoiceRecorder
cost: 1000
category: Security
group: market

View File

@@ -123,3 +123,12 @@
contents:
- id: BoxBodyCamera
amount: 2
- type: entity
id: CrateSecurityVoiceRecorder
parent: CrateGenericSteel
components:
- type: StorageFill
contents:
- id: VoiceRecorder
amount: 4

View File

@@ -0,0 +1,29 @@
- type: entity
parent: BaseItem
id: VoiceRecorder
name: voice recorder
description: BLCK-M type voice recorder. Has built-in printer for printing transcripts. Each new record erases previous one.
components:
- type: Sprite
sprite: White/VoiceRecorder/voicerecorder.rsi
layers:
- state: icon-on
- type: GenericVisualizer
visuals:
enum.ToggleVisuals.Toggled:
enum.ToggleVisuals.Layer:
True: { state: icon-on }
False: { state: icon }
- type: Item
heldPrefix: off
sprite: White/VoiceRecorder/voicerecorder.rsi
- type: Appearance
- type: VoiceRecorder
blacklist:
components:
- SurveillanceCamera
- SurveillanceCameraMonitor
- RadioSpeaker
range: 5
- type: ActiveListener
range: 5

View File

@@ -256,6 +256,9 @@
},
{
"name": "paper_stamp-geraldiy"
}
},
{
"name": "paper_stamp-transcript"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@@ -0,0 +1,97 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "by Gargrarien",
"size": {"x": 32, "y": 32},
"states":
[
{
"name": "icon-on",
"directions": 1,
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "icon",
"directions": 1
},
{
"name": "off-inhand-left",
"directions": 4
},
{
"name": "off-inhand-right",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "on-inhand-right",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2,
0.2
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB