Guides

Some guides to help you navigate the resource.

Passive Drain

This is a guide for changing the passive drain, or "amount lowered over time".

  1. Navigate into the status you want to change, ex. zyke_status/statuses/drunk/config.lua.

  2. In here you will find the drain setting. For the normal statuses, all you have to do is change the drain value in the base configuration.

    1. The value you put in here will be removed every second. Example: if we set it to 0.005 , it takes 200 seconds to drain 1%, which is ~320 minutes/~5h for 100%. If you set it to 1.0, it will take 100 seconds to drain 100%.

    2. TECHNICAL: If your drain value is set to more than 0.1, it will count as "high priority" & update more frequently, this allows us both slow and rapid drains without performance implications or a sluggish experience.

If you are adjusting a status with multiple dynamic statuses, like our "high" status, you can tweak each status independently.

The base configuration will cover all sub-statuses that don't have explicit configurations made. If you do define a sub-status, the drain value within it will be prioritized. If you are confused about sub-statuses, you can see an example in the default high config.

Last updated

Was this helpful?