Page 1 of 1

noob help(resolved)

Posted: Tue Feb 24, 2015 7:21 am
by albatrosv13
deleted

Re: noob help

Posted: Tue Feb 24, 2015 2:45 pm
by rk84
There is no custom entities yet and you can't edit map-settings without restarting.
You could create radar type entity and use onsectorscanned -event in game to trigger evolutionfactor reduction?
control.lua

Code: Select all

game.onevent(defines.events.onsectorscanned, function(event)
  if event.radar.name == "my-radar-name" then
    game.evolutionfactor = game.evolutionfactor - 0.000001
  end
end)

Re: noob help

Posted: Wed Feb 25, 2015 1:29 pm
by albatrosv13
deleted

Re: noob help

Posted: Wed Feb 25, 2015 9:54 pm
by L0771
albatrosv13 wrote:Thanks, it works.

Edit: Anyone needs such a mod?
Add your mod here
and maybe edit this page and add your mod