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_prompt.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_prompt.go')
| -rw-r--r-- | internal/game/cmd_prompt.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/game/cmd_prompt.go b/internal/game/cmd_prompt.go index d91556a..110d08c 100644 --- a/internal/game/cmd_prompt.go +++ b/internal/game/cmd_prompt.go @@ -28,7 +28,7 @@ func (g *Game) doPrompt(sess *net.Session, input string) { if prompt == "" { prompt = "> " } - sess.WriteLine(fmt.Sprintf("\nPrompt: %s", prompt)) + sess.WriteLine(fmt.Sprintf("Prompt: %s", prompt)) sess.WriteLine("Use 'prompt <value>' to change. Use 'prompt none' for blank. Use 'prompt reset' to restore default.") return } @@ -36,18 +36,18 @@ func (g *Game) doPrompt(sess *net.Session, input string) { if input == "reset" { p.Prompt = "> " g.AccountStore.SaveCharacter(p) - sess.WriteLine("\nPrompt reset to default.") + sess.WriteLine("Prompt reset to default.") return } if input == "none" { - p.Prompt = " " + p.Prompt = "" g.AccountStore.SaveCharacter(p) - sess.WriteLine("\nPrompt set to blank.") + sess.WriteLine("Prompt set to blank.") return } p.Prompt = input g.AccountStore.SaveCharacter(p) - sess.WriteLine(fmt.Sprintf("\nPrompt set to: %s", input)) + sess.WriteLine(fmt.Sprintf("Prompt set to: %s", input)) } |
