- type: entity
  parent: [ClothingHeadBaseButcherable, BaseFoldable]
  id: ClothingHeadHeadHatBaseFlippable
  abstract: true
  components:
  - type: Appearance
  - type: Foldable
    canFoldInsideContainer: true
    unfoldVerbText: fold-flip-verb
    foldVerbText: fold-flip-verb
  - type: FoldableClothing
    foldedEquippedPrefix: flipped
    foldedHeldPrefix: flipped
  - type: Sprite
    layers:
    - state: icon
      map: [ "unfoldedLayer" ]
    - state: icon_flipped
      map: ["foldedLayer"]
      visible: false
  # SUNRISE EDIT
  - type: Tag
    tags:
    - WhitelistChameleon
    - ClothMade
    - TopCovered # INTERACTIONS
  # SUNRISE EDIT

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHeadHatBaseFlipped
  suffix: flipped
  abstract: true
  components:
  - type: Foldable
    folded: true
  - type: Clothing
    equippedPrefix: flipped
  - type: Item
    heldPrefix: flipped
  - type: Sprite
    layers:
    - state: icon
      map: [ "unfoldedLayer" ]
      visible: false
    - state: icon_flipped
      map: ["foldedLayer"]
      visible: true
  # SUNRISE EDIT
  - type: Tag
    tags:
    - WhitelistChameleon
    - ClothMade
    - TopCovered # INTERACTIONS
  # SUNRISE EDIT


- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatBluesoft
  name: blue cap
  description: A blue baseball cap.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/bluesoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/bluesoft.rsi

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatBluesoft]
  id: ClothingHeadHatBluesoftFlipped
  name: blue cap

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatCargosoft
  name: cargo cap
  description: A baseball cap colored to match cargo's uniforms.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/cargosoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/cargosoft.rsi
  - type: Tag
    tags:
    - ClothMade
    - Recyclable
    - HamsterWearable
    - WhitelistChameleon

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatCargosoft]
  id: ClothingHeadHatCargosoftFlipped
  name: cargo cap
  components:
  - type: Tag
    tags:
    - ClothMade
    - Recyclable
    - HamsterWearable
    - WhitelistChameleon

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatQMsoft
  name: quartermaster's cap
  description: A baseball cap colored to match the Quartermaster's uniform.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/qmsoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/qmsoft.rsi

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatQMsoft]
  id: ClothingHeadHatQMsoftFlipped
  name: quartermaster's cap

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatCommandSoft
  name: command cap
  description: A baseball cap in command's distinctive shade of blue.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/commandsoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/commandsoft.rsi

- type: entity
  parent: [ ClothingHeadHeadHatBaseFlipped, ClothingHeadHatCommandSoft ]
  id: ClothingHeadHatCommandSoftFlipped
  name: command cap

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatCorpsoft
  name: corporate cap
  description: A baseball cap in corporation colors.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/corpsoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/corpsoft.rsi

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatCorpsoft]
  id: ClothingHeadHatCorpsoftFlipped
  name: corporate cap

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatGreensoft
  name: green cap
  description: A green baseball cap.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/greensoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/greensoft.rsi

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatGreensoft]
  id: ClothingHeadHatGreensoftFlipped
  name: green cap

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatBlacksoft
  name: black cap
  description: A black baseball cap.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/blacksoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/blacksoft.rsi

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatBlacksoft]
  id: ClothingHeadHatBlacksoftFlipped
  name: black cap

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatGreysoft
  name: grey cap
  description: A grey baseball cap.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/greysoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/greysoft.rsi

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatGreysoft]
  id: ClothingHeadHatGreysoftFlipped
  name: grey cap

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatMimesoft
  name: white cap
  description: A white baseball cap.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/mimesoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/mimesoft.rsi

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatMimesoft]
  id: ClothingHeadHatMimesoftFlipped
  name: white cap

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatOrangesoft
  name: orange cap
  description: An orange baseball cap.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/orangesoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/orangesoft.rsi

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatOrangesoft]
  id: ClothingHeadHatOrangesoftFlipped
  name: orange cap

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatPurplesoft
  name: purple cap
  description: A purple baseball cap.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/purplesoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/purplesoft.rsi
  - type: Tag
    tags:
    - ClothMade
    - Recyclable
    - HamsterWearable
    - WhitelistChameleon

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatPurplesoft]
  id: ClothingHeadHatPurplesoftFlipped
  name: purple cap
  components:
  - type: Tag
    tags:
    - ClothMade
    - Recyclable
    - HamsterWearable
    - WhitelistChameleon

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatRedsoft
  name: red cap
  description: A red baseball cap.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/redsoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/redsoft.rsi

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatRedsoft]
  id: ClothingHeadHatRedsoftFlipped
  name: red cap

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatSecsoft
  name: security cap
  description: A baseball cap colored to match security's uniforms.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/secsoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/secsoft.rsi

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatSecsoft]
  id: ClothingHeadHatSecsoftFlipped
  name: security cap

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatYellowsoft
  name: yellow cap
  description: A yellow baseball cap.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/yellowsoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/yellowsoft.rsi

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatYellowsoft]
  id: ClothingHeadHatYellowsoftFlipped
  name: yellow cap

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatBizarreSoft
  name: troublemaker's cap
  description: A truly.. bizarre accessory.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/bizarresoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/bizarresoft.rsi

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatBizarreSoft]
  id: ClothingHeadHatBizarreSoftFlipped
  name: troublemaker's cap

- type: entity
  parent: ClothingHeadHeadHatBaseFlippable
  id: ClothingHeadHatParamedicsoft
  name: paramedic cap
  description: A blue baseball cap with a cross on the front.
  components:
  - type: Sprite
    sprite: Clothing/Head/Soft/paramedicsoft.rsi
  - type: Clothing
    sprite: Clothing/Head/Soft/paramedicsoft.rsi
  - type: Tag
    tags:
    - ClothMade
    - Recyclable
    - HamsterWearable
    - WhitelistChameleon

- type: entity
  parent: [ClothingHeadHeadHatBaseFlipped, ClothingHeadHatParamedicsoft]
  id: ClothingHeadHatParamedicsoftFlipped
  name: paramedic cap
  components:
  - type: Tag
    tags:
    - ClothMade
    - Recyclable
    - HamsterWearable
    - WhitelistChameleon
