mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 16:56:36 +00:00
34 lines
738 B
TypeScript
34 lines
738 B
TypeScript
import { PlayerInfo, UnitInfo, UnitType } from "../game/Game";
|
|
import { DefaultConfig } from "./DefaultConfig";
|
|
|
|
export const devConfig = new class extends DefaultConfig {
|
|
unitInfo(type: UnitType): UnitInfo {
|
|
const info = super.unitInfo(type)
|
|
info.cost = 0
|
|
return info
|
|
}
|
|
|
|
percentageTilesOwnedToWin(): number {
|
|
return 95
|
|
}
|
|
numSpawnPhaseTurns(): number {
|
|
return 40
|
|
}
|
|
gameCreationRate(): number {
|
|
return 20 * 1000
|
|
}
|
|
lobbyLifetime(): number {
|
|
return 20 * 1000
|
|
}
|
|
turnIntervalMs(): number {
|
|
return 100
|
|
}
|
|
|
|
// numBots(): number {
|
|
// return 400
|
|
// }
|
|
|
|
// boatMaxDistance(): number {
|
|
// return 2000
|
|
// }
|
|
} |