From 0a8a6693a804a63868db96bda97af5492fe2ff44 Mon Sep 17 00:00:00 2001 From: Ed <96445749+TheShuEd@users.noreply.github.com> Date: Fri, 15 Dec 2023 12:55:57 +0300 Subject: [PATCH] add content (#22518) --- .../Locale/en-US/store/uplink-catalog.ftl | 3 ++ .../Prototypes/Catalog/uplink_catalog.yml | 11 +++++++ .../Prototypes/Entities/Objects/Fun/darts.yml | 31 ++++++++++++++++++ .../Objects/Fun/Darts/dartbox.rsi/icon.png | Bin 0 -> 322 bytes .../Objects/Fun/Darts/dartbox.rsi/meta.json | 14 ++++++++ 5 files changed, 59 insertions(+) create mode 100644 Resources/Textures/Objects/Fun/Darts/dartbox.rsi/icon.png create mode 100644 Resources/Textures/Objects/Fun/Darts/dartbox.rsi/meta.json diff --git a/Resources/Locale/en-US/store/uplink-catalog.ftl b/Resources/Locale/en-US/store/uplink-catalog.ftl index 3ad5fb5de3..9725024c9c 100644 --- a/Resources/Locale/en-US/store/uplink-catalog.ftl +++ b/Resources/Locale/en-US/store/uplink-catalog.ftl @@ -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 diff --git a/Resources/Prototypes/Catalog/uplink_catalog.yml b/Resources/Prototypes/Catalog/uplink_catalog.yml index cce9897256..dc668fd6a2 100644 --- a/Resources/Prototypes/Catalog/uplink_catalog.yml +++ b/Resources/Prototypes/Catalog/uplink_catalog.yml @@ -531,6 +531,17 @@ 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 diff --git a/Resources/Prototypes/Entities/Objects/Fun/darts.yml b/Resources/Prototypes/Entities/Objects/Fun/darts.yml index 34486ac93e..8d8565361d 100644 --- a/Resources/Prototypes/Entities/Objects/Fun/darts.yml +++ b/Resources/Prototypes/Entities/Objects/Fun/darts.yml @@ -114,6 +114,21 @@ - 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 @@ -174,3 +189,19 @@ 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 index 0000000000000000000000000000000000000000..8ccdee1f06cb52f63fa9725f57e70264bfddcbee GIT binary patch literal 322 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}e>`0rLn2y} z6C_v{Cy4Yk1saGr`Ue00KWo{y|5psUC(4}OY7#0b0R-z}_n*BG6z;i6@!(f-5>H)VqT*4+z++IhHfh4de@7J5)z2