Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* bodycam

* fix
  • Loading branch information
yulilok authored Aug 31, 2024
1 parent 02fa999 commit aa64023
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 1 deletion.
1 change: 1 addition & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/heads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@
- id: BookBusido # Corvax-Books
- id: ClothingWristWatchGold # SS220 Wrist Watch
- id: WeaponMultiPhaseEnergyGun #SS220 MultiPhaze Energy Gun
- id: BodySecurityCamera #SS220-Bodycam

# Hardsuit table, used for suit storage as well
- type: entityTable
Expand Down
5 changes: 5 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- id: WeaponDisabler
- id: ClothingBeltSecurityFilled
- id: Flash
- id: BodySecurityCamera #SS220-Bodycam
# - id: ClothingEyesGlassesSunglasses #SS220-MinorTweaks
- id: ClothingEyesGlassesSecurity
- id: ClothingHeadsetAltSecurity
Expand Down Expand Up @@ -38,6 +39,7 @@
- id: WeaponDisabler
- id: ClothingBeltSecurityFilled
- id: Flash
- id: BodySecurityCamera #SS220-Bodycam
# - id: ClothingEyesGlassesSunglasses #SS220-MinorTweaks
- id: ClothingEyesGlassesSecurity
- id: ClothingHeadsetAltSecurity
Expand All @@ -64,6 +66,7 @@
- type: StorageFill
contents:
- id: FlashlightSeclite
- id: BodySecurityCamera #SS220-Bodycam
prob: 0.8
- id: WeaponDisabler
- id: ClothingUniformJumpsuitSecGrey
Expand Down Expand Up @@ -103,6 +106,7 @@
- id: ClothingUniformJumpsuitBrigmedic
- id: ClothingUniformJumpskirtBrigmedic
- id: ClothingUniformJumpskirtOfLife
- id: BodySecurityCamera #SS220-Bodycam
prob: 0.1
- id: MedkitFilled
- id: MedkitCombatFilled
Expand Down Expand Up @@ -132,6 +136,7 @@
components:
- type: StorageFill
contents:
- id: BodySecurityCamera #SS220-Bodycam
- id: Telescopichka
- id: ClothingEyesHudSecurity
prob: 0.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
ClothingBeltSecurityWebbing: 5
CombatKnife: 3
Zipties: 12
BodySecurityCamera: 5 #SS220-Bodycam
RiotShield: 2
RiotLaserShield: 2
RiotBulletShield: 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,10 @@
enum.SurveillanceCameraMonitorUiKey.Key:
type: SurveillanceCameraMonitorBoundUserInterface
- type: ViewableStationMap # SS220 Camera-Map
# SS220-Bodycam-Begin
- type: Speech
- type: SurveillanceCameraSpeaker
# SS220-Bodycam-End

- type: entity
parent: BaseComputer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@
enum.SurveillanceCameraMonitorUiKey.Key:
type: SurveillanceCameraMonitorBoundUserInterface
- type: ViewableStationMap # SS220 Camera-Map

# SS220-Bodycam-Begin
- type: Speech
- type: SurveillanceCameraSpeaker
# SS220-Bodycam-End

# Wall Televisions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
- id: ClothingBeltSecurityFilled
- id: Flash
- id: ClothingEyesGlassesSecurity
- id: BodySecurityCamera #SS220-Bodycam
# - id: ClothingHandsGlovesCombat SS220 PilotsGloves
- id: ClothingShoesBootsJack
- id: ClothingEyesHudSecurity
Expand Down
46 changes: 46 additions & 0 deletions Resources/Prototypes/SS220/Entities/Objects/Tools/bodycamera.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
- type: entity
abstract: true
parent: BaseItem
id: BodyCamera
name: нагрудная камера
description: Нагрудная камера, за вами всегда будут смотреть.
components:
- type: Item
size: Tiny
- type: Sprite
sprite: SS220/Objects/Tools/bodycam.rsi
state: icon
- type: Eye
- type: WirelessNetworkConnection
- type: UserInterface
interfaces:
enum.SurveillanceCameraSetupUiKey.Camera:
type: SurveillanceCameraSetupBoundUi
- type: DeviceNetwork
deviceNetId: Wired
receiveFrequencyId: SurveillanceCameraSecurity
transmitFrequencyId: SurveillanceCamera
- type: SurveillanceCamera
setupAvailableNetworks:
- SurveillanceCameraSecurity
isOffable: true
isOffableVisuals: true
- type: SurveillanceCameraMicrophone
- type: ActiveListener
range: 10
- type: DetectiveCamera
- type: Tag
tags:
- DetectiveCamera

- type: entity
id: BodySecurityCamera
parent: BodyCamera
components:
- type: SurveillanceCamera
networkSet: true
id: "Нагрудная камера"
- type: Clothing
quickEquip: false
slots:
- neck
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions Resources/Textures/SS220/Objects/Tools/bodycam.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": 1,
"license": "EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt",
"copyright": "Sprited by EstKemran (Github) for SS220",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
}
]
}

0 comments on commit aa64023

Please sign in to comment.