From 5ef9052b16f24acdf0db0a5d44b2bce9aa1e6cf3 Mon Sep 17 00:00:00 2001 From: cogito <> Date: Tue, 28 Jan 2020 19:37:39 +0100 Subject: [PATCH] pp: change default player name template Changes default player name template into something easier to memorize. --- maps/planet_prison.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maps/planet_prison.lua b/maps/planet_prison.lua index 055d240d..6a0f1e71 100644 --- a/maps/planet_prison.lua +++ b/maps/planet_prison.lua @@ -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