package com.InfinityRaider.settlercraft.settlement.settler;

import java.util.Random;

public class SettlerRandomizer {
    private static final SettlerRandomizer INSTANCE = new SettlerRandomizer();

    private final Random random;

    public static SettlerRandomizer getInstance() {
        return INSTANCE;
    }

    private SettlerRandomizer() {
        this.random = new Random();
    }

    public boolean getRandomGender() {
        return random.nextBoolean();
    }

    public String getRandomFirstName(boolean male) {
        if(male) {
            return FIRST_NAMES_MALE[random.nextInt(FIRST_NAMES_MALE.length)];
        } else {
            return FIRST_NAMES_FEMALE[random.nextInt(FIRST_NAMES_FEMALE.length)];
        }
    }

    public String getRandomSurname() {
        return SURNAMES[random.nextInt(SURNAMES.length)];
    }

    public final String[] SURNAMES = new String[] {
            "Abrams",
            "Ackeret",
            "Ackerman",
            "Adelbern",
            "Aldryn",
            "Archer",
            "Arryn",
            "Baggins",
            "Bing",
            "Black",
            "Brahms",
            "Calhoun",
            "Carpenter",
            "Cartman",
            "Dagger",
            "Eastwood",
            "Franklin",
            "Freeman",
            "Flanders",
            "Geller",
            "Griffin",
            "Jackson",
            "Jones",
            "Johnson",
            "Kane",
            "Kleiner",
            "Knight",
            "Krieger",
            "Lamar",
            "Lee",
            "Loggins",
            "Marsh",
            "Mattox",
            "Morgan",
            "Mosby",
            "Prandtl",
            "Redwood",
            "Reynolds",
            "Rigby",
            "Rosenberg",
            "Stark",
            "Stinson",
            "Stotch",
            "Valentine",
            "Valmer",
            "Vance",
            "White",
            "Watson",
            "Wolfson",
            "Woodhouse",
    };

    public final String[] FIRST_NAMES_MALE = new String[] {
            "Adam",
            "Albert",
            "Alphonse",
            "Balthazar",
            "Barney",
            "Bart",
            "Benjamin",
            "Billy",
            "Brian",
            "Bruce",
            "Bobby",
            "Carl",
            "Chandler",
            "Clint",
            "Christopher",
            "David",
            "Dexter",
            "Duncan",
            "Edward",
            "Eli",
            "Eren",
            "Eric",
            "Erwin",
            "Finn",
            "Gordon",
            "Harry",
            "Ian",
            "Isaac",
            "Jack",
            "James",
            "Jason",
            "Jeremy",
            "Jet",
            "John",
            "Josh",
            "Kenny",
            "Kevin",
            "Kyle",
            "Lewis",
            "Ladd",
            "Levi",
            "Lou",
            "Marshall",
            "Michael",
            "Morgan",
            "Mortimer",
            "Morty",
            "Ned",
            "Patrick",
            "Paul",
            "Peter",
            "Randy",
            "Richard",
            "Rick",
            "Ronald",
            "Rupert",
            "Ryder",
            "Spike",
            "Stan",
            "Steve",
            "Stirling",
            "Thomas",
            "Tony",
            "Trevor",
            "Troy"
    };

    public final String[] FIRST_NAMES_FEMALE = new String[] {
            "Alice",
            "Alyx",
            "Angela",
            "Angie",
            "Annie",
            "Bulma",
            "Casey",
            "Carmen",
            "Chelsea",
            "Cheryl",
            "Debra",
            "Eleanor",
            "Elizabeth",
            "Ennis",
            "Faye",
            "Felicia",
            "Grace",
            "Hannah",
            "Heidi",
            "Heloise",
            "Henrietta",
            "Jane",
            "Jeanny",
            "Jennifer",
            "Joan",
            "Jody",
            "Jolene",
            "Jude",
            "Judith",
            "Katherine",
            "Kim",
            "Krista",
            "Lana",
            "Leia",
            "Lily",
            "Lisa",
            "Lucy",
            "Malory",
            "Maria",
            "Marina",
            "Mary",
            "Megan",
            "Miria",
            "Misty",
            "Monica",
            "Myrtle",
            "Pam",
            "Patricia",
            "Pepper",
            "Phoebe",
            "Polly",
            "Rachel",
            "Rey",
            "Robyn",
            "Roxanne",
            "Sally",
            "Sasha",
            "Sherane",
            "Suzanne",
            "Suzy",
            "Wendy"
    };
}

@@ -2015,23 +2015,47 @@
 house%22,%0A
+            %22Woundwort%22%0A
     %7D;%0A
-
 %0A    pub
@@ -2260,24 +2260,46 @@
 %22Benjamin%22,%0A
+            %22Bigwig%22,%0A
             
@@ -2366,24 +2366,47 @@
    %22Bobby%22,%0A
+            %22Campion%22,%0A
             
@@ -2668,24 +2668,67 @@
     %22Finn%22,%0A
+            %22Fiver%22,%0A            %22Gideon%22,%0A
             
@@ -2754,24 +2754,45 @@
    %22Harry%22,%0A
+            %22Hazel%22,%0A
             
@@ -3276,24 +3276,24 @@
     %22Paul%22,%0A
-
             
@@ -3297,24 +3297,46 @@
    %22Peter%22,%0A
+            %22Pipkin%22,%0A
             
@@ -4782,24 +4782,48 @@
    %22Polly%22,%0A
+            %22Primrose%22,%0A
             

Add names based on Watership Down