#NOTE: vests with armor belong to armor.yml

#Hazard vest
- type: entity
  parent: ClothingOuterStorageBase
  id: ClothingOuterVestHazard
  name: hi-viz vest
  description: A high-visibility vest used in work zones.
  components:
  - type: Sprite
    sprite: Clothing/OuterClothing/Vests/hazard.rsi
    layers:
    - state: icon
    - state: icon-unshaded
      shader: unshaded
    - state: icon-unshaded
      shader: shaded
      #This is a neat trick I found to sort of "hack" an emissive map into ss14. Basically, the icon-unshaded texture has an alpha channel.
      #Alpha doesn't work for unshaded, but for *shaded* it does, and by putting a shaded texture infront of the unshaded, we can dim the unshaded texture, effectively allowing brightness control.
      #I go further indepth on this in my PR, https://github.com/space-wizards/space-station-14/pull/37869
  - type: Clothing
    sprite: Clothing/OuterClothing/Vests/hazard.rsi
    clothingVisuals:
      outerClothing:
      - state: equipped-OUTERCLOTHING
      - state: equipped-OUTERCLOTHING-unshaded
        shader: unshaded
      - state: equipped-OUTERCLOTHING-unshaded
        shader: shaded
        #same trick here
  - type: Reflect
    reflectProb: 0.02
    reflects:
    - Energy
    reflectingInHands: false
  - type: Tag
    tags:
    - HiViz
    - WhitelistChameleon
    - Vest
    - NudeBottom # INTERACTIONS
    - WhitelistChameleon

#(Bartender) vest
- type: entity
  parent: ClothingOuterBase
  id: ClothingOuterVest
  name: vest
  description: A thick vest with a rubbery, water-resistant shell.
  components:
  - type: Sprite
    sprite: Clothing/OuterClothing/Vests/vest.rsi
  - type: Clothing
    sprite: Clothing/OuterClothing/Vests/vest.rsi
  # SUNRISE EDIT
  - type: Tag
    tags:
    - WhitelistChameleon
    - Vest
    - NudeBottom # INTERACTIONS
  # SUNRISE EDIT

#Tank Harness
- type: entity
  parent: [ClothingOuterBase, AllowSuitStorageClothingGasTanks]
  id: ClothingOuterVestTank
  name: tank harness
  description: A simple harness that can hold a gas tank.
  components:
  - type: Sprite
    sprite: Clothing/OuterClothing/Vests/tankharness.rsi
  - type: Clothing
    sprite: Clothing/OuterClothing/Vests/tankharness.rsi
  - type: Item
    size: Normal # Make smaller than typical outer clothing
    shape:
    - 0, 0, 0, 1
  # SUNRISE EDIT
  - type: Tag
    tags:
    - WhitelistChameleon
    - NudeFull # INTERACTIONS
  # SUNRISE EDIT

# Reporter unlockable PRESS vest
- type: entity
  parent: [ClothingOuterBase, AllowSuitStorageClothingGasTanks]
  id: ClothingOuterVestPress
  name: press vest
  description: A cloth vest for the fearless reporter in the field. Go land an interview with that space dragon!
  components:
  - type: Sprite
    sprite: Clothing/OuterClothing/Vests/pressvest.rsi
    layers:
    - state: icon
    - state: icon-unshaded # See ClothingOuterVestHazard for why we double-add these unshaded states this way
      shader: unshaded
    - state: icon-unshaded
      shader: shaded
  - type: Clothing
    sprite: Clothing/OuterClothing/Vests/pressvest.rsi
    clothingVisuals:
      outerClothing:
      - state: equipped-OUTERCLOTHING
      - state: equipped-OUTERCLOTHING-unshaded
        shader: unshaded
      - state: equipped-OUTERCLOTHING-unshaded
        shader: shaded
      outerClothing-vox:
      - state: equipped-OUTERCLOTHING-vox
      - state: equipped-OUTERCLOTHING-unshaded-vox
        shader: unshaded
      - state: equipped-OUTERCLOTHING-unshaded-vox
        shader: shaded
