aboutsummaryrefslogtreecommitdiff
path: root/internal/item/item.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-02 01:54:37 -0400
committerhistoria <[not public]>2026-10-02 01:54:37 -0400
commitd3a305d1d7962f82af2397760cf8008758bddd1d (patch)
treef91f0deb342c20f2993e5366f772c3432648f426 /internal/item/item.go
parent8eea0e4e06a4aaa6a18edabd9897d3bea1ea2ca0 (diff)
downloadthehouseoficarus-d3a305d1d7962f82af2397760cf8008758bddd1d.tar.gz
feat: better 'list' bet table, multiple bets in baccarat
Diffstat (limited to 'internal/item/item.go')
-rw-r--r--internal/item/item.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/item/item.go b/internal/item/item.go
index 809959e..c083d8e 100644
--- a/internal/item/item.go
+++ b/internal/item/item.go
@@ -91,6 +91,10 @@ type ItemDef struct {
Tool *ToolDef `yaml:"tool,omitempty"`
Requirements map[string]int `yaml:"requirements,omitempty"`
+ // Optional inventory-only casino reference capability. Supported precision:
+ // 0 (whole percent) or 2 (hundredths of a percent); nil grants nothing.
+ HouseEdgePrecision *int `yaml:"house_edge_precision,omitempty"`
+
MaxQuality int `yaml:"max_quality"`
Craft CraftList `yaml:"craft,omitempty"`