SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

XDiseases

XBy Xandu

Adds diseases to the game.

XDiseases

Description

<p>This mod adds diseases and cures to the game. It' is still an early version and I am happy about any feedback. It probably needs some more balancing and more diseases&nbsp; for more diversity. The mod requires <a href="https://mods.vintagestory.at/show/mod/244">XLib</a> to run. To produce medicine I highly recommend to also install the <a href="https://mods.vintagestory.at/aculinaryartillery">ACA</a> mod and the <a href="https://mods.vintagestory.at/wildcraftherb">Wildcraft: Herbs and Spices</a> mod.</p> <p>Diseases usually effect the player in a negative way by changing player stats or damaging the player directly. You can get effects from different sources such as: taking damage, enemies, food or just cold weather. Some diseases can be cured more quickly by consuming certain items.<br /><br />At the moment the mod adds the following effects:</p> <div class="spoiler"> <div class="spoiler-toggle">At the moment the mod adds the following effects:</div> <div class="spoiler-text">Bleeding<br />Blindness <br />Cold <br />Diarrhea <br />Food poisoning <br />Fractures <br />Infection <br />Rabies <br />Reborn <br />Scurvy</div> </div> <h4>Diseases</h4> <p>Diseases consist of one or more effects that can each influence the player.&nbsp;<br />E.g. a cold has 3 effects: <br />Health: Decreases your maximum health points.<br />Hungry: Increases your hunger rate.<br />Animated: The player can do some animations.</p> <p>Each disease has several values that determine the course of the disease. The most important value is its intensity which define how strong the disease is at the moment. The value is usually between 0.0 and 1.0. When the disease reaches 0.0 it is cured. When it reaches 1.0 it is as strong as it can get. The intensity defines how strong each individual effect influences the player and which effect is active at the moment. The recovery rate of a disease decides how fast the player can recover from a disease. It can also be negative which means that the disease will get worse. Some disease also have a hidden value which can influence the recovery rate to simulate a immunisation process. The player can also influence these values with cures or by mitigating the circumstances which caused the disease in the first place. You can become immune to some disease for a specific time once you have overcome it.&nbsp;</p> <h4>Cures</h4> <p>Cures can be used to cure diseases. You can see which item can cure which disease in its tooltip. But in general a cure does not fully heal a disease. It can only speed up the healing process or mitigate some of the diseases effects. E.g. a clean bandage can change the recovery rate of the bleeding disease by 0.018 &raquo; 0.09 which means it will increase the recovery rate by 0.018 but it will never exceeds 0.09. Another important cure is the medicine which requires the ACA mod and the Wildcraft: Herbs and Spices mod to be crafted. A medicine is created by combining some alcohol (between 0.1 and 0.3 litres per portion depending on how strong the alcohol is) with honey (0.2 litres per portion) and at least 2 herbs (2 slots filled with at least 3 herbs per portion) in the mixing bowl. You need at least 2 different herbs that influence the same disease to create an effective medicine. <strong>Note</strong> that herbs are labeled as Ingredient which means they cannot be consumed raw to take effect but must be processed beforehand.&nbsp;</p> <p>(Medicine may show extra nutrients values but these should not be applied.)</p> <p>The mod serves also as a showcase for the effect system which I build for my mods. The system makes it possible to define effects and effect triggers, which can be used to trigger effects in different ways, using pure JSON files.You can take a look at the JSON files of this mod to figure out how it works. You can also look at the "assets/xeffects/effects" folder in xlib since it defines some of the base effects used by this mod. You can also take this mod and built your own mod from it or contribute some of your ideas to the mod.</p>

Download

No download link is available for this entry right now.

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.