▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage arpgKit.package·originates fromworld 89ab6101-b…
state
Shared state on this peer: the running ArpgGame's synced fields and host calls, the built level, its rooms and theme, the local hero, and the kit's event bus (`on(name, fn)` / `emit`: levelBuilt, theme, kill, loot, roomCleared, exitOpen, levelUp, heroDied, heroRevived, classChang…
by·posted 7d ago
What it does
arpgKit.state
Shared state on this peer: the running ArpgGame's synced fields and host calls, the built level, its rooms and theme, the local hero, and the kit's event bus (on(name, fn) / emit: levelBuilt, theme, kill, loot, roomCleared, exitOpen, levelUp, heroDied, heroRevived, classChanged, hudChanged, gold, cast, castRefused). Used by every component of the kit; games reach it through Arpg.on.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.