# Base Paints
- type: entity
  parent: BaseItem
  id: MechPaintBase
  name: mech spray paint
  description: A tin of mech spray paint.
  categories: [ HideSpawnMenu ]
  components:
  - type: Appearance
  - type: Sprite
    sprite: Objects/Fun/spraycans.rsi
    state: clown_cap
    layers:
      - state: clown_cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Gygax
    baseState: gygax
    openState: gygax-open
    brokenState: gygax-broken
  - type: Item
    sprite: Objects/Fun/spraycans.rsi
    heldPrefix: spray
  - type: SolutionContainerManager
    solutions:
      drink:
        maxVol: 50
        reagents:
        - ReagentId: SpaceGlue
          Quantity: 50
  - type: TrashOnSolutionEmpty
    solution: drink
  - type: Sealable
  - type: Openable
    sound:
      path: /Audio/Effects/pop_high.ogg
    closeable: true
    closeSound:
      path: /Audio/Effects/pop_high.ogg

# Paints

# Ripley-Aluminizer
- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Ripley, Aluminizer
  id: MechPaintRipleyAluminizer
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/ripley.rsi
    state: aluminizer-cap
    layers:
      - state: aluminizer-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/ripley.rsi
    heldPrefix: aluminizer
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Ripley
    baseState: aluminizer
    openState: aluminizer-open
    brokenState: aluminizer-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "aluminizer"}
          False: {state: "aluminizer-cap"}

# Ripley-Combat Ripley
- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Ripley, Combat Ripley
  id: MechPaintRipleyCombatRipley
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/ripley.rsi
    state: combat-ripley-cap
    layers:
      - state: combat-ripley-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/ripley.rsi
    heldPrefix: combat-ripley
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Ripley
    baseState: combatripley
    openState: combatripley-open
    brokenState: combatripley-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "combat-ripley"}
          False: {state: "combat-ripley-cap"}

# Ripley-Firestarter
- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Ripley, Firestarter
  id: MechPaintRipleyFirestarter
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/ripley.rsi
    state: firestarter-cap
    layers:
      - state: firestarter-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/ripley.rsi
    heldPrefix: firestarter
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Ripley
    baseState: ripley_flames_red
    openState: ripley_flames_red-open
    brokenState: ripley_flames_red-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "firestarter"}
          False: {state: "firestarter-cap"}

# Ripley-Hauler
- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Ripley, Hauler
  id: MechPaintRipleyHauler
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/ripley.rsi
    state: hauler-cap
    layers:
      - state: hauler-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/ripley.rsi
    heldPrefix: hauler
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Ripley
    baseState: hauler
    openState: hauler-open
    brokenState: hauler-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "hauler"}
          False: {state: "hauler-cap"}

# Ripley-Reaper
- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Ripley, Reaper
  id: MechPaintRipleyReaper
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/ripley.rsi
    state: reaper-cap
    layers:
      - state: reaper-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/ripley.rsi
    heldPrefix: reaper
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Ripley
    baseState: deathripley
    openState: deathripley-open
    brokenState: deathripley-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "reaper"}
          False: {state: "reaper-cap"}

# Ripley-Zairjah
- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Ripley, Zairjah
  id: MechPaintRipleyZairjah
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/ripley.rsi
    state: zairjah-cap
    layers:
      - state: zairjah-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/ripley.rsi
    heldPrefix: zairjah
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Ripley
    baseState: ripley_zairjah
    openState: ripley_zairjah-open
    brokenState: ripley_zairjah-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "zairjah"}
          False: {state: "zairjah-cap"}

# Clarke/Ripley-BigBrother
- type: entity
  parent: MechPaintBase
  suffix: Clarke/Ripley, BigBrother
  id: MechPaintClarkeRipleyBigBrother
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/clarke.rsi
    state: bigbrother-cap
    layers:
      - state: bigbrother-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/clarke.rsi
    heldPrefix: bigbrother
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Clarke
        - Ripley
    baseState: bigbrother
    openState: bigbrother-open
    brokenState: bigbrother-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "bigbrother"}
          False: {state: "bigbrother-cap"}

# Clarke-Orangey
- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Clarke, Orangey
  id: MechPaintClarkeOrangey
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/clarke.rsi
    state: orangey-cap
    layers:
      - state: orangey-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/clarke.rsi
    heldPrefix: orangey
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Clarke
    baseState: orangey
    openState: orangey-open
    brokenState: orangey-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "orangey"}
          False: {state: "orangey-cap"}

# Gygax-Molot
- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Gygax, Molot
  id: MechPaintGygaxMolot
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/gygax.rsi
    state: pobeda-cap
    layers:
      - state: pobeda-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/gygax.rsi
    heldPrefix: pobeda
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Gygax
    baseState: molot
    openState: molot-open
    brokenState: molot-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "pobeda"}
          False: {state: "pobeda-cap"}

