diff options
Diffstat (limited to 'internal/player/player.go')
| -rw-r--r-- | internal/player/player.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/player/player.go b/internal/player/player.go index 1ddb3ea..7953691 100644 --- a/internal/player/player.go +++ b/internal/player/player.go @@ -189,6 +189,7 @@ type Player struct { Sneaking bool `yaml:"-"` SneakNotified map[string]bool `yaml:"-"` ActiveBuffs []PotionBuff `yaml:"-"` + Stats PlayerStats `yaml:"stats"` } type PotionBuff struct { @@ -311,6 +312,10 @@ func New(name string) *Player { AttackStyle: Accurate, Prompt: "> ", RoomID: 0, + Stats: PlayerStats{ + RoomsVisited: make(map[int]bool), + MobKills: make(map[string]int), + }, } for _, s := range AllSkills { p.Skills[s] = 0 |
