Log inGet started
World

Banana 2077

Branchmain
Branchesmain
Commit49a1306fab

README.md

props

The 3D things the quests slice puts in Banana City. Every prop is a few flat-shaded boxes and diamonds, built once per kind as cached runtime meshes. The neon colours come from game.quests.materials.

  • P.spawn(parent, name, kind, x, y, z, yaw?) spawns one interactable prop. kind is terminal, crane, server, clue or guitar. Each prop is a dark casing plus a neon part with a floating marker diamond. P.despawn(e) removes it.
  • P.groundY(x, z, fallback?) gives the walkable height under a point, from a short downward raycast.
  • P.beacon(parent) builds the waypoint beacon: a 90 m neon beam with a diamond 4 m up, visible across the city. P.moveBeacon, P.showBeacon and P.colorBeacon (a P.MAT key) update it. Each of them changes nothing when nothing differs.

game.quests.flow decides when props exist and where the beacon stands.