From 8ee8982b8759bcae116647cc993867f4c8b0a6ce Mon Sep 17 00:00:00 2001 From: workhorse Date: Fri, 19 Jun 2026 20:24:52 -0400 Subject: reorganized items, objects, and rooms in directories. oranized module names. added startup checks. --- internal/config/config.go | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'internal/config') diff --git a/internal/config/config.go b/internal/config/config.go index 122c311..124d45d 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -60,7 +60,13 @@ func DefaultColors() ColorsConfig { } type GameConfig struct { - TickLength int `yaml:"tick_length"` + TickLength int `yaml:"tick_length"` + StartupValidation StartupValidationConfig `yaml:"startup_validation"` +} + +type StartupValidationConfig struct { + CheckSources []int `yaml:"check_sources"` + IgnoreUnreachable []int `yaml:"ignore_unreachable"` } type TelnetConfig struct { @@ -91,6 +97,10 @@ func Default() *Config { return &Config{ Game: GameConfig{ TickLength: 600, + StartupValidation: StartupValidationConfig{ + CheckSources: []int{1}, + IgnoreUnreachable: []int{}, + }, }, Colors: DefaultColors(), Telnet: TelnetConfig{ -- cgit v1.2.3