Epidemic icon

Epidemic -----

Bringing real survival to your server



Natural healing
Change Log 1.7.2

This update enables the natural cures for ailments (as well as laying the groundwork for vaccines)

Up until now, if you get a wound, a burn, a cold, or whatever ailments you have set up, you're stuck suffering with them until either you have them cured, or if the rare chance of healing while sleeping kicks in.

This update adds a new option in the ailments files that gives a maximum number of days a player will have the ailment for

Days are game days, and are not impacted by if the player is online. If they get the ailment then log off, and more than the number of natural cure days go by, when they log back on, they'll be cured, so I would set these values carefully, and in line with your server settings.

To add these cure days to an ailment, simply add the value to the appropriate ailment.yml file as shown above - you can set the value to 0, or leave it out completely and it will not be applied.

The eagle eyed of you may notice a new file appearing in the config folder called server.yml - this file records the current game day, this is NOT in-line with the servers game day, it starts at 0 from when this update is applied, and increments as each day begins, whether someone is online or not. This will come into play a lot when vaccines are rolled out as you'll need to take boosters for some vaccines.

The VERY eagle eyed of you may notice that the player information now includes afflicted_day and afflicted_time - this allows Epidemic to track when the natural cure days should apply.

Any questions or concerns, please see me on Discord!
----------, May 10, 2023
Resource Information
Author:
----------
Total Downloads: 197
First Release: Feb 16, 2019
Last Update: Oct 24, 2023
Category: ---------------
All-Time Rating:
13 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings