- type: entity
  parent: BaseSign
  id: BaseFlag
  abstract: true
  components:
  - type: Sprite
    sprite: Structures/Wallmounts/flags.rsi
    # Begin DeltaV additions - Craftable Pride Flags
  - type: StaticPrice
    price: 25
  - type: Destructible
    thresholds:
    - trigger: !type:DamageTrigger
        damage: 50
      behaviors:
      - !type:DoActsBehavior
        acts: [ "Destruction" ]
    - trigger: !type:DamageTrigger
        damage: 25
      behaviors:
      - !type:PlaySoundBehavior
        sound:
          path: /Audio/Effects/poster_broken.ogg
      - !type:DoActsBehavior
        acts: [ "Destruction" ]
      - !type:SpawnEntitiesBehavior
        spawn:
          MaterialCloth:
            min: 5
            max: 5
        offset: 0
    # End DeltaV additions

- type: entity
  parent: BaseFlag
  id: BlankFlag
  name: blank flag
  description: Some piece of white cloth. Definitely not the flag of France.
  components:
  - type: Sprite
    state: blank_flag

- type: entity
  parent: BaseFlag
  id: NTFlag
  name: Nanotrasen flag
  description: Glory to NT! Wait, they really made a flag for a corporation?
  components:
  - type: Sprite
    state: NT_flag

- type: entity
  parent: BaseFlag
  id: SyndieFlag
  name: syndicate flag
  description: Smells bloody. Death to NT!
  components:
  - type: Sprite
    state: syndie_flag

- type: entity
  parent: BaseFlag
  id: LGBTQFlag
  name: LGBTQ flag
  description: "\"Be gay do crime\" flag."
  components:
  - type: Sprite
    state: lgbtq_flag
  - type: Construction # DeltaV - Craftable Pride Flags
    graph: Flags
    node: LGBTQFlag

- type: entity
  parent: BaseFlag
  id: PirateFlag
  name: pirate flag
  description: Raise the jolly roger, scallywags!
  components:
  - type: Sprite
    state: pirate_flag
