temporary
Vars | |
despawn_timer | Despawn timer of the butterfly |
---|---|
max_distance | Max distance in tiles before the butterfly despawns |
source | The atom that's spawning the butterflies |
will_be_destroyed | Whether the butterfly will be destroyed at the end of its despawn timer |
Procs | |
fadeout | Fade the butterfly out before deleting it. Looks much better than it just blipping out of existence |
should_despawn | Checks whether the butterfly should be despawned after the next check, based on distance from source |
Var Details
despawn_timer
Despawn timer of the butterfly
max_distance
Max distance in tiles before the butterfly despawns
source
The atom that's spawning the butterflies
will_be_destroyed
Whether the butterfly will be destroyed at the end of its despawn timer
Proc Details
fadeout
Fade the butterfly out before deleting it. Looks much better than it just blipping out of existence
should_despawn
Checks whether the butterfly should be despawned after the next check, based on distance from source