# SPDX-FileCopyrightText: 2021 20kdc <asdd2808@gmail.com>
# SPDX-FileCopyrightText: 2021 Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
# SPDX-FileCopyrightText: 2021 Swept <sweptwastaken@protonmail.com>
# SPDX-FileCopyrightText: 2022 Alex Evgrashin <aevgrashin@yandex.ru>
# SPDX-FileCopyrightText: 2022 Flipp Syder <76629141+vulppine@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Michael Phillips <1194692+MeltedPixel@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Moony <moonheart08@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Sam Weaver <weaversam8@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 metalgearsloth <comedian_vs_clown@hotmail.com>
# SPDX-FileCopyrightText: 2022 mirrorcult <lunarautomaton6@gmail.com>
# SPDX-FileCopyrightText: 2022 moonheart08 <moonheart08@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 router <messagebus@vk.com>
# SPDX-FileCopyrightText: 2023 Kara <lunarautomaton6@gmail.com>
# SPDX-FileCopyrightText: 2023 Maxtone <124747282+MagnusCrowe@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Pieter-Jan Briers <pieterjan.briers@gmail.com>
# SPDX-FileCopyrightText: 2023 Rane <60792108+Elijahrane@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Velcroboy <107660393+ChilbroBaggins@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Vladislav Kadira <130583174+FillerVK@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 deltanedas <39013340+deltanedas@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 deltanedas <@deltanedas:kde.org>
# SPDX-FileCopyrightText: 2023 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 potato1234_x <79580518+potato1234x@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: reagent
  id: Flour
  name: reagent-name-flour
  group: Foods
  desc: reagent-desc-flour
  physicalDesc: reagent-physical-desc-powdery
  flavor: chalky
  color: white
  recognizable: true
  metabolisms:
    Food:
      effects:
      - !type:AdjustReagent
        reagent: Sugar
        amount: 0.4
      - !type:SatiateThirst
        factor: -0.2 #its flour
      - !type:AdjustReagent
        reagent: Nutriment
        amount: 0.1

- type: reagent
  id: Cornmeal
  name: reagent-name-cornmeal
  group: Foods
  desc: reagent-desc-cornmeal
  physicalDesc: reagent-physical-desc-powdery
  flavor: corn #so corn doesnt taste chalky
  color: tan
  metabolisms:
    Food:
      effects:
      - !type:SatiateThirst
        factor: -0.2 #its cornflour
      - !type:AdjustReagent
        reagent: Nutriment
        amount: 0.1

- type: reagent
  id: Oats
  name: reagent-name-oats
  group: Foods
  desc: reagent-desc-oats
  physicalDesc: reagent-physical-desc-coarse
  flavor: oats
  color: tan
  metabolisms:
    Food:
      effects:
      - !type:AdjustReagent
        reagent: Sugar
        amount: 0.2
      - !type:AdjustReagent
        reagent: Nutriment
        amount: 0.3

- type: reagent
  id: Enzyme
  name: reagent-name-enzyme
  group: Foods
  desc: reagent-desc-enzyme
  physicalDesc: reagent-physical-desc-chalky
  flavor: bitter
  color: "#009900"

- type: reagent
  id: Egg
  name: reagent-name-raw-egg
  group: Foods
  desc: reagent-desc-raw-egg
  physicalDesc: reagent-physical-desc-mucus-like
  flavor: raw-egg
  color: white
  recognizable: true
  metabolisms:
    Food:
      effects:
      - !type:AdjustReagent
        reagent: UncookedAnimalProteins
        amount: 0.5

- type: reagent
  id: EggCooked
  name: reagent-name-egg
  group: Foods
  desc: reagent-desc-egg
  physicalDesc: reagent-physical-desc-fluffy
  flavor: egg
  color: white
  recognizable: true
  metabolisms:
    Food:
      effects:
      - !type:AdjustReagent
        reagent: Protein
        amount: 1

- type: reagent
  id: Blackpepper
  name: reagent-name-blackpepper
  group: Foods
  desc: reagent-desc-blackpepper
  physicalDesc: reagent-physical-desc-grainy
  flavor: peppery
  color: black
  recognizable: true
  metabolisms:
    Food:
      effects:
      - !type:Emote
        emote: Cough
        showInChat: true
        showInGuidebook: true
        probability: 0.05
  reactiveEffects:
    Acidic:
      methods: [ Touch ]
      effects:
      - !type:Emote
        emote: Cough
        showInGuidebook: true
        conditions:
        - !type:BreathingCondition
        - !type:InternalsCondition
          inverted: true

- type: reagent
  id: Vinegar
  name: reagent-name-vinegar
  group: Foods
  desc: reagent-desc-vinegar
  physicalDesc: reagent-physical-desc-sour
  flavor: bitter
  color: tan
  recognizable: true
  metabolisms:
    Food:
      effects:
      - !type:AdjustReagent
        reagent: Water
        amount: 0.4
      - !type:AdjustReagent
        reagent: Vitamin
        amount: 0.1
      - !type:Vomit
        probability: 0.1
        conditions:
          - !type:ReagentCondition
            reagent: Vinegar
            min: 6

