Page 1 of 1

MP Vanilla: Disable landfill and cliff bombs ?

Posted: Thu Dec 28, 2017 1:54 pm
by Plawerth
Is there a way in a vanilla game to restrict landfill and cliff bombs via LUA and group /permissions, so that only the server admin can use these?

I want to run a really difficult and annoying vanilla multiplayer world where people just have to deal with uncrossable water, cliffs, and islands the way they naturally appear, and that's the way it is. Suck it up and find a way to work around it.

Your "optimized to death" chip builder or "perfect rail system" may have to tolerate a cliff or pond in the middle of it. That's just too darn bad.

Re: MP Vanilla: Disable landfill and cliff bombs ?

Posted: Thu Dec 28, 2017 2:32 pm
by darkfrei
Plawerth wrote:Is there a way in a vanilla game to restrict landfill and cliff bombs via LUA and group /permissions, so that only the server admin can use these?

I want to run a really difficult and annoying vanilla multiplayer world where people just have to deal with uncrossable water, cliffs, and islands the way they naturally appear, and that's the way it is. Suck it up and find a way to work around it.

Your "optimized to death" chip builder or "perfect rail system" may have to tolerate a cliff or pond in the middle of it. That's just too darn bad.
Disable this recipes for this force? Admin can use console and get landfill and cliff bombs.

Re: MP Vanilla: Disable landfill and cliff bombs ?

Posted: Sat May 12, 2018 7:31 pm
by Demosthenex

Code: Select all

/c duh = game.player.surface.map_gen_settings duh['cliff_settings']={name="cliff",cliff_elevation_0=0,cliff_elevation_interval=0} game.player.surface.map_gen_settings=duh
This disables cliff generation from what I can tell.

Re: MP Vanilla: Disable landfill and cliff bombs ?

Posted: Sun May 13, 2018 6:38 pm
by Lubricus

Code: Select all

/silent-command game.player.force.recipes["landfill"].enabled=false
/silent-command game.player.force.recipes["cliff-explosives"].enabled=false

Re: MP Vanilla: Disable landfill and cliff bombs ?

Posted: Thu May 17, 2018 9:39 pm
by thereaverofdarkness
Why not just make them very expensive? Then people have to earn the ability to use them, and when they finally unlock it, they will need to decide if it's really worth the resources. If the cost is right, they will use the devices very sparingly, and work around the vast majority of the terrain.

In multiplayer, players may work together to create one landbridge or destroy one cliff, and that will potentially have a very positive impact on the quality of the gameplay for all parties involved.