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

Sense

The only place a foe is allowed to learn anything about Ilva.

by◐Catapulta33·posted 9d ago
What it does

umbral.foes.Sense

The only place a foe is allowed to learn anything about Ilva.

  • Sense.body() — the entity twoDKit's motor drives.
  • Sense.where(e) — its position, read defensively.
  • Sense.noise() — 0 silence .. 1 a bell at arm's length, plus where the sound came from. Her feet on wet stone raise it, and so does her bell.
  • Sense.bell() — did her Badajo or her healing ring sound? It reads umbral.Ilva's swing, healing and the fall of coro.
  • Sense.hurtPlayer(amount, fromX) — a wound, through umbral.Combat or umbral.Ilva:takeHit, falling back to writing health. Reports which one answered, nil if none could.

Blind foes read noise and nothing else: they know where a SOUND was, never where she is.

Interface

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

conforms to

zero/source-extract/v2

UMBRAL · foes · what the blind things are allowed to know. Nothing in Véspera simply reads where Ilva is. What a foe can hear arrives here as NOISE: her feet on wet stone, her Badajo, her bell. A player who stands still, or walks, is a player the Penitente cannot find.

body( ) → void

The player's body: the entity twoDKit's motor drives.

where(e: ?) → void

argtypedescription
e?

bell( ) → void

Did her bell ring since we last looked? `umbral.Ilva` reports a swing in progress, a healing ring being held, and its Coro — and a falling Coro is a bell that has just been struck.

noise( ) → void

What the room hears right now: 0 is silence, 1 is a bell at arm's length. Also answers where it came from, which is all a blind thing ever gets.

hurtPlayer(amount: ?, fromX: ?) → void

Take a wound off Ilva. `umbral.Ilva` exposes `takeHit(damage, dirX)`, so that is what a foe calls; the rest is there so this keeps working if the ilva slice renames it, and the field write is the last resort.

argtypedescription
amount?
fromX?

Sub-parts

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

Showing up to 3 levels deep. Open a part to see what it holds further down.

11+items
◇
component · born here
❒asset
# umbral.Ilva Ilva herself, beyond her body: the bell fragments she has left, the Coro, the Badajo's two swings, i-frames and knockback, the healing ring, death and the return to the last bell, and the game's signature verb — ring a bell and the room's hidden geometry shows. **Attaches to:** the player body, beside `twoDKit.Player2D`. The motor on that body owns her movement; this component never replaces it, it reads `state()` and touches her position only to hold her during a healing ring, to shove her with a blow, and to put her back at the last bell. It reads its controls through the `umbral` controlsKit scheme (`Combat.registerScheme`). ## Fields | Field | Sync | What | |---|---|---| | `health` | yes | Bell fragments left. The HUD draws this. | | `healthMax` | yes | Bell fragments she can hold. | | `coro` | yes | The Coro: filled by a landed strike, spent by the healing ring. | | `coroMax` | yes | How much Coro she can hold. | | `dead` | yes | Down, and walking back to the last bell. | | `swing` | yes | `light`, `heavy`, or empty. | | `chain` | yes | Where she is in the three-strike chain. | | `healing` | yes | Holding the healing ring: held still until it lands or she lets go. | | `revealed` | yes | The room's hidden geometry is lit by the last echo. | | `lastBell` | yes | The last bell she rang, bare name. Respawn goes there. | | `invuln` | no | Seconds of i-frames left after a blow. | ## Verbs - **Toque ligero** — tap attack. Three chainable strikes; the third reaches further and recovers slower. A press inside `chainFrom` queues the next one. - **Toque pesado** — hold attack past the light swing. Descending, heavier, anchors her. - **Campanada** — hold heal standing on the ground with Coro to spare. She is pinned to the spot for `healTime`, pays `coroPerHeal`, gains `healAmount`. - **Eco** — press echo. Rings the nearest `bell_` in `ecoRadius` and shows every `hidden_` entity for `ecoTime` seconds. A swing that touches a bell does the same. ## Methods `takeHit(damage, dirX)` — a blow from anything that wants to hurt her. `kill()`, `addCoro(amount)`, `status()`.
▲ 0↑ born
▣
module · born here
❒asset
# umbral.Combat The combat core: everything the Badajo obeys, in one place, so the enemy, HUD and progression slices read the same numbers instead of three copies of them. **Called by:** `umbral.Ilva` (the swings, the echo, the ladder). Read by the enemies slice for `takeHit` and the HUD slice for nothing at all — the HUD reads `umbral.Ilva`'s public fields. ## What it exports | Name | What | |---|---| | `Combat.SWING` | `light` and `heavy`: damage, whole-swing time, `chainFrom`, `hitAt`, reach, height, all from `Config.PLAYER`. | | `Combat.CORO_PER_HIT` / `CORO_PER_HEAL` / `HEAL_AMOUNT` / `HEAL_TIME` / `INVULN` / `KNOCKBACK` | The Coro economy and the feel of taking a blow. | | `Combat.ECHO_TIME` / `ECHO_RADIUS` | How long hidden geometry stays lit, and how far a bell's echo reaches. | | `Combat.ABILITIES`, `Combat.LADDER` | The movement verbs as data: `dash`, `doubleJump`, `wallJump`, `glide`, all locked at the start. | | `Combat.unlock(id)` / `Combat.lock(id)` / `Combat.unlocked(id)` / `Combat.onUnlock(fn)` | The ladder. `umbral.Ilva` mirrors it onto the motor, so a region handing her a verb is one call. | | `Combat.strike(cx, cy, hw, hh, damage, dirX, skip)` | Resolve a hit box. Returns `landed, rung`. | | `Combat.ringNearest(x, y, radius)` | Ring the closest `bell_` entity in reach. Returns its bare name. | | `Combat.setHiddenVisible(on)` | Show or hide every `hidden_` entity. | | `Combat.registerScheme()` | Register controlsKit's `umbral` scheme: platformer + attack / echo / heal, on keyboard, gamepad and touch. | ## The two conventions other slices use - **Anything a swing can hurt** carries a component with a `takeHit` method, called as `comp:takeHit(damage, dirX)`. Nothing registers and nothing is listed: `strike` finds it by reflection over the scene, so an enemy written tomorrow is hittable the moment it exists. - **Hidden geometry** is any entity named `hidden_<anything>`; **a bell** is any entity named `bell_<name>`. These are the spec's words, not a list this module holds.
▲ 0↑ born
backing path · umbral/foes/Sense.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 on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬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.