From a1b6613c6c6a2f8d6e1ecd47e766bd40f92ac295 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 28 Jun 2026 02:40:30 -0400 Subject: feat: admin accounts, god mode, OLC commands like dig/room, 'inline' objects changed to 'local' objects --- internal/player/account.go | 1 + internal/player/player.go | 2 ++ 2 files changed, 3 insertions(+) (limited to 'internal/player') diff --git a/internal/player/account.go b/internal/player/account.go index 99a052c..f8da433 100644 --- a/internal/player/account.go +++ b/internal/player/account.go @@ -7,4 +7,5 @@ type Account struct { Aliases map[string]string `yaml:"aliases"` Colors map[string]string `yaml:"colors"` Options map[string]any `yaml:"options"` + Admin bool `yaml:"admin"` } diff --git a/internal/player/player.go b/internal/player/player.go index ea2487c..7d9b397 100644 --- a/internal/player/player.go +++ b/internal/player/player.go @@ -200,6 +200,8 @@ type Player struct { ActiveBuffs []PotionBuff `yaml:"-"` MapSymbols map[int]MapSymbolData `yaml:"map_symbols,omitempty"` Stats PlayerStats `yaml:"stats"` + GodMode bool `yaml:"-"` + GodBackup map[SkillName]int `yaml:"-"` } type MapSymbolData struct { -- cgit v1.2.3