- type: entity
  id: BaseRdServerFaction
  parent: BaseMachinePowered
  name: BaseRdServerFaction
  categories: [ HideSpawnMenu ]
  description: Contains the collective knowledge of the faction.
  components:
  - type: Sprite
    sprite: Structures/Machines/server.rsi
    layers:
    - state: server
    - state: variant-research
    - state: server_o
      map: ["enum.WiresVisualLayers.MaintenancePanel"]
  - type: ResearchServer
  - type: ResearchPointSource
    pointspersecond: 30
    active: true
  - type: TechnologyDatabase
    supportedDisciplines:
    - Industrial
    - Arsenal
    - Experimental
    - CivilianServices
    - MechaEngineering
  - type: ApcPowerReceiver
    powerLoad: 500
  - type: ExtensionCableReceiver
  - type: WiresPanel
  - type: WiresVisuals
  - type: Destructible
    thresholds:
    - trigger:
        !type:DamageTrigger
        damage: 1800
      behaviors:
      - !type:DoActsBehavior
        acts: [ "Destruction" ]
    - trigger:
        !type:DamageTrigger
        damage: 1200
      behaviors:
      - !type:DoActsBehavior
        acts: ["Destruction"]
      - !type:PlaySoundBehavior
        sound:
          collection: MetalBreak
      - !type:SpawnEntitiesBehavior
        spawn:
          SheetSteel1:
            min: 1
            max: 2
  - type: Appearance
  - type: AmbientOnPowered
  - type: AmbientSound
    volume: -9
    range: 5
    sound:
      path: /Audio/Ambience/Objects/server_fans.ogg
  - type: GuideHelp
    guides:
    - Science

- type: entity
  id: ResearchAndDevelopmentServerTSFMC
  parent: BaseRdServerFaction
  name: TSFMC R&D server
  description: Contains the collective knowledge of the TSFMC in this sector.
  components:
  - type: Sprite
    sprite: _Mono/Structures/Machines/server.rsi
    layers:
    - state: server
    - state: variant-tsf
    - state: server_o
      map: ["enum.WiresVisualLayers.MaintenancePanel"]
  - type: TechnologyDatabase
    supportedDisciplines:
    - TsfmcWeaponry
    - TsfmcGear # GEAR IS TOOLS!!
    - TsfmcEquipment # EQUIPMENT IS ARMOR!!
    - TsfmcShipyard
    - FactionUniversal
    - Industrial
    - Arsenal
    - Experimental
    - CivilianServices
    - MechaEngineering

- type: entity
  id: ResearchAndDevelopmentServerRogues
  parent: BaseRdServerFaction
  name: Rogue R&D server
  description: Contains the collective knowledge of the Rogues in this sector.
  components:
  - type: Sprite
    sprite: _Mono/Structures/Machines/server.rsi
    layers:
    - state: server
    - state: variant-rogue
    - state: server_o
      map: ["enum.WiresVisualLayers.MaintenancePanel"]
  - type: TechnologyDatabase
    supportedDisciplines:
    - RogueWeaponry
    - RogueGear # GEAR IS TOOLS!!
    - RogueEquipment # EQUIPMENT IS ARMOR!!
    - RogueShipyard
    - FactionUniversal
    - Industrial
    - Arsenal
    - Experimental
    - CivilianServices
    - MechaEngineering

- type: entity
  id: ResearchAndDevelopmentServerUssp
  parent: BaseRdServerFaction
  name: USSP R&D server
  description: Contains the collective knowledge of the USSP in this sector.
  components:
  - type: Sprite
    sprite: _Mono/Structures/Machines/server.rsi
    layers:
    - state: server
    - state: variant-ussp
    - state: server_o
      map: ["enum.WiresVisualLayers.MaintenancePanel"]
  - type: TechnologyDatabase
    supportedDisciplines:
    - Ussp
    - UsspShipyard
    - UsspEquipment
    - UsspWeapons
    - FactionUniversal
    - Industrial
    - Arsenal
    - Experimental
    - CivilianServices
    - MechaEngineering

- type: entity
  id: ResearchAndDevelopmentServerDebug
  parent: BaseRdServerFaction
  name: debug R&D server
  description: Contains the collective knowledge of Everyone. Damn
  components:
  - type: TechnologyDatabase
    supportedDisciplines:
    - Industrial
    - Arsenal
    - Experimental
    - CivilianServices
    - TsfmcWeaponry
    - TsfmcGear
    - TsfmcEquipment
    - TsfmcShipyard
    - RogueWeaponry
    - RogueGear
    - RogueEquipment
    - RogueShipyard
    - Ussp
    - UsspShipyard
    - UsspEquipment
    - UsspWeapons
    - FactionUniversal
    - MechaEngineering

- type: entity
  parent: ResearchAndDevelopmentServer
  id: ResearchAndDevelopmentServerMerc
  name: mercenary R&D server
  description: Contains the collective knowledge of the crew.
  components:
  - type: Sprite
    sprite: _Mono/Structures/Machines/server.rsi
    layers:
    - state: server
    - state: variant-merc
    - state: server_o
      map: ["enum.WiresVisualLayers.MaintenancePanel"]
  - type: StaticPrice
    price: 4000
