]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
add content (#22518)
authorEd <96445749+TheShuEd@users.noreply.github.com>
Fri, 15 Dec 2023 09:55:57 +0000 (12:55 +0300)
committerGitHub <noreply@github.com>
Fri, 15 Dec 2023 09:55:57 +0000 (02:55 -0700)
Resources/Locale/en-US/store/uplink-catalog.ftl
Resources/Prototypes/Catalog/uplink_catalog.yml
Resources/Prototypes/Entities/Objects/Fun/darts.yml
Resources/Textures/Objects/Fun/Darts/dartbox.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Objects/Fun/Darts/dartbox.rsi/meta.json [new file with mode: 0644]

index 3ad5fb5de38464a19c40956a44ef84881bce24ca..9725024c9ca4d412cedee5fb7673730f0ddb9e5d 100644 (file)
@@ -368,3 +368,6 @@ uplink-syndicate-pai-desc = A Syndicate variant of the pAI with access to the Sy
 
 uplink-bribe-name = Lobbying Bundle
 uplink-bribe-desc = A heartfelt gift that can help you sway someone's opinion. Real or counterfeit? Yes.
+
+uplink-hypodart-name = Hypodart
+uplink-hypodart-desc = A seemingly unremarkable dart with an enlarged reservoir for chemicals. It can store up to 7u reagents in itself, and instantly inject when it hits the target. Starts empty.
\ No newline at end of file
index cce9897256e1f6925f69ed89a0ab4212f4847080..dc668fd6a28c069abafab706e03d6697ebd163dc 100644 (file)
   categories:
   - UplinkUtility
 
+- type: listing
+  id: UplinkHypoDart
+  name: uplink-hypodart-name
+  description: uplink-hypodart-desc
+  icon: { sprite: /Textures/Objects/Fun/Darts/dart_red.rsi, state: icon }
+  productEntity: HypoDartBox
+  cost:
+    Telecrystal: 3
+  categories:
+  - UplinkUtility
+  
 # Implants
 
 - type: listing
index 34486ac93eb1b5ec2442ba5caeba3532cc7b41cb..8d8565361d499287f97d0bbf44526f513eed2957 100644 (file)
   - type: Item
     sprite: Objects/Fun/Darts/dart_yellow.rsi
 
+- type: entity
+  parent: Dart
+  id: HypoDart
+  suffix: HypoDart
+  components:
+  - type: SolutionContainerManager
+    solutions:
+      melee:
+        maxVol: 7
+  - type: SolutionInjectOnCollide
+    transferAmount: 7
+    blockSlots: NONE
+  - type: SolutionTransfer
+    maxTransferAmount: 7
+
 - type: entity
   name: dartboard
   id: TargetDarts
           path: /Audio/Effects/tree_fell.ogg
       - !type:DoActsBehavior
         acts: [ "Destruction" ]
+
+- type: entity
+  parent: BaseItem
+  id: HypoDartBox
+  name: hypodart box
+  suffix: HypoDart
+  description: A small box containing an hypodart. Packaging disintegrates when opened, leaving no evidence behind.
+  components:
+  - type: Sprite
+    sprite: Objects/Fun/Darts/dartbox.rsi
+    state: icon
+  - type: SpawnItemsOnUse
+    items:
+    - id: HypoDart
+    sound:
+      path: /Audio/Effects/unwrap.ogg
\ No newline at end of file
diff --git a/Resources/Textures/Objects/Fun/Darts/dartbox.rsi/icon.png b/Resources/Textures/Objects/Fun/Darts/dartbox.rsi/icon.png
new file mode 100644 (file)
index 0000000..8ccdee1
Binary files /dev/null and b/Resources/Textures/Objects/Fun/Darts/dartbox.rsi/icon.png differ
diff --git a/Resources/Textures/Objects/Fun/Darts/dartbox.rsi/meta.json b/Resources/Textures/Objects/Fun/Darts/dartbox.rsi/meta.json
new file mode 100644 (file)
index 0000000..df8899f
--- /dev/null
@@ -0,0 +1,14 @@
+{
+    "version": 1,
+    "license": "CC0-1.0",
+    "copyright": "Created for SS14 by TheShuEd (github)",
+    "size": {
+        "x": 32,
+        "y": 32
+    },
+    "states": [
+        {
+            "name": "icon"
+        }
+    ]
+}
\ No newline at end of file