diff options
| author | historia <[not public]> | 2026-06-27 16:50:41 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-27 16:50:41 -0400 |
| commit | 988b006a5bb9edb6465653566e7bdf8175347b8c (patch) | |
| tree | 3a1fceff2ee80c11b5dafcc49c13ababe021e880 /internal/game/cmd_symbol.go | |
| parent | 1cab9ca20e24742f770a676f84e4ed9f1636f297 (diff) | |
| download | thehouseoficarus-988b006a5bb9edb6465653566e7bdf8175347b8c.tar.gz | |
feat: one-way map links, blocked paths on map, map grid startup validation, user colors for maps
Diffstat (limited to 'internal/game/cmd_symbol.go')
| -rw-r--r-- | internal/game/cmd_symbol.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/cmd_symbol.go b/internal/game/cmd_symbol.go index bb97010..0c3014b 100644 --- a/internal/game/cmd_symbol.go +++ b/internal/game/cmd_symbol.go @@ -58,7 +58,7 @@ func (g *Game) executeSymbol(sess *net.Session, args []string, rawInput string) colorSpec := strings.Join(args, " ") spec := color.Parse(colorSpec) if spec.Empty() { - sess.WriteLine("Invalid color spec. Use a color number like 232 and/or bold/dim/underline.") + sess.WriteLine("Invalid color spec. Use a hex color code like FF and/or bold/dim/underline.") return } existing, ok := p.MapSymbols[p.RoomID] @@ -82,7 +82,7 @@ func (g *Game) executeSymbol(sess *net.Session, args []string, rawInput string) if colorSpec != "" { spec := color.Parse(colorSpec) if spec.Empty() { - sess.WriteLine("Invalid color spec. Use a color number like 232 and/or bold/dim/underline.") + sess.WriteLine("Invalid color spec. Use a hex color code like FF and/or bold/dim/underline.") return } } |
