diff options
author | Peter Seprus <ppseprus@users.noreply.github.com> | 2022-08-07 18:28:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-07 18:28:04 +0300 |
commit | f3d7d7dba085f4e676c1d901122fb021a3553644 (patch) | |
tree | 937a0205597622f9485dd07a4b28a60ada8ee0c2 | |
parent | 67a9753f78d95d1158cbb09aa8548c82069dcf5b (diff) |
Extend random name generator (#1551)
* Extend random name generator
* Format sources
Co-authored-by: あく <alleteam@gmail.com>
-rw-r--r-- | lib/toolbox/random_name.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/lib/toolbox/random_name.c b/lib/toolbox/random_name.c index 4810a067..5a537439 100644 --- a/lib/toolbox/random_name.c +++ b/lib/toolbox/random_name.c @@ -12,15 +12,10 @@ void set_random_name(char* name, uint8_t max_name_size) { rand_generator_inited = true; } const char* prefix[] = { - "ancient", - "hollow", - "strange", - "disappeared", - "unknown", - "unthinkable", - "unnamable", - "nameless", - "my", + "ancient", "hollow", "strange", "disappeared", "unknown", + "unthinkable", "unnamable", "nameless", "my", "concealed", + "forgotten", "hidden", "mysterious", "obscure", "random", + "remote", "uncharted", "undefined", "untravelled", "untold", }; const char* suffix[] = { @@ -32,6 +27,10 @@ void set_random_name(char* name, uint8_t max_name_size) { "entree", "opening", "crack", + "access", + "corridor", + "passage", + "port", }; uint8_t prefix_i = rand() % COUNT_OF(prefix); uint8_t suffix_i = rand() % COUNT_OF(suffix); |