# SPDX-FileCopyrightText: 2022 Kevin Zheng <kevinz5000@gmail.com>
# SPDX-FileCopyrightText: 2022 Peptide90 <78795277+Peptide90@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Boaz1111 <149967078+Boaz1111@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Fluffiest Floofers <thebluewulf@gmail.com>
# SPDX-FileCopyrightText: 2023 Interrobang01 <113810873+Interrobang01@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Minty642 <42335609+Minty642@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Vladislav Kadira <130583174+FillerVK@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 deathride58 <deathride58@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 lapatison <100279397+lapatison@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 nmajask <nmajask@gmail.com>
# SPDX-FileCopyrightText: 2023 phunnyguy <90366172+phunnyguy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 potato1234_x <79580518+potato1234x@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 12rabbits <53499656+12rabbits@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Alchebun <47635328+jimmy12or@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Alchebun <jimmy.12.or#gmail.com>
# SPDX-FileCopyrightText: 2024 Alzore <140123969+Blackern5000@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Brandon Hu <103440971+Brandon-Huu@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Dimastra <65184747+Dimastra@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Dimastra <dimastra@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 Eoin Mcloughlin <helloworld@eoinrul.es>
# SPDX-FileCopyrightText: 2024 IProduceWidgets <107586145+IProduceWidgets@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 JIPDawg <51352440+JIPDawg@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 JIPDawg <JIPDawg93@gmail.com>
# SPDX-FileCopyrightText: 2024 Mervill <mervills.email@gmail.com>
# SPDX-FileCopyrightText: 2024 Moomoobeef <62638182+Moomoobeef@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 PJBot <pieterjan.briers+bot@gmail.com>
# SPDX-FileCopyrightText: 2024 Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
# SPDX-FileCopyrightText: 2024 Pieter-Jan Briers <pieterjan.briers@gmail.com>
# SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2024 PopGamer46 <yt1popgamer@gmail.com>
# SPDX-FileCopyrightText: 2024 PursuitInAshes <pursuitinashes@gmail.com>
# SPDX-FileCopyrightText: 2024 QueerNB <176353696+QueerNB@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Saphire Lattice <lattice@saphi.re>
# SPDX-FileCopyrightText: 2024 ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Simon <63975668+Simyon264@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Spessmann <156740760+Spessmann@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 TheKittehJesus <29379890+SamGithubAccount@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Thomas <87614336+Aeshus@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Ubaser <134914314+UbaserB@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Winkarst <74284083+Winkarst-cpu@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 ada-please <155147867+ada-please@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 deltanedas <39013340+deltanedas@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 deltanedas <@deltanedas:kde.org>
# SPDX-FileCopyrightText: 2024 eoineoineoin <github@eoinrul.es>
# SPDX-FileCopyrightText: 2024 genderGeometries <159584039+genderGeometries@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 github-actions[bot] <41898282+github-actions[bot]@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 slarticodefast <161409025+slarticodefast@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 stellar-novas <stellar_novas@riseup.net>
# SPDX-FileCopyrightText: 2024 themias <89101928+themias@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 SX_7 <sn1.test.preria.2002@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: reaction
  id: Curdling
  impact: Low
  quantized: true
  conserveEnergy: false
  reactants:
    Milk:
      amount: 40
    Enzyme:
      amount: 5
      catalyst: true
  effects:
    - !type:CreateEntityReactionEffect
      entity: FoodCheese

- type: reaction
  id: ChevreCurdling
  impact: low
  quantized: true
  conserveEnergy: false
  reactants:
    MilkGoat:
      amount: 10 #Batches of chevre are traditionally made in far lower quantities than that of milk
    Enzyme:
      amount: 5
      catalyst: true
  effects:
    - !type:CreateEntityReactionEffect
      entity: FoodChevre

- type: reaction
  id: CreateDough
  impact: Low
  quantized: true
  conserveEnergy: false
  reactants:
    Flour:
      amount: 15
    Water:
      amount: 10
  effects:
    - !type:CreateEntityReactionEffect
      entity: FoodDough

- type: reaction
  id: CreateCornmealDough
  impact: Low
  quantized: true
  conserveEnergy: false
  reactants:
    Cornmeal:
      amount: 15
    Milk: #replace with yoghurt when added
      amount: 10
    Egg:
      amount: 6
  effects:
    - !type:CreateEntityReactionEffect
      entity: FoodDoughCornmeal

- type: reaction
  id: CreateTortillaDough
  impact: Low
  quantized: true
  conserveEnergy: false
  reactants:
    Cornmeal:
      amount: 15
    Water:
      amount: 10
  effects:
    - !type:CreateEntityReactionEffect
      entity: FoodDoughTortilla

- type: reaction
  id: CreateDoughCotton
  impact: Low
  quantized: true
  conserveEnergy: false
  reactants:
    Fiber:
      amount: 10
    Flour:
      amount: 5
    Water:
      amount: 10
  effects:
  - !type:CreateEntityReactionEffect
    entity: FoodDoughCotton

- type: reaction
  id: CreateCakeBatter
  impact: Low
  quantized: true
  conserveEnergy: false
  reactants:
    Flour:
      amount: 15
    Egg:
      amount: 12
    Sugar:
      amount: 5
    Milk:
      amount: 5
  effects:
    - !type:CreateEntityReactionEffect
      entity: FoodCakeBatter

- type: reaction
  id: CreateButter
  impact: Low
  quantized: true
  conserveEnergy: false
  reactants:
    Milk:
      amount: 15
    TableSalt:
      amount: 5
      catalyst: true
  effects:
    - !type:CreateEntityReactionEffect
      entity: FoodButter

- type: reaction
  id: CreatePieDough
  impact: Low
  quantized: true
  conserveEnergy: false
  reactants:
    Flour:
      amount: 15
    Egg:
      amount: 12
    TableSalt:
      amount: 5
  effects:
    - !type:CreateEntityReactionEffect
      entity: FoodDoughPie

# TG has a cake recipe that uses soy milk instead of eggs.
# but afaik it spawns the exact same cake batter entity.
# Maybe change this if you want to do allergies or something
- type: reaction
  id: CreateVeganCakeBatter
  impact: Low
  quantized: true
  conserveEnergy: false
  reactants:
    Flour:
      amount: 15
    MilkSoy:
      amount: 15
    Sugar:
      amount: 5
  effects:
    - !type:CreateEntityReactionEffect
      entity: FoodCakeBatter

- type: reaction
  id: CreateTofu
  impact: Low
  quantized: true
  conserveEnergy: false
  reactants:
    MilkSoy:
      amount: 30
    Enzyme:
      amount: 5
      catalyst: true
  effects:
    - !type:CreateEntityReactionEffect
      entity: FoodTofu

- type: reaction
  id: CreateMeatball
  impact: Low
  quantized: true
  conserveEnergy: false
  reactants:
    UncookedAnimalProteins:
      amount: 5
    Flour:
      amount: 5
    Egg:
      amount: 6
  effects:
    - !type:CreateEntityReactionEffect
      entity: FoodMeatMeatball

- type: reaction
  id: CreateChocolate
  impact: Low
  quantized: true
  conserveEnergy: false
  reactants:
    CocoaPowder:
      amount: 4
    Milk:
      amount: 2
    Sugar:
      amount: 2
  effects:
    - !type:CreateEntityReactionEffect
      entity: FoodSnackChocolateBar

# Condiments

- type: reaction
  id: CookingKetchup
  reactants:
    JuiceTomato:
      amount: 2
    Sugar:
      amount: 1
  products:
    Ketchup: 3

- type: reaction
  id: CookingMayoVinegar
  reactants:
    Vinegar:
      amount: 5
    Oil:
      amount: 5
    Egg:
      amount: 6
  products:
    Mayo: 15

- type: reaction
  id: CookingMayoLemon
  reactants:
    JuiceLemon:
      amount: 5
    Oil:
      amount: 5
    Egg:
      amount: 6
  products:
    Mayo: 15

# Gas not included
- type: reaction
  id: CookingMustard
  reactants:
    Bleach:
      amount: 1
    Ammonia:
      amount: 1
  products:
    Mustard: 2