- type: reagent
  id: Rice
  name: reagent-name-rice
  group: Foods
  desc: reagent-desc-rice
  physicalDesc: reagent-physical-desc-chewy
  flavor: rice
  color: white
  recognizable: true
  metabolisms:
    Food:
      effects:
      - !type:AdjustReagent
        reagent: Sugar
        amount: 0.4
      - !type:AdjustReagent
        reagent: Nutriment
        amount: 0.1

- type: reagent
  id: OilOlive
  name: reagent-name-oil-olive
  group: Foods
  desc: reagent-desc-oil-olive
  physicalDesc: reagent-physical-desc-oily
  flavor: oily
  flavorMinimum: 0.05
  color: olive
  recognizable: true
  metabolisms:
    Food:
      effects:
      - !type:AdjustReagent
        reagent: Nutriment
        amount: 0.75

- type: reagent
  id: Oil
  name: reagent-name-oil
  group: Foods
  desc: reagent-desc-oil
  physicalDesc: reagent-physical-desc-oily
  flavor: oily
  flavorMinimum: 0.05
  recognizable: true
  color: "#b67823"
  boilingPoint: 300.0
  meltingPoint: -16.0
  tileReactions:
  - !type:FlammableTileReaction {}

- type: reagent
  id: CapsaicinOil
  name: reagent-name-capsaicin-oil
  group: Foods
  desc: reagent-desc-capsaicin-oil
  physicalDesc: reagent-physical-desc-oily
  flavor: spicy
  flavorMinimum: 0.05
  color: "#FF0000"
  recognizable: true
  meltingPoint: 146
  boilingPoint: 410 # Really high boiling point compared to its melting
  metabolisms:
    Food:
      effects:
      - !type:AdjustReagent
        reagent: Nutriment #Oils enhance nutrition
        amount: 0.75
    Poison:
      effects:
        - !type:AdjustTemperature
          amount: 250 # thermal energy, not temp
        - !type:HealthChange
          conditions:
            - !type:ReagentCondition
              reagent: CapsaicinOil
              min: 5
          damage:
            types:
              Caustic: 1
        - !type:PopupMessage
          type: Local
          messages: [ "capsaicin-effect-light-burn" ]
          probability: 0.2

- type: reagent
  id: CocoaPowder #Candy and chocolate
  name: reagent-name-cocoapowder
  group: Foods
  desc: reagent-desc-cocoapowder
  physicalDesc: reagent-physical-desc-powdery
  flavor: chocolate
  color: "#800000"
  meltingPoint: 146.0
  metabolisms:
    Food:
      effects:
      - !type:AdjustReagent
        reagent: Theobromine #Goob - Fix
        amount: 0.25
      - !type:SatiateHunger
        conditions:
        - !type:ReagentCondition #Only satiates when eaten with nutriment
          reagent: Nutriment
          min: 0.1
        factor: 1
  plantMetabolism:
  - !type:PlantAdjustNutrition
    amount: 0.1
  - !type:PlantAdjustWeeds
    amount: 2
  - !type:PlantAdjustPests
    amount: 2

- type: reagent
  id: Butter
  name: reagent-name-butter
  group: Foods
  desc: reagent-desc-butter
  physicalDesc: reagent-physical-desc-creamy
  flavor: butter
  color: yellow
  meltingPoint: 32.0
  boilingPoint: 100.0
  recognizable: true
  metabolisms:
    Food:
      effects:
      - !type:AdjustReagent
        reagent: Nutriment
        amount: 0.75

- type: reagent
  id: TeaPowder
  name: reagent-name-tea-powder
  desc: reagent-desc-tea-powder
  physicalDesc: reagent-physical-desc-powdery
  flavor: tea
  color: "#7F8400"
  group: Foods
  metabolisms:
    Food:
      effects:
      - !type:SatiateThirst
        factor: -0.2
      - !type:AdjustReagent
        reagent: Nutriment
        amount: 0.1

- type: reagent
  id: FrostOil
  name: reagent-name-frost-oil
  group: Foods
  desc: reagent-desc-frost-oil
  physicalDesc: reagent-physical-desc-oily
  flavor: cold
  color: skyblue
  metabolisms:
    Food:
      effects:
      - !type:AdjustReagent
        reagent: Nutriment #Oils enhance nutrition
        amount: 0.75
    Poison:
      effects:
      - !type:AdjustTemperature
        amount: -250 # thermal energy, not temp
      - !type:HealthChange
        conditions:
        - !type:ReagentCondition
          reagent: FrostOil
          min: 5
        damage:
          types:
            Cold: 1
      - !type:PopupMessage
        type: Local
        messages: [ "frost-oil-effect-light-cold" ]
        probability: 0.2