# Gygax-Black
- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Gygax, Contraband
  id: MechPaintGygaxBlack
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/gygax.rsi
    state: syndiegax-cap
    layers:
      - state: syndiegax-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/gygax.rsi
    heldPrefix: syndiegax
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Gygax
    baseState: gygax_black
    openState: gygax_black-open
    brokenState: gygax_black-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "syndiegax"}
          False: {state: "syndiegax-cap"}

# Gygax-White
- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Gygax, Legal
  id: MechPaintGygaxWhite
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/gygax.rsi
    state: gygax-white-cap
    layers:
      - state: gygax-white-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/gygax.rsi
    heldPrefix: gygax-white
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Gygax
    baseState: gygax_white
    openState: gygax_white-open
    brokenState: gygax_white-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "gygax-white"}
          False: {state: "gygax-white-cap"}

#Gygax-Pirate
- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Gygax, Pirate
  id: MechPaintGygaxPirate
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/gygax.rsi
    state: pirategax-cap
    layers:
      - state: pirategax-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/gygax.rsi
    heldPrefix: pirategax
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Gygax
    baseState: piratgygax
    openState: piratgygax-open
    brokenState: piratgygax-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "pirategax"}
          False: {state: "pirategax-cap"}

#Gygax

- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Gygax
  id: MechPaintGygax
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: Objects/Fun/spraycans.rsi
    layers:
      - state: spray
        map: ["Base"]
      - state: spray_cap_colors
        map: ["enum.OpenableVisuals.Layer"]
        color: "#c64323"
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Gygax
    baseState: gygax
    openState: gygax-open
    brokenState: gygax-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "spray_colors" , color: "#c64323"}
          False: {state: "spray_cap_colors" , color: "#c64323"}

#Gygax-Old

- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Gygax, Old
  id: MechPaintGygaxOld
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: Objects/Fun/spraycans.rsi
    layers:
      - state: spray
        map: ["Base"]
      - state: spray_cap_colors
        map: ["enum.OpenableVisuals.Layer"]
        color: "#ed5f3b"
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Gygax
    baseState: gygax_alt
    openState: gygax_alt-open
    brokenState: gygax_alt-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "spray_colors" , color: "#ed5f3b"}
          False: {state: "spray_cap_colors" , color: "#ed5f3b"}

#Durand-Old
- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Durand, Old
  id: MechPaintDurandOld
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: Objects/Fun/spraycans.rsi
    layers:
      - state: spray
        map: ["Base"]
      - state: spray_cap_colors
        map: ["enum.OpenableVisuals.Layer"]
        color: "#55617b"
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Durand
    baseState: durand_old
    openState: durand-open_old
    brokenState: durand-broken_old
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "spray_colors" , color: "#55617b"}
          False: {state: "spray_cap_colors" , color: "#55617b"}

#Durand-Unathi

- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Durand, Unathi
  id: MechPaintDurandUnathi
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/durand.rsi
    layers:
      - state: kharn-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/durand.rsi
    heldPrefix: kharn
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Durand
    baseState: unathi
    openState: unathi-open
    brokenState: unathi-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "kharn"}
          False: {state: "kharn-cap"}

#Durand-Shire

- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Durand , Shire
  id: MechPaintDurandShire
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/durand.rsi
    layers:
      - state: shire-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/durand.rsi
    heldPrefix: shire
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Durand
    baseState: shire
    openState: shire-open
    brokenState: shire-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "shire"}
          False: {state: "shire-cap"}

#Durand-Dollhouse

- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Durand , Dollhouse
  id: MechPaintDurandDollhouse
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/durand.rsi
    layers:
      - state: dollhouse-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/durand.rsi
    heldPrefix: dollhouse
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Durand
    baseState: dollhouse
    openState: dollhouse-open
    brokenState: dollhouse-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "dollhouse"}
          False: {state: "dollhouse-cap"}

#Durand-Executor

- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Durand , Executor
  id: MechPaintDurandExecutor
  categories: [ Debug ]
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/durand.rsi
    layers:
      - state: executioner-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/durand.rsi
    heldPrefix: executioner
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Durand
    baseState: executor
    openState: executor-open
    brokenState: executor-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "executioner"}
          False: {state: "executioner-cap"}

#Mauler-Meowler

- type: entity
  parent: MechPaintBase
  suffix: DEBUG, Mauler , Meowler
  categories: [ Debug ]
  id: MechPaintMaulerMeowler
  components:
  - type: Sprite
    sprite: _Sunrise/Objects/Fun/mech_spraycans/mauler.rsi
    layers:
      - state: mauler-meow-cap
        map: ["enum.OpenableVisuals.Layer"]
  - type: Item
    sprite: _Sunrise/Objects/Fun/mech_spraycans/mauler.rsi
    heldPrefix: meowler
  - type: MechPaint
    used: false
    whitelist:
      tags:
        - Mauler
    baseState: meowler
    openState: meowler-open
    brokenState: meowler-broken
  - type: GenericVisualizer
    visuals:
      enum.OpenableVisuals.Opened:
        enum.OpenableVisuals.Layer:
          True: {state: "mauler-meow"}
          False: {state: "mauler-meow-cap"}
