aboutsummaryrefslogtreecommitdiff
path: root/internal/player
diff options
context:
space:
mode:
Diffstat (limited to 'internal/player')
-rw-r--r--internal/player/account.go1
-rw-r--r--internal/player/player.go2
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 {