Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld 07a07267-3…

core

<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->

by◐lolboy21·posted 1mo ago
What it does

core

<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->

TODO: describe this module.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

game/core.module — the contract every slice of UNBROKEN FRONT shares. This is the ONE file the slices agree through. Nothing here reaches into a slice, and no slice requires another slice: rules are read from `Core.Rules`, live state is read and written on `Core.State`, and everything that happens is announced on `Core.Events`. That is what lets six slices be built at the same time without touching each other. OWNERSHIP: this file belongs to the SKELETON. Slices read it and must not write it. A slice that needs a new constant adds it to its own module.

on(name: ?, fn: ?) → void

argtypedescription
name?
fn?

emit(name: ?, payload: ?) → void

argtypedescription
name?
payload?

publish(name: ?, payload: ?) → void

Announce and record in one call, so a late reader sees the last one.

argtypedescription
name?
payload?

setPhase(next: ?) → void

argtypedescription
next?

tickPhase(dt: ?) → void

argtypedescription
dt?

mounts( ) → void

The shared surface. `Core.mounts().player()` is rebuilt each call because the engine mints a new avatar for every peer and again on a respawn — a stashed result is a stale body.

player( ) → void

entity(name: ?) → void

argtypedescription
name?

eye( ) → void

World position of the local player's eye, or nil before they exist.

clamp(v: ?, lo: ?, hi: ?) → void

argtypedescription
v?
lo?
hi?

lerp(a: ?, b: ?, t: ?) → void

argtypedescription
a?
b?
t?

approach(current: ?, target: ?, rate: ?, dt: ?) → void

Frame-rate independent exponential approach. `rate` is 1/seconds.

argtypedescription
current?
target?
rate?
dt?

hash01(n: ?) → void

Deterministic hash noise in [0,1) — same value every session.

argtypedescription
n?

smoothstep(a: ?, b: ?, x: ?) → void

argtypedescription
a?
b?
x?

rotateAbout(v: ?, axis: ?, angle: ?) → void

Rodrigues rotation of `v` about unit `axis` by `angle`.

argtypedescription
v?
axis?
angle?

damageFor(weapon: ?, zone: ?, distance: ?) → void

Damage a shot does, once zone, distance and weapon are known.

argtypedescription
weapon?
zone?
distance?

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

3items
This part has no composite children. See the Files segment for its leaf payloads.
backing path · game/core.module

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.