smoke

A fluid which spreads through the air affecting every mob it engulfs.
Vars | |
lifetime | How long the smoke sticks around before it dissipates. |
---|---|
Procs | |
fade_out | Animates the smoke gradually fading out of visibility. Also makes the smoke turf transparent as it passes 160 alpha. |
kill_smoke | Makes the smoke fade out and then deletes it. |
smoke_mob | Handles the effects of this smoke on any mobs it comes into contact with. |
Var Details
lifetime

How long the smoke sticks around before it dissipates.
Proc Details
fade_out
Animates the smoke gradually fading out of visibility. Also makes the smoke turf transparent as it passes 160 alpha.
Arguments:
- frames = 0.8 [SECONDS]: The amount of time the smoke should fade out over.
kill_smoke
Makes the smoke fade out and then deletes it.
smoke_mob
Handles the effects of this smoke on any mobs it comes into contact with.
Arguments:
- smoker: The mob that is being exposed to this smoke.
- delta_time: A scaling factor for the effects this has. Primarily based off of tick rate to normalize effects to units of rate/sec.
Returns whether the smoke effect was applied to the mob.