Log inGet started
Package

props.module

Newest version

README.md

game.hacking.props

The hackable street furniture of Banana City as procedural props: an ATM, a vending machine, a public access terminal and a wall-mounted security camera. Each kind is a few flat-shaded meshes built once (dark case, neon trim, lit screen) plus an optional Text3D sign under one root, so culling a prop costs a single position write. Called by the Hacking component, which places them, wires each one as an interactable and culls them at 4 Hz.

  • P.spawn(parent, name, kind, x, y, z, yaw) returns a Prop whose back stands at the point given, facing yaw (local +Z).
  • P.snapToWall slides a spot back against the facade behind it; P.groundY reads the walkable height.
  • P.setHacked(prop, true) turns the screen (or the camera's red eye) off.
  • P.cull(prop, x, z, range) parks the prop when V is out of range.