]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Hide moth antenna and lizard frills with hardsuit helmets, fix lizard snouts not...
authorMr. 27 <45323883+Dutch-VanDerLinde@users.noreply.github.com>
Thu, 20 Jun 2024 00:09:44 +0000 (20:09 -0400)
committerGitHub <noreply@github.com>
Thu, 20 Jun 2024 00:09:44 +0000 (20:09 -0400)
* inital

* Update ClothingSystem.cs

* Update helmets.yml

Content.Shared/Clothing/EntitySystems/ClothingSystem.cs
Resources/Prototypes/Entities/Clothing/Head/base_clothinghead.yml
Resources/Prototypes/Entities/Clothing/Head/hardsuit-helmets.yml
Resources/Prototypes/Entities/Clothing/Head/hats.yml
Resources/Prototypes/Entities/Clothing/Head/helmets.yml
Resources/Prototypes/Entities/Clothing/Head/hoods.yml
Resources/Prototypes/Entities/Mobs/Species/moth.yml
Resources/Prototypes/Entities/Mobs/Species/reptilian.yml

index bdcb2c8204267ede4a25dcc7e4f037be34814a5d..381edc68baaf3eb51276e0e4f82a7afc56171c0a 100644 (file)
@@ -87,7 +87,7 @@ public abstract class ClothingSystem : EntitySystem
         foreach (HumanoidVisualLayers layer in layers)
         {
             if (!appearanceLayers.Contains(layer))
-                break;
+                continue;
 
             InventorySystem.InventorySlotEnumerator enumerator = _invSystem.GetSlotEnumerator(equipee);
 
index 866fe962ca5e64f159ca3606ee9fa81b9ba6c959..07c3e12dd85d4e77f0dd735a14904ce6afb3fb22 100644 (file)
     slots:
     - Hair
     - Snout
+    - HeadTop
+    - HeadSide
 
 - type: entity
   abstract: true
     slots:
     - Hair
     - Snout
+    - HeadTop
+    - HeadSide
 
 - type: entity
   abstract: true
index 0c660e09b807a06fb38e348ea8c895c84ac83720..3c50319836d82cf4e1f0acb04fd45abfda952ddf 100644 (file)
     sprite: Clothing/Head/Hardsuits/basic.rsi
   - type: HideLayerClothing
     slots:
+    - Hair
     - Snout
+    - HeadTop
+    - HeadSide
 
 #Atmospherics Hardsuit
 - type: entity
index 462b1cb8895a53437ecba59b7da0ba46895d0118..e2786f70f0620043c82c51671d7518f18122179c 100644 (file)
     slots:
     - Hair
     - Snout
+    - HeadTop
+    - HeadSide
 
 - type: entity
   parent: ClothingHeadHatWizardBase
index d585518ece8829d43393a680ac8f71dbe15d9e25..a01d6fae51914628edbe445d36722384503ce9d9 100644 (file)
   - type: Tag
     tags:
     - WhitelistChameleon
+  - type: HideLayerClothing
+    slots:
+    - HeadTop
+    - HeadSide
 
 #Mercenary Helmet
 - type: entity
     slots:
     - Hair
     - Snout
+    - HeadTop
+    - HeadSide
 
 #Janitorial Bombsuit Helmet
 - type: entity
     slots:
     - Hair
     - Snout
+    - HeadTop
+    - HeadSide
 
 #Templar Helmet
 - type: entity
     slots:
     - Hair
     - Snout
+    - HeadTop
+    - HeadSide
 
 #Atmos Fire Helmet
 - type: entity
     slots:
     - Hair
     - Snout
+    - HeadTop
+    - HeadSide
   - type: BreathMask
 
 #Chitinous Helmet
index db1870691232a757fd098168705b5142169eba1c..4dec89e75ad1fa400675e3b03c378bead93ff53f 100644 (file)
@@ -18,6 +18,8 @@
     slots:
     - Hair
     - Snout
+    - HeadTop
+    - HeadSide
 
 - type: entity
   parent: ClothingHeadHatHoodBioGeneral
     slots:
     - Hair
     - Snout
+    - HeadTop
+    - HeadSide
 
 - type: entity
   parent: ClothingHeadBase
     slots:
     - Hair
     - Snout
+    - HeadTop
+    - HeadSide
 
 #Winter Coat Hoods
 - type: entity
index f2a0194b7a49c1b48645a940fce5f5e8b742ee7e..f6fde849efebee8c291710979c5e50218a865655 100644 (file)
@@ -7,6 +7,8 @@
   components:
   - type: HumanoidAppearance
     species: Moth
+    hideLayersOnEquip:
+    - HeadTop
   - type: Hunger
   - type: Thirst
   - type: Icon
index f099ffdc6a937c05afa1244cb75159c01576e2bc..ad543620cf89804180a68bd66a5eebf8923bfb1b 100644 (file)
@@ -7,6 +7,10 @@
   components:
   - type: HumanoidAppearance
     species: Reptilian
+    hideLayersOnEquip:
+    - Snout
+    - HeadTop
+    - HeadSide
   - type: Hunger
   - type: Puller
     needsHands: false