From b8c08fb502ae760c00be6d2c7229ad452ec8543a Mon Sep 17 00:00:00 2001 From: HSZemi Date: Mon, 1 May 2023 02:28:01 +0200 Subject: [PATCH] Add AI names from latest expansions --- .../__snapshots__/NameGenerator.test.tsx.snap | 16 ++-- src/util/NameGenerator.ts | 75 +++++++++++++++++++ 2 files changed, 83 insertions(+), 8 deletions(-) diff --git a/src/__tests__/models/__snapshots__/NameGenerator.test.tsx.snap b/src/__tests__/models/__snapshots__/NameGenerator.test.tsx.snap index c2fef2b2..326155fb 100644 --- a/src/__tests__/models/__snapshots__/NameGenerator.test.tsx.snap +++ b/src/__tests__/models/__snapshots__/NameGenerator.test.tsx.snap @@ -3,14 +3,14 @@ exports[`NameGenerator yields deterministic results 1`] = ` Array [ "King Alfonso", - "Pachacuti", - "Phung Hung", + "Wenceslaus I", + "Louis VI", "King Alfonso", - "Raden Wijaya", - "Alp Tarkhan", - "Shield Jaguar II", - "Axayactl", - "Gunderic", - "Rurik I", + "Ly Nhan Tong", + "Boleslaw III Wrymouth", + "Smoking Squirrel", + "Cuitlauac", + "Maravarman I", + "Bartolomeu Dias", ] `; diff --git a/src/util/NameGenerator.ts b/src/util/NameGenerator.ts index 94202bc8..32a1334d 100644 --- a/src/util/NameGenerator.ts +++ b/src/util/NameGenerator.ts @@ -514,6 +514,81 @@ class NameGenerator { "Roger II of Sicily", "William II of Apulia", "Frederick Roger II", + // Polish + "Mieszko I", + "Boleslaw the Brave", + "Kazimierz the Restorer", + "Sieciech", + "Boleslaw III Wrymouth", + "Duke Henryk the Pious", + "Kazimierz III the Great", + "Wladyslaw II Jagiello", + "Jadwiga", + "Zawisza the Black", + "Zbigniew Olesnicki", + "Kazimierz IV Jagiellon", + "Jan I Olbracht", + "Zygmunt I Stary", + // Bohemians + "Svatopluk I", + "Wenceslaus the Good", + "Boleslaus the Cruel", + "Bretislaus I", + "Vratislaus II", + "Ottokar I", + "Wenceslaus the One-Eyed", + "Premysl Ottokar II", + "John the Blind", + "Emperor Karel IV", + "Jan Zizka", + "Jan Hus", + "Emperor Sigismund", + "Ladislaus Postumus", + // Dravidians + "Jayasimha", + "Vikramaditya I", + "Kadungon", + "Govinda III", + "Amoghavarsha", + "Srimara Srivallabha", + "Vijayalaya", + "Rajaraja Chola", + "Rajendra Chola", + "Kulothunga", + "Vijayabahu", + "Maravarman I", + "Harihara I", + "Krishna Devaraya", + //Bengalis + "Shashanka", + "Gopala", + "Dharmapala", + "Devapala", + "Harjjaravarman", + "Rajyapala", + "Mahipala", + "Ramapala", + "Samanta Sena", + "Lakshmana Sena", + "Ilyas Shah", + "Ghiyasuddin Azam Shah", + "Nasiruddin Mahmud Shah", + "Alauddin Husain Shah", + // Gurjaras + "Nagabhata", + "Vatsaraja", + "Mihira Bhoja", + "Mahenderpal", + "Sindhuraja", + "Madanavarman", + "Siddhraj Jaisingh", + "Prithviraj Chauhan", + "Nagarjuna", + "Jayachandra", + "Govind Tai", + "Maharana Pratap", + "Rana Sanga", + "Raja Shiladitya", ]; private seed: number;