feat: economy system with minigames, bank, rob, jobs, fishing, blackjack, slots
+ economy domain (EconomyAccount, Job, SlotCombination, EconomyTransaction) + EconomyRepository + SqlEconomyRepository + DB schema + EconomyService (transfer, daily, deposit/withdraw, stat upgrades) + FishingService (fish grid with difficulty levels, speed bonus) + BlackjackService (dealer stands on 16, ties lose) + SlotService (weighted combos up to x50) + JobService (6 jobs with level reqs and efficiency stat) + 11 commands: balance, baltop, pay, daily, bank, rob, fish, blackjack, slot, job, work + Tests for SqlEconomyRepository + EconomyModule + EconomyCommandRegistrar wired into BotModule
This commit is contained in:
parent
fcb5cd7207
commit
fe121c8546
270 changed files with 18632 additions and 11656 deletions
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
version: "3.9"
|
||||
|
||||
services:
|
||||
bot:
|
||||
build: .
|
||||
container_name: loki-bot
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8712:8712"
|
||||
environment:
|
||||
DISCORD_BOT_TOKEN: ${DISCORD_BOT_TOKEN}
|
||||
BOT_PREFIX: ${BOT_PREFIX:-!}
|
||||
BOT_ACTIVITY: ${BOT_ACTIVITY:-Используй !help}
|
||||
HEALTH_HTTP_PORT: ${HEALTH_HTTP_PORT:-8712}
|
||||
SUPER_ADMIN_ID: ${SUPER_ADMIN_ID}
|
||||
DB_PATH: /app/data/bot.db
|
||||
volumes:
|
||||
- bot-data:/app/data
|
||||
|
||||
volumes:
|
||||
bot-data:
|
||||
Loading…
Add table
Add a link
Reference in a new issue