Page 1 of 1

Grass doesn't disappear

Posted: Thu Nov 19, 2015 5:50 pm
by WalterBlack
It is normal that grass doesn't disappear when i put the concrete or the stone in the floor? V. 1.2.5

I'm sorry for my bad english, i hope you understand me.

Re: Grass doesn't disappear

Posted: Thu Nov 19, 2015 6:10 pm
by sillyfly
This behavior is by-design, according to developers.
IIRC every time you place bricks/concrete there is a chance that underlying grass will be removed, so presumably if you pave and remove the concrete/bricks over and over, you will eventually get rid of all undergrowth.

Re: Grass doesn't disappear

Posted: Thu Nov 19, 2015 6:18 pm
by WalterBlack
sillyfly wrote:This behavior is by-design, according to developers.
IIRC every time you place bricks/concrete there is a chance that underlying grass will be removed, so presumably if you pave and remove the concrete/bricks over and over, you will eventually get rid of all undergrowth.
Thank you very much, i thought that it was my problem, I'll try to remove it as you said me

Re: Grass doesn't disappear

Posted: Thu Nov 19, 2015 8:35 pm
by Klonan
Theres a handy script from one of the devs HanziQ which can help get rid of the weeds on all your concrete

Code: Select all

/c for coord in game.local_player.surface.get_chunks() do
  for key, e in pairs(game.local_player.surface.find_entities_filtered({area={{coord.x * 32, coord.y * 32}, {coord.x * 32 + 32, coord.y * 32 + 32}}, type="decorative"})) do
    if game.local_player.surface.get_tile(e.position.x, e.position.y).name == "concrete" then
      e.destroy()
    end
  end
end
NOTE: It will 'freeze' the game while it runs, if you have a big map it might take like a couple minutes... but after that all your concrete should be clean