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:
Bonchellon
2026-11-28 01:52:24 +03:00
parent 5e30bd4c26
commit 3ee5956694
43 changed files with 2405 additions and 72 deletions

View File

@ -1046,3 +1046,49 @@
.ladder-price-later { color: #8F8672; -unity-font-style: normal; }
.detail-req { margin-top: 8px; }
.detail-maxed { font-size: 40px; }
/* ───────── the ending: words over the mown planet, the crew's results, the credits ───────── */
.ending-titlebox {
position: absolute; left: 0; right: 0; top: 30%;
align-items: center;
}
.ending-title { font-size: 120px; color: #FFFFFF; letter-spacing: 8px; -unity-text-align: middle-center; }
.ending-sub { font-size: 48px; color: #E6B83C; letter-spacing: 6px; -unity-text-align: middle-center; margin-top: 6px; }
.ending-line {
position: absolute; left: 10%; right: 10%; bottom: 22%;
-unity-text-align: middle-center; white-space: normal;
font-size: 40px; color: #FFFFFF;
}
.ending-stats {
position: absolute; left: 6%; top: 16%; width: 38%;
padding: 26px 34px 26px 34px;
border-radius: 18px;
background-color: rgba(8, 12, 22, 0.55);
}
.ending-stats-head { font-size: 34px; color: #E6B83C; letter-spacing: 3px; margin-bottom: 14px; }
.ending-row {
flex-direction: row; justify-content: space-between; align-items: center;
padding: 6px 0 6px 0;
border-bottom-width: 1px; border-color: rgba(255, 255, 255, 0.14);
}
.ending-row-label { font-size: 24px; color: #D9E4C2; flex-shrink: 1; white-space: normal; }
.ending-row-value { font-size: 30px; color: #FFFFFF; -unity-text-align: middle-right; margin-left: 18px; flex-shrink: 0; }
.ending-crew { font-size: 21px; color: #B8C79A; margin-top: 14px; white-space: normal; }
.ending-credits {
position: absolute; left: 6%; top: 0; width: 38%;
align-items: center;
}
.ending-credits-title { font-size: 56px; color: #FFFFFF; margin-bottom: 60px; -unity-text-align: middle-center; }
.ending-credits-role { font-size: 22px; color: #E6B83C; letter-spacing: 3px; margin-top: 46px; margin-bottom: 8px; -unity-text-align: middle-center; }
.ending-credits-name { font-size: 32px; color: #FFFFFF; margin-bottom: 4px; -unity-text-align: middle-center; white-space: normal; }
.ending-credits-motto { font-size: 26px; color: #B8C79A; margin-top: 90px; -unity-text-align: middle-center; }
.ending-theend {
position: absolute; left: 0; right: 0; top: 40%;
-unity-text-align: middle-center;
font-size: 96px; color: #FFFFFF; letter-spacing: 10px;
}
.ending-unless {
position: absolute; left: 0; right: 0; top: 54%;
-unity-text-align: middle-center;
font-size: 30px; color: #E6B83C;
}