mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-21 05:16:09 +00:00
Adds Milky Way Map (#3519)
## Description: Adds Milky Way galaxy map based on real reconstruction by NASA. Star density simulated as terrain. Best played in Dark Mode. Also adds credits to JPL NASA <img width="532" height="533" alt="Captura de pantalla 2026-03-26 142938" src="https://github.com/user-attachments/assets/87bb19bb-4e2d-4383-a3e9-6e14b714b84c" /> ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: tri.star1011
This commit is contained in:
@@ -143,6 +143,7 @@ export enum GameMapType {
|
||||
Arctic = "Arctic",
|
||||
SanFrancisco = "San Francisco",
|
||||
Aegean = "Aegean",
|
||||
MilkyWay = "MilkyWay",
|
||||
}
|
||||
|
||||
export type GameMapName = keyof typeof GameMapType;
|
||||
@@ -207,6 +208,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
GameMapType.Surrounded,
|
||||
GameMapType.TradersDream,
|
||||
GameMapType.Passage,
|
||||
GameMapType.MilkyWay,
|
||||
],
|
||||
arcade: [
|
||||
GameMapType.TheBox,
|
||||
|
||||
@@ -84,6 +84,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
|
||||
Arctic: 6,
|
||||
SanFrancisco: 3,
|
||||
Aegean: 6,
|
||||
MilkyWay: 8,
|
||||
};
|
||||
|
||||
const TEAM_WEIGHTS: { config: TeamCountConfig; weight: number }[] = [
|
||||
|
||||
Reference in New Issue
Block a user