Remove Pollution and "refresh" map?...

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
PanTobi
Fast Inserter
Fast Inserter
Posts: 202
Joined: Fri Feb 05, 2016 12:34 am
Contact:

Remove Pollution and "refresh" map?...

Post by PanTobi »

Hey... i was playing new game and at some point my game started to work rly slow...

1) Command to DELETE all pollution?....
2) I want to "Refresh" Map so i don't have "Bitters Ruins" on my map :c... but i don't want to use Command to reveal huge square :c...
I want only to reveal chunks that are already visible...




i had only around 40/50 UPS but my base was small...
producing only 45.000 iron ore / minute...

i build many more much bigger factories than this one...
but here i had max. 50 UPS and it was weird af :o....

when it started to drop below 40 UPS i decided to open Debug Mode and see what is burning my UPS

and it was bitters...
so i used Creative Mode to delete ALL bitters and stop them from spawning on my World

and...
MAGIC... instead of 40 UPS now i can have up to 270 UPS ( if you speed up game ) Yey



But on my Map i still have bitters camps and other shit... and i want to remove it :c...
On image You can also see my Time Usage so if u have any suggestions how i can save some UPS ^_^
Image
My amazing Map pic: ( 2.500 x 2.500 ( 0.03125 ) ) :3...
Map
.


//Edit:
Ok i spent 2 hours exploring map again and clearing bitters O_O...
Still don't know how to remove Pollution but naaa... i think im gonna leave it as it is atm...

ahh and i also deleted all my walls xD because bitters are gone :o
Map

User avatar
Ghoulish
Filter Inserter
Filter Inserter
Posts: 461
Joined: Fri Oct 16, 2015 8:40 am

Re: Remove Pollution and "refresh" map?...

Post by Ghoulish »

If UPS is an issue you may as well switch off the pollution especially as you've already removed the biters, it serves no purpose now!

Code: Select all

/c for _, surface in pairs(game.surfaces) do
  surface.clear_pollution()
end
game.map_settings.pollution.enabled = false
See the daily™ struggles with my Factory! :D https://www.twitch.tv/repetitivebeats

PanTobi
Fast Inserter
Fast Inserter
Posts: 202
Joined: Fri Feb 05, 2016 12:34 am
Contact:

Re: Remove Pollution and "refresh" map?...

Post by PanTobi »

Ghoulish wrote:
Wed Dec 23, 2020 10:05 pm
If UPS is an issue you may as well switch off the pollution especially as you've already removed the biters, it serves no purpose now!

Code: Select all

/c for _, surface in pairs(game.surfaces) do
  surface.clear_pollution()
end
game.map_settings.pollution.enabled = false
Ohh this is what i was looking for !...
Thank You <3333

Finaly pollution is gone from my world <3

Guenni7
Fast Inserter
Fast Inserter
Posts: 144
Joined: Thu May 18, 2017 5:53 am
Contact:

Re: Remove Pollution and "refresh" map?...

Post by Guenni7 »

Ghoulish wrote:
Wed Dec 23, 2020 10:05 pm
If UPS is an issue you may as well switch off the pollution especially as you've already removed the biters, it serves no purpose now!
I think it also works without removing the biters, just switch pollution off and clean it, then the biters use a minimum of processor power.
On my actual map that gave me nearly 10 UPS more.

User avatar
NotRexButCaesar
Smart Inserter
Smart Inserter
Posts: 1120
Joined: Sun Feb 16, 2020 12:47 am
Contact:

Re: Remove Pollution and "refresh" map?...

Post by NotRexButCaesar »

To scan all the chunks you have explored, do

/c game.player.force.chart_all()
—Crevez, chiens, si vous n'étes pas contents!

PanTobi
Fast Inserter
Fast Inserter
Posts: 202
Joined: Fri Feb 05, 2016 12:34 am
Contact:

Re: Remove Pollution and "refresh" map?...

Post by PanTobi »

Hmm... :x... ty for help but i already explored all chunks with my Heli Mod :x...
Yee it took me around 40 minutes but i rly wanted to remove all red squares from map xD...

//Edit:
why ": x" emoji is "mad" emoji on Factorio Forum?... : x is not mad emoji =_=

Post Reply

Return to “Gameplay Help”