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

survival

The `game.survival` module handles player interactions with the environment, including picking up items, opening doors, entering hiding spots, and solving the fuse-and-key puzzle required to escape. It defines the mechanics for environmental engagement and progression towards the…

by◐chefcho·posted 3d ago
What it does

survival

The game.survival module handles player interactions with the environment, including picking up items, opening doors, entering hiding spots, and solving the fuse-and-key puzzle required to escape. It defines the mechanics for environmental engagement and progression towards the game's objective. Other game slices, such as game.player (to update inventory) or game.screens (to display objectives), will call this module to manage these interactions and their effects on the game state.

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/survival.module — everything the player can touch. The maintenance key, the station fuse, filter canisters and bottles as pickups; the locked maintenance door that only the key opens; the fuse socket at the evacuation stair that only the fuse fits, and the stair it brings back to life; three hiding spots; and the three documents that tell what happened to Rescue Team Four. Built on the engine's own surface: entities, BoxCollider, the Model and Light components, the default input map's `interact` control, and the player's body reached through the scene's local player. Nothing here is a second copy of a rule: the items, the documents, the noise levels and the shared state all come from `game.core.module`, and what the slice does is announced on Core's bus so the creatures, the screens and the soundscape hear it. Every entry point is guarded. `update` warns once and carries on rather than raising into the entry point.

LightModelAudio

warnOnce(msg: ?) → void

argtypedescription
msg?

material(name: ?) → void

argtypedescription
name?

clip(name: ?) → void

argtypedescription
name?

sound(name: ?, volume: ?, pitch: ?) → void

One non-spatial source at the player's ear: everything this slice sounds is happening at arm's length, so it does not need placing in the world.

argtypedescription
name?
volume?
pitch?

makeNoise(pos: ?, loudness: ?, kind: ?) → void

Noise: what the creatures hear. Core's bus is the game's own vocabulary; the creatures slice converts it to aiKit's bus and nothing else may.

argtypedescription
pos?
loudness?
kind?

find(name: ?) → void

Spawning. Names are this slice's own ("sv_"), and a stale one from an earlier load is replaced rather than stacked.

argtypedescription
name?

fresh(name: ?) → void

argtypedescription
name?

tintOf(opts: ?) → void

argtypedescription
opts?

prop(name: ?, model: ?, pos: ?, scale: ?, opts: ?) → void

A prop: one mesh, the station's material, a tint where it needs its own colour. `opts.collide` gives it a box the player cannot walk through.

argtypedescription
name?
model?
pos?
scale?
opts?

glow(name: ?, pos: ?, colour: ?, intensity: ?, radius: ?, kind: ?) → void

argtypedescription
name?
pos?
colour?
intensity?
radius?
kind?

bodyEntity( ) → void

The player's body and camera, resolved every frame (they are spawned per peer and re-established across a mode flip).

rigFor(body: ?) → void

argtypedescription
body?

forwardOf(rig: ?, body: ?) → void

argtypedescription
rig?
body?

addTarget(t: ?) → void

The world this slice builds on top of the station.

argtypedescription
t?

dropTarget(t: ?) → void

argtypedescription
t?

pickup(id: ?, label: ?, pos: ?, opts: ?) → void

argtypedescription
id?
label?
pos?
opts?

use(self: ?) → void

argtypedescription
self?

document(docId: ?, pos: ?, rot: ?, name: ?) → void

argtypedescription
docId?
pos?
rot?
name?

use( ) → void

buildDoor( ) → void

use(self: ?) → void

argtypedescription
self?

buildSocket( ) → void

use(self: ?) → void

argtypedescription
self?

hidingSpot(name: ?, label: ?, verb: ?, anchor: ?, look: ?) → void

A spot is a place the body is put into and held in: the camera keeps its look, the body cannot walk out, and aiKit is told the player is not there. What a hunting infected does with that is aiKit's own concealment, the same rule a guard in the library uses.

argtypedescription
name?
label?
verb?
anchor?
look?

use( ) → void

buildHiding( ) → void

hide(name: ?) → void

Hiding, in and out.

argtypedescription
name?

unhide( ) → void

throwBottle(body: ?, rig: ?) → void

Bottles: the loudest thing the player can put somewhere they are not.

argtypedescription
body?
rig?

landBottle(shot: ?) → void

argtypedescription
shot?

tickShots(dt: ?) → void

argtypedescription
dt?

buildFurniture( ) → void

The station's own props: the bench the fuse waits on, and the papers.

buildDocuments( ) → void

buildPickups( ) → void

label(text: ?, style: ?) → void

argtypedescription
text?
style?

promptTree(keyText: ?, text: ?, notice: ?, locked: ?, hint: ?) → void

argtypedescription
keyText?
text?
notice?
locked?
hint?

setPrompt(keyText: ?, text: ?, notice: ?, locked: ?, hint: ?) → void

argtypedescription
keyText?
text?
notice?
locked?
hint?

hidePrompt( ) → void

usePressed( ) → void

Input. The engine's own `interact` control: E, a pad's west button, or the on-screen button on a phone.

acquireInput( ) → void

tickAnims(dt: ?) → void

Per frame.

argtypedescription
dt?

nearest(body: ?) → void

argtypedescription
body?

tick(dt: ?) → void

argtypedescription
dt?

start(ctx: ?) → void

The contract.

argtypedescription
ctx?

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

argtypedescription
name?
fn?

update(dt: ?) → void

argtypedescription
dt?

onPlayer(player: ?) → void

argtypedescription
player?

debugState( ) → void

What the slice is holding, for a probe in the shell to read.

stop( ) → void

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.

70+items
·
soundclip · born here
❒asset
# door_open [[describe]] Say what this sound is and what it is for.
▲ 0↑ born
·
soundclip · born here
❒asset
# fuse_power [[describe]] Say what this sound is and what it is for.
▲ 0↑ born
·
soundclip · born here
❒asset
# pick_clink [[describe]] Say what this sound is and what it is for.
▲ 0↑ born
◐❒asset
▲ 0↑ born
▣
module · born here
❒asset
# core The `game.core` module defines the shared constants, rules, and global state for the game "LAST CARRIAGE: EVACUATION." It provides a central source of truth for game data like world layout, noise levels, item definitions, and narrative documents. All other game slices (`game.atmos`, `game.player`, etc.) require this module to access consistent game parameters and to interact with the shared game state and event bus.
▲ 0↑ born
◐❒asset
▲ 0↑ born
◐❒asset
▲ 0↑ born
◐❒asset
▲ 0↑ born
◐❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
▦
texture · born here
❒asset
▲ 0↑ born
backing path · game/survival.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.