# SPDX-FileCopyrightText: 2023 Chris <HoofedEar@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 CrigCrag <137215465+CrigCrag@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Fahasor <70820551+Fahasor@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 freeman2651 <104049107+freeman2651@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 AWF <you@example.com>
# SPDX-FileCopyrightText: 2024 Aiden <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2024 Alice "Arimah" Heurlin <30327355+arimah@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Alzore <140123969+Blackern5000@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Brandon Hu <103440971+Brandon-Huu@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 CaasGit <87243814+CaasGit@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Chief-Engineer <119664036+Chief-Engineer@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Cojoke <83733158+Cojoke-dot@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 DrSmugleaf <10968691+DrSmugleaf@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 DrSmugleaf <DrSmugleaf@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Ed <96445749+TheShuEd@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Emisse <99158783+Emisse@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 EmoGarbage404 <retron404@gmail.com>
# SPDX-FileCopyrightText: 2024 Eoin Mcloughlin <helloworld@eoinrul.es>
# SPDX-FileCopyrightText: 2024 Errant <35878406+Errant-4@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Flareguy <78941145+Flareguy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 GitHubUser53123 <110841413+GitHubUser53123@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 HS <81934438+HolySSSS@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Hrosts <35345601+Hrosts@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 IProduceWidgets <107586145+IProduceWidgets@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Ian <ignaz.k@live.de>
# SPDX-FileCopyrightText: 2024 Ilya246 <57039557+Ilya246@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Joel Zimmerman <JoelZimmerman@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 JustCone <141039037+JustCone14@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Kevin Zheng <kevinz5000@gmail.com>
# SPDX-FileCopyrightText: 2024 Killerqu00 <47712032+Killerqu00@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Kira Bridgeton <161087999+Verbalase@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Ko4ergaPunk <62609550+Ko4ergaPunk@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Kukutis96513 <146854220+Kukutis96513@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Lye <128915833+Lyroth001@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 MerrytheManokit <167581110+MerrytheManokit@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Mervill <mervills.email@gmail.com>
# SPDX-FileCopyrightText: 2024 Mr. 27 <45323883+Dutch-VanDerLinde@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 MureixloI <132683811+MureixloI@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Nairod <110078045+Nairodian@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 NakataRin <45946146+NakataRin@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 OrangeMoronage9622 <whyteterry0092@gmail.com>
# SPDX-FileCopyrightText: 2024 PJBot <pieterjan.briers+bot@gmail.com>
# SPDX-FileCopyrightText: 2024 Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
# SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2024 Plykiya <58439124+Plykiya@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Preston Smith <92108534+thetolbean@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Psychpsyo <60073468+Psychpsyo@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Repo <47093363+Titian3@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 RiceMar1244 <138547931+RiceMar1244@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Rouge2t7 <81053047+Sarahon@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Simon <63975668+Simyon264@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Stalen <33173619+stalengd@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 TakoDragon <69509841+BackeTako@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Tayrtahn <tayrtahn@gmail.com>
# SPDX-FileCopyrightText: 2024 Thomas <87614336+Aeshus@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Truoizys <153248924+Truoizys@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 TsjipTsjip <19798667+TsjipTsjip@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Ubaser <134914314+UbaserB@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Unkn0wn_Gh0st <shadowstalkermll@gmail.com>
# SPDX-FileCopyrightText: 2024 Vasilis <vasilis@pikachu.systems>
# SPDX-FileCopyrightText: 2024 Verm <32827189+Vermidia@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Vigers Ray <60344369+VigersRay@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 beck-thompson <107373427+beck-thompson@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 deathride58 <deathride58@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 deltanedas <39013340+deltanedas@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 deltanedas <@deltanedas:kde.org>
# SPDX-FileCopyrightText: 2024 dffdff2423 <dffdff2423@gmail.com>
# SPDX-FileCopyrightText: 2024 eoineoineoin <github@eoinrul.es>
# SPDX-FileCopyrightText: 2024 foboscheshir <156405958+foboscheshir@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 liltenhead <104418166+liltenhead@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 lzk <124214523+lzk228@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 metalgearsloth <comedian_vs_clown@hotmail.com>
# SPDX-FileCopyrightText: 2024 nikthechampiongr <32041239+nikthechampiongr@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 osjarw <62134478+osjarw@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 plykiya <plykiya@protonmail.com>
# SPDX-FileCopyrightText: 2024 saintmuntzer <47153094+saintmuntzer@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 shamp <140359015+shampunj@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 slarticodefast <161409025+slarticodefast@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 strO0pwafel <153459934+strO0pwafel@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 stroopwafel <j.o.luijkx@student.tudelft.nl>
# SPDX-FileCopyrightText: 2024 themias <89101928+themias@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 to4no_fix <156101927+chavonadelal@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 username <113782077+whateverusername0@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 voidnull000 <18663194+voidnull000@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 whateverusername0 <whateveremail>
# SPDX-FileCopyrightText: 2024 Арт <123451459+JustArt1m@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 Johnly <Jonhlybr@gmail.com>
# SPDX-FileCopyrightText: 2025 Super7522 <Jonhlybr@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  name: jug
  parent: BaseItem
  id: Jug
  description: Used to contain a very large amount of chemicals or solutions. Chugging is extremely ill-advised.
  components:
    - type: SolutionContainerManager
      solutions:
        beaker:
          maxVol: 200
    - type: Sprite
      sprite: Objects/Specific/Chemistry/jug.rsi
      layers:
        - state: jug
        - state: jug1
          map: [ "enum.SolutionContainerLayers.Fill" ]
          visible: false
    - type: Item
      size: Normal
      sprite: Objects/Specific/Chemistry/jug.rsi
    - type: MixableSolution
      solution: beaker
    - type: RefillableSolution
      solution: beaker
    - type: DrainableSolution
      solution: beaker
    - type: ExaminableSolution
      solution: beaker
    - type: DrawableSolution
      solution: beaker
    - type: InjectableSolution
      solution: beaker
    - type: SolutionTransfer
      canChangeTransferAmount: true
    - type: SolutionItemStatus
      solution: beaker
    - type: UserInterface
      interfaces:
        enum.TransferAmountUiKey.Key:
          type: TransferAmountBoundUserInterface
    - type: Drink
      solution: beaker
    - type: Spillable
      solution: beaker
    - type: Appearance
    - type: SolutionContainerVisuals
      maxFillLevels: 6
      fillBaseName: jug
      inHandsMaxFillLevels: 5
      inHandsFillBaseName: -fill-
    - type: StaticPrice
      price: 60
    - type: Damageable
      damageContainer: Inorganic
    - type: Destructible
      thresholds:
      - trigger:
          !type:DamageTrigger
          damage: 200
        behaviors:
          - !type:DoActsBehavior
            acts: [ "Destruction" ]
      - trigger:
          !type:DamageTrigger
          damage: 20
        behaviors:
        - !type:PlaySoundBehavior
          sound:
            collection: MetalBreak
            params:
              volume: -4
        - !type:SpillBehavior { }
        - !type:SpawnEntitiesBehavior
          spawn:
            SheetPlastic1:
              min: 0
              max: 1
          transferForensics: true
        - !type:DoActsBehavior
          acts: [ "Destruction" ]
    - type: Label
    - type: Tag
      tags:
      - ChemDispensable
    - type: DnaSubstanceTrace

