]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add flowers to loadout (#32097)
authorАрт <123451459+JustArt1m@users.noreply.github.com>
Sun, 6 Oct 2024 12:48:49 +0000 (15:48 +0300)
committerGitHub <noreply@github.com>
Sun, 6 Oct 2024 12:48:49 +0000 (14:48 +0200)
* Add_Poppy&Lily

* Add_FlowerWreath

* Add_Headflowers

Sprites, meta, prototype

* Id_Changes

* Changes

* Update_Sprite

* Desc_Change

* Scale_Change

* Sprite_Scaling

Resources/Prototypes/Entities/Clothing/Head/misc.yml
Resources/Prototypes/Loadouts/Miscellaneous/trinkets.yml
Resources/Prototypes/Loadouts/loadout_groups.yml
Resources/Textures/Clothing/Head/Misc/hairflower.rsi/equipped-HELMET.png [new file with mode: 0644]
Resources/Textures/Clothing/Head/Misc/hairflower.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Clothing/Head/Misc/hairflower.rsi/meta.json [new file with mode: 0644]

index 22ea8ed6ba606cdd7fd09b6bff480c3a341758d6..254eaf37c80f5c8a172eeea03eb493cf429ae2ec 100644 (file)
       - WhitelistChameleon
   - type: StaticPrice
     price: 1
+
+- type: entity
+  parent: ClothingHeadBase
+  id: ClothingHeadHatHairflower
+  name: hairflower
+  description: A beautiful hairflower that can be inserted between locks of hair.
+  components:
+  - type: Sprite
+    sprite: Clothing/Head/Misc/hairflower.rsi
+  - type: Clothing
+    sprite: Clothing/Head/Misc/hairflower.rsi
index ea70828ce4a24daad39b6640f155de5b3fac9c19..14c1174a7d06d75c83a93b4c33e9c61829d25703 100644 (file)
@@ -8,6 +8,19 @@
       department: Command
       time: 3600 # 1 hour
 
+# Flowers
+- type: loadout
+  id: FlowerWreath
+  storage:
+    back:
+    - ClothingHeadHatFlowerWreath
+
+- type: loadout
+  id: Hairflower
+  storage:
+    back:
+    - ClothingHeadHatHairflower
+
 # Plushies
 - type: loadout
   id: PlushieLizard
index 1483fc3c11ffb29d973060cb2e3074e1cb17d1bc..069dae3ae1a4b63ebe3f44f1a1021e717499671d 100644 (file)
@@ -5,6 +5,8 @@
   minLimit: 0
   maxLimit: 3
   loadouts:
+  - FlowerWreath
+  - Hairflower
   - PlushieLizard
   - PlushieSpaceLizard
   - Lighter
diff --git a/Resources/Textures/Clothing/Head/Misc/hairflower.rsi/equipped-HELMET.png b/Resources/Textures/Clothing/Head/Misc/hairflower.rsi/equipped-HELMET.png
new file mode 100644 (file)
index 0000000..d1a436b
Binary files /dev/null and b/Resources/Textures/Clothing/Head/Misc/hairflower.rsi/equipped-HELMET.png differ
diff --git a/Resources/Textures/Clothing/Head/Misc/hairflower.rsi/icon.png b/Resources/Textures/Clothing/Head/Misc/hairflower.rsi/icon.png
new file mode 100644 (file)
index 0000000..cd68c5e
Binary files /dev/null and b/Resources/Textures/Clothing/Head/Misc/hairflower.rsi/icon.png differ
diff --git a/Resources/Textures/Clothing/Head/Misc/hairflower.rsi/meta.json b/Resources/Textures/Clothing/Head/Misc/hairflower.rsi/meta.json
new file mode 100644 (file)
index 0000000..a3ec217
--- /dev/null
@@ -0,0 +1,18 @@
+{
+  "version": 1,
+  "license": "CC-BY-SA-3.0",
+  "copyright": "icon sprited by Just_Art, equipped-HELMET sprite taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e",
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "states": [
+    {
+      "name": "icon"
+    },
+    {
+      "name": "equipped-HELMET",
+      "directions": 4
+    }
+  ]
+}