Banana 2077
README.md
flow
The quests runtime. The Quests component calls F.start(env) once in start()
and gets back a session. Call session.tick() at about 4 Hz and
session.stop() in onDestroy.
What a session does, all on game.rules events:
- Registers the cast's quest dialogue (
content.TALK) as talk providers at priority 50. - Starts The Rotten Apple on the first run of a profile. It also keeps the
job in step with the street:
bossCuemoves it to take down Don,bossDefeatedto see Dex, and a death reset puts it back to clear the street. A save withdon_defeatedset never needs the street again. - Keeps the live objective counters current ("Clear the Rotten Crew 3/8", "Find the clues 2/3").
- Requests each gig's fight from the combat slice while its stage is active, and
cancels it when the stage ends.
encounterClearedadvances the stage. - Spawns the props a stage needs and registers them as interactables:
terminals, crane console and server open a Breach Protocol; clues and the
guitar are picked up.
breachDoneadvances the stage or asks V to retry. - Places Dex's phone calls once the main job reaches the docks and again once
it is done. Each call opens two gigs.
env.phone(call)draws the card. - Moves the one neon waypoint beacon to the tracked quest's waypoint. It is coloured by quest kind and hidden when V stands next to it.
session.stop() unsubscribes everything and removes the providers, props,
interactables and beacon.