-
Notifications
You must be signed in to change notification settings - Fork 154
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
Sanek31 portable camera monitor #820
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
41cd4e3
Add files via upload
sanek31 012ea6d
Update backpack.yml
sanek31 ad67da8
Create portable_computers.yml
sanek31 c609465
Update warden.yml
sanek31 2dc9039
Update portable_computers.yml
sanek31 1d7941e
Update portable_computers.yml
sanek31 112eff1
make it normal
Kirillcas 6b7d39d
Update backpack.yml
Kirillcas 801674a
Add files via upload
sanek31 9a54893
Add files via upload
sanek31 158d28c
Update Resources/Locale/ru-RU/backmen/prototypes/Objects/devices/port…
sanek31 0a5345e
Merge branch 'master' into pr/820
KayzelW File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
Resources/Locale/ru-RU/backmen/prototypes/Objects/devices/portable_computers.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ent-HandHeldCameras = ручной монитор камер | ||
.desc = Портативное устройство для удаленного мониторинга камер безопасности станции. | ||
ent-HandHeldCamerasEmpty = { ent-HandHeldCameras } | ||
.desc = { ent-HandHeldCameras.desc } | ||
.suffix = Пустой |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,4 @@ | |
storage: | ||
back: | ||
- Flash | ||
- HandHeldCameras |
63 changes: 63 additions & 0 deletions
63
Resources/Prototypes/_Backmen/Entities/Tools/portable_computers.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
- type: entity | ||
name: handheld cameras monitor | ||
parent: BaseHandheldComputer | ||
id: HandHeldCameras | ||
description: The ability to monitoring discreetly anywhere and anytime, just in your pocket. | ||
components: | ||
- type: Item | ||
shape: | ||
- 0,0,1,1 | ||
- type: Sprite | ||
sprite: Backmen/Objects/Tools/handheld_camera_monitor.rsi | ||
state: off | ||
layers: | ||
- state: off | ||
- state: on | ||
visible: true | ||
map: [ "enum.PowerDeviceVisualLayers.Powered" ] | ||
- type: Appearance | ||
- type: GenericVisualizer | ||
visuals: | ||
enum.PowerCellSlotVisuals.Enabled: | ||
enum.PowerDeviceVisualLayers.Powered: | ||
True: { visible: true } | ||
False: { visible: false } | ||
- type: PowerCellDraw | ||
drawRate: 3 | ||
useRate: 100 | ||
- type: ActivatableUIRequiresPowerCell | ||
- type: ToggleCellDraw | ||
- type: ActivatableUI | ||
key: enum.SurveillanceCameraMonitorUiKey.Key | ||
inHandsOnly: true | ||
- type: UserInterface | ||
interfaces: | ||
enum.SurveillanceCameraMonitorUiKey.Key: | ||
type: SurveillanceCameraMonitorBoundUserInterface | ||
- type: StaticPrice | ||
price: 150 | ||
- type: SurveillanceCameraMonitor | ||
- type: DeviceNetwork | ||
deviceNetId: Wired | ||
receiveFrequencyId: SurveillanceCamera | ||
transmitFrequencyId: SurveillanceCamera | ||
- type: WiredNetworkConnection | ||
|
||
- type: entity | ||
id: HandHeldCamerasEmpty | ||
parent: HandHeldCameras | ||
suffix: Empty | ||
components: | ||
- type: ItemSlots | ||
slots: | ||
cell_slot: | ||
name: power-cell-slot-component-slot-name-default | ||
- type: Sprite | ||
sprite: Backmen/Objects/Tools/handheld_camera_monitor.rsi | ||
state: icon | ||
layers: | ||
- state: off | ||
- state: on | ||
shader: unshaded | ||
visible: false | ||
map: [ "enum.PowerDeviceVisualLayers.Powered" ] |
25 changes: 25 additions & 0 deletions
25
Resources/Textures/Backmen/Objects/Tools/handheld_camera_monitor.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"version": 1, | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "Taken from Frontier Station, created by Tem Armoff https://github.com/new-frontiers-14/frontier-station-14/pull/484/files", | ||
"states": [ | ||
{ | ||
"name": "on", | ||
"directions": 1, | ||
"delays": [ | ||
[ | ||
0.5, | ||
0.5 | ||
] | ||
] | ||
}, | ||
{ | ||
"name": "off", | ||
"directions": 1 | ||
} | ||
] | ||
} |
Binary file added
BIN
+524 Bytes
Resources/Textures/Backmen/Objects/Tools/handheld_camera_monitor.rsi/off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+576 Bytes
Resources/Textures/Backmen/Objects/Tools/handheld_camera_monitor.rsi/on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Consider adding access restrictions for surveillance data
As this is intended for warden use, consider implementing access restrictions to prevent unauthorized users from accessing surveillance data through the device network.
Consider adding:
SurveillanceCameraMonitor
component