# SPDX-FileCopyrightText: 2020 AJCM-git <60196617+AJCM-git@users.noreply.github.com>
# SPDX-FileCopyrightText: 2020 DrSmugleaf <DrSmugleaf@users.noreply.github.com>
# SPDX-FileCopyrightText: 2020 L.E.D <10257081+unusualcrow@users.noreply.github.com>
# SPDX-FileCopyrightText: 2020 Paul Ritter <ritter.paul1@googlemail.com>
# SPDX-FileCopyrightText: 2020 Remie Richards <remierichards@gmail.com>
# SPDX-FileCopyrightText: 2020 Swept <jamesurquhartwebb@gmail.com>
# SPDX-FileCopyrightText: 2020 Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
# SPDX-FileCopyrightText: 2020 Víctor Aguilera Puerto <zddm@outlook.es>
# SPDX-FileCopyrightText: 2020 py01 <60152240+collinlunn@users.noreply.github.com>
# SPDX-FileCopyrightText: 2020 py01 <pyronetics01@gmail.com>
# SPDX-FileCopyrightText: 2020 unusualcrow <unusualcrow@protonmail.com>
# SPDX-FileCopyrightText: 2021 20kdc <asdd2808@gmail.com>
# SPDX-FileCopyrightText: 2021 Julian Giebel <j.giebel@netrocks.info>
# SPDX-FileCopyrightText: 2021 Julian Giebel <juliangiebel@live.de>
# SPDX-FileCopyrightText: 2021 Metal Gear Sloth <metalgearsloth@gmail.com>
# SPDX-FileCopyrightText: 2021 Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
# SPDX-FileCopyrightText: 2021 Swept <sweptwastaken@protonmail.com>
# SPDX-FileCopyrightText: 2021 Vera Aguilera Puerto <zddm@outlook.es>
# SPDX-FileCopyrightText: 2021 metalgearsloth <comedian_vs_clown@hotmail.com>
# SPDX-FileCopyrightText: 2022 Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Peptide90 <78795277+Peptide90@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 T-Stalker <43253663+DogZeroX@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Vera Aguilera Puerto <gradientvera@outlook.com>
# SPDX-FileCopyrightText: 2022 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 ProPandaBear <propandabear@gmail.com>
# SPDX-FileCopyrightText: 2023 keronshb <54602815+keronshb@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Kara <lunarautomaton6@gmail.com>
# SPDX-FileCopyrightText: 2024 Ko4ergaPunk <62609550+Ko4ergaPunk@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Plykiya <58439124+Plykiya@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Winkarst <74284083+Winkarst-cpu@users.noreply.github.co>
# SPDX-FileCopyrightText: 2024 Winkarst <74284083+Winkarst-cpu@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 plykiya <plykiya@protonmail.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 robinthedragon <92946919+robinthedragon@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 slarticodefast <161409025+slarticodefast@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 spderman3333 <118777573+spderman3333@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  id: BaseBarSign
  parent: BaseStructure
  name: bar sign
  abstract: true
  components:
  - type: MeleeSound
    soundGroups:
      Brute:
        collection: GlassSmash
  - type: WallMount
    arc: 360
  - type: Sprite
    drawdepth: WallMountedItems
    sprite: Structures/Wallmounts/barsign.rsi
    state: empty
  - type: ApcPowerReceiver
  - type: ExtensionCableReceiver
  - type: BarSign
  - type: InteractionOutline
  - type: AccessReader
    access: [["Bar"]]
  - type: ActivatableUIRequiresPower
  - type: ActivatableUIRequiresAccess
  - type: ActivatableUI
    key: enum.BarSignUiKey.Key
  - type: UserInterface
    interfaces:
      enum.BarSignUiKey.Key:
        type: BarSignBoundUserInterface
      enum.WiresUiKey.Key:
        type: WiresBoundUserInterface
  - type: Appearance
  - type: Damageable
    damageContainer: StructuralInorganic
  - type: Destructible
    thresholds:
    - trigger:
        !type:DamageTrigger
        damage: 50
      behaviors:
      - !type:DoActsBehavior
        acts: [ "Destruction" ]
      - !type:PlaySoundBehavior
        sound:
          collection: MetalGlassBreak
  - type: StationAiWhitelist
  - type: WiresPanel
  - type: Wires
    boardName: wires-board-name-barsign
    layoutId: BarSign

- type: entity
  parent: BaseBarSign
  id: BarSign
  name: bar sign
  suffix: Random

# Missing appearance components & various other sprite issues.
#- type: entity
#  id: LargeBarSign
#  name: large bar sign
#  categories: [ HideSpawnMenu ]
#  components:
#  - type: Clickable
#  - type: InteractionOutline
#  - type: Sprite
#    drawdepth: WallTops
#    sprite: Structures/Wallmounts/sylphs.rsi
#    state: sylph
#  - type: ApcPowerReceiver
#  - type: ExtensionCableReceiver
#  - type: BarSign

- type: entity
  parent: BaseBarSign
  id: BarSignComboCafe
  name: Combo Cafe
  description: Renowned system-wide for their utterly uncreative drink combinations.
  components:
  - type: BarSign
    current: ComboCafe

