The non-collision biter change caused the spawn() method from my mod /sudo to spawn biters all in the same position. When spawning a lot of them at once i noticed they cause graphical artifacts.
This is what one hundred biters look like:
Here's a gutted example command:
Code: Select all
/c
local p = game.player
spawn = function(name,count,position,force)
local count = count or 10
local pos = p.position
if not (name and pos) then return end
local created_entities = {}
for i=1,count do
table.insert(created_entities,p.surface.create_entity{
name = name,
force = force or game.forces.enemy,
position = p.surface.find_non_colliding_position(name,pos,32*2,0.5) or pos,
})
end
return created_entities
end
p.character.destructible = false
spawn('small-biter',100)