From: pofitlo Date: Mon, 30 Sep 2024 20:44:44 +0000 (+0400) Subject: Syndicate business card (#32162) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=2f286afd956899ab480a875e10c93ed085f8bf43;p=space-station-14.git Syndicate business card (#32162) * add card * Update Resources/Locale/en-US/paper/syndicate-business-card.ftl Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com> * fix * Update Resources/Prototypes/Entities/Objects/Misc/business card.yml Co-authored-by: Эдуард <36124833+Ertanic@users.noreply.github.com> * add logo * swap the "funny 'c'" * improve logo (a little) and also fight with the funny 'c' * fix * oh... i think... mabe i done with this?... * add * smaller cards * fix * Update synicate_card.png * fix typo * fix * fix * Update Resources/Prototypes/Entities/Objects/Misc/business_card.yml --------- Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com> Co-authored-by: Эдуард <36124833+Ertanic@users.noreply.github.com> Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> --- diff --git a/Resources/Locale/en-US/paper/syndicate-business-card.ftl b/Resources/Locale/en-US/paper/syndicate-business-card.ftl new file mode 100644 index 0000000000..b4c8c8c43c --- /dev/null +++ b/Resources/Locale/en-US/paper/syndicate-business-card.ftl @@ -0,0 +1,2 @@ +syndicate-business-card-base = {" "} It's nothing personal, it's just business + diff --git a/Resources/Locale/en-US/store/uplink-catalog.ftl b/Resources/Locale/en-US/store/uplink-catalog.ftl index 45d7ad2816..806a008491 100644 --- a/Resources/Locale/en-US/store/uplink-catalog.ftl +++ b/Resources/Locale/en-US/store/uplink-catalog.ftl @@ -445,3 +445,6 @@ uplink-backpack-syndicate-desc = A lightweight explosion-proof backpack for hold 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. + +uplink-business-card-name = Syndicate business card. +uplink-business-card-desc = A business card that you can give to someone to demonstrate your involvement in the syndicate or leave at the crime scene in order to make fun of the detective. You can buy no more than three of them. diff --git a/Resources/Prototypes/Catalog/uplink_catalog.yml b/Resources/Prototypes/Catalog/uplink_catalog.yml index c84e88d077..83c739e6c5 100644 --- a/Resources/Prototypes/Catalog/uplink_catalog.yml +++ b/Resources/Prototypes/Catalog/uplink_catalog.yml @@ -1805,6 +1805,17 @@ categories: - UplinkPointless +- type: listing + id: UplinkSyndicateBusinessCard + name: uplink-business-card-name + description: uplink-business-card-desc + productEntity: SyndicateBusinessCard + categories: + - UplinkPointless + conditions: + - !type:ListingLimitedStockCondition + stock: 3 + # Job Specific - type: listing diff --git a/Resources/Prototypes/Entities/Objects/Misc/business_card.yml b/Resources/Prototypes/Entities/Objects/Misc/business_card.yml new file mode 100644 index 0000000000..a04351693a --- /dev/null +++ b/Resources/Prototypes/Entities/Objects/Misc/business_card.yml @@ -0,0 +1,26 @@ +- type: entity + id: SyndicateBusinessCard + name: syndicate business card + parent: Paper + description: A black card with the syndicate's logo. There's something written on the back. + components: + - type: Sprite + sprite: Objects/Misc/bureaucracy.rsi + layers: + - state: syndicate_card + - state: syndicate_card + map: ["enum.PaperVisualLayers.Writing"] + visible: false + - state: paper_stamp-generic + map: ["enum.PaperVisualLayers.Stamp"] + visible: false + - type: Paper + content: syndicate-business-card-base + - type: PaperVisuals + headerImagePath: "/Textures/Interface/Paper/paper_heading_syndicate_logo.svg.96dpi.png" + headerMargin: 0.0, 0.0, 0.0, 2.0 + backgroundImagePath: "/Textures/Interface/Paper/paper_background_black.svg.96dpi.png" + backgroundPatchMargin: 16.0, 16.0, 16.0, 16.0 + contentMargin: 4.0, 4.0, 4.0, 4.0 + maxWritableArea: 400.0, 256.0 + diff --git a/Resources/Textures/Interface/Paper/paper_background_black.svg b/Resources/Textures/Interface/Paper/paper_background_black.svg new file mode 100644 index 0000000000..7c208901f4 --- /dev/null +++ b/Resources/Textures/Interface/Paper/paper_background_black.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + diff --git a/Resources/Textures/Interface/Paper/paper_background_black.svg.96dpi.png b/Resources/Textures/Interface/Paper/paper_background_black.svg.96dpi.png new file mode 100644 index 0000000000..47e74fc873 Binary files /dev/null and b/Resources/Textures/Interface/Paper/paper_background_black.svg.96dpi.png differ diff --git a/Resources/Textures/Interface/Paper/paper_background_black.svg.96dpi.png.yml b/Resources/Textures/Interface/Paper/paper_background_black.svg.96dpi.png.yml new file mode 100644 index 0000000000..5c43e23305 --- /dev/null +++ b/Resources/Textures/Interface/Paper/paper_background_black.svg.96dpi.png.yml @@ -0,0 +1,2 @@ +sample: + filter: true diff --git a/Resources/Textures/Interface/Paper/paper_heading_syndicate_logo.svg b/Resources/Textures/Interface/Paper/paper_heading_syndicate_logo.svg new file mode 100644 index 0000000000..e7ba27f8cd --- /dev/null +++ b/Resources/Textures/Interface/Paper/paper_heading_syndicate_logo.svg @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/Textures/Interface/Paper/paper_heading_syndicate_logo.svg.96dpi.png b/Resources/Textures/Interface/Paper/paper_heading_syndicate_logo.svg.96dpi.png new file mode 100644 index 0000000000..21e85b65d8 Binary files /dev/null and b/Resources/Textures/Interface/Paper/paper_heading_syndicate_logo.svg.96dpi.png differ diff --git a/Resources/Textures/Interface/Paper/paper_heading_syndicate_logo.svg.96dpi.png.yml b/Resources/Textures/Interface/Paper/paper_heading_syndicate_logo.svg.96dpi.png.yml new file mode 100644 index 0000000000..5c43e23305 --- /dev/null +++ b/Resources/Textures/Interface/Paper/paper_heading_syndicate_logo.svg.96dpi.png.yml @@ -0,0 +1,2 @@ +sample: + filter: true diff --git a/Resources/Textures/Objects/Misc/bureaucracy.rsi/meta.json b/Resources/Textures/Objects/Misc/bureaucracy.rsi/meta.json index 9005034d3f..bc9ba80adf 100644 --- a/Resources/Textures/Objects/Misc/bureaucracy.rsi/meta.json +++ b/Resources/Textures/Objects/Misc/bureaucracy.rsi/meta.json @@ -1,7 +1,7 @@ { "version": 1, "license": "CC-BY-SA-3.0", - "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/e1142f20f5e4661cb6845cfcf2dd69f864d67432. paper_stamp-syndicate by Veritius. paper_receipt, paper_receipt_horizontal by eoineoineoin. paper_stamp-greytide by ubaser. paper_stamp-psychologist by clinux", + "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/e1142f20f5e4661cb6845cfcf2dd69f864d67432. paper_stamp-syndicate by Veritius. paper_receipt, paper_receipt_horizontal by eoineoineoin. paper_stamp-greytide by ubaser. paper_stamp-psychologist by clinux. syndicate_card by Aserovich", "size": { "x": 32, "y": 32 @@ -228,6 +228,9 @@ { "name": "paper_stamp-greytide" }, + { + "name": "syndicate_card" + }, { "name": "paper_stamp-psychologist" } diff --git a/Resources/Textures/Objects/Misc/bureaucracy.rsi/syndicate_card.png b/Resources/Textures/Objects/Misc/bureaucracy.rsi/syndicate_card.png new file mode 100644 index 0000000000..e015c78484 Binary files /dev/null and b/Resources/Textures/Objects/Misc/bureaucracy.rsi/syndicate_card.png differ