diff options
| author | historia <[not public]> | 2026-06-22 04:24:11 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-22 04:24:11 -0400 |
| commit | 5b9a75a1520a198c9c6b1f1f55e05c9f4aab5629 (patch) | |
| tree | 18f500ca3492ba206a3f66e2f01146b05a1675b2 /internal/game/cmd_option.go | |
| parent | 7f07c7236578e1a7bcef0282ff9d7f5bf8c7c045 (diff) | |
| download | thehouseoficarus-5b9a75a1520a198c9c6b1f1f55e05c9f4aab5629.tar.gz | |
feat: map now only reveals with exploration. players can set custom map symbols.
Diffstat (limited to 'internal/game/cmd_option.go')
| -rw-r--r-- | internal/game/cmd_option.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/game/cmd_option.go b/internal/game/cmd_option.go index ff7725c..a5bf11c 100644 --- a/internal/game/cmd_option.go +++ b/internal/game/cmd_option.go @@ -45,14 +45,14 @@ func (g *Game) doOption(sess *net.Session, input string) { name := strings.ToLower(parts[0]) def := player.GetOptionDef(name) if def == nil { - sess.WriteLine(fmt.Sprintf("\nUnknown option: %s", name)) + sess.WriteLine(fmt.Sprintf("Unknown option: %s", name)) return } if len(parts) == 1 { val := formatOptionValue(p, def) valid := formatValidValues(def) - sess.WriteLine(fmt.Sprintf("\n%s = %s [%s]", def.Name, val, valid)) + sess.WriteLine(fmt.Sprintf("%s = %s [%s]", def.Name, val, valid)) sess.WriteLine(fmt.Sprintf(" %s", def.Description)) return } @@ -61,7 +61,7 @@ func (g *Game) doOption(sess *net.Session, input string) { parsed, ok := parseOptionValue(def, value) if !ok { valid := formatValidValues(def) - sess.WriteLine(fmt.Sprintf("\nInvalid value for %s: %s [%s]", def.Name, value, valid)) + sess.WriteLine(fmt.Sprintf("Invalid value for %s: %s [%s]", def.Name, value, valid)) return } |
