Files
isp-tycoon/config.py
2026-02-23 14:22:24 +07:00

44 lines
897 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import os
from dotenv import load_dotenv
load_dotenv()
BOT_TOKEN = os.getenv("BOT_TOKEN")
ADMIN_ID = os.getenv("ADMIN_ID")
# Стартовые значения
INITIAL_BALANCE = 10_000
INITIAL_SERVERS = 1
INITIAL_COVERAGE_CUSTOMERS = 500
INITIAL_MAX_CUSTOMERS = 500
INITIAL_SPEED = 10
INITIAL_CHANNEL_LEVEL = 1
INITIAL_POWER_CAPACITY = 5.0
INITIAL_NETWORK_CHANNEL_CAPACITY = 10 # Мбит/с (база)
# Параметры инфраструктуры
SERVER_POWER = 2.0 # кВт/сервер
SERVER_COST = 3_000
SERVER_CAPACITY_ADD = 500
CABLE_COST = 800
CABLE_COVERAGE_ADD = 500
BACKUP_CHANNEL_COST = 2_500
BACKUP_CHANNEL_POWER_ADD = 100
# Тарифы (в ₡/день/клиент)
TARIFFS = {
"home": 10,
"office": 30,
"gamer": 50,
"botfarm": 15
}
# Уровни канала
CHANNEL_LEVELS = {
1: 10,
2: 50,
3: 100,
4: 250,
5: 500,
6: 1000
}