]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
[Entity] Hospital Gown for medical (#15405)
authorFloofi <126319569+Shadowtheprotogen546@users.noreply.github.com>
Wed, 19 Apr 2023 07:43:57 +0000 (03:43 -0400)
committerGitHub <noreply@github.com>
Wed, 19 Apr 2023 07:43:57 +0000 (01:43 -0600)
* Functional hospital gown

* Added gowns to medidrobe

Resources/Prototypes/Catalog/VendingMachines/Inventories/medidrobe.yml
Resources/Prototypes/Entities/Clothing/OuterClothing/misc.yml
Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/equipped-OUTERCLOTHING.png [new file with mode: 0644]
Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/inhand-left.png [new file with mode: 0644]
Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/inhand-right.png [new file with mode: 0644]
Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/meta.json [new file with mode: 0644]

index 134b903a24e33bf1431213413b9d70b7117e21f2..32ffeee30a30b97b048e6c1ca257b3b4d735105d 100644 (file)
@@ -17,4 +17,4 @@
     ClothingHeadHatParamedicsoft: 2
     ClothingHeadHelmetVoidParamed: 1
     ClothingOuterHardsuitVoidParamed: 1
-
+    ClothingOuterHospitalGown: 5
index 90d00401e0cba359e6c8bc6d284d4c9b5b7c5af1..a17ab0a64c1ed3fdcb34e65cf3428a4715138231 100644 (file)
     sprite: Clothing/OuterClothing/Misc/ghostsheet.rsi
   - type: Clothing
     sprite: Clothing/OuterClothing/Misc/ghostsheet.rsi
+
+- type: entity
+  parent: ClothingOuterBase
+  id: ClothingOuterHospitalGown
+  name: Hospital Gown
+  description: Made from the wool of slaughtered baby lambs.  The cruelty makes it softer.
+  components:
+  - type: Sprite
+    sprite: Clothing/OuterClothing/Misc/hospitalgown.rsi
+  - type: Clothing
+    sprite: Clothing/OuterClothing/Misc/hospitalgown.rsi
diff --git a/Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/equipped-OUTERCLOTHING.png b/Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/equipped-OUTERCLOTHING.png
new file mode 100644 (file)
index 0000000..2dee4d4
Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/equipped-OUTERCLOTHING.png differ
diff --git a/Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/icon.png b/Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/icon.png
new file mode 100644 (file)
index 0000000..c2376c2
Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/icon.png differ
diff --git a/Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/inhand-left.png b/Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/inhand-left.png
new file mode 100644 (file)
index 0000000..f795ffc
Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/inhand-left.png differ
diff --git a/Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/inhand-right.png b/Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/inhand-right.png
new file mode 100644 (file)
index 0000000..472eec8
Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/inhand-right.png differ
diff --git a/Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/meta.json b/Resources/Textures/Clothing/OuterClothing/Misc/hospitalgown.rsi/meta.json
new file mode 100644 (file)
index 0000000..e482264
--- /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/4f6190e2895e09116663ef282d3ce1d8b35c032e",
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "states": [
+    {
+      "name": "icon"
+    },
+    {
+      "name": "equipped-OUTERCLOTHING",
+      "directions": 4
+    },
+    {
+      "name": "inhand-left",
+      "directions": 4
+    },
+    {
+      "name": "inhand-right",
+      "directions": 4
+    }
+  ]
+}