You've already forked ComfyFactorio
mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2026-04-30 21:08:57 +02:00
7 lines
299 B
Lua
7 lines
299 B
Lua
return function (center, surface)
|
|
local ce = surface.create_entity
|
|
|
|
local fN = game.forces.enemy
|
|
ce { name = "gun-turret", position = { center.x + (4.0), center.y + (-2.0) }, force = fN }.insert { name = "piercing-rounds-magazine", count = math.random(64, 100), quality = 'normal' }
|
|
end
|