Page 1 of 1

Start with bots and speed technology and storage technology

Posted: Sat May 13, 2017 2:51 pm
by Minuit
Hello guy's

I have create a mod to start with bots and bots technology
My mod

Code: Select all

script.on_event(defines.events.on_player_created, function(event)
  local player = game.players[event.player_index]
  player.insert{name="power-armor", count=1}
  player.insert{name="personal-roboport-equipment", count=2}
  player.insert{name="fusion-reactor-equipment", count=1}
  player.insert{name="exoskeleton-equipment", count = 1}
  player.insert{name="construction-robot", count = 20}
  player.insert{name="solar-panel", count = 1}
  player.insert{name="science-pack-1", count = 8}
  player.insert{name="lab", count = 1}
  player.insert{name="substation", count = 1}
  player.insert{name="battery-equipment", count = 1}  
 end)
I add solar panel, science pack 1 , lab, and substation for unlock the technology after the start, I reduced the cost and the prerequisites for that

But I want to start with equipment into armor and the technology unlock

If you can help me.

Thanks you for your time.

Re: Start with bots and speed technology and storage technology

Posted: Sat May 13, 2017 9:39 pm
by mophydeen
sl-extended contains starter robots and a filled armor and more.
Take a look at the code.