This code generates a random valid a-life name based on the number of mepian parts that a-life has. The basic rules for a-life name generation are as follows:Â
The 1st, 3rd, and 5th segment of the name contain consonants, which depend on the number of mepian parts that the a-life has. (Table below)
The more mepian parts, the more likely that the 1st, 3rd, and 5th segment of the name will be drawn from this list: [B, G, J, V, Q, X, Z, CH, SH, KY, NY, MY, HY, RY]
On the other hand, having fewer mepian parts increases the chance that the 1st, 3rd, and 5th segment will draw letters from this list: [C, D, F, H, K, L, M, N, P, R, S, T, W, Y, PH, LY]
The 2nd and 4th segment contain vowels, which always come from the following list regardless of mepian parts: [A, AI, AU, AE, AO, I, IA, IU, IE, IO, U, UA, UI, UE, UO, E, EA, EI, EU, EO, O, OA, OI, OU, OE]
The 1st segment has random chance of being blank. This allows the name to start with a vowel.
The 4th segment has random chance to be blank if the 1st, 2nd, and 3rd add up to at least 3 letters. If the 1st, 2nd, and 3rd segment add up to 5 or more letters, the 4th segment will always be blank.
The 5th segment has a random chance to be blank if the previous segments add up to less than 6 letters. If the previous segments add up to 6 letters, or the 4th segment is already blank, the 5th segment is guaranteed to be blank.
You can edit the name by selecting from the dropdown for each segment. To avoid breaking the name generation rules, changing a slot will cause the following slots to become blank.