Ending: the Director's call, flyovers into orbit, Earth turning green, credits
When the planet is mown the ending plays by itself: G.R.A.S.S.A. calls, the camera skims the stubble into the base, circles it and rises without a cut into orbit over the bald planet (title, the crew's results). Then a jump across space to a scorched, dried-out Earth: a rocket from Herbaria-7 passes the lens and lands in Africa, and the green spreads from there over the whole globe (seed pods, a glowing front, clouds and blue air coming back). The credits roll over the green Earth (PlayWay credited as publisher), then THE END and a card to keep mowing, leave a review or go to the menu. Space, Enter or Esc skips to the green Earth and the card. - EndingCinematic, EndingEarth (globe, air shell, rocket, seeds), SpaceSky (split out of the intro), EarthGlobe/EarthAir shaders and Earth maps in Resources/Ending - the far meadow shows as stubble once the planet is mown - "all of it" mown now means no sector with grass left (MowMap.Left); mown area summed in double - the crew's total pay and play time are counted and saved for the results - the "ending" cheat; -ending previews it in a test world; the -ending bot shoots every stage - loc for the new lines in all 11 languages Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -65,6 +65,8 @@ namespace GrassCutter
|
||||
/// <summary>Rings with this line. Calls wait their turn.</summary>
|
||||
/// <summary>The trailer: no calls but the ones it asks for.</summary>
|
||||
public static bool Quiet;
|
||||
/// <summary>A call is over: which line, and whether V put the phone away before he finished.</summary>
|
||||
public static event Action<string, bool> Ended;
|
||||
|
||||
public static void Call(string line)
|
||||
{
|
||||
@ -73,6 +75,12 @@ namespace GrassCutter
|
||||
I._queue.Enqueue(line);
|
||||
}
|
||||
|
||||
/// <summary>Forgets every call still waiting to ring (the one on the line goes on).</summary>
|
||||
public static void Drop()
|
||||
{
|
||||
if (I) I._queue.Clear();
|
||||
}
|
||||
|
||||
/// <summary>The opening film plays the call itself: no ring, the phone already up.</summary>
|
||||
public static IEnumerator Speak(string line, bool hangUp)
|
||||
{
|
||||
@ -178,6 +186,7 @@ namespace GrassCutter
|
||||
}
|
||||
_view?.Show(false);
|
||||
_on = false;
|
||||
Ended?.Invoke(line, hungUp);
|
||||
}
|
||||
|
||||
/// <summary>The jaw follows how loud he is, quick to open and a little slower to shut.</summary>
|
||||
@ -358,7 +367,8 @@ namespace GrassCutter
|
||||
return;
|
||||
}
|
||||
foreach (var (at, line) in Milestones)
|
||||
if (_mown < at && mown >= at) Call(line);
|
||||
// the last one is the ending's: it plays the call inside its own film
|
||||
if (_mown < at && mown >= at && line != "dir_m100") Call(line);
|
||||
if (machine && !_machine) Call("dir_machine");
|
||||
if (combine && !_combine) Call("dir_combine");
|
||||
if (drones && !_drones) Call("dir_drones");
|
||||
|
||||
Reference in New Issue
Block a user