refactor: rename Bot to Tribe in internal execution code (#3372)

## Description

Follows up on #3290 which renamed the user-facing "Bots" to "Tribes".
This renames the internal implementation to match:

- `BotExecution` → `TribeExecution`
- `BotSpawner` → `TribeSpawner`
- `BotNames` → `TribeNames` (`BOT_NAME_*` → `TRIBE_NAME_*`)

All callers updated accordingly. `PlayerType.Bot` and `ColoredTeams.Bot`
are intentionally left unchanged as they are serialised wire-format
values.

Closes #3335

## Please complete the following:
- [x] My changes do not break existing functionality
- [x] I have tested my changes

## Please put your Discord username so you can be contacted if a bug or
regression is found:
Just reply here

---------

Co-authored-by: PGray <PGrayCS@users.noreply.github.com>
This commit is contained in:
PGray
2026-03-10 04:31:18 +00:00
committed by GitHub
parent 13a965a9c5
commit be9ea14fe9
10 changed files with 77 additions and 86 deletions
@@ -1,4 +1,4 @@
export const BOT_NAME_PREFIXES = [
export const TRIBE_NAME_PREFIXES = [
"Akkadian",
"Babylonian",
"Sumerian",
@@ -159,8 +159,6 @@ export const BOT_NAME_PREFIXES = [
"Armenian",
"Circassian",
"Georgian",
"Phoenician",
"Chaldean",
"Kurdish",
"Turkic",
"Kazakh",
@@ -171,7 +169,6 @@ export const BOT_NAME_PREFIXES = [
"Pashtun",
"Baloch",
"Afghan",
"Persian",
"Kenyan",
"Ugandan",
"Bhutanese",
@@ -180,7 +177,7 @@ export const BOT_NAME_PREFIXES = [
"Militant",
"Spartan",
];
export const BOT_NAME_SUFFIXES = [
export const TRIBE_NAME_SUFFIXES = [
"Empire",
"Dynasty",
"Kingdom",
@@ -218,7 +215,6 @@ export const BOT_NAME_SUFFIXES = [
"Confederacy",
"Order",
"Regime",
"Dominion",
"Syndicate",
"Guild",
"Corporation",
@@ -231,10 +227,7 @@ export const BOT_NAME_SUFFIXES = [
"Sisterhood",
"Ascendancy",
"Supremacy",
"Province",
"Tribe",
"Dominion",
"Assembly",
"Republics",
"Army",
"Dictatorship",