From 5b9a75a1520a198c9c6b1f1f55e05c9f4aab5629 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 22 Jun 2026 04:24:11 -0400 Subject: feat: map now only reveals with exploration. players can set custom map symbols. --- internal/game/cmd_consume.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'internal/game/cmd_consume.go') diff --git a/internal/game/cmd_consume.go b/internal/game/cmd_consume.go index 3782237..fa55d3d 100644 --- a/internal/game/cmd_consume.go +++ b/internal/game/cmd_consume.go @@ -72,7 +72,7 @@ func (g *Game) doEat(sess *net.Session, input string) { } if !p.OptionBool("queue_silently") { - sess.WriteLine(fmt.Sprintf("\nYou prepare to eat %s.", g.itemColorize(sess, def, def.Name))) + sess.WriteLine(fmt.Sprintf("You prepare to eat %s.", g.itemColorize(sess, def, def.Name))) } } @@ -210,7 +210,7 @@ func (g *Game) doDrink(sess *net.Session, args []string) { } if !p.OptionBool("queue_silently") { - sess.WriteLine(fmt.Sprintf("\nYou prepare to drink the %s.", g.itemColorize(sess, def, def.Name))) + sess.WriteLine(fmt.Sprintf("You prepare to drink the %s.", g.itemColorize(sess, def, def.Name))) } } @@ -234,7 +234,7 @@ func (g *Game) applyPotion(sess *net.Session, p *player.Player, itemID string, d if p.Battery > 100 { p.Battery = 100 } - sess.WriteLine(fmt.Sprintf("\nYou drink the %s. Your battery is restored by %d%%.", + sess.WriteLine(fmt.Sprintf("You drink the %s. Your battery is restored by %d%%.", g.itemColorize(sess, def, def.Name), batteryRestore)) case "heal", "": @@ -253,7 +253,7 @@ func (g *Game) applyPotion(sess *net.Session, p *player.Player, itemID string, d p.HP += healAmount } actualHeal := p.HP - before - sess.WriteLine(fmt.Sprintf("\nYou drink the %s. You restore %d hitpoints.", + sess.WriteLine(fmt.Sprintf("You drink the %s. You restore %d hitpoints.", g.itemColorize(sess, def, def.Name), actualHeal)) case "all_combat": @@ -266,7 +266,7 @@ func (g *Game) applyPotion(sess *net.Session, p *player.Player, itemID string, d TicksLeft: duration, }) } - sess.WriteLine(fmt.Sprintf("\nYou drink the %s. Your combat stats are boosted by %d%% for %d ticks.", + sess.WriteLine(fmt.Sprintf("You drink the %s. Your combat stats are boosted by %d%% for %d ticks.", g.itemColorize(sess, def, def.Name), def.PotionBonus, duration)) default: @@ -276,7 +276,7 @@ func (g *Game) applyPotion(sess *net.Session, p *player.Player, itemID string, d BonusPercent: def.PotionBonus, TicksLeft: duration, }) - sess.WriteLine(fmt.Sprintf("\nYou drink the %s. Your %s is boosted by %d%% for %d ticks.", + sess.WriteLine(fmt.Sprintf("You drink the %s. Your %s is boosted by %d%% for %d ticks.", g.itemColorize(sess, def, def.Name), effect, def.PotionBonus, duration)) } -- cgit v1.2.3