]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add camera bug (#30250)
authorpofitlo <kuzminvladislav237@gmail.com>
Mon, 30 Sep 2024 22:24:36 +0000 (02:24 +0400)
committerGitHub <noreply@github.com>
Mon, 30 Sep 2024 22:24:36 +0000 (00:24 +0200)
* Add camera bug

* Update camera_bug.png

* fix

* change

* Update Resources/Prototypes/Entities/Objects/Devices/Syndicate_Gadgets/camera_bug.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* Update Resources/Prototypes/Catalog/uplink_catalog.yml

---------

Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Resources/Locale/en-US/store/uplink-catalog.ftl
Resources/Prototypes/Catalog/uplink_catalog.yml
Resources/Prototypes/Entities/Objects/Devices/Syndicate_Gadgets/camera_bug.yml [new file with mode: 0644]
Resources/Textures/Objects/Devices/camera_bug.rsi/camera_bug.png [new file with mode: 0644]
Resources/Textures/Objects/Devices/camera_bug.rsi/meta.json [new file with mode: 0644]

index 806a008491e1c1ec1ada8fb36e4af066d755075f..e0864de41bcaa5d64f2a0d7a5cc734fdf0d666db 100644 (file)
@@ -443,6 +443,9 @@ uplink-barber-scissors-desc = A good tool to give your fellow agent a nice hairc
 uplink-backpack-syndicate-name = Syndicate backpack
 uplink-backpack-syndicate-desc = A lightweight explosion-proof backpack for holding various traitor goods
 
+uplink-cameraBug-name = Camera bug
+uplink-cameraBug-desc = A portable device that allows you to view the station's cameras.
+
 uplink-combat-bakery-name = Combat Bakery Kit
 uplink-combat-bakery-desc = A kit of clandestine baked weapons. Contains a baguette sword, a pair of throwing croissants, and a syndicate microwave board for making more. Once the job is done, eat the evidence.
 
index 83c739e6c536b3c69dc68fd2850f1b9a234d6b9e..8d7f835603bb1ded83fac06afeb909de3ded487d 100644 (file)
   categories:
     - UplinkDisruption
 
+- type: listing
+  id: UplinkCameraBug
+  name: uplink-cameraBug-name
+  description: uplink-cameraBug-desc
+  productEntity: CameraBug
+  cost:
+    Telecrystal: 4
+  categories:
+  - UplinkDisruption
+
 # Allies
 
 - type: listing
diff --git a/Resources/Prototypes/Entities/Objects/Devices/Syndicate_Gadgets/camera_bug.yml b/Resources/Prototypes/Entities/Objects/Devices/Syndicate_Gadgets/camera_bug.yml
new file mode 100644 (file)
index 0000000..6e10d52
--- /dev/null
@@ -0,0 +1,25 @@
+- type: entity
+  id: CameraBug
+  parent: [ BaseItem, BaseSyndicateContraband ]
+  name: camera bug
+  description: An illegal syndicate device that allows you to hack into the station's camera network.
+  components:
+  - type: Sprite
+    sprite: Objects/Devices/camera_bug.rsi
+    layers:
+    - state: camera_bug
+  - type: Item
+  - type: ActivatableUI
+    requireActiveHand: false
+    inHandsOnly: true
+    key: enum.SurveillanceCameraMonitorUiKey.Key
+  - type: UserInterface
+    interfaces:
+      enum.SurveillanceCameraMonitorUiKey.Key:
+        type: SurveillanceCameraMonitorBoundUserInterface
+  - type: DeviceNetwork
+    deviceNetId: Wired
+    receiveFrequencyId: SurveillanceCamera
+    transmitFrequencyId: SurveillanceCamera
+  - type: WiredNetworkConnection
+  - type: SurveillanceCameraMonitor
\ No newline at end of file
diff --git a/Resources/Textures/Objects/Devices/camera_bug.rsi/camera_bug.png b/Resources/Textures/Objects/Devices/camera_bug.rsi/camera_bug.png
new file mode 100644 (file)
index 0000000..ba8255f
Binary files /dev/null and b/Resources/Textures/Objects/Devices/camera_bug.rsi/camera_bug.png differ
diff --git a/Resources/Textures/Objects/Devices/camera_bug.rsi/meta.json b/Resources/Textures/Objects/Devices/camera_bug.rsi/meta.json
new file mode 100644 (file)
index 0000000..c4298b6
--- /dev/null
@@ -0,0 +1,14 @@
+{
+  "version": 1,
+  "license": "CC-BY-SA-3.0",
+  "copyright": "created by pofitlo",
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "states": [
+    {
+      "name": "camera_bug"
+    }
+  ]
+}