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

NxLabs / Vintage Story

Plague Mod

PBy propaneko

Plague mod... for when you have too much animals in close approximation

Description

<h2>Description</h2> <hr /> <p>The disease spreads when there is too much animals of the same type in one chunk (32x32). You can specify some values in the config for your likings. The animals will spread the disease until all of the ill animals are dead. The more animals are around, the more dmg they get and of course the higher chance of the plague to start!. Message of the broken plague will be shared on the proximity channel. Mod animals also works, but you need to find its Entity id name and put it in the config.</p> <h2>Configuration</h2> <hr /> <div> <div><code>{</code></div> <div><code>&nbsp; "animals": [</code></div> <div><code>&nbsp; &nbsp; "pig",</code></div> <div><code>&nbsp; &nbsp; "goat",</code></div> <div><code>&nbsp; &nbsp; "sheep",</code></div> <div><code>&nbsp; &nbsp; "chicken",</code></div> <div><code>&nbsp; ],</code></div> <div><code>&nbsp; "timers": {</code></div> <div><code>&nbsp; &nbsp; "damageInterval": 5000,</code></div> <div><code>&nbsp; &nbsp; "infectionInterval": 30000,</code></div> <div><code>&nbsp; &nbsp; "checkInterval": 60000</code></div> <div><code>&nbsp; },</code></div> <div><code>&nbsp; "amounts": {</code></div> <div><code>&nbsp; &nbsp; "maxAnimalsPerChunk": 20,</code></div> <div><code>&nbsp; &nbsp; "maxInfectedAnimals": 16</code></div> <div><code>&nbsp; }</code></div> <div><code>}</code></div> <div>&nbsp;</div> <div> <h2>Ideas</h2> <hr /> <p>Need to figure out how to apply some particles on the animals with disease...</p> </div> </div> <h2>Contribution &amp; Thanks</h2> <hr /> <p><strong>"Vronizos" - Thank you for the main code and giving me permission to make it public!</strong></p> <p><strong>"BASIC" - Thank you for creating your amazing Proxmity chat mod!</strong></p>

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.