]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Combine flower crown and wreath (#26605)
authorlzk <124214523+lzk228@users.noreply.github.com>
Sun, 31 Mar 2024 08:52:52 +0000 (10:52 +0200)
committerGitHub <noreply@github.com>
Sun, 31 Mar 2024 08:52:52 +0000 (19:52 +1100)
* Combine flower crown and wreath

* huh

* huuh :trollface:

13 files changed:
Resources/Prototypes/Entities/Clothing/Head/misc.yml
Resources/Prototypes/Entities/Clothing/Neck/misc.yml
Resources/Prototypes/Entities/Objects/Decoration/present.yml
Resources/Prototypes/Recipes/Crafting/Graphs/improvised/flowercrown.yml [deleted file]
Resources/Prototypes/Recipes/Crafting/Graphs/improvised/flowerwreath.yml
Resources/Prototypes/Recipes/Crafting/improvised.yml
Resources/Textures/Clothing/Head/Misc/flower-crown.rsi/icon.png [deleted file]
Resources/Textures/Clothing/Head/Misc/flower-wreath.rsi/equipped-HELMET.png [moved from Resources/Textures/Clothing/Head/Misc/flower-crown.rsi/equipped-HELMET.png with 100% similarity]
Resources/Textures/Clothing/Head/Misc/flower-wreath.rsi/equipped-NECK.png [moved from Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/equipped-NECK.png with 100% similarity]
Resources/Textures/Clothing/Head/Misc/flower-wreath.rsi/icon.png [moved from Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/icon.png with 100% similarity]
Resources/Textures/Clothing/Head/Misc/flower-wreath.rsi/meta.json [moved from Resources/Textures/Clothing/Head/Misc/flower-crown.rsi/meta.json with 59% similarity]
Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/meta.json [deleted file]
Resources/migration.yml

index 1149224fc3eaed325fac853e97c79cf228f23643..c7ba6e0b32a339187534ddbb0e20fcc019a95fc6 100644 (file)
 
 - type: entity
   parent: ClothingHeadBase
-  id: ClothingHeadHatFlowerCrown
-  name: flower crown
-  description: A coronet of fresh and fragrant flowers.
+  id: ClothingHeadHatFlowerWreath
+  name: flower wreath
+  description: A wreath of colourful flowers. Can be worn both on head and neck.
   components:
   - type: Sprite
-    sprite: Clothing/Head/Misc/flower-crown.rsi
+    sprite: Clothing/Head/Misc/flower-wreath.rsi
   - type: Clothing
-    sprite: Clothing/Head/Misc/flower-crown.rsi
+    sprite: Clothing/Head/Misc/flower-wreath.rsi
+    slots:
+    - HEAD
+    - neck
   - type: Construction
-    graph: flowercrown
-    node: flowercrown
+    graph: flowerwreath
+    node: flowerwreath
 
 - type: entity
   parent: ClothingHeadLightBase
index 6b4be3c9f84d59faeed9c00209c250495e5c4d78..51325c0bbbd05655fe20e950dd4f2cec8289f043 100644 (file)
     event: !type:StethoscopeActionEvent
     checkCanInteract: false
     priority: -1
-
-- type: entity
-  parent: ClothingNeckBase
-  id: ClothingNeckFlowerWreath
-  name: flower wreath
-  description: A wreath of colourful flowers.
-  components:
-  - type: Sprite
-    sprite: Clothing/Neck/Misc/flower-wreath.rsi
-  - type: Clothing
-    sprite: Clothing/Neck/Misc/flower-wreath.rsi
-  - type: Construction
-    graph: flowerwreath
-    node: flowerwreath
index a417fdf07693af82870756fc5cb5e4fbbbb10438..3fb5675f83f1928e426c8c9f4fcfff35167f1c5e 100644 (file)
         orGroup: GiftPool
       - id: ClothingHeadHatBunny
         orGroup: GiftPool
-      - id: ClothingHeadHatFlowerCrown
+      - id: ClothingHeadHatFlowerWreath
         orGroup: GiftPool
       - id: FoodPoppy
         orGroup: GiftPool
diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/flowercrown.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/flowercrown.yml
deleted file mode 100644 (file)
index cba454b..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-- type: constructionGraph
-  id: flowercrown
-  start: start
-  graph:
-    - node: start
-      edges:
-        - to: flowercrown
-          steps:
-            - tag: Flower
-              name: flower
-              icon:
-                sprite: Objects/Specific/Hydroponics/poppy.rsi
-                state: produce
-            - tag: Flower
-              name: flower
-              icon:
-                sprite: Objects/Specific/Hydroponics/poppy.rsi
-                state: produce
-            - tag: Ambrosia
-              name: ambrosia
-              icon:
-                sprite: Objects/Specific/Hydroponics/ambrosia_vulgaris.rsi
-                state: produce
-              doAfter: 10
-    - node: flowercrown
-      entity: ClothingHeadHatFlowerCrown
index a0a87a14d8e334a6aff3e7610a9f6ebcb5f6c149..b8e580230daad6cd7842ddb34e9e89bf66398d70 100644 (file)
@@ -23,4 +23,4 @@
                 state: produce
               doAfter: 10
     - node: flowerwreath
-      entity: ClothingNeckFlowerWreath
+      entity: ClothingHeadHatFlowerWreath
index 2c55e4fc2624890eac56a1dc2a33e2b9d0bdc538..38d254c1416d947e6c7fcceea32e3cc1d9e796d9 100644 (file)
     sprite: Clothing/Eyes/Misc/blindfold.rsi
     state: icon
 
-- type: construction
-  name: flower crown
-  id: flowercrown
-  graph: flowercrown
-  startNode: start
-  targetNode: flowercrown
-  category: construction-category-clothing
-  description: "A coronet of fresh and fragrant flowers."
-  icon:
-    sprite: Clothing/Head/Misc/flower-crown.rsi
-    state: icon
-  objectType: Item
-
 - type: construction
   name: flower wreath
   id: flowerwreath
   startNode: start
   targetNode: flowerwreath
   category: construction-category-clothing
-  description: "A wreath of colourful flowers."
+  description: A wreath of colourful flowers. Can be worn both on head and neck.
   icon:
-    sprite: Clothing/Neck/Misc/flower-wreath.rsi
+    sprite: Clothing/Head/Misc/flower-wreath.rsi
     state: icon
   objectType: Item
 
   description: An improvised explosive made from pipes and wire.
   icon:
     sprite: Objects/Weapons/Bombs/pipebomb.rsi
-    state: icon
\ No newline at end of file
+    state: icon
diff --git a/Resources/Textures/Clothing/Head/Misc/flower-crown.rsi/icon.png b/Resources/Textures/Clothing/Head/Misc/flower-crown.rsi/icon.png
deleted file mode 100644 (file)
index e1e80b9..0000000
Binary files a/Resources/Textures/Clothing/Head/Misc/flower-crown.rsi/icon.png and /dev/null differ
similarity index 59%
rename from Resources/Textures/Clothing/Head/Misc/flower-crown.rsi/meta.json
rename to Resources/Textures/Clothing/Head/Misc/flower-wreath.rsi/meta.json
index 2899868b907e47f1d786804b422d596423c2b617..c3dc06f19c50d342c2cfd4e3bfd89b7ed0835b39 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-4.0",
-  "copyright": "Kevin Zheng 2022",
+  "copyright": "Kevin Zheng 2022 | equipped-NECK and icon Drawn by Ubaser.",
   "size": {
     "x": 32,
     "y": 32
     {
       "name": "icon"
     },
+    {
+      "name": "equipped-NECK",
+      "directions": 4
+    },
     {
       "name": "equipped-HELMET",
       "directions": 4
diff --git a/Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/meta.json b/Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/meta.json
deleted file mode 100644 (file)
index 71f798f..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-{
-  "version": 1,
-  "license": "CC-BY-SA-3.0",
-  "copyright": "Drawn by Ubaser.",
-  "size": {
-    "x": 32,
-    "y": 32
-  },
-
-  "states": [
-    {
-      "name": "equipped-NECK",
-      "directions": 4
-    },
-    {
-      "name": "icon"
-    }
-  ]
-}
index 8c0fe2064f450362d006ae1387b79bd3246b2acb..f5306c8b7c1f4886f3b05ecd42a804e424054dde 100644 (file)
@@ -257,3 +257,7 @@ RPED: null
 # These are technically not equivalent, but it probably makes more sense to replace any existing SCAF stuff with SOME kind of armor, instead of just deleting it outright.
 ClothingHeadHelmetScaf: ClothingHeadHelmetBasic
 ClothingOuterArmorScaf: ClothingOuterArmorBasic
+
+# 2024-03-31
+ClothingNeckFlowerWreath: ClothingHeadHatFlowerWreath
+ClothingHeadHatFlowerCrown: ClothingHeadHatFlowerWreath