Page 1 of 1

Make entity consumption depend on pollution

Posted: Sat May 19, 2018 5:23 pm
by Villfuk02
I'd like to make my entity consume more power in polluted chunks. How would i do that?

Re: Make entity consumption depend on pollution

Posted: Sat May 19, 2018 8:06 pm
by DaveMcW
Make a second copy with higher power consumption.

Periodically scan the map and replace all entities with the high/low version depending on pollution. You don't have to do this very often since pollution spreads rather slowly.