Log inGet started
World

Banana 2077

Branchmain
Branchesmain
Commit49a1306fab

README.md

CrewDirector

The Rotten Crew and the people of Peel Kabuki. Attached by the scene entrypoint to mount_enemies in play.

  • Spawns the 8 thugs (tomato, broccoli punk, pineapple bruiser) at R.layout.thugSpawns, and Don Aubergine at R.layout.bossSpawn on bossCue, with a drop-in landing.
  • Runs their AI: idle → chase → windup → strike → recover, plus flinch and death. Every third boss attack is a telegraphed ground slam with a shockwave.
  • Registers each enemy as a baton target with game.rules. A hit knocks back, flashes white, splatters juice in the enemy's colour, and reports the kill.
  • Drops banana-coin eddies and healing snacks that the player collects by walking over them.
  • While the sunglasses are on, outlines enemies within scan range.
  • A crowd of fruit civilians (crowd, 16 by default) walks both sidewalks and scatters from fights. Every other one (never the watermelon cop) carries a Neo-Tokyo light-up umbrella from game.enemies.crew (Crew.prop("umbrella")), its neon picked from UMBRELLAS, held in the right hand with the arm locked in place while the legs walk.
  • Hides distant characters, and puts everything back on reset.

Fields: cullDistance (metres), civilians (bool), crowd (how many civilians).