- type: entity
  id: RMCSmokeAcid
  name: acid gas
  categories: [ HideSpawnMenu ]
  components:
  - type: Transform
    anchored: true
  - type: Physics
  - type: Fixtures
    fixtures:
      fix1:
        hard: false
        shape:
          !type:PhysShapeAabb
          bounds: "-0.4,-0.4,0.4,0.4"
        mask:
        - MobMask
        layer:
        - MidImpassable
  - type: Occluder
  - type: Sprite
    sprite: _RMC14/Effects/smoke.rsi
    state: smoke2
    color: "#62821D"
  - type: SpriteColor
    color: "#62821D"
  - type: TimedDespawn
    lifetime: 12
  - type: Tag
    tags:
    - HideContextMenu
  - type: Appearance
  - type: ActiveEdgeSpreader
  - type: EdgeSpreader
    id: RMCSmokeAcid
  - type: EvenSmoke
    spawn: RMCSmokeAcid
    range: 3
  - type: DamageOverTime
    affectsDead: false
    affectsInfectedNested: false
    armorPiercingDamage:
      types:
        Heat: 20
        Asphyxiation: 3
    damage:
      types:
        Heat: 35
    barricadeDamage:
      types:
        Heat: 8.5
    whitelist:
      components:
      - Marine
      - Xeno
      - Vehicle
  - type: DeleteOnExplosion # so this is supposed to be random depending on the explosion severity but uhhh hahAHAHA help

- type: entity
  id: RMCSmokeNeurotoxin
  name: neurotoxin gas
  #categories: [ HideSpawnMenu ]
  components:
  - type: Transform
    anchored: true
  - type: Physics
  - type: Fixtures
    fixtures:
      fix1:
        hard: false
        shape:
          !type:PhysShapeAabb
          bounds: "-0.4,-0.4,0.4,0.4"
        mask:
        - MobMask
        layer:
        - MidImpassable
  - type: Occluder
  - type: Sprite
    sprite: _RMC14/Effects/smoke.rsi
    state: smoke2
    color: "#FFBF58"
  - type: SpriteColor
    color: "#FFBF58"
  - type: TimedDespawn
    lifetime: 12
  - type: Tag
    tags:
    - HideContextMenu
  - type: Appearance
  - type: ActiveEdgeSpreader
  - type: EdgeSpreader
    id: RMCSmokeNeurotoxin
  - type: EvenSmoke
    spawn: RMCSmokeNeurotoxin
    range: 4
  - type: NeurotoxinInjector
    neuroPerSecond: 6
    affectsDead: false
    affectsInfectedNested: false
    toxinDamage:
        groups:
          Toxin: 2
    oxygenDamage:
        types:
          Asphyxiation: 150
    coughDamage:
        groups:
          Brute: 5
  - type: DamageOverTime
    affectsDead: false
    affectsInfectedNested: false
    damage:
      types:
        Asphyxiation: 5
    whitelist:
      components:
      - Marine
  - type: DeleteOnExplosion
  - type: GasMaskFilterDamage
    damage: 10
    neurotoxin: true

- type: entity
  id: RMCSmokeRunner
  name: acid smoke
  categories: [ HideSpawnMenu ]
  components:
  - type: Transform
    anchored: true
  - type: Physics
  - type: Fixtures
    fixtures:
      fix1:
        hard: false
        shape:
          !type:PhysShapeAabb
          bounds: "-0.4,-0.4,0.4,0.4"
        mask:
        - MobMask
        layer:
        - MidImpassable
  - type: Occluder
  - type: Sprite
    sprite: _RMC14/Effects/smoke.rsi
    state: smoke2
    color: "#86B028"
  - type: TimedDespawn
    lifetime: 2
  - type: Tag
    tags:
    - HideContextMenu
  - type: Appearance
  - type: DeleteOnExplosion

- type: entity
  id: XenoReaperRedGas
  name: red gas
  categories: [ HideSpawnMenu ]
  components:
  - type: Transform
    anchored: true
  - type: Physics
  - type: Fixtures
    fixtures:
      fix1:
        hard: false
        shape:
          !type:PhysShapeAabb
          bounds: "-0.4,-0.4,0.4,0.4"
        mask:
        - MobMask
        layer:
        - MidImpassable
  - type: Sprite
    sprite: _RMC14/Effects/smoke.rsi
    state: smoke2
    color: "#B01828A0"
  - type: TimedDespawn
    lifetime: 6
  - type: Tag
    tags:
    - HideContextMenu
  - type: Appearance
  - type: DeleteOnExplosion
  - type: XenoReaperRedGas

- type: entity
  id: RMCSmokeKingDoom
  name: king doom
  components:
  - type: Transform
    anchored: true
  - type: Physics
  - type: Fixtures
    fixtures:
      fix1:
        hard: false
        shape:
          !type:PhysShapeAabb
          bounds: "-0.4,-0.4,0.4,0.4"
        mask:
        - MobMask
        layer:
        - MidImpassable
  - type: Sprite
    sprite: _RMC14/Effects/effects.rsi
    state: sparks
    color: "#000000"
    drawdepth: Puddles #BELOW_OBJ_LAYER, below items and mobs and structures, above the floor and open doors
  - type: TimedDespawn
    lifetime: 5
  - type: Tag
    tags:
    - HideContextMenu
  - type: Appearance
  - type: DeleteOnExplosion
  - type: EdgeSpreader
    id: RMCSmokeKingDoom
  - type: ActiveEdgeSpreader
  - type: EvenSmoke
    spawn: RMCSmokeKingDoom
    range: 7



- type: entity
  parent: RMCSmokeAcid
  id: RMCSmokeAcidShroud
  name: acid gas
  categories: [ HideSpawnMenu ]
  components:
  - type: EvenSmoke
    spawn: RMCSmokeAcidShroud
    range: 1

- type: entity
  parent: RMCSmokeNeurotoxin
  id: RMCSmokeNeurotoxinShroud
  name: neurotoxin gas
  categories: [ HideSpawnMenu ]
  components:
  - type: EvenSmoke
    spawn: RMCSmokeNeurotoxinShroud
    range: 1

- type: entity
  parent: RMCSmokeAcid
  id: RMCSmokeAcidDeathcloud
  name: acid gas
  categories: [ HideSpawnMenu ]
  components:
  - type: EvenSmoke
    spawn: RMCSmokeAcidDeathcloud
    range: 2

- type: edgeSpreader
  id: RMCSmokeKingDoom
  updatesPerSecond: 2

- type: edgeSpreader
  id: RMCSmokeAcid
  updatesPerSecond: 2

- type: edgeSpreader
  id: RMCSmokeNeurotoxin
  updatesPerSecond: 2