- type: entity
  parent: Jug
  suffix: carbon
  id: JugCarbon
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-carbon
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Carbon
          Quantity: 200

- type: entity
  parent: Jug
  suffix: iodine
  id: JugIodine
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-iodine
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Iodine
          Quantity: 200

- type: entity
  parent: Jug
  suffix: fluorine
  id: JugFluorine
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-fluorine
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Fluorine
          Quantity: 200

- type: entity
  parent: Jug
  suffix: chlorine
  id: JugChlorine
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-chlorine
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Chlorine
          Quantity: 200

- type: entity
  parent: Jug
  suffix: aluminium
  id: JugAluminium
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-aluminium
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Aluminium
          Quantity: 200

- type: entity
  parent: Jug
  suffix: phosphorus
  id: JugPhosphorus
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-phosphorus
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Phosphorus
          Quantity: 200

- type: entity
  parent: Jug
  suffix: sulfur
  id: JugSulfur
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-sulfur
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Sulfur
          Quantity: 200

- type: entity
  parent: Jug
  suffix: silicon
  id: JugSilicon
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-silicon
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Silicon
          Quantity: 200

- type: entity
  parent: Jug
  suffix: hydrogen
  id: JugHydrogen
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-hydrogen
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Hydrogen
          Quantity: 200

- type: entity
  parent: Jug
  suffix: lithium
  id: JugLithium
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-lithium
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Lithium
          Quantity: 200

- type: entity
  parent: Jug
  suffix: sodium
  id: JugSodium
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-sodium
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Sodium
          Quantity: 200

- type: entity
  parent: Jug
  suffix: potassium
  id: JugPotassium
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-potassium
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Potassium
          Quantity: 200

- type: entity
  parent: Jug
  suffix: radium
  id: JugRadium
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-radium
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Radium
          Quantity: 200

- type: entity
  parent: Jug
  suffix: iron
  id: JugIron
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-iron
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Iron
          Quantity: 200

- type: entity
  parent: Jug
  suffix: copper
  id: JugCopper
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-copper
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Copper
          Quantity: 200

- type: entity
  parent: Jug
  suffix: gold
  id: JugGold
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-gold
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Gold
          Quantity: 200

- type: entity
  parent: Jug
  suffix: mercury
  id: JugMercury
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-mercury
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Mercury
          Quantity: 200

- type: entity
  parent: Jug
  suffix: silver
  id: JugSilver
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-silver
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Silver
          Quantity: 200

- type: entity
  parent: Jug
  suffix: ethanol
  id: JugEthanol
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-ethanol
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Ethanol
          Quantity: 200

- type: entity
  parent: Jug
  suffix: sugar
  id: JugSugar
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-sugar
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Sugar
          Quantity: 200

- type: entity
  parent: Jug
  suffix: nitrogen
  id: JugNitrogen
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-nitrogen
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Nitrogen
          Quantity: 200

- type: entity
  parent: Jug
  suffix: oxygen
  id: JugOxygen
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-oxygen
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Oxygen
          Quantity: 200

- type: entity
  parent: Jug
  suffix: Plant-B-Gone
  id: JugPlantBGone
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-plant-b-gone
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: PlantBGone
          Quantity: 200

- type: entity
  parent: Jug
  suffix: welding fuel
  id: JugWeldingFuel
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-welding-fuel
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: WeldingFuel
          Quantity: 200
- type: entity
  parent: Jug
  suffix: holy water
  id: JugHolyWater
  categories: [ HideSpawnMenu ]
  components:
  - type: Label
    currentLabel: reagent-name-holywater
  - type: SolutionContainerManager
    solutions:
      beaker:
        reagents:
        - ReagentId: Holywater
          Quantity: 200
