package game

import "fmt"

// Prefixes embed grouping hints for the client adventure log (no DB migration).
// Stripped for human-readable display outside structured UIs.
const (
	AdventureLogEncounterPrefix = "__AH_ENC__"
	AdventureLogBattlePrefix    = "__AH_BAT__"
)

// FormatEncounterLogLine is logged once when combat starts (before battle detail lines).
func FormatEncounterLogLine(enemyName string) string {
	return AdventureLogEncounterPrefix + fmt.Sprintf("You encounter %s.", enemyName)
}

// FormatBattleLogLine wraps a single combat narration line (hit, dodge, block, stun, debuff).
func FormatBattleLogLine(msg string) string {
	return AdventureLogBattlePrefix + msg
}
