aboutsummaryrefslogtreecommitdiff
path: root/internal/config/config.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-27 16:50:41 -0400
committerhistoria <[not public]>2026-06-27 16:50:41 -0400
commit988b006a5bb9edb6465653566e7bdf8175347b8c (patch)
tree3a1fceff2ee80c11b5dafcc49c13ababe021e880 /internal/config/config.go
parent1cab9ca20e24742f770a676f84e4ed9f1636f297 (diff)
downloadthehouseoficarus-988b006a5bb9edb6465653566e7bdf8175347b8c.tar.gz
feat: one-way map links, blocked paths on map, map grid startup validation, user colors for maps
Diffstat (limited to 'internal/config/config.go')
-rw-r--r--internal/config/config.go77
1 files changed, 39 insertions, 38 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 33e25fd..91d5986 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -19,46 +19,47 @@ type ColorsConfig map[string]string
func DefaultColors() ColorsConfig {
return ColorsConfig{
- "room_name": "81 bold",
- "room_number": "240",
- "room_desc": "252",
- "direction": "75",
- "exit_direction": "75",
- "exit_name": "114",
+ "room_name": "51 bold",
+ "room_number": "F0",
+ "room_desc": "FC",
+ "direction": "4B",
+ "exit_direction": "4B",
+ "exit_name": "72",
"protected_mob": "off",
"mob": "off",
- "damage_dealt": "33",
- "damage_taken": "196",
- "damage": "196",
+ "damage_dealt": "21",
+ "damage_taken": "C4",
+ "damage": "C4",
- "xp": "222",
- "level_up": "226 bold",
- "item": "223",
- "player_name": "189",
- "death": "196 bold",
- "victory": "83",
- "miss": "243",
- "error": "209",
- "say": "230",
- "global": "45",
- "dialog": "117",
- "broadcast": "215",
+ "xp": "DE",
+ "level_up": "E2 bold",
+ "item": "DF",
+ "player_name": "BD",
+ "death": "C4 bold",
+ "victory": "53",
+ "miss": "F3",
+ "error": "D1",
+ "say": "E6",
+ "global": "2D",
+ "dialog": "75",
+ "broadcast": "D7",
"sequence": "off",
- "fire": "208",
- "eat_food": "156",
- "drop_message": "186",
- "credits_pickup": "220",
- "visual_tick": "33 dim",
- "visual_first_tick": "196 bold",
- "battery": "45",
- "tech_depleted": "196",
- "science_mod": "99",
- "assassin_task": "219",
- "dim": "243 dim",
- "warning": "208",
- "farm_grow": "34",
- "farm_disease": "196",
- "map_at": "15",
+ "fire": "D0",
+ "eat_food": "9C",
+ "drop_message": "BA",
+ "credits_pickup": "DC",
+ "visual_tick": "21 dim",
+ "visual_first_tick": "C4 bold",
+ "battery": "2D",
+ "tech_depleted": "C4",
+ "science_mod": "63",
+ "assassin_task": "DB",
+ "dim": "F3 dim",
+ "warning": "D0",
+ "farm_grow": "22",
+ "farm_disease": "C4",
+ "map_at": "0F",
+ "map_blocked": "C4",
}
}
@@ -68,7 +69,7 @@ type GameConfig struct {
}
type ValidationConfig struct {
- CheckSources []int `yaml:"check_sources"`
+ RootRooms []int `yaml:"root_rooms"`
IgnoreUnreachable []int `yaml:"ignore_unreachable"`
}
@@ -101,7 +102,7 @@ func Default() *Config {
Game: GameConfig{
TickLength: 600,
StartupValidation: ValidationConfig{
- CheckSources: []int{1},
+ RootRooms: []int{1},
IgnoreUnreachable: []int{},
},
},