- type: reaction
  id: CookingKetchunaise
  reactants:
    Ketchup:
      amount: 1
    Mayo:
      amount: 1
  products:
    Ketchunaise: 2

- type: reaction
  id: CookingBbqSauce
  reactants:
    Ketchup:
      amount: 1
    Vinegar:
      amount: 1
    Sugar:
      amount: 1
  products:
    BbqSauce: 3

- type: reaction
  id: CookingHotsauce
  reactants:
    JuiceTomato:
      amount: 1
    TableSalt:
      amount: 1
    CapsaicinOil:
      amount: 1
  products:
    Hotsauce: 3

- type: reaction
  id: CookingColdsauce
  reactants:
    JuiceTomato:
      amount: 1
    TableSalt:
      amount: 1
    FrostOil:
      amount: 1
  products:
    Coldsauce: 3

- type: reaction
  id: CookingVinegar
  reactants:
    Ethanol:
      amount: 1
    Oxygen:
      amount: 1
  products:
    Vinegar: 2

- type: reaction
  id: CookingSoysauce
  reactants:
    MilkSoy:
      amount: 2
    SulfuricAcid:
      amount: 1
  products:
    Soysauce: 3

- type: reaction
  id: CookingVinaigrette
  reactants:
    Vinegar:
      amount: 1
    OilOlive:
      amount: 1
    Blackpepper:
      amount: 1
  products:
    Vinaigrette: 3

- type: reaction
  id: BananaBreakdown
  source: true
  requiredMixerCategories:
  - Centrifuge
  reactants:
    JuiceBanana:
      amount: 10
  products:
    Sugar: 5
    Potassium: 5

- type: reaction
  id: OilBreakdown
  requiredMixerCategories:
  - Centrifuge
  reactants:
    Oil:
      amount: 10
  products:
    Fat: 6
    Water: 3
    Protein: 1 #water & protein represent aqueous proteins

#- type: reaction
#  id: SugarBreakdown
#  source: true
#  minTemp: 520
#  reactants:
#    Sugar:
#      amount: 4
#  products:
#    Carbon: 1
#    Oxygen: 1
#    Hydrogen: 2

- type: reaction
  id: AllicinBreakdown
  source: true
  requiredMixerCategories:
  - Centrifuge
  reactants:
    Allicin:
      amount: 4
  products:
    Sulfur: 2
    Carbon: 1
    Water: 1

- type: reaction
  id: NutrimentBreakdown
  source: true
  requiredMixerCategories:
  - Centrifuge
  reactants:
    Nutriment:
      amount: 5
  products:
    Water: 2
    Carbon: 2
    Sugar: 1

- type: reaction
  id: FatBreakdown
  source: true
  requiredMixerCategories:
  - Electrolysis
  reactants:
    Fat:
      amount: 15
  products:
    Carbon: 5
    Hydrogen: 10
    Oxygen: 1

# Proteins are hydrocarbons
- type: reaction
  id: UncookedAnimalProteinBreakdown
  source: true
  requiredMixerCategories:
  - Electrolysis
  reactants:
    UncookedAnimalProteins:
      amount: 10
  products:
    Carbon: 2
    Hydrogen: 4
    Phosphorus: 3
    Oxygen: 1

- type: reaction
  id: ProteinBreakdown
  source: true
  requiredMixerCategories:
  - Electrolysis
  reactants:
    Protein:
      amount: 10
  products:
    Carbon: 2
    Hydrogen: 4
    Phosphorus: 3
    Oxygen: 1

# Vitamin = Healthy = Green = Nitrogenous
- type: reaction
  id: VitaminBreakdown
  source: true
  requiredMixerCategories:
  - Centrifuge
  reactants:
    Vitamin:
      amount: 4
  products:
    Carbon: 1
    Water: 1
    Nitrogen: 2

- type: reaction
  id: ReduceMilk #makes Cream renewable
  minTemp: 320
  requiredMixerCategories:
  - Shake
  reactants:
   Milk:
    amount: 2
  products:
   Cream: 1