]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add trench coats (#23563)
authorUbaser <134914314+UbaserB@users.noreply.github.com>
Sun, 7 Jan 2024 01:06:15 +0000 (12:06 +1100)
committerGitHub <noreply@github.com>
Sun, 7 Jan 2024 01:06:15 +0000 (17:06 -0800)
Resources/Prototypes/Catalog/VendingMachines/Inventories/winterdrobe.yml
Resources/Prototypes/Entities/Clothing/OuterClothing/coats.yml
Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/equipped-OUTERCLOTHING.png [new file with mode: 0644]
Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/icon-open.png [new file with mode: 0644]
Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/inhand-left.png [new file with mode: 0644]
Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/inhand-right.png [new file with mode: 0644]
Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-equipped-OUTERCLOTHING.png [new file with mode: 0644]
Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-inhand-left.png [new file with mode: 0644]
Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-inhand-right.png [new file with mode: 0644]

index 94d9e64703dd086b020f6bfc5ee0badfafac3505..0f8c73dac307e5c85a23ee2aea9f6b06d2c588df 100644 (file)
@@ -9,11 +9,12 @@
     ClothingNeckScarfStripedLightBlue: 3
     ClothingNeckScarfStripedOrange: 3
     ClothingNeckScarfStripedPurple: 3
+    ClothingOuterCoatTrench: 6
     ClothingOuterWinterCoat: 6
+    ClothingShoesBootsWinter: 6
     ClothingOuterFlannelRed: 2
     ClothingOuterFlannelBlue: 2
     ClothingOuterFlannelGreen: 2
-    ClothingShoesBootsWinter: 6
     ClothingOuterCoatBomber: 3
     ClothingHeadHatSantahat: 2
     ClothingHeadHatXmasCrown: 2
index c54b4ac46f6d5c7543fab718902eae36c3af3666..f92e533a89564df3a537a171f32b10a9f322701e 100644 (file)
   - type: ToggleableClothing
     clothingPrototype: ClothingHeadHatHoodChaplainHood
 
+- type: entity
+  parent: ClothingOuterStorageBase
+  id: ClothingOuterCoatTrench
+  name: trench coat
+  description: A comfy trench coat.
+  components:
+  - type: Sprite
+    sprite: Clothing/OuterClothing/Coats/trenchcoat.rsi
+  - type: Clothing
+    sprite: Clothing/OuterClothing/Coats/trenchcoat.rsi
+  - type: TemperatureProtection
+    coefficient: 0.1
+  - type: Armor
+    modifiers:
+      coefficients:
+        Slash: 0.95
+  - type: Food
+    requiresSpecialDigestion: true
+  - type: SolutionContainerManager
+    solutions:
+      food:
+        maxVol: 20
+        reagents:
+        - ReagentId: Fiber
+          Quantity: 20
+
 - type: entity
   parent: ClothingOuterStorageBase
   id: ClothingOuterCoatLab
diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/equipped-OUTERCLOTHING.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/equipped-OUTERCLOTHING.png
new file mode 100644 (file)
index 0000000..c30c890
Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/equipped-OUTERCLOTHING.png differ
diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/icon-open.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/icon-open.png
new file mode 100644 (file)
index 0000000..6f17e30
Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/icon-open.png differ
diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/icon.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/icon.png
new file mode 100644 (file)
index 0000000..059e7c4
Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/icon.png differ
diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/inhand-left.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/inhand-left.png
new file mode 100644 (file)
index 0000000..3a84ff3
Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/inhand-left.png differ
diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/inhand-right.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/inhand-right.png
new file mode 100644 (file)
index 0000000..7cea94f
Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/inhand-right.png differ
diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/meta.json b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/meta.json
new file mode 100644 (file)
index 0000000..4028e55
--- /dev/null
@@ -0,0 +1,41 @@
+{
+  "version": 1,
+  "license": "CC-BY-SA-3.0",
+  "copyright": "Taken from paradise at commit https://github.com/ParadiseSS13/Paradise/pull/19491/commits/e9a900022ca1cf0fed0e320c7a0cce500287ab99",
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "states": [
+    {
+      "name": "icon"
+    },
+    {
+      "name": "icon-open"
+    },
+    {
+      "name": "equipped-OUTERCLOTHING",
+      "directions": 4
+    },
+    {
+      "name": "open-equipped-OUTERCLOTHING",
+      "directions": 4
+    },
+    {
+      "name": "inhand-left",
+      "directions": 4
+    },
+    {
+      "name": "inhand-right",
+      "directions": 4
+    },
+    {
+      "name": "open-inhand-left",
+      "directions": 4
+    },
+    {
+      "name": "open-inhand-right",
+      "directions": 4
+    }
+  ]
+}
diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-equipped-OUTERCLOTHING.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-equipped-OUTERCLOTHING.png
new file mode 100644 (file)
index 0000000..1480211
Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-equipped-OUTERCLOTHING.png differ
diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-inhand-left.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-inhand-left.png
new file mode 100644 (file)
index 0000000..4567c69
Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-inhand-left.png differ
diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-inhand-right.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-inhand-right.png
new file mode 100644 (file)
index 0000000..f8a0ce3
Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-inhand-right.png differ