feat(utils): sync rnd-name with rndname.lua
This commit is contained in:
parent
79ca3b01a1
commit
39bfc42f58
1 changed files with 10 additions and 1 deletions
|
|
@ -111,6 +111,7 @@
|
||||||
"zealous",
|
"zealous",
|
||||||
"zen",
|
"zen",
|
||||||
}
|
}
|
||||||
|
|
||||||
local right = {
|
local right = {
|
||||||
"agnesi",
|
"agnesi",
|
||||||
"albattani",
|
"albattani",
|
||||||
|
|
@ -350,7 +351,15 @@
|
||||||
"zhukovsky",
|
"zhukovsky",
|
||||||
}
|
}
|
||||||
|
|
||||||
return left[math.random(0, #left)].. "_" .. right[math.random(0, #right)]
|
local li = math.random(#left)
|
||||||
|
local ri = math.random(#right)
|
||||||
|
local name = left[li] .. "_" .. right[ri]
|
||||||
|
|
||||||
|
if name == "boring_wozniak" then -- Steve Wozniak is not boring
|
||||||
|
return rndname.generate()
|
||||||
|
end
|
||||||
|
|
||||||
|
return left[li] .. "_" .. right[ri]
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue