- type: entity
  name: shipyard RCD
  parent: RCD
  id: ShipyardRCD
  description: An advanced construction device which can place/remove walls, floors, and airlocks quickly. It has a slot to swipe ID cards.
  components:
  - type: RCD
    isShipyardRCD: true
  - type: Sprite
    state: icon-shipyard
  - type: GridAccess

- type: entity
  id: ShipyardRCDEmpty
  parent: ShipyardRCD
  suffix: Empty
  components:
    - type: LimitedCharges
      lastCharges: -1

- type: entity
  name: shipyard compressed matter
  parent: RCDAmmo
  id: ShipyardRCDAmmo
  description: Ammo cartridge for a shipyard RCD.
  components:
  - type: RCDAmmo
    isShipyardRCDAmmo: true
  - type: Sprite
    state: ammo-shipyard
  - type: Item
    heldPrefix: ammo-shipyard

- type: entity
  name: maintenance jack
  parent: BaseItem
  id: MaintenanceJack
  description: A maintenance jack for removing up floor plating.
  components:
  - type: Sprite
    sprite: _NF/Objects/Tools/maintenance-jack.rsi
    state: icon
  - type: MeleeWeapon
    wideAnimationRotation: -45
    swingLeft: true
    attackRate: 0.75
    damage:
      types:
        Blunt: 10
        Structural: 5
    soundHit:
      collection: MetalThud
  - type: Item
    size: Huge
  - type: Clothing
    sprite: Objects/Weapons/Melee/fireaxe.rsi
    quickEquip: false
    slots:
    - back
    - suitStorage
  - type: Tool
    qualities:
      - Axing
  - type: ToolTileCompatible
  - type: UseDelay
    delay: 1

- type: entity
  name: pirate repair kit
  parent: [BaseItem, BaseC3PirateContraband]
  id: PirateRepairKit
  description: A collection of equipment needed to repair a pirate console.
  components:
  - type: EmitSoundOnLand
    sound:
      path: /Audio/Items/toolbox_drop.ogg
  - type: Sprite
    sprite: _NF/Objects/Tools/Toolboxes/toolbox_pirate.rsi
    state: icon
  - type: NFPirateToolbox
  - type: StaticPrice
    price: 0
  # Lines below taken from ToolboxBase.
  - type: Item
    size: Ginormous
  - type: MeleeWeapon
    damage:
      types:
        Blunt: 12
    soundHit:
      path: "/Audio/Weapons/smash.ogg"

- type: entity
  name: pirate shipyard RCD
  parent: ShipyardRCD
  id: PirateShipyardRCD
  description: An advanced construction device which can place/remove walls, floors, and airlocks quickly. It has a slot to swipe ID cards.
  components:
  - type: RCD
    isShipyardRCD: true
    availablePrototypes:
    # Walls and flooring
    - WallMining
    - WallMiningDiagonal
    - FloorWood
    - FloorDark
    - PiratePlating
    - PirateCatwalk
    # Windows and grilles
    - MiningWindow
    - MiningWindowDiagonal
    - ClockworkGrille
    - ClockworkGrilleDiagonal
    # Airlocks
    - AirlockHatchPirateLocked
    - AirlockMiningPirateLocked
    - AirlockMiningGlassPirateLocked
    - AirlockShuttleSyndicatePirateLocked
    - AirlockGlassShuttleSyndicatePirateLocked
    # Lighting
    - PoweredlightRed
    - PoweredlightUltraviolet
    - TubeLight
    - BulbLight
    # Electrical
    - LVCable
    - MVCable
    - HVCable
    - CableTerminal
    # Deconstruct
    - Deconstruct
  - type: Sprite
    sprite: _NF/Objects/Tools/pirate_shipyard_rcd.rsi
    state: icon
  - type: Clothing
    sprite: _NF/Objects/Tools/pirate_shipyard_rcd.rsi
    quickEquip: false
    slots:
    - Belt
  - type: GridAccess
  - type: RandomMetadata
    nameSegments: [NamesPirateShipyardRCD]

- type: entity
  id: PirateShipyardRCDEmpty
  parent: PirateShipyardRCD
  suffix: Empty
  components:
    - type: LimitedCharges
      lastCharges: -1

#Other
- type: entity
  name: the people's shovel
  parent: Shovel
  id: NFShovel
  description: "An old relic from the Glorious Leader. Capable of 18 functions, including digging, chopping, cutting, picking, prying, wire cutting, shoveling."
  components:
  - type: Sprite
    sprite: _NF/Objects/Tools/cm-shovel.rsi
  - type: MeleeWeapon
    damage:
      types:
        Blunt: 11
        Slash: 3
        Structural: 1
  - type: Item
    sprite: _NF/Objects/Tools/cm-shovel.rsi
  - type: StaticPrice
    price: 2000
  - type: Sharp
  - type: ToolTileCompatible
  - type: Prying
    enabled: false
  - type: Tag
    tags:
    - BotanyShovel
    - Wirecutter
    - Screwdriver
    - Crowbar
    - Pickaxe
  - type: Tool
    qualities:
      - Digging
    speedModifier: 0.4
    useSound:
      path: /Audio/Items/shovel_dig.ogg
  - type: MultipleTool
    statusShowBehavior: true
    entries:
      - behavior: Digging
        sprite:
          sprite: _NF/Objects/Tools/cm-shovel.rsi
          state: icon
        useSound:
          path: /Audio/Items/shovel_dig.ogg
        changeSound:
          path: /Audio/Items/shovel_dig.ogg
      - behavior: Screwing
        sprite:
          sprite: _NF/Objects/Tools/cm-shovel.rsi
          state: icon
        useSound:
          path: /Audio/Items/screwdriver.ogg
        changeSound:
          path: /Audio/Items/shovel_dig.ogg
      - behavior: Anchoring
        sprite:
          sprite: _NF/Objects/Tools/cm-shovel.rsi
          state: icon
        useSound:
          path: /Audio/Items/ratchet.ogg
        changeSound:
          path: /Audio/Items/shovel_dig.ogg
      - behavior:
        - Prying
        - Axing
        sprite:
          sprite: _NF/Objects/Tools/cm-shovel.rsi
          state: icon
        useSound:
          path: /Audio/Items/crowbar.ogg
        changeSound:
          path: /Audio/Items/shovel_dig.ogg
      - behavior:
        - Cutting
        - Slicing
        - Sawing
        sprite:
          sprite: _NF/Objects/Tools/cm-shovel.rsi
          state: icon
        useSound:
          path: /Audio/Items/wirecutter.ogg
        changeSound:
          path: /Audio/Items/shovel_dig.ogg
  - type: ThrowingAngle
    angle: 45
  - type: DamageOtherOnHit
    damage:
      types:
        Blunt: 4
        Slash: 1
  - type: BalloonPopper
  - type: Utensil
    types:
      - Knife