- type: entity
  parent: BaseBarSign
  id: BarSignEmergencyRumParty
  name: Emergency Rum Party
  description: Recently relicensed after a long closure.
  components:
  - type: BarSign
    current: EmergencyRumParty

- type: entity
  parent: BaseBarSign
  id: BarSignLV426
  name: LV426
  description: Drinking with fancy facemasks is clearly more important than going to medbay.
  components:
  - type: BarSign
    current: LV426

- type: entity
  parent: BaseBarSign
  id: BarSignMaidCafe
  name: Maid Cafe
  description: Welcome back, master!
  components:
  - type: BarSign
    current: MaidCafe

- type: entity
  parent: BaseBarSign
  id: BarSignMalteseFalcon
  name: Maltese Falcon
  description: Play it again, sam.
  components:
  - type: BarSign
    current: MalteseFalcon

- type: entity
  parent: BaseBarSign
  id: BarSignOfficerBeersky
  name: Officer Beersky
  description: Man eat a dong, these drinks are great.
  components:
  - type: BarSign
    current: OfficerBeersky

- type: entity
  parent: BaseBarSign
  id: BarSignRobustaCafe
  name: Robusta Cafe
  description: Holder of the 'Most Lethal Barfights' record 5 years uncontested.
  components:
  - type: BarSign
    current: RobustaCafe

- type: entity
  parent: BaseBarSign
  id: BarSignTheAleNath
  name: The Ale Nath
  description: All right, buddy. I think you've had EI NATH. Time to get a cab.
  components:
  - type: BarSign
    current: TheAleNath

- type: entity
  parent: BaseBarSign
  id: BarSignTheBirdCage
  name: The Bird Cage
  description: Caw caw!
  components:
  - type: BarSign
    current: TheBirdCage

- type: entity
  parent: BaseBarSign
  id: BarSignTheCoderbus
  name: The Coderbus
  description: A very controversial bar known for its wide variety of constantly-changing drinks.
  components:
  - type: BarSign
    current: TheCoderbus

- type: entity
  parent: BaseBarSign
  id: BarSignTheDrunkCarp
  name: The Drunk Carp
  description: Don't drink and swim.
  components:
  - type: BarSign
    current: TheDrunkCarp

- type: entity
  parent: BaseBarSign
  id: BarSignEngineChange
  name: The Engine Change
  description: Still waiting.
  components:
  - type: BarSign
    current: EngineChange

- type: entity
  parent: BaseBarSign
  id: BarSignTheHarmbaton
  name: The Harmbaton
  description: A great dining experience for both security members and passengers.
  components:
  - type: BarSign
    current: Harmbaton

- type: entity
  parent: BaseBarSign
  id: BarSignTheLightbulb
  name: The Lightbulb
  description: A cafe popular among moths and moffs. Once shut down for a week after the bartender used mothballs to protect her spare uniforms.
  components:
  - type: BarSign
    current: TheLightbulb

- type: entity
  parent: BaseBarSign
  id: BarSignTheLooseGoose
  name: The Loose Goose
  description: Drink till you puke and/or break the laws of reality!
  components:
  - type: BarSign
    current: Goose

- type: entity
  parent: BaseBarSign
  id: BarSignTheNet
  name: The Net
  description: You just seem to get caught up in it for hours.
  components:
  - type: BarSign
    current: TheNet

- type: entity
  parent: BaseBarSign
  id: BarSignTheOuterSpess
  name: The Outer Spess
  description: This bar isn't actually located in outer space.
  components:
  - type: BarSign
    current: TheOuterSpess

- type: entity
  parent: BaseBarSign
  id: BarSignTheSingulo
  name: The Singulo
  description: Where people go that'd rather not be called by their name.
  components:
  - type: BarSign
    current: TheSingulo

- type: entity
  parent: BaseBarSign
  id: BarSignTheSun
  name: The Sun
  description: Ironically bright for such a shady bar.
  components:
  - type: BarSign
    current: TheSun

- type: entity
  parent: BaseBarSign
  id: BarSignWiggleRoom
  name: Wiggle Room
  description: MoMMIs got moves.
  components:
  - type: BarSign
    current: WiggleRoom

- type: entity
  parent: BaseBarSign
  id: BarSignZocalo
  name: Zocalo
  description: Anteriormente ubicado en Spessmerica.
  components:
  - type: BarSign
    current: Zocalo

- type: entity
  parent: BaseBarSign
  id: BarSignEmprah
  name: 4 The Emprah
  description: Enjoyed by fanatics, heretics, and brain-damaged patrons alike.
  components:
  - type: BarSign
    current: Emprah

- type: entity
  parent: BaseBarSign
  id: BarSignSpacebucks
  name: Spacebucks
  description: You can't get away from them, even in space, and even after we started calling them 'spesos' instead.
  components:
  - type: BarSign
    current: Spacebucks

- type: entity
  parent: BaseBarSign
  id: BarSignMaltroach
  name: The Maltroach
  description: Squeak!
  components:
  - type: BarSign
    current: Maltroach

- type: entity
  parent: BaseBarSign
  id: BarSignWhiskeyEchoes
  name: Whiskey Echoes
  description: An elite bar for elite oper-wait, this is a Nanotrasen station. Why's this sign in the database?
  components:
  - type: BarSign
    current: WhiskeyEchoes
