-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add body camera #711
add body camera #711
Changes from 9 commits
55b335a
2434fb5
e86c718
034dc34
7350cc4
de7f750
f5cc209
1c9a2de
23418e7
bb88d46
532a52e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
device-frequency-prototype-name-body-camera = Бодикамеры | ||
|
||
ent-SurveillanceCameraRouterHandheld = { ent-SurveillanceCameraRouterBase } | ||
.suffix = Бодикамеры | ||
.desc = { ent-SurveillanceCameraRouterBase.desc } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- type: deviceFrequency | ||
id: SurveillanceCameraHandheld | ||
name: device-frequency-prototype-name-body-camera | ||
frequency: 1940 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
- type: entity | ||
parent: BaseItem | ||
id: SurveillanceWirelessCameraBodySecurity | ||
name: боди-камера безопасности | ||
description: Camera | ||
components: | ||
- type: StationAiVision | ||
range: 2 | ||
- type: Item | ||
sprite: _SpaceCats/Clothing/Neck/Misc/nopro.rsi | ||
- type: Sprite | ||
state: icon | ||
sprite: _SpaceCats/Clothing/Neck/Misc/nopro.rsi | ||
- type: Clothing | ||
quickEquip: true | ||
slots: | ||
- neck | ||
- type: Eye | ||
- type: UserInterface | ||
interfaces: | ||
enum.SurveillanceCameraSetupUiKey.Camera: | ||
type: SurveillanceCameraSetupBoundUi | ||
- type: DeviceNetwork | ||
deviceNetId: Wired | ||
receiveFrequencyId: SurveillanceCameraSecurity | ||
transmitFrequencyId: SurveillanceCamera | ||
- type: SurveillanceCamera | ||
networkSet: true | ||
setupAvailableNetworks: | ||
- SurveillanceCameraHandheld | ||
- SurveillanceCamera | ||
- type: SpamEmitSound | ||
minInterval: 90 | ||
maxInterval: 300 | ||
sound: | ||
path: /Audio/Machines/timer.ogg | ||
params: | ||
volume: -8 | ||
maxDistance: 10 | ||
variation: 0.05 | ||
|
||
- type: entity | ||
id: SurveillanceWirelessCameraBody | ||
parent: SurveillanceWirelessCameraBodySecurity | ||
name: боди-камера | ||
suffix: HandHeld | ||
components: | ||
- type: DeviceNetwork | ||
deviceNetId: Wired | ||
receiveFrequencyId: SurveillanceCameraService | ||
transmitFrequencyId: SurveillanceCamera |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,9 @@ | ||||||
- type: entity | ||||||
parent: SurveillanceCameraRouterBase | ||||||
id: SurveillanceCameraRouterHandheld | ||||||
name: Camerahelds | ||||||
description: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Добавьте описание для сущности Поле описания не должно быть пустым. Добавьте соответствующее описание для камеры. name: Camerahelds
- description:
+ description: Портативный роутер для управления нательными камерами наблюдения. 📝 Committable suggestion
Suggested change
|
||||||
components: | ||||||
- type: SurveillanceCameraRouter | ||||||
subnetFrequency: SurveillanceCameraHandheld | ||||||
subnetColor: "#DE20AA" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Исправьте опечатку в имени файла Файл находится в директории с опечаткой: Необходимо переименовать файл: - Resources/Prototypes/_SpaceCats/Entities/Structures/Machines/survelliance_camera_routers.yml
+ Resources/Prototypes/_SpaceCats/Entities/Structures/Machines/surveillance_camera_routers.yml 🧰 Tools🪛 yamllint (1.35.1)[error] 9-9: no new line character at the end of file (new-line-at-end-of-file) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "Made by NeKognitoHazard", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "inhand-right", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "equipped-NECK", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "equipped-NECK-vox", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "icon" | ||
}, | ||
{ | ||
"name": "inhand-left", | ||
"directions": 4 | ||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Настройки звука таймера требуют корректировки
Текущие настройки звука действительно могут быть навязчивыми:
Рекомендации:
🔗 Analysis chain
Проверить настройки звука таймера
Текущие настройки звука могут быть слишком навязчивыми:
Предлагаю проверить наличие похожих настроек в других устройствах:
Let me search for other timer sound configurations to compare with.
Let me search for other SpamEmitSound configurations with sound parameters to compare.
Let me fix the search pattern.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 68590
Script:
Length of output: 1051
Script:
Length of output: 246
Script:
Length of output: 2695