Domain

Landing Claiming & Protection

View on GitHub

Epidemic

Home

Creating New Ailments

Epidemic is highly configurable, and even though it can just work out the box, where it really shines is when it is customized to work around your needs.

The best way to do this is with custom ailments. To create a new custom ailment, you simply need to create a new ailment .yml file in the ailments folder - though it might be easier to copy one of the existing ones and modify it.

Some things to consider before creating your ailment:

1) Do you want this ailment to be caused by infectious reasons, non-infectious reasons or both? Infectious reasons would allow the ailment to be caused naturally, non-infectious would be caused by things like fall damage.

2) Do you want this ailment to be contagious? Do you want other players to be able to catch it? Do you want the player to even know they’re carrying the ailment right away? You can have symptoms not show for a set time, during which the player could be passing the ailment on.

3) What do you want the ailment to actually ‘do’ - should it cause damage? Slow the player down? Cause hallucinations, display a vomit effect etc.

4) Should the ailment get worse? Secondary ailments allow you to apply another ailment after a set amount of time (for example, a broken leg might lead to gangrene if not treated)

5) How do you want the player to recover? Or should they? You can make fatal ailments that will continually hurt the player until they finally die.

Once you’ve answered these questions, you can head over to the ailments page and review all the configuration options for creating your very own ailment. Don’t forget, you’ll probably need to create some kind of Remedy (unless you’re going full-on evil and want that fatal non-curable ailment)

If you have any questions or concerns, please don’t hesitate to come speak to me on Discord. Discord Link