diff options
Diffstat (limited to 'internal/player/player.go')
| -rw-r--r-- | internal/player/player.go | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/internal/player/player.go b/internal/player/player.go index 43f5d7e..5acced6 100644 --- a/internal/player/player.go +++ b/internal/player/player.go @@ -7,6 +7,7 @@ import ( "thehouseoficarus/internal/behavior" "thehouseoficarus/internal/item" + "thehouseoficarus/internal/prediction" ) type SkillName string @@ -194,13 +195,14 @@ type Player struct { // here, and the same save that settles or refunds the round removes it. // If the process dies with an entry still listed, startup returns the // stake (refund-on-lost-round). See PendingWager. - PendingWagers []PendingWager `yaml:"pending_wagers,omitempty"` - Description string `yaml:"description"` - AttackStyle AttackStyle `yaml:"attack_style"` - Prompt string `yaml:"prompt"` - Options map[string]any `yaml:"-"` - Flags map[string]any `yaml:"flags"` - PendingSequence *PendingSequence `yaml:"pending_sequence,omitempty"` + PendingWagers []PendingWager `yaml:"pending_wagers,omitempty"` + PredictionContracts []prediction.Contract `yaml:"prediction_contracts,omitempty"` + Description string `yaml:"description"` + AttackStyle AttackStyle `yaml:"attack_style"` + Prompt string `yaml:"prompt"` + Options map[string]any `yaml:"-"` + Flags map[string]any `yaml:"flags"` + PendingSequence *PendingSequence `yaml:"pending_sequence,omitempty"` RegenerateTick int AmmoQty int `yaml:"ammo_qty,omitempty"` Action *behavior.Action `yaml:"-"` |
