CreatureDiscomforts
Your own body matters now: catch colds, go hungry and thirsty, get hooked on coffee, twist an ankle. No extra UI, just statuses next to the game's own.
By ekem
| Date uploaded | 3 weeks ago |
| Version | 1.2.0 |
| Download link | ekem-CreatureDiscomforts-1.2.0.zip |
| Downloads | 148 |
| Dependency string | ekem-CreatureDiscomforts-1.2.0 |
This mod requires the following mods to function
BepInEx-BepInExPack_IL2CPP
BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.
Preferred version: 6.0.755README
Creature Discomforts
The game already tracks whether you are cold, wet, drunk, hungry or queasy, but none of it really matters. This mod makes your own body part of the game.
No extra bars or panels: everything shows up as statuses in the game's own status list, next to Hungry and Cold. Cases and evidence are not touched.
Colds
Stay out in the cold or get soaked, and you can catch a cold. It gets worse in stages:
| Status | What it does |
|---|---|
| Stuffy Nose | a little slower and thirstier, a slowly growing headache |
| Headache | the usual headache |
| Fever | no health recovery, lower max health, slower, sweaty, thirsty, tired, blurry vision |
| Chills | you lose heat faster, shiver and move even slower |
- It only passes when you are warm and dry. That takes about a day, or three times faster asleep in bed.
- Medicine eases symptoms, not the cold. Painkillers for the headache, cough syrup for the fever and nose (makes you drowsy), a heat pack for the chills. Each works for a few hours, and a second dose the same day wears off sooner.
Hunger and thirst
- Starving / Parched: your body has hidden reserves, weight and water balance. Go about a day without water, or a day and a half without food, and they run low: you start to stumble and slowly lose health, though never below a quarter of it, so it won't put you in hospital.
- One meal doesn't fix a fast. Water comes back in a few hours, weight over a couple of days.
- Thirst gives you a headache if you put up with it for long.
- Thirst comes sooner than hunger, so a drink matters.
- Immunity: going hungry, thirsty or without sleep makes colds catch faster and last longer. Eating, drinking and sleeping well bring it back. You never see it, you just get ill more easily.
Sleep
- A full night's sleep takes about seven hours, and you only wake up Well Rested after eight hours in one go. A nap helps, but it's a nap. Sleep fast-forwards twice as fast, so the night doesn't drag.
- A ringing phone wakes you up, so you don't sleep through a call.
- Hunger and thirst go slower while you sleep, so a night in bed doesn't leave you starved. Go to bed thirsty, though, and you'll wake up thirstier.
Pain
- A headache doesn't go away by itself in an hour. A hangover stays all morning unless you take a painkiller.
- Going without sleep for about 18 hours makes your head ache, worse every hour. Coffee keeps you awake, not well.
- Woken by the phone soon after falling asleep, or sleeping more than ten hours: you wake up with a headache.
- A bad fall or a trip can twist your ankle for a day or two. You limp, and running on it hurts: you slow right down, lose a little health, and it heals slower. Painkillers take the pain away.
- Painkillers ease a broken leg too: you limp half as much.
Running
- Running costs water and energy and warms you up. Once you're warm, you sweat and get dirtier: people can smell a sweaty burglar.
- Out of Breath: after about 20 seconds of running flat out you have to slow down for a moment. Smokers, the worn out and the drunk run out sooner.
Drinking
- Spirits dry you out and make you tired. Beer, cider and wine are as before.
- Drunk, you don't feel the cold, but you lose heat faster. A drink outside in winter is a trap.
- Coffee doesn't sober you up and doesn't cancel painkillers.
- Too much makes you sick. Once you are as drunk as you can get, the rest goes to your stomach.
- A drink or two dulls pain. While only a little drunk you take less damage and headaches ease faster. Past that it doesn't help any more.
What's in your blood
Caffeine, codeine (painkillers, cough syrup), sleeping pills and nicotine build up as you take them and wear off over a few hours. Alcohol is the game's own drunkenness. Only what you actually swallow counts.
- Medicine is one dose per press, not the whole bottle. A bottle of painkillers holds ten, sleeping pills two.
- Coffee, tea or Starch Kola keep you Focused while the caffeine lasts, about an hour and a half for a coffee. A tea alone isn't enough.
- Caffeine before bed: you are Wired and can't fall asleep. A coffee lasts about five hours, a tea three, and every extra cup makes it longer.
- Caffeine is borrowed energy, paid back as it wears off.
- Coffee on an empty stomach, or eating when full: you feel sick.
Mixing things and overdoses
- Drink with painkillers or cough syrup: sick and tired for as long as both are in you, worse the more you've had. It starts once you are properly drunk, about three beers.
- Drink with a sleeping pill still working: you black out for real, and may wake up in hospital.
- Three coffees in a row: you are Jittery, shaky and queasy.
- Three painkillers within an hour or two: Codeine Overdose, dizzy and sick. More, and you pass out.
- Two sleeping pills close together: you pass out.
Addictions
Coffee, cigarettes, drink and codeine (painkillers, cough syrup) become a habit if you have a lot of them for days. A coffee a day or a glass of wine in the evening never does.
| Habit | Hooked after about | Craving | Withdrawal |
|---|---|---|---|
| coffee | three a day for two or three days | Coffee Craving: you tire faster | Caffeine Withdrawal: headache, tiring fast |
| cigarettes | five a day for a day or two | Nicotine Craving: focus slips | Nicotine Withdrawal: focus gone |
| drink | getting properly drunk every night for three days | Alcohol Craving: restless | Alcohol Withdrawal: shakes, sweat, nausea |
| codeine | three painkillers a day for three days | Codeine Craving: aches | Codeine Withdrawal: worse headache, shakes, sweat, yawning, nausea |
- Craving comes hours after the last dose wears off, Withdrawal later still if you hold out: at worst about half a day for coffee and codeine, six hours for cigarettes, a day for drink. A dose fixes it and holds for a good while. A weak habit stops at Craving.
- Quitting takes days. A habit fades by itself; a strong one stops causing withdrawal after about four days without.
- Delirium tremens: with a strong drinking habit, withdrawal stops health recovery and slowly costs health, though never below a quarter of it.
- Tolerance: the more of a habit, the more it takes. Coffee focuses you less and keeps you awake for less, drink dulls pain only once you are drunker, painkillers wear off sooner. Overdoses don't move as much, so a habit brings you closer to one.
- Painkillers fix the headache from coffee or codeine withdrawal, and they are codeine.
- The hospital eases withdrawal, but not the habit.
- With ImprovedSmoking, a cigarette dulls hunger instead of feeding you: the hunger comes back over the next couple of hours.
Throwing up
- Bad enough nausea makes you throw up where you stand, toilet or not.
- Throwing up sobers you up a little and wears you out.
Settings
All in BepInEx/config/ekem.creaturediscomforts.cfg. Every number can be
changed, and every part can be turned off:
| To turn off | Set |
|---|---|
| colds | Illness.CatchingColds = false |
| immunity | Illness.Immunity = false |
| Starving / Parched | Needs.Starving = false, Needs.Parched = false |
| only the stumbling | Needs.StumbleChance = 0 |
| headache from thirst | Needs.ThirstHeadachePerHour = 0 |
| faster thirst | Needs.ThirstToHunger = 0 |
| longer sleep | Needs.SleepHoursToRest = 0, Needs.WellRestedAfterHours = 0 |
| faster fast-forward in sleep | Needs.SleepTimeScale = 1 |
| slower needs in sleep | Needs.SleepNeedsRate = 0.5 |
| phone wakes you | Needs.PhoneWakesYou = false |
| headaches last longer | Pain.HeadacheFade = 1 |
| headache from no sleep | Pain.SleeplessHeadacheAfter = 0 |
| headache from waking up wrong | Pain.WokenHeadache = 0, Pain.OversleepAfter = 0 |
| sprained ankles | Pain.Sprains = false |
| running costs | Running.RunningThirst = 0, RunningTiring = 0, RunningWarmth = 0, RunningSweat = 0 |
| Out of Breath | Running.BreathSeconds = 0 |
| drink changes | Alcohol.RealisticDrinks = false |
| drinking and the cold | Alcohol.AlcoholHeatLoss = 0 |
| nausea from drinking | Alcohol.NauseaFromDrunk = 0, Alcohol.OverdrinkNausea = 0 |
| throwing up anywhere | Needs.RetchPerHour = 0 |
| drink as a painkiller | Alcohol.AlcoholPainkiller = false |
| one dose per press | Medicine.OneDosePerPress = false |
| caffeine keeps you awake | Mixing.CaffeineKeepsAwake = false |
| Focused from caffeine in you | Mixing.CaffeineFocus = false |
| coffee's energy debt | Mixing.CaffeineDebt = 0 |
| coffee on an empty stomach | Mixing.EmptyStomachNausea = 0 |
| overeating | Mixing.OvereatingNausea = 0 |
| drink with painkillers | Mixing.AlcoholCodeineNauseaPerHour = 0, Mixing.AlcoholCodeineTiringPerHour = 0 |
| drink with sleeping pills | Mixing.AlcoholAndSleepingPills = false |
| Jittery | Mixing.CaffeineOverdoseAbove = 0 |
| codeine overdose | Medicine.CodeineOverdoseAbove = 0, Medicine.CodeineKnockoutAbove = 0 |
| sleeping pill overdose | Medicine.SleepingPillsKnockoutAbove = 0 |
| addictions | Addiction.Addictions = false |
| only tolerance | Addiction.Tolerance = false |
| delirium tremens | Addiction.AlcoholWithdrawalDangerous = false |
| smoking dulls hunger (ImprovedSmoking) | Addiction.SmokingHungerDebt = false |
How fast each habit builds is Addiction.CaffeineHabitRate,
NicotineHabitRate, AlcoholHabitRate and CodeineHabitRate; how fast it
fades, HabitDecayPerDay.
Debug keys: F7 writes your condition to the log, F8 shows your needs
on screen, F9 lists every shop item and what it does. With
Debug.QuickMenu = true the same actions, plus a worse cold, stronger habits
and money for testing, are in Quick Menu
by Sm3gm (G or D-pad Down), if you have it. Quick Menu isn't required.
Requires
- BepInEx (IL2CPP)
- SOD.Common
- SOD.QoL: the base game never makes you tired on its own, and QoL fixes that. Without tiredness, coffee and sleep would mean nothing.
Works well with
- ImprovedSmoking: works alongside it. Its cigarettes still make you Focused on their own, and they don't count as caffeine here. Smoking counts as nicotine either way; with ImprovedSmoking the food cigarettes give is only a dulled appetite.
Thanks
- Sm3gm, for Quick Menu and for explaining how to hook into it.
CHANGELOG
Changelog
1.3.0
- Falling asleep takes time. You lie down and only rest once you're
asleep. Not being tired, caffeine, pain, hunger, thirst, cold, wet clothes, withdrawal, a
light or a cruncher left on and noise make it take longer; being tired, a drink or a
sleeping pill make it shorter. While you can't drop off you're
Restless, and your detective says what's keeping them up. Lie awake
too long and you give up and get up (
Sleep.FallingAsleep,Sleep.FallAsleepMinutes,Sleep.CantSleepAfterHours). - Light sleep. Drink, pain, cold, noise and light make the sleep worse: you rest slower and don't wake up Well Rested. A drink helps you drop off, not sleep well.
- Lark or owl. Each save rolls whether you're a lark or an owl, and whether the TV and music help you sleep or keep you up. Nobody tells you; your detective lets it slip.
- Sleeping pills become a habit if you take one every night for days.
Without one you sleep worse, and in withdrawal you barely sleep at all
(
Addiction.SleepingPillsHabitRate). - Less sweat. Only running long enough to get out of breath makes you
sweat, and less of it. The setting is now
Running.SweatPerMinute(0.05), so the oldRunningSweatfrom 1.2 no longer applies. - Coffee wears off gradually. Right after a cup you still can't sleep,
but once it's half gone you can: it takes long, you sleep badly, and in
the morning you regret that coffee (
Mixing.CaffeineNoSleepAbove, 0.5). Dead tired, even a fresh cup won't keep you up, only make you sleep worse. - Distance matters. The main light keeps you up wherever it is in the room; a lamp or a cruncher only bothers you when it's close to the bed, and a TV across the room is quieter than one right beside you.
- Lying awake in bed passes at the game's usual sleeping speed; time only speeds up further once you're actually asleep.
- What your detective says on waking up no longer gets lost.
- Out of Breath no longer pops up a notification every time; the icon and your detective's line are enough.
- The mod's own statuses no longer lose their name and description after a while.
- A craving or withdrawal goes away as soon as the coffee, cigarette or drink kicks in, instead of a few minutes later.
- Sleep counts from when you fell asleep, not when you lay down: Well Rested, oversleeping and the hours without sleep all go by that.
- Also on the Steam Workshop, through CatCar Lib. There SOD.QoL isn't available, so without it the mod makes you get tired by itself, the way QoL does. On Thunderstore QoL is still required.
- For modders: other mods can ask how easy it is to fall asleep where you
are and tell this mod about a nap outside bed (
CreatureDiscomforts.SleepHook, found by name, no reference needed). Detective Routine uses it for dozing off over a report.
1.2.0
-
Headaches last. A headache wears off by itself four times slower than before, so a hangover stays with you all morning unless you take a painkiller. While a painkiller works it fades as fast as it used to (
Pain.HeadacheFade). -
No sleep, sore head. After about 18 hours awake your head starts to ache, worse every hour. Coffee keeps you going but doesn't help with that (
Pain.SleeplessHeadacheAfter). -
Waking up wrong. The phone waking you an hour or two into your sleep gives you a headache; so does sleeping more than ten hours (
Pain.WokenHeadache,Pain.OversleepAfter). -
Sprained ankle. A bad fall or a trip can twist your ankle for a day or two: you limp, and running on it hurts: you slow right down and lose a little health. Painkillers take the pain away (
Pain.Sprains). -
Painkillers ease a broken leg: you limp half as much while they work.
-
Running takes it out of you. It costs water and energy, warms you up, and once you're warm you sweat and get dirtier. After about 20 seconds of running flat out you're Out of Breath and have to slow down for a moment; sooner if you smoke, are worn out or drunk (
Running.*). -
Addictions. Coffee, cigarettes, drink and codeine (painkillers, cough syrup) become a habit if you have a lot of them for days: three coffees a day get you hooked in two or three days, five cigarettes a day in a day or two, getting properly drunk every night in about three, three painkillers a day in about three. One coffee a day, or a glass of wine in the evening, never does. Hooked, you get a Craving some hours after the last dose wears off, and Withdrawal if you hold out: a headache and tiredness without coffee, no focus without cigarettes, the shakes, sweat and nausea without drink, a rebound headache, shakes and yawning without codeine. A dose fixes it, and holds for a good while; a few days without and the habit fades. Your detective says when it starts. On by default (
Addiction.Addictions). -
Delirium tremens. With a strong drinking habit, withdrawal stops health recovery and slowly costs health, never below
Needs.HealthFloor(Addiction.AlcoholWithdrawalDangerous). -
Tolerance. The stronger the habit, the more it takes: coffee focuses you less and keeps you awake for less, drink dulls pain only once you are drunker, painkillers wear off sooner. Overdoses move up much less, so a habit brings you closer to one (
Addiction.Tolerance). -
The hospital eases withdrawal when you pay the fees. The habit stays.
-
With ImprovedSmoking, cigarettes dull hunger instead of feeding you: the food they give comes back as hunger over the next couple of hours (
Addiction.SmokingHungerDebt). -
The F8 panel and the hourly debug line show habits and withdrawal; a new debug key (
Debug.AddictionKey, unbound) adds habit for testing. -
Saves from before addictions load with no habits.
-
Sleeping pills beat coffee. Whichever is stronger in your blood wins: a pill on top of coffee cancels Focused and Wired (
Mixing.SedationWeight). -
The hospital treats you. Waking up in a ward brings any overdose down to a survivable level; paying the medical fees clears most of what's left (
Medicine.HospitalClearsTo). -
One pill per press. Pressing use on painkillers, cough syrup, sleeping pills, antispasmodics, antidepressants or charcoal now takes a single dose, the game's own "take one", instead of swallowing the whole bottle. A bottle of painkillers holds ten doses, sleeping pills two (
Medicine.OneDosePerPress). -
What you take stays in your blood and wears off. Caffeine, codeine (painkillers, cough syrup), sleeping pills and nicotine each build up as you take them and fade over a few hours; alcohol is the game's own drunkenness. Only what you actually drink counts: half a coffee is half the caffeine.
-
Mixing goes by how much is in you, and you notice when it hits. Drink with painkillers or cough syrup makes you sick and tired for as long as both are in you, the more of each the worse, and your detective speaks up when the nausea actually sets in, not at the first sip. It only starts once you are properly drunk (
Mixing.MixingDrunkAbove, about three beers); one spoon of cough syrup on its own is fine, two are not. Drink with a sleeping pill still working knocks you out a couple of minutes later, as before.Mixing.AlcoholCodeineNauseaandAlcoholCodeineTiringare now per game hour:AlcoholCodeineNauseaPerHour,AlcoholCodeineTiringPerHour. -
Overdoses. About three coffees in a row make you Jittery: shaky vision and a turning stomach (
Mixing.CaffeineOverdoseAbove). Three painkillers or spoons of syrup within an hour or two give you a Codeine Overdose: dizzy, slower and sick (Medicine.CodeineOverdoseAbove); keep going and you pass out (Medicine.CodeineKnockoutAbove). Two sleeping pills close together put you out on the spot (Medicine.SleepingPillsKnockoutAbove). Passing out is the same as losing a fight: you may wake up in hospital. -
Coffee keeps you Focused while the caffeine lasts, instead of a one-off boost: about an hour and a half for a coffee, an hour for Starch Kola, and a tea alone isn't enough (
Mixing.CaffeineFocus,CaffeineFocusAbove). -
Coffee's energy debt follows the caffeine. It comes back as the caffeine wears off, most of it two to six hours later, and a tea costs less than a coffee (
Mixing.CaffeineDebtis now per cup of coffee). -
A drink or two dulls pain. While only a little drunk you take a quarter less damage and headaches ease faster. Drunker than that, it stops helping (
Alcohol.AlcoholPainkiller). -
The F8 panel shows caffeine, codeine, sleeping pills and nicotine in you.
-
Saves from 1.1 carry over: the doses they remember are turned into what is still in your blood.
-
With
Debug.QuickMenu = true, the debug actions (condition survey, needs panel, shop survey, cold, habits, money) show up in Sm3gm's Quick Menu (G or D-pad Down) if you have it. Quick Menu isn't required, and the debug keys work as before.
1.1.2
- Overeating builds up bite by bite. Eating on a full stomach no longer gives a fixed bit of nausea: whatever doesn't fit goes straight to your stomach, so a snack makes you queasy and a whole meal comes back up.
- A ringing phone wakes you up. If the phone rings where you are
sleeping or waiting, time stops skipping so you can get up and answer.
Each call wakes you once (
Needs.PhoneWakesYou).
1.1.1
- Lists BepInEx as a dependency, so mod managers install it.
- Tidier README.
1.1.0
- Your body has reserves now: weight and water balance. You never see them. They drain while you are Hungry or Thirsty, and fast once food or water runs out completely. Only when they run low are you Starving or Parched: about a day without water, a day and a half without food. They come back slowly once you are fed again: water in a few hours, weight over a couple of days, so one meal doesn't undo a fast. You can't grow fat: reserves stop at full.
- A full night's sleep takes a night. From exhausted to rested is seven
hours instead of four (
Needs.SleepHoursToRest), and you only get Well Rested after eight hours of sleep in one go (Needs.WellRestedAfterHours): a nap restores energy, not more. To make up for it, sleep fast-forwards twice as fast as before (Needs.SleepTimeScale). - Hunger and thirst go slower while you sleep: a quarter of the awake
pace instead of the game's half, so a night's sleep no longer leaves you
parched (
Needs.SleepNeedsRate). - SOD.QoL is now required. It fixes the base game's tiredness, which coffee and sleep in this mod depend on.
- Things you take now mix. The mod keeps track of what you drink, smoke
and swallow, and some combinations have consequences. Settings are under
[Mixing], each can be turned off:- Caffeine keeps you awake. For as long as it's in you you can't
fall asleep: about five hours after a coffee, three after a tea, and two
coffees add up (
CaffeineHalfLife,CaffeineWiredAbove). Lie down to sleep and you are back awake in bed, too wired. No energy comes back and you don't get Well Rested. A Wired status shows while the caffeine is still keeping you up. - Coffee is borrowed energy. Each cup costs a little energy two to six
hours later (
CaffeineDebt). - Coffee on an empty stomach makes you queasy.
- Eating when you are already full makes you queasy.
- Drink and painkillers or cough syrup make you sick and tired.
- Drink and sleeping pills knock you out cold, the way losing a fight does: you may wake up in hospital.
- Caffeine keeps you awake. For as long as it's in you you can't
fall asleep: about five hours after a coffee, three after a tea, and two
coffees add up (
- No more notifications in the middle of the screen. When something happens to you (throwing up, a bad mix, too wired to sleep), your detective says a short line instead.
Needs.StarvingBelowandNeeds.ParchedBeloware replaced byNeeds.StarvingReservesandNeeds.ParchedReserves, since the statuses now go by your reserves.- The headache from thirst no longer starts the moment you get Thirsty:
only once you are properly dry (below 0.1 water,
Needs.ThirstHeadacheBelow), and it grows faster the drier you are.
1.0.0
First release.
- You can catch a cold. Being out in the cold or soaking wet slowly
gives you a cold, fastest when you are both. As it gets worse you get a
stuffy nose (slightly slower, and it slowly gives you a headache), then a
headache, then a fever (no health recovery, lower
maximum health, slower, you sweat, get thirsty and tired faster), then chills (you lose heat faster
and move slower). A fever also blurs your vision a little.
A cold only wears off when you are properly warm and dry; merely chilly,
it stays where it is. It passes in about a day, three times faster
asleep in a bed.
Medicine eases symptoms for a few hours but does not cure the cold, so the
symptoms come back while you are still ill: painkillers for the headache,
cough medicine for the fever and stuffy nose (it makes you drowsy and a
little tipsy — better taken before bed), a heat pack for the chills. Taking more does not stack,
and the same medicine taken again within a day works for a shorter time:
the third painkiller of the evening lasts half as long as the first.
The Wet and Cold statuses now mention that they can give you a cold.
Settings are under
[Illness];CatchingColds = falseturns it off. - Drinking only feels warm. While drunk you lose body heat one and a
half times as fast, but you stop shivering and don't get chills — a drink out in the cold hides how cold you are getting.
Alcohol.AlcoholHeatLoss. - Drinks behave more like drinks. Spirits (bourbon, vodka) dry you out and make you tired instead of quenching your thirst; beer, cider and wine are unchanged. Coffee and tea no longer sober you up, and coffee, tea and Starch Kola no longer cancel out painkillers.
- Getting very drunk makes you sick. Past a point, nausea builds up the drunker you are, and anything you drink once you can't get any drunker goes straight to your stomach: a second bottle of vodka comes back up.
- Bad enough nausea makes you throw up where you stand, toilet or not.
- Throwing up sobers you up and wears you out.
- Going without food or water costs you. Run out of food entirely and
you are Starving; out of water, Parched. Either way health recovery
stops, you stumble now and then like a drunk, and you slowly lose health,
but never below a quarter of it, so it never lands you in hospital.
Settings are under
[Needs];Starving = falseandParched = falseturn them off. - Enduring thirst gives you a headache. While you are Thirsty a headache
slowly builds; painkillers stop it for a while.
Needs.ThirstHeadachePerHour. - Neglect wears down your resistance. Days of going hungry, thirsty or
short of sleep make colds catch faster and pass slower; eating, drinking
and sleeping well build it back. It is never shown.
Illness.Immunity. - Thirst drains faster than hunger (1.5x by default,
Needs.ThirstToHunger). The base game already has it 1.2x; this makes a drink matter a bit sooner. Set to 0 to keep the game's own rate. - The mod's own statuses have their own icons.
- Debug keys F7 (your condition to the log), F8 (on-screen needs panel) and F9 (every shop item to a table). Detailed logging is off by default.