mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-24 03:47:58 +02:00
16 lines
318 B
Lua
16 lines
318 B
Lua
|
local Public = {}
|
||
|
|
||
|
local table_insert = table.insert
|
||
|
local table_remove = table.remove
|
||
|
local math_random = math.random
|
||
|
local math_abs = math.abs
|
||
|
local math_floor = math.floor
|
||
|
|
||
|
function Public.roll_spawner_name()
|
||
|
if math_random(1, 3) == 1 then
|
||
|
return "spitter-spawner"
|
||
|
end
|
||
|
return "biter-spawner"
|
||
|
end
|
||
|
|
||
|
return Public
|