Page 1 of 1

on_spawner_absorb

Posted: Sun Nov 10, 2019 9:58 am
by Bazhosh1
Hi,

I would like to have an event which tells me if a spawner has absorbed pollution and the amount.

Is it already possible to get this information?

Re: on_spawner_absorb

Posted: Sun Nov 10, 2019 12:08 pm
by Boodals
An event for this would never be made because it happens to so many spawners so frequently.
I'm not sure if the spawner's absorbed pollution count is exposed to the api, but if not, you should request that instead and poll the spawners you are interested in occasionally.

Re: on_spawner_absorb

Posted: Sun Nov 10, 2019 2:14 pm
by Rseding91
Boodals wrote:
Sun Nov 10, 2019 12:08 pm
An event for this would never be made because it happens to so many spawners so frequently.
I'm not sure if the spawner's absorbed pollution count is exposed to the api, but if not, you should request that instead and poll the spawners you are interested in occasionally.
Yes.