1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-03-17 20:58:13 +02:00

pp: change default player name template

Changes default player name template into something easier to memorize.
This commit is contained in:
cogito 2020-01-28 19:37:39 +01:00
parent 04ceb853dc
commit 5ef9052b16

View File

@ -503,8 +503,8 @@ end
local function get_random_name()
while true do
local id = _common.rand_range(1000, 9999)
local name = string.format("inmate_%d", id)
local id = _common.rand_range(100, 999)
local name = string.format("#%d", id)
if global.this.perks[name] == nil then
return name
end