]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Added outlaw glasses to uplink catalog (#15316)
authorlzk228 <124214523+lzk228@users.noreply.github.com>
Mon, 24 Apr 2023 19:55:12 +0000 (22:55 +0300)
committerGitHub <noreply@github.com>
Mon, 24 Apr 2023 19:55:12 +0000 (15:55 -0400)
Resources/Locale/en-US/store/uplink-catalog.ftl
Resources/Prototypes/Catalog/uplink_catalog.yml
Resources/Prototypes/Entities/Clothing/Eyes/glasses.yml
Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/equipped-EYES.png [new file with mode: 0644]
Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/inhand-left.png [new file with mode: 0644]
Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/inhand-right.png [new file with mode: 0644]
Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/meta.json [new file with mode: 0644]

index dbb18e6d94b1ed95261d009d63fb0fa62f8c5c1d..cea89d88178eef77f840fb53b08825c86f194dcb 100644 (file)
@@ -232,6 +232,9 @@ uplink-cat-ears-desc = UwU
 uplink-outlaw-hat-name = Outlaw Hat
 uplink-outlaw-hat-desc = A hat that makes you look like you carry a notched pistol, numbered one and nineteen more.
 
+uplink-outlaw-glasses-name = Outlaw Glasses
+uplink-outlaw-glasses-desc = A must for every self-respecting undercover agent.
+
 uplink-costume-pyjama-name = Syndicate Pyjama Duffel Bag
 uplink-costume-pyjama-desc = Contains 3 pairs of syndicate pyjamas and 3 plushies for the ultimate sleepover.
 
index 44b78418dd671cb1c1c6f9f6b7e1767df866e78c..f3bf002909ca7263bf063efd0ed61dde55bebc25 100644 (file)
   categories:
   - UplinkPointless
 
+- type: listing
+  id: UplinkOutlawGlasses
+  name: uplink-outlaw-glasses-name
+  description: uplink-outlaw-glasses-desc
+  productEntity: ClothingEyesGlassesOutlawGlasses
+  cost:
+    Telecrystal: 1
+  categories:
+  - UplinkPointless
+
 - type: listing
   id: UplinkCostumePyjama
   name: uplink-costume-pyjama-name
index 5c80c7379333b334e547e05600b76a99f842426d..4d68aeca73e36884f2b084c5a7eb8b5189b5eb28 100644 (file)
     sprite: Clothing/Eyes/Glasses/glasses.rsi
   - type: VisionCorrection
 
+- type: entity
+  parent: ClothingEyesBase
+  id: ClothingEyesGlassesOutlawGlasses
+  name: outlaw glasses
+  description: A must for every self-respecting undercover agent.
+  components:
+  - type: Sprite
+    sprite: Clothing/Eyes/Glasses/outlawglasses.rsi
+  - type: Clothing
+    sprite: Clothing/Eyes/Glasses/outlawglasses.rsi
+  - type: VisionCorrection
+  - type: IdentityBlocker
+
 - type: entity
   parent: ClothingEyesBase
   id: ClothingEyesGlassesSunglasses
diff --git a/Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/equipped-EYES.png b/Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/equipped-EYES.png
new file mode 100644 (file)
index 0000000..56ce8dd
Binary files /dev/null and b/Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/equipped-EYES.png differ
diff --git a/Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/icon.png b/Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/icon.png
new file mode 100644 (file)
index 0000000..722eefb
Binary files /dev/null and b/Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/icon.png differ
diff --git a/Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/inhand-left.png b/Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/inhand-left.png
new file mode 100644 (file)
index 0000000..b0f4888
Binary files /dev/null and b/Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/inhand-left.png differ
diff --git a/Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/inhand-right.png b/Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/inhand-right.png
new file mode 100644 (file)
index 0000000..72ac291
Binary files /dev/null and b/Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/inhand-right.png differ
diff --git a/Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/meta.json b/Resources/Textures/Clothing/Eyes/Glasses/outlawglasses.rsi/meta.json
new file mode 100644 (file)
index 0000000..36eed5d
--- /dev/null
@@ -0,0 +1,26 @@
+{
+  "version": 1,
+  "license": "CC-BY-SA-3.0",
+  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da and modified by лазік#7305",
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "states": [
+    {
+      "name": "icon"
+    },
+    {
+      "name": "equipped-EYES",
+      "directions": 4
+    },
+    {
+      "name": "inhand-left",
+      "directions": 4
+    },
+    {
+      "name": "inhand-right",
+      "directions": 4
+    }
+  ]
+}