From a9fabcab2388bb244ada4f7a2e14d196dce14077 Mon Sep 17 00:00:00 2001 From: wish Date: Sun, 20 Aug 2023 22:19:16 +1000 Subject: [PATCH] clean up config.go --- config/config.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/config.go b/config/config.go index ac7e48af6..b5afc6798 100644 --- a/config/config.go +++ b/config/config.go @@ -124,7 +124,7 @@ type GameplayOptions struct { FeaturedWeapons int // Number of Active Feature weapons to generate daily MaximumNP int // Maximum number of NP held by a player MaximumRP uint16 // Maximum number of RP held by a player - MaximumFP uint32 // Maximum number of FP held by a player + MaximumFP uint32 // Maximum number of FP held by a player DisableLoginBoost bool // Disables the Login Boost system DisableBoostTime bool // Disables the daily NetCafe Boost Time BoostTimeDuration int // The number of minutes NetCafe Boost Time lasts for @@ -147,7 +147,7 @@ type GameplayOptions struct { MaterialMultiplier float32 // Adjusts the multiplier of Monster Materials rewarded for quest completion ExtraCarves uint16 // Grant n extra chances to carve ALL carcasses DisableHunterNavi bool // Disables the Hunter Navi - EnableKaijiEvent bool // Enables the Kaiji event in the Rasta Bar + EnableKaijiEvent bool // Enables the Kaiji event in the Rasta Bar EnableHiganjimaEvent bool // Enables the Higanjima event in the Rasta Bar EnableNierEvent bool // Enables the Nier event in the Rasta Bar DisableRoad bool // Disables the Hunting Road @@ -258,8 +258,8 @@ func LoadConfig() (*Config, error) { viper.AddConfigPath(".") viper.SetDefault("DevModeOptions.SaveDumps", SaveDumpOptions{ - Enabled: false, - OutputDir: "savedata", + Enabled: true, + OutputDir: "save-backups", }) err := viper.ReadInConfig() @@ -281,7 +281,7 @@ func LoadConfig() (*Config, error) { if strings.ToUpper(c.ClientMode) == versionStrings[i] { c.RealClientMode = Mode(i + 1) c.ClientMode = strings.ToUpper(c.ClientMode) - if c.RealClientMode < Z1 { + if c.RealClientMode <= G101 { c.ClientMode += " (Debug only)" } }