Ah right thank youhoho wrote:You need to *add* max_distance_of_nearby_sector_revealed, not replace max_distance_of_sector_revealed.
In other words, you need both max_distance_of_nearby_sector_revealed and max_distance_of_sector_revealed


Ah right thank youhoho wrote:You need to *add* max_distance_of_nearby_sector_revealed, not replace max_distance_of_sector_revealed.
In other words, you need both max_distance_of_nearby_sector_revealed and max_distance_of_sector_revealed
Haha not a problem matealbatrosv13 wrote:Actually, the issue is that i'm a pirate(yeah, i know i should burn on an imperial stake and so on; my excuse is that i *really* don't have money) and can't yet update to 0.11.17(it takes 3-5 days to get to the wides of internet). I 'updated' the first time just by guesstimation.
I put up the file again by having both lines in entity.lua. This works in 0.11.16 and i hope in 11.17 too.
Code: Select all
game.onevent(defines.events.onsectorscanned, function(event)
if event.radar.name == "templev2" then
game.evolutionfactor = game.evolutionfactor - 0.0002
end
end)
Code: Select all
game.onevent(defines.events.onsectorscanned, function(event)
if event.radar.name == "templev2" then
if game.evolutionfactor > 0.0003 then
game.evolutionfactor = game.evolutionfactor - (0.0003 * game.evolutionfactor)
end
end
end)