About this mod
Wounded players gain the ability catch infectious diseases in dungeons!
- Requirements
- Permissions and credits
- Donations
A fairly simple mod that rolls a die to see if you might possibly catch a random disease when you're wounded and not in a "clean" setting.
How does it work?
The script is triggered by location changes (currently) and your health percentage.
1 - If you are in a location of with one of the dirt or filthy keywords (see list below), after a certain amount of time the script will check to see if you're NOT at 100% health.
2 - Infection chance: a 0-100 percentage die is rolled. If this is greather than your current health percentage, you may have be exposed to infection.
3 - Disease chance: another 0-100 percentile die is rolled against your Disease Resistance. If this result is higher than your resistance, you have been infected by a random disease!
That's it. Told you it was simple.
All of the variables are tweakable via the MCM. You can change how often a dirty environment will try to infect you, how often a filthy environment will try to infect you, as well as modify the Disease chance roll to alter the chances you actually will catch a disease when exposed.
This mod only uses the stock vanilla non-DLC Skyrim diseases currently (and no, you won't catch Vampirism or Lupis or whatever from it).
Known issues:
Random Disease Chance is currently using OnLocationChange to judge whether you're in a clean, dirty, or filthy environment. This means the areas outside of Draugr burial halls might be considered "filthy" even though they might be ice-covered in the howling wind on a mountaintop.
I will investigate using OnCellChange to confine the mod to only infecting you while you're indoors (unless anyone has any other ideas!).
Compatibility:
Should work with anything. I was going to try to make this mod work more dynamically so it could grab diseases from other mods, but when I searched on the Nexus, I couldn't even find any new disease mods! Sad! Adding in diseases from other mods is a 30 second click through the CK, so if there are mods that add new diseases, let me know and I will put out a patch.
Mods like Realistic Needs and Diseases should work fine, since they use the vanilla diseases as their starting point anyway.
Future plans:
- More diseases! But in a sister mod, so you don't get stuck with them just because you like this mod.
- DLC diseases (haven't added them in yet for ease of testing)
- Feedback other than text messages, like a cough or something if you get infected
- Better location parsing, like grabbing the name of a place to modify how dirty it is. For example if a place has "Sewer" in the name, it affects the chance of infection etc.
Location keywords:
Filthy Locations (highest chance of infection)
LocTypeAnimalDen
LocTypeDraugrCrypt
LocTypeDungeon
LocTypeFalmerHive
LocTypeHagravenNest
LocTypeJail
LocSetNordicRuin
Dirty Locations (moderate chance of infection)
LocTypeCity
LocSetDwarvenRuin
LocTypeMine
LocTypeShipwreck
LocSetCave
Technical details:
3 Formlists (ABDirtyKeywordList, ABDiseaseList, ABFilthyKeywordList)
2 Quests (ABDiseaseMCMQuest, ABRandomDiseaseQuest)
2 Scripts (ABRandomDiseaseQuest, ABDiseaseMCM)
The source files are included, so if you want to make a better version of this, feel free. I'd appreciate a mention, but you can do what you want with these files. You do NOT need my permission to port this to LE or translate it, or really do anything, so please don't ask.
Special thanks to the crew over at the Beyond Skyrim: Arcane University discord for all their help getting me through this little project!