

Game Version: 0.4.5f2 alternate
Flatline.dll
SHA256 File Hash: B4A7CD9334601F8CD12306136119947836A5FBE03600F73AF63A8B82BC2F05AD
If you are using Thunderstore Mod Manager you can skip these steps and just install the mod through the manager and it will work.
After starting the game with the mod enabled, the MelonPreferences configuration file will write a new category which you can use to modify basic mod settings.
The Flatline mod settings can be configured from the Steam/steamapps/common/Schedule I/UserData/MelonPreferences.cfg file:
Flatline_XOWithSauceThere are following configurations available through the file:
PermanentDeath
DrugSideEffects
PropertyTemperatureChanges
WorldTemperatureChanges
FahrenheitTemp
DiseasesEnabled
BleedingEnabled
BoneBreakEnabled
CancerEnabled
DepressionEnabled
FeverEnabled
WaterRequired
FoodRequired
EnergyRequired
TemperatureRequired
WaterConsumption
FoodConsumption
EnergyConsumption
TemperatureConsumption
Battle against depleting water, food and energy levels while maintaining sufficient body temperature.
Drinking Cuke, Energy drinks or Tap water increases your water levels!
Consume food like Bananas or Donuts to stay satiated!
Rot in the bed, consume beverages or sleep through the night to reset your energy levels! Running out of energy causes you to pass out for multiple hours. If you're not inside your property you will get robbed!
Your body temperature changes based on the temperature of your local environment and current clothing. Keep your property doors closed on colder days and dress up in warm clothing to stay alive!
All diseases come with varying severity and effects. Each of the diseases can be cured for a hefty price by visiting the charge nurse at the Hospital! Some of the diseases heal naturally on their own.
Based on your predisposition and other health statistics you might develop Cancer!
Falling down from higher elevation or taking impact damage has a chance to break your bones!
Taking damage from slashing or piercing objects can cause you to bleed profusely!
Seasonal flu, man flu, whatever you call it, you can now contract it! Occurance of fever is decided by many factors like predisposition and body temperature!
It's not all sunshine and rainbows... Consuming drugs, being too poor, being too hungry and just about anything negative will make you depressed. Touch some grass and don't take drugs to keep your mind at ease.
Consuming large doses causes you to tweak and change hotbar slots. Consuming too much will cause an overdose.
The visuals will be amplified to extreme based on dosage. Consuming too much will cause an overdose.
Causes you to become more hungry and thirsty.
| Category | Item ID | Food | Energy | Thirst | HP Regen | Special Effects |
|---|---|---|---|---|---|---|
| Food | banana |
18 | 1.5 | 0 | 2 | - |
| Food | chili |
5 | 3 | 0 | 5 | Toxicity: 0.05 |
| Food | megabean |
8 | 10 | 0 | 3 | - |
| Food | donut |
15 | 2 | 0 | 1 | - |
| Drink | cuke |
0 | 1.5 | 14 | 3 | - |
| Drink | energydrink |
0 | 5 | 10 | 1 | + Sanity |
| Medicine | flumedicine |
0 | 0 | 5 | 3 | Heals Illness |
| Medicine | paracetamol |
0 | 0 | 0 | 8 | Heals Illness, Toxicity: 0.17 |
| Medicine | addy |
0 | 18 | 0 | 1 | + Sanity, Toxicity: 0.22 |
The Flatline mod supports using in-game console commands to change the mod events and state.
flatline help - Show all available commands, command targets, target members and command usage info.
flatline stop - Stop the mod from updating events and state.
flatline start - If stopped, start the mod update again.
flatline enable logs - Enable all debug logs.
Use the list command to display current states and changeable parameters
flatline list player - Print into MelonLoader Console the current values and state for local player
flatline list disease - Print into MelonLoader Console the current diseases values and state for local player
flatline list consumption - Print into MelonLoader Console the current ingested items and drugs amounts
Player Set Command examples
flatline set player energy 1.0 - Replenishes energy to full (at 0.0 you pass out)
flatline set player thirst 1.0 - Replenishes your water levels to full (at 0.0 you die)
flatline set player hunger 1.0 - Replenishes food levels to full (at 0.0 you die)
flatline set player temperature 1.0 - Replenishes food levels to full (at 0.0 you die)
Disease Set Command examples
flatline set disease fever healstate 1.0 - Completely heals fever after which it will deactivate
flatline set disease cancer severity 0.15 - Sets the cancer severity (range 0.0 - 0.3)
flatline set disease bleed progression 4 - Sets the bleed disease progression to 4 (at 5 you will die, range 1-5)
flatline add disease fever - Adds a new fever disease instantly
flatline add disease bonebreak - Adds a new bone break disease instantly
flatline add disease cancer - Adds a new cancer disease instantly
flatline add disease depression - Adds a new depression disease instantly
flatline add disease bleed - Adds a new bleeding disease instantly
The Flatline mod will save mod related data into one of the following folders based on the install type (manual or mod manager) and mod version:
Thunderstore Mod Manager:
UserData/XO_WithSauce-Flatline_MONO/XO_WithSauce-Flatline/PlayerData/(name).json
OR
UserData/XO_WithSauce-Flatline_IL2CPP/XO_WithSauce-Flatline/PlayerData/(name).json
Manual installs (MONO and IL2CPP use the same):
UserData/XO_WithSauce-Flatline/PlayerData/(name).json
The save data .json file is named for example "2_factory.json" if your save file slot is 2 and save name is Factory
The save data consists of the players current state, the active diseases states, and the consumption data of drugs and foods all in readable format which can be modified by editing the file.
The Flatline mod will load mod related images and audios from one of the following folders based on mod version:
Thunderstore Mod Manager:
UserData/XO_WithSauce-Flatline_MONO/XO_WithSauce-Flatline/ModResources
OR
UserData/XO_WithSauce-Flatline_IL2CPP/XO_WithSauce-Flatline/ModResources
Manual installs (MONO and IL2CPP use the same):
UserData/XO_WithSauce-Flatline/ModResources
The Mod Resources directory contains 2 folders, one for audios and one for images.
Audios are from Pixabay and the audio creators are credited accordingly in the metadata with links to their pages.
Images are customized and edited from icons downloaded from Flaticon and Icons8. See ModResources/Images/CREDITS.txt for full legal disclaimer, license usage and creator credits.
The mod comes with an audio loader (on GitHub) which is a stripped copy of the deadlyfingers UnityWav project on GitHub