Log inGet started
Package

rules.module

Newest version

README.md

rules

Smog's single shared module: every tuning constant, the layout anchors (spawn, lamp sites, evidence, gate, yard, Engine, valves), the round state (phase, health, oil, lantern, evidence, valves, smog), and the event bus the slices talk through.

Owned by the lead. Every slice require("game.rules"), reads the constants, calls the functions and subscribes with Rules.on(event, fn); no slice edits it. The scene entrypoint calls Rules.reset() on load and Rules.tick(dt) each frame. The full event list, with who emits each one, is at the top of init.luau and in /zero/source/design/spec.md.