Add SQLite persistence, import-snapshot tool, and karma functionality

This commit is contained in:
Ilya Groshev
2026-04-20 09:57:47 +03:00
parent c9ad3fa4f4
commit c33e738fd5
70 changed files with 4151 additions and 833 deletions
+6
View File
@@ -35,6 +35,9 @@ type GameConfig struct {
QuestSkipMaxCountAtOnce int32
WeaponLimitBreakAvailableCount int32
CostumeLotteryEffectUnlockSlotConsumeGold int32
CostumeLotteryEffectDrawSlotConsumeGold int32
}
func LoadGameConfig() (*GameConfig, error) {
@@ -73,6 +76,9 @@ func LoadGameConfig() (*GameConfig, error) {
cfg.WeaponLimitBreakAvailableCount = parseInt32(kv, "WEAPON_LIMIT_BREAK_AVAILABLE_COUNT")
cfg.CostumeLotteryEffectUnlockSlotConsumeGold = parseInt32(kv, "COSTUME_LOTTERY_EFFECT_UNLOCK_SLOT_CONSUME_GOLD")
cfg.CostumeLotteryEffectDrawSlotConsumeGold = parseInt32(kv, "COSTUME_LOTTERY_EFFECT_DRAW_SLOT_CONSUME_GOLD")
return cfg, nil
}