# SPDX-FileCopyrightText: 2023 Flareguy <78941145+Flareguy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Jackal298 <129199891+Jackal298@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 BombasterDS <115770678+BombasterDS@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
#The entire game mysteriously shits itself and dies if you uncomment the item size. I have no idea why.
#TODO: Assimilate these into the same RSI.
- type: entity
  parent: BaseItem
  id: ModularReceiver
  name: modular receiver
  description: A vital part used in the creation of firearms. #Could use a better description, but I'm not a gun nut so I can't really do that.
  components:
#    - type: Item
#      size: Normal
    - type: Sprite
      sprite: Objects/Misc/modular_receiver.rsi
      state: icon
    - type: Tag
      tags:
      - ModularReceiver
      - Metal
    - type: PhysicalComposition #Goobstation - Recycle update
      materialComposition:
        Steel: 187
        Plastic: 25

- type: entity
  parent: BaseItem
  id: RifleStock
  name: rifle stock
  description: A robust wooden stock, used in the creation of firearms. #Same as above
  components:
#    - type: Item
#      size: Normal
    - type: Sprite
      sprite: Objects/Misc/rifle_stock.rsi
      state: icon
    - type: Construction
      graph: RifleStockGraph
      node: riflestock
    - type: Tag
      tags:
      - RifleStock
      - Wooden