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/item/store.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/item') diff --git a/internal/item/store.go b/internal/item/store.go index d73d6fe..b6e5567 100644 --- a/internal/item/store.go +++ b/internal/item/store.go @@ -76,3 +76,8 @@ func (s *ItemStore) IDSet() map[string]bool { } return ids } + +func (s *ItemStore) Reload(dataDir string) { + s.cache = make(map[string]*ItemDef) + s.pathIndex = behavior.BuildPathIndex(filepath.Join(dataDir, "items")) +} -- cgit v1.2.3