diff options
| author | historia <[not public]> | 2026-06-28 02:40:30 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-28 02:40:30 -0400 |
| commit | a1b6613c6c6a2f8d6e1ecd47e766bd40f92ac295 (patch) | |
| tree | 4ff8fefb029c93f2aa3db7361658b0b4e9805b66 /internal/player | |
| parent | 87dacfbb3dd16e7f55a82361eace98f9a39d75c8 (diff) | |
| download | thehouseoficarus-a1b6613c6c6a2f8d6e1ecd47e766bd40f92ac295.tar.gz | |
feat: admin accounts, god mode, OLC commands like dig/room, 'inline' objects changed to 'local' objects
Diffstat (limited to 'internal/player')
| -rw-r--r-- | internal/player/account.go | 1 | ||||
| -rw-r--r-- | internal/player/player.go | 2 |
2 files changed, 3 insertions, 0 deletions
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 { |
