> For the complete documentation index, see [llms.txt](https://dayz.foxapo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dayz.foxapo.com/mods/crdtn-fire-regen/config.md).

# Config

This mod is really simple and it can be a nice showcase, how to add a new modifier to the game.&#x20;

#### If you want to add a new modifier, you need to extend an enum of *eModifiers*

*Code is available on* [*github*](https://github.com/freeman1992/fox-crdtn-fire-regen)

#### Default config file&#x20;

Upon starting the server, the config is created in `$profiles/CRDTN/FireRegen/World.json`

```c
float HealRadius                            = 2;        // Radius in meters
float HealTreshold                          = 100;
float BloodTreshold                         = 5000;
EStatLevels HungerThreshold                 = 1;        // GREAT - 0, HIGH - 1, MEDIUM - 2, LOW - 3, CRITICAL - 4
EStatLevels ThirstThreshold                 = 1;        
float HealthRatePerTick                     = 0.25;     // Amount of stat add/subtract per TickIntervalActive
float BloodRatePerTick                      = 0.25;
bool IndoorOnly                             = true;     // If false, works on every fireplace object
float TickIntervalInactive                  = 10.0;
float TickIntervalActive                    = 10.0;
// All notifications can be left blank "" so they are not displayed within the game
string NotificationHealEnded                = "Goodbye my lovely fireplace!";    // A notification displayed when leaving the fireplace or the effect stops
string NotificationHealStarted              = "Ho Ho Ho... I'm getting much better now.";    // A notification displayed upon start
string NotificationHungerAndThirst          = "Player is too hungry or thirsty to heal";    // Shown when player is not elligible for the regen
string NotificationHealthIncrement          = "Player's health is increasing";             // Shown per tick
string NotificationBloodIncrement           = "Player's blood is increasing";                // Shown per tick
string NotificationHealthReached            = "Player's health is full";                    // When filled the stat
string NotificationBloodReached             = "Player's blood is full";                    // When filled the stat
```

{% code title="World.json" overflow="wrap" %}

```c
{
    "HealRadius": 10.0,
    "HealTreshold": 100.0,
    "BloodTreshold": 5000.0,
    "HungerThreshold": 1,
    "ThirstThreshold": 1,
    "HealthRatePerTick": 10.0,
    "BloodRatePerTick": 10.0,
    "IndoorOnly": 0,
    "TickIntervalInactive": 10.0,
    "TickIntervalActive": 2.0,
    "NotificationHealEnded": "Goodbye my lovely fireplace!",
    "NotificationHealStarted": "Ho Ho Ho... I'm getting much better now.",
    "NotificationHungerAndThirst": "Player is too hungry or thirsty to heal",
    "NotificationHealthIncrement": "Player's health is increasing",
    "NotificationBloodIncrement": "Player's blood is increasing",
    "NotificationHealthReached": "Player's health is full",
    "NotificationBloodReached": "Player's blood is full"
}

```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://dayz.foxapo.com/mods/crdtn-fire-regen/config.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
