Compare commits

...

13 Commits

Author SHA1 Message Date
c7ca594b53 Key hints follow the player's own keys; down in fly mode is Ctrl only
The prompts on the HUD and in build mode named E, R, T, LMB and the rest
outright, so they were wrong for anyone who had set other keys. Sixteen of
them now take the key from Binds.Cap: throw / drop / turn, hop off, piece
upgrades, the build help strip, belt laying and moving, the pickup's bed,
'too far', and the three opening hints. The build help strip redraws when
a key is set.

The English text is the key of every translation, so the eleven tables
and the translators' context notes carry the same placeholders
(extract.py --strict: nothing missing, no placeholder mismatch). Turkish
drops the case endings that hung on the key letter.

Ctl: C no longer means 'down' in the cheat fly mode (it is Cruise; the
console's help already said Ctrl), and ShakePressed, which nothing called,
is gone.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 19:51:30 +03:00
755faf3c62 ~upd 2026-11-21 15:02:17 +06:00
ae558b8e77 Demo build: 150 kg goal, end screen, separate AppId and store assets
GC_DEMO define (ProjectBuilder GC_DEMO=1 / -demo) builds GrassCutterDemo.exe
for app 5668050 with its own product name, version 0.1-demo and no
achievements. Purchases lock after shipping 150 kg; a goal label and a
thanks/wishlist card follow. Menu gets a DEMO badge and wishlist button.
Store texts (12 languages) and DEMO-badged capsules for the demo page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 19:07:43 +06:00
ad2154b38c Release checklist: no cheat console for players, Steam required, Steam's language wins when changed, menu links, head bob toggle
- The cheat console opens only in the editor, a development build, or with -gcdev
- Without steam_appid.txt next to the exe, a failed Steam start says so and quits instead of running offline; -nosteam only works in our own builds
- A language picked in the game's Steam properties overrides the one saved in the game, if it changed since
- Main menu: language button, Steam page (overlay, else browser), feedback (Steam discussions); "early build" and the AppID gone from the footer
- Settings > Game: head bob on/off
- The cursor stays inside the window while it's free
- -resetsettings puts every setting back as it comes out of the box

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:45:17 +06:00
d97f2e844d The assistant explains each thing once, ever; only the twister warning and 'not enough money' come again
What she has said is kept between games (not by the test bots). Loc key list line numbers refreshed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 16:39:45 +06:00
77f533e390 Phone: YouTube keeps playing, full screen fills the phone, nothing in front of it
- The phone's browser passes as a phone's Chrome all through (client hints, no automation flag): YouTube no longer
  stops a video a couple of minutes in with "something went wrong".
- Full screen is done on the page: the element pinned over the phone's whole page, everything else hidden. The
  windowless browser refused the real thing or shifted it off to one side. Its window now matches the page too.
- With the phone up at your face the tool belt, the tool plate and the hint line step aside.
- Test: -demoyt (-demoytlong for the 200 s run).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 16:38:00 +06:00
ae2bc83c24 Client purchases in the replica test; multipliers keep their small x
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 02:00:34 +06:00
d61167e22b Map sectors show again, clients get their own machines and the train's swath, machines stay out of the ground
- Map: the sectors are wound the screen's way (most were wound the other way and culled, leaving a blank chart),
  kept inside the chart, and drawn as ball, sectors and marks layers; the scale bar is no longer sized mid-draw.
- Players' save keys are replicated, so a client's garage finds its machines and their upgrades; two players under
  one key get separate ones.
- The grass train sends its mowing to the clients; moving the depot or resizing the planet relays its line.
- A hard floor under vehicle springs: hard landings, steep rises and hand-overs no longer sink a machine.
- Tests: -demosink, -demorep host|client.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 01:33:03 +06:00
86c8403c2a Train lines that grow, station yards, a cab to ride, a wagon per upgrade; autopilot unloads where it can
- The grass train lays on to the next station by itself once its newest stretch is mown as far as the cutters reach,
  rounding each station at the edge of its yard, until no station is left within reach; it runs three times as fast
  over the stretches already mown.
- Every station on a line has a yard at the end of the rails: machines (the autopilot too) unload there, the train
  picks it up as it passes and it is paid when the train gets home. With nothing left to cut it carries for the yards.
- E on the locomotive puts you in the cab: W on up the line, S back home, E to get off; it carries on by itself after.
- Three wagons, one more per upgrade (six at Mk IV), 2 t each; the heaps grow as they fill. The upgrade text says so.
- The autopilot only drives to places a machine can unload (garage pads, unload bays, the yard, train yards), not to
  drone pads, binders or catchers, where it used to stop and stand; at a spot that won't take it, it tries the next.
  The HUD unload markers skip those too.
- -demotrain checks the line growing, a yard filling and emptying, the cab ride and six wagons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 22:31:45 +06:00
e186a7e883 Autopilot steers round what's in its way
A machine on autopilot looks a few metres ahead and swerves to the clearer side of a building, rock, person or
machine, so it goes round things instead of through them; it still touches nothing, so what it can't get round it
passes through, and it can't be wedged or tipped. It rolls over the deck rails. -demoauto counts swerves and hops.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 20:25:01 +06:00
0db89bf7cb Wagons on the rails, buildings on the slope, an autopilot nothing stops
- The train's loco and wagons stand on their front and back axles, so they pitch with the track up and down hills
  instead of standing level and hanging off one end; wheels sit on the rail tops, gauge matched to the models.
- A piece set down on the soil leans with the ground under its footprint (up to 22 degrees) and sinks until no
  corner hangs in the air; foundations stay level.
- On autopilot a machine touches nothing: it rides on the soil and the base deck and drives straight through
  buildings, rocks, rails, people and machines. Wedged anyway, it hops a few metres on; it no longer gives up on
  the way to unload.
- -demoauto puts a building in the way to the yard, sets one down on the steepest clear slope and reports any tip-over.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 19:54:01 +06:00
6b2a9931b9 Upgrade matrix you can read at a glance
- Each tree sits centred under the Earth Uplink; links run square between
  rows and down the gaps between columns, never through a node or a name
- Clear node states: gold is done, a green ring is buyable now, green tint
  is started, grey is not open yet; the selected node has a blue ring
- Every node shows the price of its next level and pips for its levels
- The detail panel lists every level with what it gives and what it costs;
  requirements turn green as they are met
- Tabs show how much of each tree is bought
- -demoshop [slot] shoots every tab

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:08:46 +06:00
172c3b978d Smoother drives across the meadow: no more hitches opening sectors
- Sector maps are put away on a worker thread, and trimmed in batches
- A far sector's texture only needs its look; at most four new ones a frame
- Fresh maps fill rows between their borders instead of testing every cell
- Rocks are marked with plain numbers; marks come back on unpacked maps
- Worked-overlay sort uses float keys; idle belts look on staggered steps
- Chase camera cast no longer allocates; perf demo drives and runs too

Drive phase on a late save: p99 33 -> 16 ms, frames over 20 ms 242 -> 7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:59:16 +06:00
117 changed files with 4541 additions and 852 deletions

View File

@ -63,18 +63,27 @@ namespace GrassCutter.EditorTools
// GC_BUILD_DIR builds somewhere else, so a copy of the game that is running doesn't lock the build
// a development build also reports GPU and render-thread frame times (FrameTimingManager), for -demoperf
PlayerSettings.enableFrameTimingStats = CommandLineHas("-devbuild");
var dir = Environment.GetEnvironmentVariable("GC_BUILD_DIR") is string d && d.Length > 0 ? d : "Builds/GrassCutter";
// GC_DEMO=1 builds the demo: its own app, name (so its own saves and settings) and folder
bool demo = Environment.GetEnvironmentVariable("GC_DEMO") == "1" || CommandLineHas("-demo");
var dir = Environment.GetEnvironmentVariable("GC_BUILD_DIR") is string d && d.Length > 0 ? d : demo ? "Builds/GrassCutterDemo" : "Builds/GrassCutter";
var opts = new BuildPlayerOptions
{
scenes = new[] { ScenePath },
locationPathName = dir + "/GrassCutter.exe",
locationPathName = dir + "/" + (demo ? "GrassCutterDemo.exe" : "GrassCutter.exe"),
target = BuildTarget.StandaloneWindows64,
options = CommandLineHas("-devbuild") ? BuildOptions.Development : BuildOptions.None,
extraScriptingDefines = demo ? new[] { "GC_DEMO" } : null,
};
var report = BuildPipeline.BuildPlayer(opts);
string name = PlayerSettings.productName;
if (demo) PlayerSettings.productName = "Grass Cutters Together Demo";
UnityEditor.Build.Reporting.BuildReport report;
try { report = BuildPipeline.BuildPlayer(opts); }
finally { PlayerSettings.productName = name; }
if (report.summary.result != UnityEditor.Build.Reporting.BuildResult.Succeeded)
throw new Exception("Build failed: " + report.summary.result);
File.Copy("steam_appid.txt", dir + "/steam_appid.txt", true);
// only for our own runs: never upload it to Steam (with it the game skips the Steam ownership check)
if (demo) File.WriteAllText(dir + "/steam_appid.txt", "5668050");
else File.Copy("steam_appid.txt", dir + "/steam_appid.txt", true);
Debug.Log($"[Builder] Player built: {report.summary.totalSize / (1024 * 1024)} MB");
}

View File

@ -139,7 +139,7 @@ Company property Firmeneigentum
Connecting to {0}… Verbinde mit {0}…
Connecting… Verbinde…
Container {0:0.##} kg Behälter {0:0.##} kg
Container full! Press E at the DEPOT to hand it all in, or Q to tie a 1 kg bundle you can carry and throw. Behälter voll! Drück E am DEPOT, um alles abzugeben, oder Q, um ein 1-kg-Bündel zu binden, das du tragen und werfen kannst.
Container full! Press {0} at the DEPOT to hand it all in, or {1} to tie a 1 kg bundle you can carry and throw. Behälter voll! Drück {0} am DEPOT, um alles abzugeben, oder {1}, um ein 1-kg-Bündel zu binden, das du tragen und werfen kannst.
Container full! Q ties a bundle, E at the DEPOT hands it all in Behälter voll! Q bindet ein Bündel, E am DEPOT gibt alles ab
Container x{0:0} Behälter x{0:0}
CONTAINERS BEHÄLTER
@ -194,8 +194,8 @@ ECONOMY WIRTSCHAFT
Effects Effekte
Eleven more stations stand around the planet. Walk up to one and it opens for the crew: a depot, a supply wall, a console and a travel terminal. Elf weitere Stationen stehen rund um den Planeten. Geh zu einer hin, und sie öffnet sich für die Crew: ein Depot, eine Werkzeugwand, eine Konsole und ein Reiseterminal.
Empty Leer
Empty bed · E with a bundle in your arms loads it Leere Ladefläche · E mit einem Bündel im Arm lädt es auf
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors (E). Leere Hände! Geh zur WERKZEUGWAND auf der Westseite des Decks und nimm die Nagelschere (E).
Empty bed · {0} with a bundle in your arms loads it Leere Ladefläche · {0} mit einem Bündel im Arm lädt es auf
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors ({0}). Leere Hände! Geh zur WERKZEUGWAND auf der Westseite des Decks und nimm die Nagelschere ({0}).
Every blade counts. Apparently. Jeder Halm zählt. Angeblich.
Every kilo is shot into a Bundle Catcher, anywhere on the planet. A Catcher holds 100 kg and puts it on a belt. With no Catcher free the Reaper stops when its hopper is full. Jedes Kilo wird in einen Bündelfänger geschossen, egal wo auf dem Planeten. Ein Fänger fasst 100 kg und legt sie aufs Band. Ist kein Fänger frei, stoppt der Schnitter, wenn sein Tank voll ist.
Every Last Stake Bis zum letzten Pflock
@ -287,9 +287,9 @@ Hi. I'm the Director's assistant. Hallo. Ich bin die Assistenz des Direktors.
Hold: Read the survey point ({0}) Halten: Vermessungspunkt ablesen ({0})
Hold: Untangle the stake ({0}) Halten: Pflock entwirren ({0})
Holds 100 kg of what Reapers shoot and puts it on the belt. Fasst 100 kg von dem, was Schnitter schießen, und legt es aufs Band.
Hop down to the meadow (SPACE at the railing) and HOLD LEFT CLICK: sweep the blade over the grass. Earth needs every blade of it. Spring runter auf die Wiese (SPACE am Geländer) und HALTE LINKSKLICK: Fahr mit der Klinge übers Gras. Die Erde braucht jeden Halm davon.
Hop down to the meadow ({0} at the railing) and HOLD {1}: sweep the blade over the grass. Earth needs every blade of it. Spring runter auf die Wiese ({0} am Geländer) und HALTE {1}: Fahr mit der Klinge übers Gras. Die Erde braucht jeden Halm davon.
Hop down to the meadow, space at the railing. Spring runter auf die Wiese, SPACE am Geländer.
Hop off [R] View Aussteigen [R] Ansicht
Hop off [{0}] View Aussteigen [{0}] Ansicht
Hop over the railing with SPACE, hold LEFT CLICK and sweep the blade over the grass. It goes straight into the tool's container. Spring mit SPACE übers Geländer, halte LINKSKLICK und fahr mit der Klinge übers Gras. Es landet direkt im Behälter des Werkzeugs.
hopper full, needs a catcher with room Tank voll, braucht einen Fänger mit Platz
Hopper full: drive to an UNLOAD marker Tank voll: fahr zu einer ABLADEN-Markierung
@ -331,8 +331,8 @@ Let the Robot Do It Lass den Roboter ran
Linking... Verbinde...
Listen up, you incompetent idiots! Hört zu, ihr unfähigen Idioten!
Listening for LAN games… Suche LAN-Spiele…
LMB where the belt starts · height {0:0.0} m LMB am Bandanfang · Höhe {0:0.0} m
LMB: go on from this end LMB: an diesem Ende weiterbauen
{1} where the belt starts · height {0:0.0} m {1} am Bandanfang · Höhe {0:0.0} m
{0}: go on from this end {0}: an diesem Ende weiterbauen
LOGISTICS LOGISTIK
Long Handles Lange Griffe
Long Scythe Lange Sense
@ -356,7 +356,7 @@ Mode Modus
More cash for every sector mown clean. Mehr Geld für jeden sauber gemähten Sektor.
Mouse sensitivity Mausempfindlichkeit
Move faster. Lauf schneller.
Moving {0}: LMB put down · R rotate · RMB cancel {0} versetzen: LMB absetzen · R drehen · RMB abbrechen
Moving {0}: {1} put down · {2} rotate · {3} cancel {0} versetzen: {1} absetzen · {2} drehen · {3} abbrechen
Mow a path for the belt first Mäh erst einen Weg für das Band
Mow Base Mähbasis
Mow the grass here first Mäh hier erst das Gras
@ -381,7 +381,6 @@ Nail Scissors Basket Nagelschere-Korb
NE NO
Never once lost a scythe. Hat noch nie eine Sense verloren.
NEW GAME NEUES SPIEL
NEXT {0} NÄCHSTE {0}
Night Vision Nachtsicht
Night vision on Nachtsicht an
Night Vision: {0}. N goes from the headlamp to night vision to nothing. Nachtsicht: {0}. N schaltet von Stirnlampe zu Nachtsicht zu gar nichts.
@ -400,7 +399,6 @@ nothing to run, {0:0.#} kW free nichts zu versorgen, {0:0.#} kW frei
nothing to run, {0:0.#} kW free, batteries {1:0.0} of {2:0} kWh nichts zu versorgen, {0:0.#} kW frei, Batterien {1:0.0} von {2:0} kWh
Nothing to set on this one. Hier gibt es nichts einzustellen.
Nothing to tie: cut some grass first Nichts zu binden: erst etwas Gras schneiden
NOW {0} JETZT {0}
NOW {0} of {1} slots JETZT {0} von {1} Plätzen
NOW DO THE OTHER NINETY-NINE POINT NINE NINE NINE! JETZT MACHT DIE ANDEREN NEUNUNDNEUNZIG KOMMA NEUN NEUN NEUN!
NOW GET OUT THERE AND MOW THAT GODDAMN PLANET! UND JETZT RAUS MIT EUCH UND MÄHT DIESEN VERDAMMTEN PLANETEN!
@ -485,7 +483,7 @@ Reset progress? Fortschritt zurücksetzen?
resting ruht
RESUME WEITER
Ride the {0} ({1} / {2}) {0} fahren ({1} / {2})
Ride the {0} ({1} of {2} bundles, E with a bundle loads it) {0} fahren ({1} von {2} Bündeln, E mit einem Bündel lädt es auf)
Ride the {0} ({1} of {2} bundles, {3} with a bundle loads it) {0} fahren ({1} von {2} Bündeln, {3} mit einem Bündel lädt es auf)
RIGHT CLICK takes a piece down and gives all the money back. T carries it somewhere else, the middle button copies it. RECHTSKLICK baut ein Bauteil ab und gibt das ganze Geld zurück. T trägt es woandershin, die mittlere Maustaste kopiert es.
Robot Roboter
Robot Crew Roboter-Crew
@ -584,7 +582,7 @@ Supply wall — tools & gear Werkzeugwand — Werkzeuge & Ausrüstung
Survey point: already read Vermessungspunkt: schon abgelesen
Surveyor Landvermesser
SW SW
T move · MMB copy · RMB remove T versetzen · MMB kopieren · RMB entfernen
{0} move · {1} copy · {2} remove {0} versetzen · {1} kopieren · {2} entfernen
TAKE IN HAND IN DIE HAND
TAKE IT NEHMEN
Take the nail scissors from the SUPPLY WALL on the west side of the deck. Nimm die Nagelschere von der WERKZEUGWAND auf der Westseite des Decks.
@ -634,10 +632,10 @@ They fill with whatever sun the machines don't use, and when the panels fall sho
Thirty harvests and still early. Dreißig Ernten und immer noch überpünktlich.
This is G.R.A.S.S.A. We take grass very seriously. Hier ist G.R.A.S.S.A. Wir nehmen Gras sehr ernst.
This is what peak civilization looks like. So sieht der Gipfel der Zivilisation aus.
Throw [E] Drop [R] Turn Werfen [E] Ablegen [R] Drehen
Throw [{0}] Drop [{1}] Turn Werfen [{0}] Ablegen [{1}] Drehen
Throw +{0}% Wurf +{0} %
Throw bundles further. Wirf Bündel weiter.
Throw it in the DEPOT or onto a belt [E] Drop [R] Turn Wirf es ins DEPOT oder auf ein Band [E] Ablegen [R] Drehen
Throw it in the DEPOT or onto a belt [{0}] Drop [{1}] Turn Wirf es ins DEPOT oder auf ein Band [{0}] Ablegen [{1}] Drehen
Throwing Arm Wurfarm
Thunderstorm! Dark skies, weak sun, twisters about. Gewitter! Dunkler Himmel, schwache Sonne, Windhosen unterwegs.
Thunderstorm. Dark skies, weak sun, and twisters about. Gewitter. Dunkler Himmel, schwache Sonne, und Windhosen sind unterwegs.
@ -681,7 +679,6 @@ Upgrades are for the whole crew and come out of the shared wallet. Upgrades gelt
V-Sync V-Sync
Version mismatch Versionskonflikt
Voices Stimmen
v{0} · early build v{0} · frühe Version
W W
W A S D to drive. Shift to boost. W A S D zum Fahren. Shift für Boost.
Wait. Is that... progress? Moment. Ist das etwa... Fortschritt?
@ -695,7 +692,7 @@ Weight Gewicht
WELCOME TO HERBARIA-7 WILLKOMMEN AUF HERBARIA-7
Well Travelled Weit gereist
Wheat Weizen
WHEEL piece · LMB place · R rotate · T move · MMB copy · RMB remove · CTRL+WHEEL height · F free WHEEL Bauteil · LMB platzieren · R drehen · T versetzen · MMB kopieren · RMB entfernen · CTRL+WHEEL Höhe · F frei
WHEEL piece · {0} place · {1} rotate · {2} move · {3} copy · {4} remove · CTRL+WHEEL height · {5} free WHEEL Bauteil · {0} platzieren · {1} drehen · {2} versetzen · {3} kopieren · {4} entfernen · CTRL+WHEEL Höhe · {5} frei
Whetstone Steel Wetzstahl
Which address? Welche Adresse?
Whoa! The twister threw you. Hui! Die Windhose hat dich weggeschleudert.
@ -727,8 +724,8 @@ Zero point zero zero one percent. Null Komma null null eins Prozent.
{0:0.##} m · {1:0} kg {0:0.##} m · {1:0} kg
{0:0.##}% of Herbaria-7 {0:0.##} % von Herbaria-7
{0:0.#} cm · {1:0.##} kg {0:0.#} cm · {1:0.##} kg
{0:0.#} m of belt · MMB copy · RMB remove {0:0.#} m Band · MMB kopieren · RMB entfernen
{0:0.#} m, {1} · height {2:0.0} m · RMB stops {0:0.#} m, {1} · Höhe {2:0.0} m · RMB beendet
{0:0.#} m of belt · {1} copy · {2} remove {0:0.#} m Band · {1} kopieren · {2} entfernen
{0:0.#} m, {1} · height {2:0.0} m · {3} stops {0:0.#} m, {1} · Höhe {2:0.0} m · {3} beendet
{0:0.#}% mown {0:0.#} % gemäht
{0:0.0000}% {0:0.0000} %
{0:0.00} / {1:0.##} KG {0:0.00} / {1:0.##} KG
@ -740,7 +737,7 @@ Zero point zero zero one percent. Null Komma null null eins Prozent.
{0:N0} Sectors {0:N0} Sektoren
{0:N0} sectors clean · {1} / {2} stakes · {3} / {4} survey points {0:N0} Sektoren sauber · {1} / {2} Pflöcke · {3} / {4} Vermessungspunkte
{0:N0} started · {1:N0} mown · {2:0.0000}% of the planet {0:N0} angefangen · {1:N0} gemäht · {2:0.0000} % des Planeten
{0} [T] Upgrades & settings {0} [T] Upgrades & Optionen
{0} [{1}] Upgrades & settings {0} [{1}] Upgrades & Optionen
{0} (you) {0} (du)
{0} / kg {0} / kg
{0} / {1} slots {0} / {1} Plätze
@ -988,5 +985,25 @@ Grass Train Grasbahn
Lays its own track to a station next door, mowing all the way there. Then it runs back and forth, its side cutters reaching further out on every run, and what it cuts is paid for at either end. Build it on open ground facing the way it should go. Legt sich selbst Gleise zu einer Nachbarstation und mäht dabei den ganzen Weg. Dann pendelt sie hin und her, ihre Seitenmähwerke greifen mit jeder Fahrt weiter aus, und was sie schneidet, wird an beiden Enden bezahlt. Bau sie auf freiem Boden, in die Richtung, in die sie fahren soll.
{0}: laying track to {1}, {2} of {3} m {0}: legt Gleis nach {1}, {2} von {3} m
E: another station E: andere Station
{0}: the line to {1} is mown clean as far as it reaches. An upgrade reaches further. {0}: Die Strecke nach {1} ist so weit gemäht, wie sie reicht. Ein Upgrade reicht weiter.
{0}: running to {1} and back, cutting {2} m out either side, {3} on board {0}: pendelt nach {1}, mäht {2} m zu beiden Seiten, {3} an Bord
x{0:0.#} speed and reach, {1} wagons x{0:0.#} Tempo und Reichweite, {1} Waggons
Train yard: {0} Zugladeplatz: {0}
The Grass Train lays track on to {0} Der Graszug legt Gleise weiter nach {0}
{0}: carrying grass home from the stations on its line, {1} on board, {2} waiting {0}: bringt Gras von den Stationen der Strecke heim, {1} an Bord, {2} wartet
E: ride in the cab E: in den Führerstand
In the cab: W forward · S back · E to get off Im Führerstand: W vor · S zurück · E aussteigen
Head bob Kopfwippen
The view rocks a little with each step. Off keeps it still. Die Sicht wippt bei jedem Schritt leicht mit. Aus hält sie ruhig.
STEAM PAGE STEAM-SEITE
FEEDBACK FEEDBACK
Grass Cutters Together needs Steam. Start Steam, sign in to the account that owns the game, and launch it from your library. Grass Cutters Together braucht Steam. Starte Steam, melde dich mit dem Konto an, dem das Spiel gehört, und starte es aus deiner Bibliothek.
That's the end of the demo: the full game has the rest of the planet. Hier endet die Demo: Den Rest des Planeten gibt es im vollen Spiel.
DEMO DEMO
WISHLIST THE FULL GAME VOLLES SPIEL AUF DIE WUNSCHLISTE
DEMO COMPLETE · thanks for playing! DEMO GESCHAFFT · danke fürs Spielen!
DEMO · goal: ship {0} of {1} kg of grass DEMO · Ziel: {0} von {1} kg Gras abliefern
THANKS FOR PLAYING THE DEMO! DANKE FÜRS SPIELEN DER DEMO!
Your crew shipped {0} kg of grass and reached the end of the demo. In the full game the whole planet is yours: machines, belts, robots, far stations and up to 16 players. Deine Crew hat {0} kg Gras abgeliefert und das Ende der Demo erreicht. Im vollen Spiel gehört dir der ganze Planet: Maschinen, Förderbänder, Roboter, ferne Stationen und bis zu 16 Spieler.
You can keep mowing here, but nothing more is for sale in the demo. Du kannst hier weitermähen, aber in der Demo gibt es nichts mehr zu kaufen.
LEAVE FEEDBACK FEEDBACK GEBEN
KEEP MOWING WEITERMÄHEN

View File

@ -138,7 +138,7 @@ Company property Propiedad de la empresa
Connecting to {0}… Conectando con {0}…
Connecting… Conectando…
Container {0:0.##} kg Contenedor {0:0.##} kg
Container full! Press E at the DEPOT to hand it all in, or Q to tie a 1 kg bundle you can carry and throw. ¡Contenedor lleno! Pulsa E en el DEPÓSITO para entregarlo todo, o Q para atar un fardo de 1 kg que puedes llevar y lanzar.
Container full! Press {0} at the DEPOT to hand it all in, or {1} to tie a 1 kg bundle you can carry and throw. ¡Contenedor lleno! Pulsa {0} en el DEPÓSITO para entregarlo todo, o {1} para atar un fardo de 1 kg que puedes llevar y lanzar.
Container full! Q ties a bundle, E at the DEPOT hands it all in ¡Contenedor lleno! Q ata un fardo, E en el DEPÓSITO lo entrega todo
Container x{0:0} Contenedor x{0:0}
CONTAINERS CONTENEDORES
@ -192,9 +192,9 @@ ECONOMY ECONOMÍA
Effects Efectos
Eleven more stations stand around the planet. Walk up to one and it opens for the crew: a depot, a supply wall, a console and a travel terminal. Hay once estaciones más repartidas por el planeta. Acércate a una y se abre para la cuadrilla: un depósito, una pared de suministros, una consola y una terminal de viaje.
Empty Vacía
Empty bed · E with a bundle in your arms loads it Caja vacía · E con un fardo en brazos lo carga
Empty bed · {0} with a bundle in your arms loads it Caja vacía · {0} con un fardo en brazos lo carga
EARTH IS OUT OF GRASS! NO GRASS! ¡LA TIERRA SE HA QUEDADO SIN HIERBA! ¡NI UNA!
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors (E). ¡Manos vacías! Ve a la PARED DE SUMINISTROS, en el lado oeste de la cubierta, y coge las tijeras de uñas (E).
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors ({0}). ¡Manos vacías! Ve a la PARED DE SUMINISTROS, en el lado oeste de la cubierta, y coge las tijeras de uñas ({0}).
Every blade counts. Apparently. Cada brizna cuenta. Por lo visto.
Every kilo is shot into a Bundle Catcher, anywhere on the planet. A Catcher holds 100 kg and puts it on a belt. With no Catcher free the Reaper stops when its hopper is full. Cada kilo sale disparado hacia un Atrapafardos, esté donde esté en el planeta. Un Atrapafardos guarda 100 kg y los pone en una cinta. Si no hay ninguno libre, el Segador se para cuando se le llena la tolva.
Every Last Stake Hasta la última estaca
@ -286,9 +286,9 @@ Hi. I'm the Director's assistant. Hola. Soy la asistente del Director.
Hold: Read the survey point ({0}) Mantén: leer el punto geodésico ({0})
Hold: Untangle the stake ({0}) Mantén: desenredar la estaca ({0})
Holds 100 kg of what Reapers shoot and puts it on the belt. Guarda 100 kg de lo que disparan los Segadores y lo pone en la cinta.
Hop down to the meadow (SPACE at the railing) and HOLD LEFT CLICK: sweep the blade over the grass. Earth needs every blade of it. Baja al prado (SPACE en la barandilla) y MANTÉN EL CLIC IZQUIERDO: pasa la hoja por la hierba. La Tierra necesita hasta la última brizna.
Hop down to the meadow ({0} at the railing) and HOLD {1}: sweep the blade over the grass. Earth needs every blade of it. Baja al prado ({0} en la barandilla) y MANTÉN {1}: pasa la hoja por la hierba. La Tierra necesita hasta la última brizna.
Hop down to the meadow, space at the railing. Baja al prado: espacio en la barandilla.
Hop off [R] View Bajar [R] Vista
Hop off [{0}] View Bajar [{0}] Vista
Hop over the railing with SPACE, hold LEFT CLICK and sweep the blade over the grass. It goes straight into the tool's container. Salta la barandilla con SPACE, mantén el CLIC IZQUIERDO y pasa la hoja por la hierba. Va directa al contenedor de la herramienta.
hopper full, needs a catcher with room tolva llena, necesita un atrapafardos con sitio
Hopper full: drive to an UNLOAD marker Tolva llena: ve a un marcador de DESCARGA
@ -330,8 +330,8 @@ Let the Robot Do It Que lo haga el robot
Linking... Enlazando...
Listen up, you incompetent idiots! ¡Escuchadme, panda de inútiles!
Listening for LAN games… Buscando partidas LAN…
LMB where the belt starts · height {0:0.0} m LMB donde empieza la cinta · altura {0:0.0} m
LMB: go on from this end LMB: seguir desde este extremo
{1} where the belt starts · height {0:0.0} m {1} donde empieza la cinta · altura {0:0.0} m
{0}: go on from this end {0}: seguir desde este extremo
LOGISTICS LOGÍSTICA
Long Handles Mangos largos
Long Scythe Guadaña larga
@ -355,7 +355,7 @@ Mode Modo
More cash for every sector mown clean. Más pasta por cada sector segado del todo.
Mouse sensitivity Sensibilidad del ratón
Move faster. Muévete más rápido.
Moving {0}: LMB put down · R rotate · RMB cancel Moviendo {0}: LMB soltar · R girar · RMB cancelar
Moving {0}: {1} put down · {2} rotate · {3} cancel Moviendo {0}: {1} soltar · {2} girar · {3} cancelar
Mow a path for the belt first Primero siega un camino para la cinta
Mow Base Base de siega
Mow the grass here first Primero siega la hierba de aquí
@ -380,7 +380,6 @@ Nail Scissors Basket Cesta de Tijeras de uñas
NE NE
Never once lost a scythe. Nunca ha perdido una guadaña.
NEW GAME NUEVA PARTIDA
NEXT {0} SIGUIENTE {0}
Night Vision Visión nocturna
Night vision on Visión nocturna activada
Night Vision: {0}. N goes from the headlamp to night vision to nothing. Visión nocturna: {0}. N pasa de la linterna a la visión nocturna y luego a nada.
@ -399,7 +398,6 @@ nothing to run, {0:0.#} kW free nada que alimentar, {0:0.#} kW libres
nothing to run, {0:0.#} kW free, batteries {1:0.0} of {2:0} kWh nada que alimentar, {0:0.#} kW libres, baterías {1:0.0} de {2:0} kWh
Nothing to set on this one. Aquí no hay nada que ajustar.
Nothing to tie: cut some grass first Nada que atar: primero corta algo de hierba
NOW {0} AHORA {0}
NOW {0} of {1} slots AHORA {0} de {1} huecos
NOW DO THE OTHER NINETY-NINE POINT NINE NINE NINE! ¡AHORA HACED EL OTRO NOVENTA Y NUEVE COMA NUEVE NUEVE NUEVE!
NOW GET OUT THERE AND MOW THAT GODDAMN PLANET! ¡AHORA SALID AHÍ FUERA Y SEGAD ESE MALDITO PLANETA!
@ -484,7 +482,7 @@ Reset progress? ¿Reiniciar el progreso?
resting en reposo
RESUME REANUDAR
Ride the {0} ({1} / {2}) Conducir: {0} ({1} / {2})
Ride the {0} ({1} of {2} bundles, E with a bundle loads it) Conducir: {0} ({1} de {2} fardos, E con un fardo lo carga)
Ride the {0} ({1} of {2} bundles, {3} with a bundle loads it) Conducir: {0} ({1} de {2} fardos, {3} con un fardo lo carga)
RIGHT CLICK takes a piece down and gives all the money back. T carries it somewhere else, the middle button copies it. CLIC DERECHO desmonta una pieza y te devuelve todo el dinero. T la lleva a otro sitio y el botón central la copia.
Robot Robot
Robot Crew Cuadrilla robot
@ -583,7 +581,7 @@ Supply wall — tools & gear Pared de suministros — herramientas y equipo
Survey point: already read Punto geodésico: ya leído
Surveyor Topógrafo
SW SO
T move · MMB copy · RMB remove T mover · MMB copiar · RMB quitar
{0} move · {1} copy · {2} remove {0} mover · {1} copiar · {2} quitar
TAKE IN HAND EMPUÑAR
TAKE IT COGER
Take the nail scissors from the SUPPLY WALL on the west side of the deck. Coge las tijeras de uñas de la PARED DE SUMINISTROS, en el lado oeste de la cubierta.
@ -633,10 +631,10 @@ They fill with whatever sun the machines don't use, and when the panels fall sho
Thirty harvests and still early. Treinta cosechas y aún es pronto.
This is G.R.A.S.S.A. We take grass very seriously. Esto es G.R.A.S.S.A. Nos tomamos la hierba muy en serio.
This is what peak civilization looks like. Así es la cumbre de la civilización.
Throw [E] Drop [R] Turn Lanzar [E] Soltar [R] Girar
Throw [{0}] Drop [{1}] Turn Lanzar [{0}] Soltar [{1}] Girar
Throw +{0}% Lanzamiento +{0} %
Throw bundles further. Lanza los fardos más lejos.
Throw it in the DEPOT or onto a belt [E] Drop [R] Turn Lánzalo al DEPÓSITO o a una cinta [E] Soltar [R] Girar
Throw it in the DEPOT or onto a belt [{0}] Drop [{1}] Turn Lánzalo al DEPÓSITO o a una cinta [{0}] Soltar [{1}] Girar
Throwing Arm Brazo lanzador
Thunderstorm! Dark skies, weak sun, twisters about. ¡Tormenta! Cielo oscuro, sol débil y tornados sueltos.
Thunderstorm. Dark skies, weak sun, and twisters about. Tormenta. Cielo oscuro, sol débil y tornados sueltos.
@ -680,7 +678,6 @@ Upgrades are for the whole crew and come out of the shared wallet. Las mejoras s
V-Sync V-Sync
Version mismatch Versiones distintas
Voices Voces
v{0} · early build v{0} · versión preliminar
W O
W A S D to drive. Shift to boost. W A S D para conducir. Shift para el turbo.
Wait. Is that... progress? Un momento. ¿Eso es... progreso?
@ -694,7 +691,7 @@ Weight Peso
WELCOME TO HERBARIA-7 BIENVENIDO A HERBARIA-7
Well Travelled Trotamundos
Wheat Trigo
WHEEL piece · LMB place · R rotate · T move · MMB copy · RMB remove · CTRL+WHEEL height · F free WHEEL pieza · LMB colocar · R girar · T mover · MMB copiar · RMB quitar · CTRL+WHEEL altura · F libre
WHEEL piece · {0} place · {1} rotate · {2} move · {3} copy · {4} remove · CTRL+WHEEL height · {5} free WHEEL pieza · {0} colocar · {1} girar · {2} mover · {3} copiar · {4} quitar · CTRL+WHEEL altura · {5} libre
Whetstone Steel Acero afilado
Which address? ¿Qué dirección?
Whoa! The twister threw you. ¡Uf! El tornado te ha mandado por los aires.
@ -726,8 +723,8 @@ Zero point zero zero one percent. Cero coma cero cero uno por ciento.
{0:0.##} m · {1:0} kg {0:0.##} m · {1:0} kg
{0:0.##}% of Herbaria-7 {0:0.##} % de Herbaria-7
{0:0.#} cm · {1:0.##} kg {0:0.#} cm · {1:0.##} kg
{0:0.#} m of belt · MMB copy · RMB remove {0:0.#} m de cinta · MMB copiar · RMB quitar
{0:0.#} m, {1} · height {2:0.0} m · RMB stops {0:0.#} m, {1} · altura {2:0.0} m · RMB termina
{0:0.#} m of belt · {1} copy · {2} remove {0:0.#} m de cinta · {1} copiar · {2} quitar
{0:0.#} m, {1} · height {2:0.0} m · {3} stops {0:0.#} m, {1} · altura {2:0.0} m · {3} termina
{0:0.#}% mown {0:0.#} % segado
{0:0.0000}% {0:0.0000} %
{0:0.00} / {1:0.##} KG {0:0.00} / {1:0.##} KG
@ -739,7 +736,7 @@ Zero point zero zero one percent. Cero coma cero cero uno por ciento.
{0:N0} Sectors {0:N0} sectores
{0:N0} sectors clean · {1} / {2} stakes · {3} / {4} survey points {0:N0} sectores limpios · {1} / {2} estacas · {3} / {4} puntos geodésicos
{0:N0} started · {1:N0} mown · {2:0.0000}% of the planet {0:N0} empezados · {1:N0} segados · {2:0.0000} % del planeta
{0} [T] Upgrades & settings {0} [T] Mejoras y ajustes
{0} [{1}] Upgrades & settings {0} [{1}] Mejoras y ajustes
{0} (you) {0} (tú)
{0} / kg {0} / kg
{0} / {1} slots {0} / {1} huecos
@ -988,5 +985,25 @@ Grass Train Tren de hierba
Lays its own track to a station next door, mowing all the way there. Then it runs back and forth, its side cutters reaching further out on every run, and what it cuts is paid for at either end. Build it on open ground facing the way it should go. Se tiende sus propias vías hasta una estación vecina y siega todo el camino. Luego va y viene, sus segadoras laterales llegan más lejos en cada viaje y lo que corta se paga en ambos extremos. Constrúyelo en terreno despejado, mirando hacia donde debe ir.
{0}: laying track to {1}, {2} of {3} m {0}: tendiendo vía hasta {1}, {2} de {3} m
E: another station E: otra estación
{0}: the line to {1} is mown clean as far as it reaches. An upgrade reaches further. {0}: la línea hasta {1} está segada hasta donde alcanza. Una mejora llega más lejos.
{0}: running to {1} and back, cutting {2} m out either side, {3} on board {0}: va a {1} y vuelve, siega {2} m a cada lado, {3} a bordo
x{0:0.#} speed and reach, {1} wagons x{0:0.#} velocidad y alcance, {1} vagones
Train yard: {0} Patio del tren: {0}
The Grass Train lays track on to {0} El Tren de Hierba tiende vía hasta {0}
{0}: carrying grass home from the stations on its line, {1} on board, {2} waiting {0}: lleva a casa la hierba de las estaciones de su línea, {1} a bordo, {2} esperando
E: ride in the cab E: subir a la cabina
In the cab: W forward · S back · E to get off En la cabina: W adelante · S atrás · E bajar
Head bob Balanceo de cámara
The view rocks a little with each step. Off keeps it still. La vista se mece un poco con cada paso. Desactivado la mantiene quieta.
STEAM PAGE PÁGINA DE STEAM
FEEDBACK OPINIONES
Grass Cutters Together needs Steam. Start Steam, sign in to the account that owns the game, and launch it from your library. Grass Cutters Together necesita Steam. Abre Steam, inicia sesión con la cuenta que tiene el juego y ejecútalo desde tu biblioteca.
That's the end of the demo: the full game has the rest of the planet. Aquí termina la demo: el resto del planeta te espera en el juego completo.
DEMO DEMO
WISHLIST THE FULL GAME AÑADIR EL JUEGO A LA LISTA DE DESEADOS
DEMO COMPLETE · thanks for playing! DEMO COMPLETADA · ¡gracias por jugar!
DEMO · goal: ship {0} of {1} kg of grass DEMO · objetivo: entregar {0} de {1} kg de hierba
THANKS FOR PLAYING THE DEMO! ¡GRACIAS POR JUGAR LA DEMO!
Your crew shipped {0} kg of grass and reached the end of the demo. In the full game the whole planet is yours: machines, belts, robots, far stations and up to 16 players. Tu equipo ha entregado {0} kg de hierba y ha llegado al final de la demo. En el juego completo todo el planeta es tuyo: máquinas, cintas, robots, estaciones lejanas y hasta 16 jugadores.
You can keep mowing here, but nothing more is for sale in the demo. Puedes seguir segando aquí, pero en la demo ya no hay nada más a la venta.
LEAVE FEEDBACK DAR MI OPINIÓN
KEEP MOWING SEGUIR SEGANDO

View File

@ -139,7 +139,7 @@ Company property Propriété de l'entreprise
Connecting to {0}… Connexion à {0}…
Connecting… Connexion…
Container {0:0.##} kg Bac {0:0.##} kg
Container full! Press E at the DEPOT to hand it all in, or Q to tie a 1 kg bundle you can carry and throw. Bac plein ! Appuie sur E au DÉPÔT pour tout livrer, ou sur Q pour lier une botte de 1 kg à porter et à lancer.
Container full! Press {0} at the DEPOT to hand it all in, or {1} to tie a 1 kg bundle you can carry and throw. Bac plein ! Appuie sur {0} au DÉPÔT pour tout livrer, ou sur {1} pour lier une botte de 1 kg à porter et à lancer.
Container full! Q ties a bundle, E at the DEPOT hands it all in Bac plein ! Q lie une botte, E au DÉPÔT livre tout
Container x{0:0} Bac x{0:0}
CONTAINERS BACS
@ -194,8 +194,8 @@ ECONOMY ÉCONOMIE
Effects Effets
Eleven more stations stand around the planet. Walk up to one and it opens for the crew: a depot, a supply wall, a console and a travel terminal. Onze autres stations sont réparties sur la planète. Approche-toi de l'une d'elles et elle s'ouvre à l'équipe : un dépôt, un mur d'outils, une console et un terminal de voyage.
Empty Vide
Empty bed · E with a bundle in your arms loads it Benne vide · E avec une botte dans les bras pour la charger
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors (E). Mains vides ! Va au MUR D'OUTILS, côté ouest de la plateforme, et prends les ciseaux à ongles (E).
Empty bed · {0} with a bundle in your arms loads it Benne vide · {0} avec une botte dans les bras pour la charger
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors ({0}). Mains vides ! Va au MUR D'OUTILS, côté ouest de la plateforme, et prends les ciseaux à ongles ({0}).
Every blade counts. Apparently. Chaque brin compte. Paraît-il.
Every kilo is shot into a Bundle Catcher, anywhere on the planet. A Catcher holds 100 kg and puts it on a belt. With no Catcher free the Reaper stops when its hopper is full. Chaque kilo est tiré dans un Attrape-bottes, n'importe où sur la planète. Un Attrape-bottes contient 100 kg et les met sur un tapis. Sans Attrape-bottes libre, la Faucheuse s'arrête quand sa trémie est pleine.
Every Last Stake Jusqu'au dernier piquet
@ -287,9 +287,9 @@ Hi. I'm the Director's assistant. Salut. Je suis l'assistante du Directeur.
Hold: Read the survey point ({0}) Maintenir : lire le point de relevé ({0})
Hold: Untangle the stake ({0}) Maintenir : démêler le piquet ({0})
Holds 100 kg of what Reapers shoot and puts it on the belt. Reçoit 100 kg de ce que tirent les Faucheuses et les met sur le tapis.
Hop down to the meadow (SPACE at the railing) and HOLD LEFT CLICK: sweep the blade over the grass. Earth needs every blade of it. Descends dans la prairie (SPACE à la rambarde) et MAINTIENS CLIC GAUCHE : passe la lame sur l'herbe. La Terre a besoin de chaque brin.
Hop down to the meadow ({0} at the railing) and HOLD {1}: sweep the blade over the grass. Earth needs every blade of it. Descends dans la prairie ({0} à la rambarde) et MAINTIENS {1} : passe la lame sur l'herbe. La Terre a besoin de chaque brin.
Hop down to the meadow, space at the railing. Descends dans la prairie : espace à la rambarde.
Hop off [R] View Descendre [R] Vue
Hop off [{0}] View Descendre [{0}] Vue
Hop over the railing with SPACE, hold LEFT CLICK and sweep the blade over the grass. It goes straight into the tool's container. Saute la rambarde avec SPACE, maintiens CLIC GAUCHE et passe la lame sur l'herbe. Elle va directement dans le bac de l'outil.
hopper full, needs a catcher with room trémie pleine, il faut un attrape-bottes libre
Hopper full: drive to an UNLOAD marker Trémie pleine : va à un marqueur DÉCHARGER
@ -331,8 +331,8 @@ Let the Robot Do It Laisse faire le robot
Linking... Liaison...
Listen up, you incompetent idiots! Écoutez-moi bien, bande d'incapables !
Listening for LAN games… Recherche de parties LAN…
LMB where the belt starts · height {0:0.0} m LMB au départ du tapis · hauteur {0:0.0} m
LMB: go on from this end LMB : continuer depuis ce bout
{1} where the belt starts · height {0:0.0} m {1} au départ du tapis · hauteur {0:0.0} m
{0}: go on from this end {0} : continuer depuis ce bout
LOGISTICS LOGISTIQUE
Long Handles Manches longs
Long Scythe Faux longue
@ -356,7 +356,7 @@ Mode Mode
More cash for every sector mown clean. Plus d'argent pour chaque secteur tondu à ras.
Mouse sensitivity Sensibilité de la souris
Move faster. Bouge plus vite.
Moving {0}: LMB put down · R rotate · RMB cancel Déplacer {0} : LMB poser · R pivoter · RMB annuler
Moving {0}: {1} put down · {2} rotate · {3} cancel Déplacer {0} : {1} poser · {2} pivoter · {3} annuler
Mow a path for the belt first Tonds d'abord un chemin pour le tapis
Mow Base Base de tonte
Mow the grass here first Tonds d'abord l'herbe ici
@ -381,7 +381,6 @@ Nail Scissors Basket Panier de Ciseaux à ongles
NE NE
Never once lost a scythe. N'a jamais perdu une seule faux.
NEW GAME NOUVELLE PARTIE
NEXT {0} SUIVANT {0}
Night Vision Vision nocturne
Night vision on Vision nocturne activée
Night Vision: {0}. N goes from the headlamp to night vision to nothing. Vision nocturne : {0}. N passe de la lampe frontale à la vision nocturne, puis à rien.
@ -400,7 +399,6 @@ nothing to run, {0:0.#} kW free rien à alimenter, {0:0.#} kW libres
nothing to run, {0:0.#} kW free, batteries {1:0.0} of {2:0} kWh rien à alimenter, {0:0.#} kW libres, batteries {1:0.0} sur {2:0} kWh
Nothing to set on this one. Rien à régler ici.
Nothing to tie: cut some grass first Rien à lier : coupe d'abord de l'herbe
NOW {0} ACTUEL {0}
NOW {0} of {1} slots ACTUEL {0} étuis sur {1}
NOW DO THE OTHER NINETY-NINE POINT NINE NINE NINE! MAINTENANT, FAITES LES QUATRE-VINGT-DIX-NEUF VIRGULE NEUF NEUF NEUF RESTANTS !
NOW GET OUT THERE AND MOW THAT GODDAMN PLANET! MAINTENANT, SORTEZ ET TONDEZ-MOI CETTE FOUTUE PLANÈTE !
@ -488,7 +486,7 @@ Reset progress? Réinitialiser la progression ?
resting au repos
RESUME REPRENDRE
Ride the {0} ({1} / {2}) Monter : {0} ({1} / {2})
Ride the {0} ({1} of {2} bundles, E with a bundle loads it) Monter : {0} ({1} bottes sur {2}, E avec une botte pour la charger)
Ride the {0} ({1} of {2} bundles, {3} with a bundle loads it) Monter : {0} ({1} bottes sur {2}, {3} avec une botte pour la charger)
RIGHT CLICK takes a piece down and gives all the money back. T carries it somewhere else, the middle button copies it. CLIC DROIT démonte un élément et te rembourse tout. T le déplace ailleurs, le bouton du milieu le copie.
Robot Robot
Robot Crew Équipe de robots
@ -587,7 +585,7 @@ Supply wall — tools & gear Mur d'outils — outils et équipement
Survey point: already read Point de relevé : déjà lu
Surveyor Géomètre
SW SO
T move · MMB copy · RMB remove T déplacer · MMB copier · RMB retirer
{0} move · {1} copy · {2} remove {0} déplacer · {1} copier · {2} retirer
TAKE IN HAND PRENDRE EN MAIN
TAKE IT PRENDRE
Take the nail scissors from the SUPPLY WALL on the west side of the deck. Prends les ciseaux à ongles au MUR D'OUTILS, côté ouest de la plateforme.
@ -637,10 +635,10 @@ They fill with whatever sun the machines don't use, and when the panels fall sho
Thirty harvests and still early. Trente moissons et toujours en avance.
This is G.R.A.S.S.A. We take grass very seriously. Ici G.R.A.S.S.A. Nous prenons l'herbe très au sérieux.
This is what peak civilization looks like. Voilà à quoi ressemble le sommet de la civilisation.
Throw [E] Drop [R] Turn Lancer [E] Poser [R] Tourner
Throw [{0}] Drop [{1}] Turn Lancer [{0}] Poser [{1}] Tourner
Throw +{0}% Lancer +{0} %
Throw bundles further. Lance les bottes plus loin.
Throw it in the DEPOT or onto a belt [E] Drop [R] Turn Lance-la dans le DÉPÔT ou sur un tapis [E] Poser [R] Tourner
Throw it in the DEPOT or onto a belt [{0}] Drop [{1}] Turn Lance-la dans le DÉPÔT ou sur un tapis [{0}] Poser [{1}] Tourner
Throwing Arm Bras de lanceur
Thunderstorm! Dark skies, weak sun, twisters about. Orage ! Ciel sombre, soleil faible, tornades en vue.
Thunderstorm. Dark skies, weak sun, and twisters about. Orage. Ciel sombre, soleil faible, et des tornades dans le coin.
@ -684,7 +682,6 @@ Upgrades are for the whole crew and come out of the shared wallet. Les améliora
V-Sync V-Sync
Version mismatch Versions incompatibles
Voices Voix
v{0} · early build v{0} · version préliminaire
W O
W A S D to drive. Shift to boost. W A S D pour conduire. Shift pour le boost.
Wait. Is that... progress? Attendez. C'est... un progrès ?
@ -698,7 +695,7 @@ Weight Poids
WELCOME TO HERBARIA-7 BIENVENUE SUR HERBARIA-7
Well Travelled Grand voyageur
Wheat Blé
WHEEL piece · LMB place · R rotate · T move · MMB copy · RMB remove · CTRL+WHEEL height · F free WHEEL élément · LMB placer · R pivoter · T déplacer · MMB copier · RMB retirer · CTRL+WHEEL hauteur · F libre
WHEEL piece · {0} place · {1} rotate · {2} move · {3} copy · {4} remove · CTRL+WHEEL height · {5} free WHEEL élément · {0} placer · {1} pivoter · {2} déplacer · {3} copier · {4} retirer · CTRL+WHEEL hauteur · {5} libre
Whetstone Steel Acier affûté
Which address? Quelle adresse ?
Whoa! The twister threw you. Waouh ! La tornade t'a fait valser.
@ -730,8 +727,8 @@ Zero point zero zero one percent. Zéro virgule zéro zéro un pour cent.
{0:0.##} m · {1:0} kg {0:0.##} m · {1:0} kg
{0:0.##}% of Herbaria-7 {0:0.##} % d'Herbaria-7
{0:0.#} cm · {1:0.##} kg {0:0.#} cm · {1:0.##} kg
{0:0.#} m of belt · MMB copy · RMB remove {0:0.#} m de tapis · MMB copier · RMB retirer
{0:0.#} m, {1} · height {2:0.0} m · RMB stops {0:0.#} m, {1} · hauteur {2:0.0} m · RMB arrête
{0:0.#} m of belt · {1} copy · {2} remove {0:0.#} m de tapis · {1} copier · {2} retirer
{0:0.#} m, {1} · height {2:0.0} m · {3} stops {0:0.#} m, {1} · hauteur {2:0.0} m · {3} arrête
{0:0.#}% mown {0:0.#} % tondu
{0:0.0000}% {0:0.0000} %
{0:0.00} / {1:0.##} KG {0:0.00} / {1:0.##} KG
@ -743,7 +740,7 @@ Zero point zero zero one percent. Zéro virgule zéro zéro un pour cent.
{0:N0} Sectors {0:N0} secteurs
{0:N0} sectors clean · {1} / {2} stakes · {3} / {4} survey points {0:N0} secteurs à ras · {1} / {2} piquets · {3} / {4} points de relevé
{0:N0} started · {1:N0} mown · {2:0.0000}% of the planet {0:N0} entamés · {1:N0} tondus · {2:0.0000} % de la planète
{0} [T] Upgrades & settings {0} [T] Améliorations et réglages
{0} [{1}] Upgrades & settings {0} [{1}] Améliorations et réglages
{0} (you) {0} (toi)
{0} / kg {0} / kg
{0} / {1} slots {0} / {1} étuis
@ -988,5 +985,25 @@ Grass Train Train à herbe
Lays its own track to a station next door, mowing all the way there. Then it runs back and forth, its side cutters reaching further out on every run, and what it cuts is paid for at either end. Build it on open ground facing the way it should go. Pose ses propres rails jusqu'à une station voisine en tondant tout le trajet. Ensuite il fait la navette, ses faucheuses latérales allant plus loin à chaque trajet, et ce qu'il coupe est payé aux deux bouts. Construis-le sur un terrain dégagé, tourné vers où il doit aller.
{0}: laying track to {1}, {2} of {3} m {0} : pose la voie vers {1}, {2} sur {3} m
E: another station E : une autre station
{0}: the line to {1} is mown clean as far as it reaches. An upgrade reaches further. {0} : la ligne vers {1} est tondue aussi loin qu'il porte. Une amélioration porte plus loin.
{0}: running to {1} and back, cutting {2} m out either side, {3} on board {0} : fait la navette vers {1}, tond {2} m de chaque côté, {3} à bord
x{0:0.#} speed and reach, {1} wagons x{0:0.#} vitesse et portée, {1} wagons
Train yard: {0} Cour du train : {0}
The Grass Train lays track on to {0} Le Train à herbe pose la voie jusqu'à {0}
{0}: carrying grass home from the stations on its line, {1} on board, {2} waiting {0} : rapporte l'herbe des gares de sa ligne, {1} à bord, {2} en attente
E: ride in the cab E : monter dans la cabine
In the cab: W forward · S back · E to get off En cabine : W avancer · S reculer · E descendre
Head bob Balancement de la vue
The view rocks a little with each step. Off keeps it still. La vue oscille un peu à chaque pas. Désactivé, elle reste immobile.
STEAM PAGE PAGE STEAM
FEEDBACK VOS AVIS
Grass Cutters Together needs Steam. Start Steam, sign in to the account that owns the game, and launch it from your library. Grass Cutters Together a besoin de Steam. Lancez Steam, connectez-vous au compte qui possède le jeu et lancez-le depuis votre bibliothèque.
That's the end of the demo: the full game has the rest of the planet. La démo s'arrête ici : le reste de la planète vous attend dans le jeu complet.
DEMO DÉMO
WISHLIST THE FULL GAME AJOUTER LE JEU À MA LISTE DE SOUHAITS
DEMO COMPLETE · thanks for playing! DÉMO TERMINÉE · merci d'avoir joué !
DEMO · goal: ship {0} of {1} kg of grass DÉMO · objectif : livrer {0} kg d'herbe sur {1}
THANKS FOR PLAYING THE DEMO! MERCI D'AVOIR JOUÉ À LA DÉMO !
Your crew shipped {0} kg of grass and reached the end of the demo. In the full game the whole planet is yours: machines, belts, robots, far stations and up to 16 players. Votre équipe a livré {0} kg d'herbe et atteint la fin de la démo. Dans le jeu complet, toute la planète est à vous : machines, convoyeurs, robots, stations lointaines et jusqu'à 16 joueurs.
You can keep mowing here, but nothing more is for sale in the demo. Vous pouvez continuer à tondre ici, mais plus rien n'est en vente dans la démo.
LEAVE FEEDBACK DONNER MON AVIS
KEEP MOWING CONTINUER À TONDRE

View File

@ -139,7 +139,7 @@ Company property Proprietà aziendale
Connecting to {0}… Connessione a {0}…
Connecting… Connessione…
Container {0:0.##} kg Contenitore {0:0.##} kg
Container full! Press E at the DEPOT to hand it all in, or Q to tie a 1 kg bundle you can carry and throw. Contenitore pieno! Premi E al DEPOSITO per consegnare tutto, o Q per legare un fascio da 1 kg da portare e lanciare.
Container full! Press {0} at the DEPOT to hand it all in, or {1} to tie a 1 kg bundle you can carry and throw. Contenitore pieno! Premi {0} al DEPOSITO per consegnare tutto, o {1} per legare un fascio da 1 kg da portare e lanciare.
Container full! Q ties a bundle, E at the DEPOT hands it all in Contenitore pieno! Q lega un fascio, E al DEPOSITO consegna tutto
Container x{0:0} Contenitore x{0:0}
CONTAINERS CONTENITORI
@ -194,8 +194,8 @@ ECONOMY ECONOMIA
Effects Effetti
Eleven more stations stand around the planet. Walk up to one and it opens for the crew: a depot, a supply wall, a console and a travel terminal. Altre undici stazioni sono sparse per il pianeta. Avvicinati a una e si apre per la squadra: un deposito, una parete forniture, una console e un terminale di viaggio.
Empty Vuoto
Empty bed · E with a bundle in your arms loads it Cassone vuoto · E con un fascio in braccio lo carica
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors (E). Mani vuote! Vai alla PARETE FORNITURE sul lato ovest del ponte e prendi le forbicine (E).
Empty bed · {0} with a bundle in your arms loads it Cassone vuoto · {0} con un fascio in braccio lo carica
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors ({0}). Mani vuote! Vai alla PARETE FORNITURE sul lato ovest del ponte e prendi le forbicine ({0}).
Every blade counts. Apparently. Ogni filo conta. A quanto pare.
Every kilo is shot into a Bundle Catcher, anywhere on the planet. A Catcher holds 100 kg and puts it on a belt. With no Catcher free the Reaper stops when its hopper is full. Ogni chilo viene sparato in un Acchiappafasci, ovunque sul pianeta. Un Acchiappafasci contiene 100 kg e li mette su un nastro. Senza un Acchiappafasci libero, il Mietitore si ferma quando la tramoggia è piena.
Every Last Stake Fino all'ultimo picchetto
@ -287,9 +287,9 @@ Hi. I'm the Director's assistant. Ciao. Sono l'assistente del Direttore.
Hold: Read the survey point ({0}) Tieni premuto: leggi il punto geodetico ({0})
Hold: Untangle the stake ({0}) Tieni premuto: sbroglia il picchetto ({0})
Holds 100 kg of what Reapers shoot and puts it on the belt. Contiene 100 kg di ciò che sparano i Mietitori e lo mette sul nastro.
Hop down to the meadow (SPACE at the railing) and HOLD LEFT CLICK: sweep the blade over the grass. Earth needs every blade of it. Salta giù nel prato (SPACE alla ringhiera) e TIENI PREMUTO IL CLIC SINISTRO: passa la lama sull'erba. Alla Terra serve ogni singolo filo.
Hop down to the meadow ({0} at the railing) and HOLD {1}: sweep the blade over the grass. Earth needs every blade of it. Salta giù nel prato ({0} alla ringhiera) e TIENI PREMUTO {1}: passa la lama sull'erba. Alla Terra serve ogni singolo filo.
Hop down to the meadow, space at the railing. Salta giù nel prato, spazio alla ringhiera.
Hop off [R] View Scendi [R] Visuale
Hop off [{0}] View Scendi [{0}] Visuale
Hop over the railing with SPACE, hold LEFT CLICK and sweep the blade over the grass. It goes straight into the tool's container. Scavalca la ringhiera con SPACE, tieni premuto il CLIC SINISTRO e passa la lama sull'erba. Finisce dritta nel contenitore dell'attrezzo.
hopper full, needs a catcher with room tramoggia piena, serve un acchiappafasci con spazio
Hopper full: drive to an UNLOAD marker Tramoggia piena: vai a un segnalino SCARICO
@ -331,8 +331,8 @@ Let the Robot Do It Lascia fare al robot
Linking... Collegamento...
Listen up, you incompetent idiots! Statemi a sentire, branco di idioti incompetenti!
Listening for LAN games… In ascolto di partite LAN…
LMB where the belt starts · height {0:0.0} m LMB dove inizia il nastro · altezza {0:0.0} m
LMB: go on from this end LMB: prosegui da questa estremità
{1} where the belt starts · height {0:0.0} m {1} dove inizia il nastro · altezza {0:0.0} m
{0}: go on from this end {0}: prosegui da questa estremità
LOGISTICS LOGISTICA
Long Handles Manici lunghi
Long Scythe Falce lunga
@ -356,7 +356,7 @@ Mode Modalità
More cash for every sector mown clean. Più soldi per ogni settore falciato a zero.
Mouse sensitivity Sensibilità mouse
Move faster. Muoviti più in fretta.
Moving {0}: LMB put down · R rotate · RMB cancel Sposti {0}: LMB posa · R ruota · RMB annulla
Moving {0}: {1} put down · {2} rotate · {3} cancel Sposti {0}: {1} posa · {2} ruota · {3} annulla
Mow a path for the belt first Prima falcia un passaggio per il nastro
Mow Base Base Falciatura
Mow the grass here first Prima falcia l'erba qui
@ -381,7 +381,6 @@ Nail Scissors Basket Cestino Forbicine
NE NE
Never once lost a scythe. Mai persa una falce.
NEW GAME NUOVA PARTITA
NEXT {0} DOPO {0}
Night Vision Visore notturno
Night vision on Visore notturno acceso
Night Vision: {0}. N goes from the headlamp to night vision to nothing. Visore notturno: {0}. N passa dalla lampada frontale al visore notturno a niente.
@ -400,7 +399,6 @@ nothing to run, {0:0.#} kW free niente da alimentare, {0:0.#} kW liberi
nothing to run, {0:0.#} kW free, batteries {1:0.0} of {2:0} kWh niente da alimentare, {0:0.#} kW liberi, batterie {1:0.0} di {2:0} kWh
Nothing to set on this one. Niente da regolare qui.
Nothing to tie: cut some grass first Niente da legare: prima taglia un po' d'erba
NOW {0} ORA {0}
NOW {0} of {1} slots ORA {0} posti su {1}
NOW DO THE OTHER NINETY-NINE POINT NINE NINE NINE! ORA FATE IL RESTANTE NOVANTANOVE VIRGOLA NOVE NOVE NOVE!
NOW GET OUT THERE AND MOW THAT GODDAMN PLANET! ORA FUORI DI QUI A FALCIARE QUEL DANNATO PIANETA!
@ -488,7 +486,7 @@ Reset progress? Azzerare i progressi?
resting a riposo
RESUME RIPRENDI
Ride the {0} ({1} / {2}) Guida {0} ({1} / {2})
Ride the {0} ({1} of {2} bundles, E with a bundle loads it) Guida {0} ({1} di {2} fasci, E con un fascio lo carica)
Ride the {0} ({1} of {2} bundles, {3} with a bundle loads it) Guida {0} ({1} di {2} fasci, {3} con un fascio lo carica)
RIGHT CLICK takes a piece down and gives all the money back. T carries it somewhere else, the middle button copies it. CLIC DESTRO smonta un pezzo e restituisce tutti i soldi. T lo porta altrove, il tasto centrale lo copia.
Robot Robot
Robot Crew Squadra di robot
@ -587,7 +585,7 @@ Supply wall — tools & gear Parete forniture — attrezzi ed equipaggiamento
Survey point: already read Punto geodetico: già letto
Surveyor Geometra
SW SO
T move · MMB copy · RMB remove T sposta · MMB copia · RMB rimuovi
{0} move · {1} copy · {2} remove {0} sposta · {1} copia · {2} rimuovi
TAKE IN HAND PRENDI IN MANO
TAKE IT PRENDILO
Take the nail scissors from the SUPPLY WALL on the west side of the deck. Prendi le forbicine dalla PARETE FORNITURE sul lato ovest del ponte.
@ -637,10 +635,10 @@ They fill with whatever sun the machines don't use, and when the panels fall sho
Thirty harvests and still early. Trenta raccolti e sempre in anticipo.
This is G.R.A.S.S.A. We take grass very seriously. Qui è G.R.A.S.S.A. Prendiamo l'erba molto sul serio.
This is what peak civilization looks like. Ecco a voi l'apice della civiltà.
Throw [E] Drop [R] Turn Lancia [E] Posa [R] Ruota
Throw [{0}] Drop [{1}] Turn Lancia [{0}] Posa [{1}] Ruota
Throw +{0}% Lancio +{0}%
Throw bundles further. Lancia i fasci più lontano.
Throw it in the DEPOT or onto a belt [E] Drop [R] Turn Lancialo nel DEPOSITO o su un nastro [E] Posa [R] Ruota
Throw it in the DEPOT or onto a belt [{0}] Drop [{1}] Turn Lancialo nel DEPOSITO o su un nastro [{0}] Posa [{1}] Ruota
Throwing Arm Braccio da lancio
Thunderstorm! Dark skies, weak sun, twisters about. Temporale! Cielo scuro, sole debole, trombe d'aria in giro.
Thunderstorm. Dark skies, weak sun, and twisters about. Temporale. Cielo scuro, sole debole e trombe d'aria in giro.
@ -684,7 +682,6 @@ Upgrades are for the whole crew and come out of the shared wallet. I potenziamen
V-Sync V-Sync
Version mismatch Versione non compatibile
Voices Voci
v{0} · early build v{0} · versione preliminare
W O
W A S D to drive. Shift to boost. W A S D per guidare. Shift per il boost.
Wait. Is that... progress? Aspettate. Quello è... un progresso?
@ -698,7 +695,7 @@ Weight Peso
WELCOME TO HERBARIA-7 BENVENUTO SU HERBARIA-7
Well Travelled Giramondo
Wheat Grano
WHEEL piece · LMB place · R rotate · T move · MMB copy · RMB remove · CTRL+WHEEL height · F free WHEEL pezzo · LMB piazza · R ruota · T sposta · MMB copia · RMB rimuovi · CTRL+WHEEL altezza · F libero
WHEEL piece · {0} place · {1} rotate · {2} move · {3} copy · {4} remove · CTRL+WHEEL height · {5} free WHEEL pezzo · {0} piazza · {1} ruota · {2} sposta · {3} copia · {4} rimuovi · CTRL+WHEEL altezza · {5} libero
Whetstone Steel Acciaio affilato
Which address? Quale indirizzo?
Whoa! The twister threw you. Wow! La tromba d'aria ti ha scaraventato via.
@ -730,8 +727,8 @@ Zero point zero zero one percent. Zero virgola zero zero uno per cento.
{0:0.##} m · {1:0} kg {0:0.##} m · {1:0} kg
{0:0.##}% of Herbaria-7 {0:0.##}% di Herbaria-7
{0:0.#} cm · {1:0.##} kg {0:0.#} cm · {1:0.##} kg
{0:0.#} m of belt · MMB copy · RMB remove {0:0.#} m di nastro · MMB copia · RMB rimuovi
{0:0.#} m, {1} · height {2:0.0} m · RMB stops {0:0.#} m, {1} · altezza {2:0.0} m · RMB termina
{0:0.#} m of belt · {1} copy · {2} remove {0:0.#} m di nastro · {1} copia · {2} rimuovi
{0:0.#} m, {1} · height {2:0.0} m · {3} stops {0:0.#} m, {1} · altezza {2:0.0} m · {3} termina
{0:0.#}% mown {0:0.#}% falciato
{0:0.0000}% {0:0.0000}%
{0:0.00} / {1:0.##} KG {0:0.00} / {1:0.##} KG
@ -743,7 +740,7 @@ Zero point zero zero one percent. Zero virgola zero zero uno per cento.
{0:N0} Sectors {0:N0} settori
{0:N0} sectors clean · {1} / {2} stakes · {3} / {4} survey points {0:N0} settori a zero · {1} / {2} picchetti · {3} / {4} punti geodetici
{0:N0} started · {1:N0} mown · {2:0.0000}% of the planet {0:N0} iniziati · {1:N0} falciati · {2:0.0000}% del pianeta
{0} [T] Upgrades & settings {0} [T] Potenziamenti e impostazioni
{0} [{1}] Upgrades & settings {0} [{1}] Potenziamenti e impostazioni
{0} (you) {0} (tu)
{0} / kg {0} / kg
{0} / {1} slots {0} / {1} posti
@ -988,5 +985,25 @@ Grass Train Treno dell'erba
Lays its own track to a station next door, mowing all the way there. Then it runs back and forth, its side cutters reaching further out on every run, and what it cuts is paid for at either end. Build it on open ground facing the way it should go. Si posa da solo i binari fino a una stazione vicina, falciando tutto il percorso. Poi fa la spola, le falciatrici laterali arrivano più lontano a ogni corsa e ciò che taglia viene pagato a entrambi i capolinea. Costruiscilo su terreno libero, rivolto dove deve andare.
{0}: laying track to {1}, {2} of {3} m {0}: posa binari verso {1}, {2} di {3} m
E: another station E: un'altra stazione
{0}: the line to {1} is mown clean as far as it reaches. An upgrade reaches further. {0}: la linea verso {1} è falciata fin dove arriva. Un potenziamento arriva più lontano.
{0}: running to {1} and back, cutting {2} m out either side, {3} on board {0}: fa la spola con {1}, falcia {2} m per lato, {3} a bordo
x{0:0.#} speed and reach, {1} wagons x{0:0.#} velocità e portata, {1} vagoni
Train yard: {0} Scalo del treno: {0}
The Grass Train lays track on to {0} Il Treno dell'erba posa binari fino a {0}
{0}: carrying grass home from the stations on its line, {1} on board, {2} waiting {0}: porta a casa l'erba dalle stazioni della linea, {1} a bordo, {2} in attesa
E: ride in the cab E: sali in cabina
In the cab: W forward · S back · E to get off In cabina: W avanti · S indietro · E scendi
Head bob Oscillazione della visuale
The view rocks a little with each step. Off keeps it still. La visuale oscilla un po' a ogni passo. Disattivata resta ferma.
STEAM PAGE PAGINA STEAM
FEEDBACK FEEDBACK
Grass Cutters Together needs Steam. Start Steam, sign in to the account that owns the game, and launch it from your library. Grass Cutters Together richiede Steam. Avvia Steam, accedi con l'account che possiede il gioco e avvialo dalla tua libreria.
That's the end of the demo: the full game has the rest of the planet. La demo finisce qui: il resto del pianeta è nel gioco completo.
DEMO DEMO
WISHLIST THE FULL GAME AGGIUNGI IL GIOCO ALLA LISTA DEI DESIDERI
DEMO COMPLETE · thanks for playing! DEMO COMPLETATA · grazie per aver giocato!
DEMO · goal: ship {0} of {1} kg of grass DEMO · obiettivo: consegna {0} di {1} kg d'erba
THANKS FOR PLAYING THE DEMO! GRAZIE PER AVER GIOCATO LA DEMO!
Your crew shipped {0} kg of grass and reached the end of the demo. In the full game the whole planet is yours: machines, belts, robots, far stations and up to 16 players. La tua squadra ha consegnato {0} kg d'erba e ha raggiunto la fine della demo. Nel gioco completo tutto il pianeta è tuo: macchine, nastri, robot, stazioni lontane e fino a 16 giocatori.
You can keep mowing here, but nothing more is for sale in the demo. Puoi continuare a falciare qui, ma nella demo non c'è più niente in vendita.
LEAVE FEEDBACK LASCIA UN FEEDBACK
KEEP MOWING CONTINUA A FALCIARE

View File

@ -139,7 +139,7 @@ Company property 会社の備品
Connecting to {0}… {0}に接続中…
Connecting… 接続中…
Container {0:0.##} kg カゴ容量 {0:0.##} kg
Container full! Press E at the DEPOT to hand it all in, or Q to tie a 1 kg bundle you can carry and throw. カゴが満杯! 集荷所でEを押して全部納品するか、Qで1 kgの草束を作って運んで投げよう。
Container full! Press {0} at the DEPOT to hand it all in, or {1} to tie a 1 kg bundle you can carry and throw. カゴが満杯! 集荷所で{0}を押して全部納品するか、{1}で1 kgの草束を作って運んで投げよう。
Container full! Q ties a bundle, E at the DEPOT hands it all in カゴが満杯! Qで束ねる、集荷所でEを押すと全部納品
Container x{0:0} カゴ x{0:0}
CONTAINERS カゴ
@ -194,8 +194,8 @@ ECONOMY 経済
Effects 効果音
Eleven more stations stand around the planet. Walk up to one and it opens for the crew: a depot, a supply wall, a console and a travel terminal. 惑星には他に11のステーションがある。近づくとクルーに開放され、集荷所、備品棚、コンソール、移動ターミナルが使える。
Empty 空き
Empty bed · E with a bundle in your arms loads it 荷台は空 · 草束を抱えてEで積む
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors (E). 手ぶら! デッキ西側の備品棚へ行き、爪切りばさみを取ろう(E)。
Empty bed · {0} with a bundle in your arms loads it 荷台は空 · 草束を抱えて{0}で積む
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors ({0}). 手ぶら! デッキ西側の備品棚へ行き、爪切りばさみを取ろう({0})。
Every blade counts. Apparently. 草一本が大事、だそうです。
Every kilo is shot into a Bundle Catcher, anywhere on the planet. A Catcher holds 100 kg and puts it on a belt. With no Catcher free the Reaper stops when its hopper is full. 刈った草は1 kg残らず、惑星のどこにある草束キャッチャーへも撃ち込まれる。キャッチャーは100 kgまで受け止めてベルトに載せる。空きのあるキャッチャーがないと、リーパーはホッパーが満杯になった時点で止まる。
Every Last Stake 最後の一本まで
@ -287,9 +287,9 @@ Hi. I'm the Director's assistant. こんにちは。本部長のアシスタン
Hold: Read the survey point ({0}) 長押し:測量点を読み取る({0})
Hold: Untangle the stake ({0}) 長押し:杭をほどく({0})
Holds 100 kg of what Reapers shoot and puts it on the belt. リーパーが撃ち込んだ草を100 kgまで受け止め、ベルトに載せる。
Hop down to the meadow (SPACE at the railing) and HOLD LEFT CLICK: sweep the blade over the grass. Earth needs every blade of it. 草原へ飛び降りて(手すりでSPACE)、左クリック長押しで刃を草の上で振ろう。地球には草が一本残らず必要だ。
Hop down to the meadow ({0} at the railing) and HOLD {1}: sweep the blade over the grass. Earth needs every blade of it. 草原へ飛び降りて(手すりで{0})、{1}長押しで刃を草の上で振ろう。地球には草が一本残らず必要だ。
Hop down to the meadow, space at the railing. 草原へ降りてください。手すりのところでスペースです。
Hop off [R] View 降りる [R] 視点
Hop off [{0}] View 降りる [{0}] 視点
Hop over the railing with SPACE, hold LEFT CLICK and sweep the blade over the grass. It goes straight into the tool's container. SPACEで手すりを越え、左クリック長押しで刃を草の上で振る。刈った草はそのまま道具のカゴに入る。
hopper full, needs a catcher with room ホッパー満杯、空きのあるキャッチャーが必要
Hopper full: drive to an UNLOAD marker ホッパー満杯:荷降ろしマーカーへ
@ -331,8 +331,8 @@ Let the Robot Do It ロボットにお任せ
Linking... リンク中…
Listen up, you incompetent idiots! よく聞け、この役立たずどもが!
Listening for LAN games… LANゲームを探しています…
LMB where the belt starts · height {0:0.0} m LMB ベルトの始点 · 高さ {0:0.0} m
LMB: go on from this end LMB:この端から続ける
{1} where the belt starts · height {0:0.0} m {1} ベルトの始点 · 高さ {0:0.0} m
{0}: go on from this end {0}:この端から続ける
LOGISTICS 物流
Long Handles 長い柄
Long Scythe 長柄大鎌
@ -356,7 +356,7 @@ Mode モード
More cash for every sector mown clean. 刈り尽くしたセクターごとの報酬が増える。
Mouse sensitivity マウス感度
Move faster. 移動が速くなる。
Moving {0}: LMB put down · R rotate · RMB cancel {0}を移動中:LMB 設置 · R 回転 · RMB キャンセル
Moving {0}: {1} put down · {2} rotate · {3} cancel {0}を移動中:{1} 設置 · {2} 回転 · {3} キャンセル
Mow a path for the belt first 先にベルトの通り道を刈ろう
Mow Base 草刈り基地
Mow the grass here first 先にここの草を刈ろう
@ -381,7 +381,6 @@ Nail Scissors Basket 爪切りばさみのカゴ
NE 北東
Never once lost a scythe. 大鎌をなくしたことは一度もない。
NEW GAME ニューゲーム
NEXT {0} 次 {0}
Night Vision 暗視装置
Night vision on 暗視 オン
Night Vision: {0}. N goes from the headlamp to night vision to nothing. 暗視装置:{0}。Nでヘッドランプ → 暗視 → オフと切り替わる。
@ -400,7 +399,6 @@ nothing to run, {0:0.#} kW free 稼働する機械なし、{0:0.#} kW余り
nothing to run, {0:0.#} kW free, batteries {1:0.0} of {2:0} kWh 稼働する機械なし、{0:0.#} kW余り、バッテリー {1:0.0}/{2:0} kWh
Nothing to set on this one. 設定項目はありません。
Nothing to tie: cut some grass first 束ねる草がない:先に草を刈ろう
NOW {0} 現在 {0}
NOW {0} of {1} slots 現在 {0}/{1}枠
NOW DO THE OTHER NINETY-NINE POINT NINE NINE NINE! 残りの99.999パーセントもさっさとやれ!
NOW GET OUT THERE AND MOW THAT GODDAMN PLANET! とっとと行って、あのいまいましい惑星を刈ってこい!
@ -488,7 +486,7 @@ Reset progress? 進行状況をリセットしますか?
resting 待機中
RESUME 再開
Ride the {0} ({1} / {2}) {0}に乗る ({1} / {2})
Ride the {0} ({1} of {2} bundles, E with a bundle loads it) {0}に乗る (草束 {1}/{2}、草束を抱えてEで積む)
Ride the {0} ({1} of {2} bundles, {3} with a bundle loads it) {0}に乗る (草束 {1}/{2}、草束を抱えて{3}で積む)
RIGHT CLICK takes a piece down and gives all the money back. T carries it somewhere else, the middle button copies it. 右クリックでパーツを撤去し、全額返金。Tで別の場所へ運び、中ボタンでコピー。
Robot ロボット
Robot Crew ロボット部隊
@ -587,7 +585,7 @@ Supply wall — tools & gear 備品棚 — 道具と装備
Survey point: already read 測量点:読み取り済み
Surveyor 測量士
SW 南西
T move · MMB copy · RMB remove T 移動 · MMB コピー · RMB 撤去
{0} move · {1} copy · {2} remove {0} 移動 · {1} コピー · {2} 撤去
TAKE IN HAND 手に持つ
TAKE IT もらう
Take the nail scissors from the SUPPLY WALL on the west side of the deck. デッキ西側の備品棚から爪切りばさみを取る。
@ -637,10 +635,10 @@ They fill with whatever sun the machines don't use, and when the panels fall sho
Thirty harvests and still early. 収穫30回、まだまだこれから。
This is G.R.A.S.S.A. We take grass very seriously. こちらG.R.A.S.S.A.。我々は草に本気だ。
This is what peak civilization looks like. これぞ文明の極みだ!
Throw [E] Drop [R] Turn 投げる [E] 置く [R] 回す
Throw [{0}] Drop [{1}] Turn 投げる [{0}] 置く [{1}] 回す
Throw +{0}% 投げ距離+{0}%
Throw bundles further. 草束をもっと遠くへ投げられる。
Throw it in the DEPOT or onto a belt [E] Drop [R] Turn 集荷所かベルトへ投げる [E] 置く [R] 回す
Throw it in the DEPOT or onto a belt [{0}] Drop [{1}] Turn 集荷所かベルトへ投げる [{0}] 置く [{1}] 回す
Throwing Arm 強肩
Thunderstorm! Dark skies, weak sun, twisters about. 雷雨! 空は暗く、日差しは弱く、竜巻も発生。
Thunderstorm. Dark skies, weak sun, and twisters about. 雷雨です。空は暗く、日差しは弱く、竜巻も出ています。
@ -684,7 +682,6 @@ Upgrades are for the whole crew and come out of the shared wallet. アップグ
V-Sync 垂直同期
Version mismatch バージョンが一致しません
Voices ボイス
v{0} · early build v{0} · 開発版
W 西
W A S D to drive. Shift to boost. W A S Dで運転、Shiftでブーストです。
Wait. Is that... progress? 待て。これは……進歩か?
@ -698,7 +695,7 @@ Weight 重量
WELCOME TO HERBARIA-7 HERBARIA-7へようこそ
Well Travelled 旅慣れた者
Wheat 小麦
WHEEL piece · LMB place · R rotate · T move · MMB copy · RMB remove · CTRL+WHEEL height · F free WHEEL パーツ · LMB 設置 · R 回転 · T 移動 · MMB コピー · RMB 撤去 · CTRL+WHEEL 高さ · F 自由配置
WHEEL piece · {0} place · {1} rotate · {2} move · {3} copy · {4} remove · CTRL+WHEEL height · {5} free WHEEL パーツ · {0} 設置 · {1} 回転 · {2} 移動 · {3} コピー · {4} 撤去 · CTRL+WHEEL 高さ · {5} 自由配置
Whetstone Steel 砥石鋼
Which address? アドレスは?
Whoa! The twister threw you. うわっ! 竜巻に飛ばされた。
@ -730,8 +727,8 @@ Zero point zero zero one percent. 0.001パーセント。
{0:0.##} m · {1:0} kg {0:0.##} m · {1:0} kg
{0:0.##}% of Herbaria-7 Herbaria-7の{0:0.##}%
{0:0.#} cm · {1:0.##} kg {0:0.#} cm · {1:0.##} kg
{0:0.#} m of belt · MMB copy · RMB remove ベルト {0:0.#} m · MMB コピー · RMB 撤去
{0:0.#} m, {1} · height {2:0.0} m · RMB stops {0:0.#} m、{1} · 高さ {2:0.0} m · RMB 終了
{0:0.#} m of belt · {1} copy · {2} remove ベルト {0:0.#} m · {1} コピー · {2} 撤去
{0:0.#} m, {1} · height {2:0.0} m · {3} stops {0:0.#} m、{1} · 高さ {2:0.0} m · {3} 終了
{0:0.#}% mown {0:0.#}% 刈り済み
{0:0.0000}% {0:0.0000}%
{0:0.00} / {1:0.##} KG {0:0.00} / {1:0.##} KG
@ -743,7 +740,7 @@ Zero point zero zero one percent. 0.001パーセント。
{0:N0} Sectors {0:N0}セクター
{0:N0} sectors clean · {1} / {2} stakes · {3} / {4} survey points 刈り尽くし {0:N0}セクター · 杭 {1} / {2} · 測量点 {3} / {4}
{0:N0} started · {1:N0} mown · {2:0.0000}% of the planet 刈りかけ {0:N0} · 刈り済み {1:N0} · 惑星の{2:0.0000}%
{0} [T] Upgrades & settings {0} [T] 強化と設定
{0} [{1}] Upgrades & settings {0} [{1}] 強化と設定
{0} (you) {0} (あなた)
{0} / kg {0} / kg
{0} / {1} slots {0} / {1}枠
@ -988,5 +985,25 @@ Grass Train グラストレイン
Lays its own track to a station next door, mowing all the way there. Then it runs back and forth, its side cutters reaching further out on every run, and what it cuts is paid for at either end. Build it on open ground facing the way it should go. 隣のステーションまで自分で線路を敷き、道中ずっと草を刈る。線路がつながると往復運転を始め、走るたびに側面のカッターがより遠くまで届き、刈った草は両端で支払われる。開けた地面に、進ませたい方向へ向けて建てよう。
{0}: laying track to {1}, {2} of {3} m {0}:{1}へ線路を敷設中、{2} / {3} m
E: another station E:別のステーション
{0}: the line to {1} is mown clean as far as it reaches. An upgrade reaches further. {0}:{1}への路線は届く範囲まで刈り尽くした。アップグレードで更に遠くまで届く。
{0}: running to {1} and back, cutting {2} m out either side, {3} on board {0}:{1}との間を往復中、両側{2} mまで刈り取り、積載{3}
x{0:0.#} speed and reach, {1} wagons 速度と届く範囲 x{0:0.#}、車両 {1} 両
Train yard: {0} 列車の荷置き場:{0}
The Grass Train lays track on to {0} 草刈り列車が{0}まで線路を延ばします
{0}: carrying grass home from the stations on its line, {1} on board, {2} waiting {0}:路線の駅から草を基地へ運搬中、積載{1}、待機{2}
E: ride in the cab E:運転台に乗る
In the cab: W forward · S back · E to get off 運転台:W 前進 · S 後退 · E 降りる
Head bob 視点の揺れ
The view rocks a little with each step. Off keeps it still. 歩くたびに視点が少し揺れます。オフにすると揺れません。
STEAM PAGE STEAMページ
FEEDBACK フィードバック
Grass Cutters Together needs Steam. Start Steam, sign in to the account that owns the game, and launch it from your library. Grass Cutters Together には Steam が必要です。Steam を起動し、ゲームを所有するアカウントでサインインして、ライブラリから起動してください。
That's the end of the demo: the full game has the rest of the planet. 体験版はここまで:惑星の残りは製品版で待っています。
DEMO 体験版
WISHLIST THE FULL GAME 製品版をウィッシュリストに追加
DEMO COMPLETE · thanks for playing! 体験版クリア · プレイありがとう!
DEMO · goal: ship {0} of {1} kg of grass 体験版 · 目標:草を {1} kg 中 {0} kg 納品
THANKS FOR PLAYING THE DEMO! 体験版をプレイしてくれてありがとう!
Your crew shipped {0} kg of grass and reached the end of the demo. In the full game the whole planet is yours: machines, belts, robots, far stations and up to 16 players. クルーは草を {0} kg 納品し、体験版の最後に到達しました。製品版では惑星全体があなたのもの:マシン、ベルト、ロボット、遠方のステーション、最大16人のプレイヤー。
You can keep mowing here, but nothing more is for sale in the demo. ここで草刈りを続けられますが、体験版ではこれ以上何も買えません。
LEAVE FEEDBACK フィードバックを送る
KEEP MOWING 草刈りを続ける

View File

@ -139,7 +139,7 @@ Company property 회사 자산
Connecting to {0}… {0}에 연결 중…
Connecting… 연결 중…
Container {0:0.##} kg 수거통 {0:0.##} kg
Container full! Press E at the DEPOT to hand it all in, or Q to tie a 1 kg bundle you can carry and throw. 수거통이 가득 찼어요! 집하장에서 E를 눌러 전부 넘기거나, Q로 들고 던질 수 있는 1 kg 다발을 묶으세요.
Container full! Press {0} at the DEPOT to hand it all in, or {1} to tie a 1 kg bundle you can carry and throw. 수거통이 가득 찼어요! 집하장에서 {0}를 눌러 전부 넘기거나, {1}로 들고 던질 수 있는 1 kg 다발을 묶으세요.
Container full! Q ties a bundle, E at the DEPOT hands it all in 수거통 가득! Q로 다발 묶기, 집하장에서 E로 전부 넘기기
Container x{0:0} 수거통 x{0:0}
CONTAINERS 수거통
@ -194,8 +194,8 @@ ECONOMY 경제
Effects 효과음
Eleven more stations stand around the planet. Walk up to one and it opens for the crew: a depot, a supply wall, a console and a travel terminal. 행성 곳곳에 스테이션이 열한 곳 더 있어요. 가까이 가면 크루에게 열려요. 집하장, 보급 벽, 콘솔, 이동 터미널이 있어요.
Empty 비어 있음
Empty bed · E with a bundle in your arms loads it 빈 짐칸 · 다발을 들고 E로 싣기
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors (E). 빈손이에요! 데크 서쪽의 보급 벽으로 가서 손톱가위를 집으세요 (E).
Empty bed · {0} with a bundle in your arms loads it 빈 짐칸 · 다발을 들고 {0}로 싣기
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors ({0}). 빈손이에요! 데크 서쪽의 보급 벽으로 가서 손톱가위를 집으세요 ({0}).
Every blade counts. Apparently. 풀 한 포기도 소중하대요. 그렇다네요.
Every kilo is shot into a Bundle Catcher, anywhere on the planet. A Catcher holds 100 kg and puts it on a belt. With no Catcher free the Reaper stops when its hopper is full. 벤 풀은 1 kg도 빠짐없이 행성 어디에 있든 다발 수집기로 쏘아 보내요. 수집기는 100 kg을 담아 벨트에 올려요. 빈 수집기가 없으면 리퍼는 호퍼가 가득 차는 대로 멈춰요.
Every Last Stake 마지막 말뚝까지
@ -287,9 +287,9 @@ Hi. I'm the Director's assistant. 안녕하세요. 본부장님 비서예요.
Hold: Read the survey point ({0}) 길게 누르기: 측량점 판독 ({0})
Hold: Untangle the stake ({0}) 길게 누르기: 말뚝 정리 ({0})
Holds 100 kg of what Reapers shoot and puts it on the belt. 리퍼가 쏘아 보낸 것을 100 kg까지 담아 벨트에 올려요.
Hop down to the meadow (SPACE at the railing) and HOLD LEFT CLICK: sweep the blade over the grass. Earth needs every blade of it. 초원으로 뛰어내리고 (난간에서 SPACE) 좌클릭을 누른 채 날을 풀 위로 휘두르세요. 지구엔 풀 한 포기까지 다 필요해요.
Hop down to the meadow ({0} at the railing) and HOLD {1}: sweep the blade over the grass. Earth needs every blade of it. 초원으로 뛰어내리고 (난간에서 {0}) {1}을 누른 채 날을 풀 위로 휘두르세요. 지구엔 풀 한 포기까지 다 필요해요.
Hop down to the meadow, space at the railing. 초원으로 뛰어내리세요. 난간에서 스페이스예요.
Hop off [R] View 내리기 [R] 시점
Hop off [{0}] View 내리기 [{0}] 시점
Hop over the railing with SPACE, hold LEFT CLICK and sweep the blade over the grass. It goes straight into the tool's container. SPACE로 난간을 넘고, 좌클릭을 누른 채 날을 풀 위로 휘두르세요. 벤 풀은 바로 도구의 수거통으로 들어가요.
hopper full, needs a catcher with room 호퍼 가득, 빈 수집기 필요
Hopper full: drive to an UNLOAD marker 호퍼 가득: 하역 표시로 이동하세요
@ -331,8 +331,8 @@ Let the Robot Do It 로봇한테 맡겨
Linking... 연결 중...
Listen up, you incompetent idiots! 잘 들어, 이 무능한 멍청이들아!
Listening for LAN games… LAN 게임 찾는 중…
LMB where the belt starts · height {0:0.0} m LMB 벨트 시작점 · 높이 {0:0.0} m
LMB: go on from this end LMB: 이 끝에서 이어 가기
{1} where the belt starts · height {0:0.0} m {1} 벨트 시작점 · 높이 {0:0.0} m
{0}: go on from this end {0}: 이 끝에서 이어 가기
LOGISTICS 물류
Long Handles 긴 손잡이
Long Scythe 긴 큰낫
@ -356,7 +356,7 @@ Mode 모드
More cash for every sector mown clean. 깨끗이 깎은 섹터마다 돈을 더 받아요.
Mouse sensitivity 마우스 감도
Move faster. 더 빨리 움직여요.
Moving {0}: LMB put down · R rotate · RMB cancel {0} 옮기는 중: LMB 내려놓기 · R 회전 · RMB 취소
Moving {0}: {1} put down · {2} rotate · {3} cancel {0} 옮기는 중: {1} 내려놓기 · {2} 회전 · {3} 취소
Mow a path for the belt first 먼저 벨트 길을 깎으세요
Mow Base 풀베기 기지
Mow the grass here first 먼저 여기 풀을 깎으세요
@ -381,7 +381,6 @@ Nail Scissors Basket 손톱가위 바구니
NE 북동
Never once lost a scythe. 큰낫을 잃어버린 적이 한 번도 없다.
NEW GAME 새 게임
NEXT {0} 다음 {0}
Night Vision 야간 투시경
Night vision on 야간 투시경 켬
Night Vision: {0}. N goes from the headlamp to night vision to nothing. 야간 투시경: {0}. N을 누를 때마다 헤드램프 → 야간 투시경 → 끔 순서로 바뀌어요.
@ -400,7 +399,6 @@ nothing to run, {0:0.#} kW free 가동할 것 없음, {0:0.#} kW 여유
nothing to run, {0:0.#} kW free, batteries {1:0.0} of {2:0} kWh 가동할 것 없음, {0:0.#} kW 여유, 배터리 {1:0.0} / {2:0} kWh
Nothing to set on this one. 설정할 게 없어요.
Nothing to tie: cut some grass first 묶을 게 없어요: 먼저 풀을 깎으세요
NOW {0} 현재 {0}
NOW {0} of {1} slots 현재 {0} / {1}칸
NOW DO THE OTHER NINETY-NINE POINT NINE NINE NINE! 이제 나머지 구십구 점 구구구 퍼센트도 해치워!
NOW GET OUT THERE AND MOW THAT GODDAMN PLANET! 당장 나가서 그 빌어먹을 행성을 깎아!
@ -488,7 +486,7 @@ Reset progress? 진행을 초기화할까요?
resting 대기
RESUME 계속하기
Ride the {0} ({1} / {2}) {0} 탑승 ({1} / {2})
Ride the {0} ({1} of {2} bundles, E with a bundle loads it) {0} 탑승 (다발 {1} / {2}, 다발을 들고 E로 싣기)
Ride the {0} ({1} of {2} bundles, {3} with a bundle loads it) {0} 탑승 (다발 {1} / {2}, 다발을 들고 {3}로 싣기)
RIGHT CLICK takes a piece down and gives all the money back. T carries it somewhere else, the middle button copies it. 우클릭으로 부품을 철거하면 돈을 전부 돌려받아요. T로 다른 곳에 옮기고, 휠 클릭으로 복사해요.
Robot 로봇
Robot Crew 로봇 크루
@ -587,7 +585,7 @@ Supply wall — tools & gear 보급 벽 — 도구와 장비
Survey point: already read 측량점: 판독 완료
Surveyor 측량사
SW 남서
T move · MMB copy · RMB remove T 이동 · MMB 복사 · RMB 철거
{0} move · {1} copy · {2} remove {0} 이동 · {1} 복사 · {2} 철거
TAKE IN HAND 손에 들기
TAKE IT 가져가기
Take the nail scissors from the SUPPLY WALL on the west side of the deck. 데크 서쪽의 보급 벽에서 손톱가위를 가져가세요.
@ -637,10 +635,10 @@ They fill with whatever sun the machines don't use, and when the panels fall sho
Thirty harvests and still early. 수확만 서른 번, 아직 갈 길이 멀다.
This is G.R.A.S.S.A. We take grass very seriously. 여기는 G.R.A.S.S.A.다. 우리는 풀에 아주 진지하지.
This is what peak civilization looks like. 이게 바로 문명의 정점이란 거다.
Throw [E] Drop [R] Turn 던지기 [E] 내려놓기 [R] 돌리기
Throw [{0}] Drop [{1}] Turn 던지기 [{0}] 내려놓기 [{1}] 돌리기
Throw +{0}% 투척 +{0}%
Throw bundles further. 다발을 더 멀리 던져요.
Throw it in the DEPOT or onto a belt [E] Drop [R] Turn 집하장이나 벨트로 던지기 [E] 내려놓기 [R] 돌리기
Throw it in the DEPOT or onto a belt [{0}] Drop [{1}] Turn 집하장이나 벨트로 던지기 [{0}] 내려놓기 [{1}] 돌리기
Throwing Arm 강견
Thunderstorm! Dark skies, weak sun, twisters about. 뇌우예요! 하늘은 어둡고, 햇빛은 약하고, 회오리가 돌아다녀요.
Thunderstorm. Dark skies, weak sun, and twisters about. 뇌우예요. 하늘은 어둡고, 햇빛은 약하고, 회오리까지 돌아다녀요.
@ -684,7 +682,6 @@ Upgrades are for the whole crew and come out of the shared wallet. 업그레이
V-Sync 수직 동기화
Version mismatch 버전 불일치
Voices 음성
v{0} · early build v{0} · 얼리 빌드
W 서
W A S D to drive. Shift to boost. W A S D로 운전하고, Shift로 부스트해요.
Wait. Is that... progress? 잠깐. 이거... 진척인가?
@ -698,7 +695,7 @@ Weight 무게
WELCOME TO HERBARIA-7 HERBARIA-7에 오신 걸 환영해요
Well Travelled 여행의 달인
Wheat 밀
WHEEL piece · LMB place · R rotate · T move · MMB copy · RMB remove · CTRL+WHEEL height · F free WHEEL 부품 · LMB 설치 · R 회전 · T 이동 · MMB 복사 · RMB 철거 · CTRL+WHEEL 높이 · F 자유 배치
WHEEL piece · {0} place · {1} rotate · {2} move · {3} copy · {4} remove · CTRL+WHEEL height · {5} free WHEEL 부품 · {0} 설치 · {1} 회전 · {2} 이동 · {3} 복사 · {4} 철거 · CTRL+WHEEL 높이 · {5} 자유 배치
Whetstone Steel 숫돌 강철
Which address? 어느 주소인가요?
Whoa! The twister threw you. 으악! 회오리에 날아갔어요.
@ -730,8 +727,8 @@ Zero point zero zero one percent. 영 점 영영일 퍼센트.
{0:0.##} m · {1:0} kg {0:0.##} m · {1:0} kg
{0:0.##}% of Herbaria-7 Herbaria-7의 {0:0.##}%
{0:0.#} cm · {1:0.##} kg {0:0.#} cm · {1:0.##} kg
{0:0.#} m of belt · MMB copy · RMB remove 벨트 {0:0.#} m · MMB 복사 · RMB 철거
{0:0.#} m, {1} · height {2:0.0} m · RMB stops {0:0.#} m, {1} · 높이 {2:0.0} m · RMB 중단
{0:0.#} m of belt · {1} copy · {2} remove 벨트 {0:0.#} m · {1} 복사 · {2} 철거
{0:0.#} m, {1} · height {2:0.0} m · {3} stops {0:0.#} m, {1} · 높이 {2:0.0} m · {3} 중단
{0:0.#}% mown {0:0.#}% 깎음
{0:0.0000}% {0:0.0000}%
{0:0.00} / {1:0.##} KG {0:0.00} / {1:0.##} KG
@ -743,7 +740,7 @@ Zero point zero zero one percent. 영 점 영영일 퍼센트.
{0:N0} Sectors 섹터 {0:N0}개
{0:N0} sectors clean · {1} / {2} stakes · {3} / {4} survey points 정리한 섹터 {0:N0}개 · 말뚝 {1} / {2} · 측량점 {3} / {4}
{0:N0} started · {1:N0} mown · {2:0.0000}% of the planet 진행 중 {0:N0} · 다 깎음 {1:N0} · 행성의 {2:0.0000}%
{0} [T] Upgrades & settings {0} [T] 업그레이드 및 설정
{0} [{1}] Upgrades & settings {0} [{1}] 업그레이드 및 설정
{0} (you) {0} (나)
{0} / kg {0} / kg
{0} / {1} slots {0} / {1}칸
@ -988,5 +985,25 @@ Grass Train 잔디 기차
Lays its own track to a station next door, mowing all the way there. Then it runs back and forth, its side cutters reaching further out on every run, and what it cuts is paid for at either end. Build it on open ground facing the way it should go. 이웃 정거장까지 스스로 선로를 깔면서 가는 길을 전부 깎아요. 선로가 이어지면 왕복 운행을 하는데, 운행할 때마다 옆 커터가 더 멀리 닿고, 깎은 풀은 양 끝에서 정산돼요. 탁 트인 땅에, 가야 할 방향을 보게 지으세요.
{0}: laying track to {1}, {2} of {3} m {0}: {1}까지 선로 까는 중, {2} / {3} m
E: another station E: 다른 정거장
{0}: the line to {1} is mown clean as far as it reaches. An upgrade reaches further. {0}: {1}까지의 노선은 닿는 데까지 다 깎았어요. 업그레이드하면 더 멀리 닿아요.
{0}: running to {1} and back, cutting {2} m out either side, {3} on board {0}: {1} 왕복 중, 양옆 {2} m까지 깎는 중, {3} 적재
x{0:0.#} speed and reach, {1} wagons 속도와 범위 x{0:0.#}, 화차 {1}량
Train yard: {0} 열차 하역장: {0}
The Grass Train lays track on to {0} 잔디 열차가 {0}까지 선로를 깝니다
{0}: carrying grass home from the stations on its line, {1} on board, {2} waiting {0}: 노선의 역에서 풀을 기지로 운반 중, 적재 {1}, 대기 {2}
E: ride in the cab E: 기관실에 타기
In the cab: W forward · S back · E to get off 기관실: W 전진 · S 후진 · E 내리기
Head bob 화면 흔들림(걸음)
The view rocks a little with each step. Off keeps it still. 걸을 때마다 시야가 살짝 흔들립니다. 끄면 고정됩니다.
STEAM PAGE STEAM 페이지
FEEDBACK 피드백
Grass Cutters Together needs Steam. Start Steam, sign in to the account that owns the game, and launch it from your library. Grass Cutters Together는 Steam이 필요합니다. Steam을 실행하고 게임을 보유한 계정으로 로그인한 뒤 라이브러리에서 실행하세요.
That's the end of the demo: the full game has the rest of the planet. 데모는 여기까지입니다: 행성의 나머지는 정식 버전에서 기다립니다.
DEMO 데모
WISHLIST THE FULL GAME 정식 버전을 찜 목록에 추가
DEMO COMPLETE · thanks for playing! 데모 완료 · 플레이해 주셔서 감사합니다!
DEMO · goal: ship {0} of {1} kg of grass 데모 · 목표: 풀 {1} kg 중 {0} kg 납품
THANKS FOR PLAYING THE DEMO! 데모를 플레이해 주셔서 감사합니다!
Your crew shipped {0} kg of grass and reached the end of the demo. In the full game the whole planet is yours: machines, belts, robots, far stations and up to 16 players. 크루가 풀 {0} kg을 납품하고 데모의 끝에 도달했습니다. 정식 버전에서는 행성 전체가 여러분의 것입니다: 기계, 컨베이어, 로봇, 먼 정거장, 최대 16명의 플레이어.
You can keep mowing here, but nothing more is for sale in the demo. 여기서 계속 풀을 벨 수 있지만, 데모에서는 더 이상 살 수 있는 것이 없습니다.
LEAVE FEEDBACK 피드백 남기기
KEEP MOWING 계속 풀 베기

View File

@ -139,7 +139,7 @@ Company property Własność firmy
Connecting to {0}… Łączenie z: {0}…
Connecting… Łączenie…
Container {0:0.##} kg Pojemnik {0:0.##} kg
Container full! Press E at the DEPOT to hand it all in, or Q to tie a 1 kg bundle you can carry and throw. Pojemnik pełny! Naciśnij E przy SKUPIE, żeby wszystko oddać, albo Q, żeby związać 1-kilogramowy snopek, który możesz nosić i rzucać.
Container full! Press {0} at the DEPOT to hand it all in, or {1} to tie a 1 kg bundle you can carry and throw. Pojemnik pełny! Naciśnij {0} przy SKUPIE, żeby wszystko oddać, albo {1}, żeby związać 1-kilogramowy snopek, który możesz nosić i rzucać.
Container full! Q ties a bundle, E at the DEPOT hands it all in Pojemnik pełny! Q wiąże snopek, E przy SKUPIE oddaje wszystko
Container x{0:0} Pojemność x{0:0}
CONTAINERS POJEMNIKI
@ -194,8 +194,8 @@ ECONOMY EKONOMIA
Effects Efekty
Eleven more stations stand around the planet. Walk up to one and it opens for the crew: a depot, a supply wall, a console and a travel terminal. Na planecie stoi jeszcze jedenaście stacji. Podejdź do którejś, a otworzy się dla ekipy: skup, ściana sprzętu, konsola i terminal podróży.
Empty Pusty
Empty bed · E with a bundle in your arms loads it Pusta skrzynia · E ze snopkiem w rękach go ładuje
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors (E). Puste ręce! Podejdź do ŚCIANY SPRZĘTU po zachodniej stronie pomostu i weź nożyczki do paznokci (E).
Empty bed · {0} with a bundle in your arms loads it Pusta skrzynia · {0} ze snopkiem w rękach go ładuje
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors ({0}). Puste ręce! Podejdź do ŚCIANY SPRZĘTU po zachodniej stronie pomostu i weź nożyczki do paznokci ({0}).
Every blade counts. Apparently. Każde źdźbło się liczy. Podobno.
Every kilo is shot into a Bundle Catcher, anywhere on the planet. A Catcher holds 100 kg and puts it on a belt. With no Catcher free the Reaper stops when its hopper is full. Każde kilo leci prosto do Łapacza snopków, gdziekolwiek na planecie. Łapacz mieści 100 kg i wydaje je na taśmę. Gdy żaden Łapacz nie ma miejsca, Żniwiarz staje z pełnym zbiornikiem.
Every Last Stake Co do palika
@ -287,9 +287,9 @@ Hi. I'm the Director's assistant. Cześć. Jestem asystentką Dyrektora.
Hold: Read the survey point ({0}) Przytrzymaj: odczytaj punkt pomiarowy ({0})
Hold: Untangle the stake ({0}) Przytrzymaj: rozplącz palik ({0})
Holds 100 kg of what Reapers shoot and puts it on the belt. Mieści 100 kg tego, co wystrzeliwują Żniwiarze, i wydaje to na taśmę.
Hop down to the meadow (SPACE at the railing) and HOLD LEFT CLICK: sweep the blade over the grass. Earth needs every blade of it. Zeskocz na łąkę (SPACE przy barierce) i PRZYTRZYMAJ LEWY PRZYCISK MYSZY: przeciągaj ostrzem po trawie. Ziemia potrzebuje każdego źdźbła.
Hop down to the meadow ({0} at the railing) and HOLD {1}: sweep the blade over the grass. Earth needs every blade of it. Zeskocz na łąkę ({0} przy barierce) i PRZYTRZYMAJ {1}: przeciągaj ostrzem po trawie. Ziemia potrzebuje każdego źdźbła.
Hop down to the meadow, space at the railing. Zeskocz na łąkę, spacja przy barierce.
Hop off [R] View Wysiądź [R] Widok
Hop off [{0}] View Wysiądź [{0}] Widok
Hop over the railing with SPACE, hold LEFT CLICK and sweep the blade over the grass. It goes straight into the tool's container. Przeskocz przez barierkę klawiszem SPACE, przytrzymaj LEWY PRZYCISK MYSZY i przeciągaj ostrzem po trawie. Trawa trafia prosto do pojemnika narzędzia.
hopper full, needs a catcher with room zbiornik pełny, potrzebny łapacz z wolnym miejscem
Hopper full: drive to an UNLOAD marker Zbiornik pełny: jedź do znacznika ROZŁADUNEK
@ -331,8 +331,8 @@ Let the Robot Do It Niech robot to zrobi
Linking... Łączenie...
Listen up, you incompetent idiots! Słuchajcie, wy nieudolne matoły!
Listening for LAN games… Nasłuchiwanie gier LAN…
LMB where the belt starts · height {0:0.0} m LMB tam, gdzie zaczyna się taśma · wysokość {0:0.0} m
LMB: go on from this end LMB: ciągnij dalej od tego końca
{1} where the belt starts · height {0:0.0} m {1} tam, gdzie zaczyna się taśma · wysokość {0:0.0} m
{0}: go on from this end {0}: ciągnij dalej od tego końca
LOGISTICS LOGISTYKA
Long Handles Długie trzonki
Long Scythe Długa kosa
@ -356,7 +356,7 @@ Mode Tryb
More cash for every sector mown clean. Więcej kasy za każdy sektor wykoszony do czysta.
Mouse sensitivity Czułość myszy
Move faster. Ruszaj się szybciej.
Moving {0}: LMB put down · R rotate · RMB cancel {0} – przenoszenie: LMB odłóż · R obróć · RMB anuluj
Moving {0}: {1} put down · {2} rotate · {3} cancel {0} – przenoszenie: {1} odłóż · {2} obróć · {3} anuluj
Mow a path for the belt first Najpierw wykoś ścieżkę pod taśmę
Mow Base Baza koszenia
Mow the grass here first Najpierw skoś tu trawę
@ -381,7 +381,6 @@ Nail Scissors Basket Kosz: Nożyczki do paznokci
NE NE
Never once lost a scythe. Ani razu nie zgubił kosy.
NEW GAME NOWA GRA
NEXT {0} NASTĘPNY {0}
Night Vision Noktowizor
Night vision on Noktowizor włączony
Night Vision: {0}. N goes from the headlamp to night vision to nothing. Noktowizor: {0}. N przełącza: czołówka, noktowizor, nic.
@ -400,7 +399,6 @@ nothing to run, {0:0.#} kW free nic nie pracuje, wolne {0:0.#} kW
nothing to run, {0:0.#} kW free, batteries {1:0.0} of {2:0} kWh nic nie pracuje, wolne {0:0.#} kW, baterie {1:0.0} z {2:0} kWh
Nothing to set on this one. Tu nie ma nic do ustawienia.
Nothing to tie: cut some grass first Nie ma czego wiązać: najpierw skoś trochę trawy
NOW {0} TERAZ {0}
NOW {0} of {1} slots TERAZ miejsca: {0} z {1}
NOW DO THE OTHER NINETY-NINE POINT NINE NINE NINE! A TERAZ ZRÓBCIE POZOSTAŁE DZIEWIĘĆDZIESIĄT DZIEWIĘĆ PRZECINEK DZIEWIĘĆ DZIEWIĘĆ DZIEWIĘĆ!
NOW GET OUT THERE AND MOW THAT GODDAMN PLANET! A TERAZ WYNOCHA I KOŚCIE TĘ PRZEKLĘTĄ PLANETĘ!
@ -488,7 +486,7 @@ Reset progress? Zresetować postęp?
resting w spoczynku
RESUME WZNÓW
Ride the {0} ({1} / {2}) Wsiądź: {0} ({1} / {2})
Ride the {0} ({1} of {2} bundles, E with a bundle loads it) Wsiądź: {0} (snopki: {1} z {2}, E ze snopkiem ładuje)
Ride the {0} ({1} of {2} bundles, {3} with a bundle loads it) Wsiądź: {0} (snopki: {1} z {2}, {3} ze snopkiem ładuje)
RIGHT CLICK takes a piece down and gives all the money back. T carries it somewhere else, the middle button copies it. PRAWY PRZYCISK rozbiera element i zwraca całą kasę. T przenosi go gdzie indziej, środkowy przycisk go kopiuje.
Robot Robot
Robot Crew Robotyczna ekipa
@ -587,7 +585,7 @@ Supply wall — tools & gear Ściana sprzętu — narzędzia i wyposażenie
Survey point: already read Punkt pomiarowy: już odczytany
Surveyor Geodeta
SW SW
T move · MMB copy · RMB remove T przenieś · MMB kopiuj · RMB usuń
{0} move · {1} copy · {2} remove {0} przenieś · {1} kopiuj · {2} usuń
TAKE IN HAND WEŹ DO RĘKI
TAKE IT BIERZ
Take the nail scissors from the SUPPLY WALL on the west side of the deck. Weź nożyczki do paznokci ze ŚCIANY SPRZĘTU po zachodniej stronie pomostu.
@ -637,10 +635,10 @@ They fill with whatever sun the machines don't use, and when the panels fall sho
Thirty harvests and still early. Trzydzieści żniw, a wciąż ranny ptaszek.
This is G.R.A.S.S.A. We take grass very seriously. Tu G.R.A.S.S.A. Trawę traktujemy bardzo poważnie.
This is what peak civilization looks like. Tak wygląda szczyt cywilizacji.
Throw [E] Drop [R] Turn Rzuć [E] Upuść [R] Obróć
Throw [{0}] Drop [{1}] Turn Rzuć [{0}] Upuść [{1}] Obróć
Throw +{0}% Rzut +{0}%
Throw bundles further. Rzucaj snopkami dalej.
Throw it in the DEPOT or onto a belt [E] Drop [R] Turn Wrzuć do SKUPU albo na taśmę [E] Upuść [R] Obróć
Throw it in the DEPOT or onto a belt [{0}] Drop [{1}] Turn Wrzuć do SKUPU albo na taśmę [{0}] Upuść [{1}] Obróć
Throwing Arm Ramię miotacza
Thunderstorm! Dark skies, weak sun, twisters about. Burza! Ciemne niebo, słabe słońce, wokół trąby powietrzne.
Thunderstorm. Dark skies, weak sun, and twisters about. Burza. Ciemne niebo, słabe słońce i trąby powietrzne w okolicy.
@ -684,7 +682,6 @@ Upgrades are for the whole crew and come out of the shared wallet. Ulepszenia s
V-Sync V-Sync
Version mismatch Niezgodne wersje
Voices Głosy
v{0} · early build v{0} · wczesna wersja
W W
W A S D to drive. Shift to boost. W A S D, żeby jechać. Shift, żeby przyspieszyć.
Wait. Is that... progress? Chwila. Czy to... postęp?
@ -698,7 +695,7 @@ Weight Waga
WELCOME TO HERBARIA-7 WITAJ NA HERBARII-7
Well Travelled Obieżyświat
Wheat Pszenica
WHEEL piece · LMB place · R rotate · T move · MMB copy · RMB remove · CTRL+WHEEL height · F free WHEEL element · LMB postaw · R obróć · T przenieś · MMB kopiuj · RMB usuń · CTRL+WHEEL wysokość · F swobodnie
WHEEL piece · {0} place · {1} rotate · {2} move · {3} copy · {4} remove · CTRL+WHEEL height · {5} free WHEEL element · {0} postaw · {1} obróć · {2} przenieś · {3} kopiuj · {4} usuń · CTRL+WHEEL wysokość · {5} swobodnie
Whetstone Steel Stal z osełki
Which address? Jaki adres?
Whoa! The twister threw you. Ojej! Trąba powietrzna cię porwała.
@ -730,8 +727,8 @@ Zero point zero zero one percent. Zero przecinek zero zero jeden procent.
{0:0.##} m · {1:0} kg {0:0.##} m · {1:0} kg
{0:0.##}% of Herbaria-7 {0:0.##}% Herbarii-7
{0:0.#} cm · {1:0.##} kg {0:0.#} cm · {1:0.##} kg
{0:0.#} m of belt · MMB copy · RMB remove Taśma {0:0.#} m · MMB kopiuj · RMB usuń
{0:0.#} m, {1} · height {2:0.0} m · RMB stops {0:0.#} m, {1} · wysokość {2:0.0} m · RMB kończy
{0:0.#} m of belt · {1} copy · {2} remove Taśma {0:0.#} m · {1} kopiuj · {2} usuń
{0:0.#} m, {1} · height {2:0.0} m · {3} stops {0:0.#} m, {1} · wysokość {2:0.0} m · {3} kończy
{0:0.#}% mown skoszono {0:0.#}%
{0:0.0000}% {0:0.0000}%
{0:0.00} / {1:0.##} KG {0:0.00} / {1:0.##} KG
@ -743,7 +740,7 @@ Zero point zero zero one percent. Zero przecinek zero zero jeden procent.
{0:N0} Sectors Sektory: {0:N0}
{0:N0} sectors clean · {1} / {2} stakes · {3} / {4} survey points Czyste sektory: {0:N0} · paliki: {1} / {2} · punkty pomiarowe: {3} / {4}
{0:N0} started · {1:N0} mown · {2:0.0000}% of the planet Rozpoczęte: {0:N0} · skoszone: {1:N0} · {2:0.0000}% planety
{0} [T] Upgrades & settings {0} [T] Ulepszenia i ustawienia
{0} [{1}] Upgrades & settings {0} [{1}] Ulepszenia i ustawienia
{0} (you) {0} (ty)
{0} / kg {0} / kg
{0} / {1} slots Miejsca: {0} / {1}
@ -988,5 +985,25 @@ Grass Train Trawiasta kolejka
Lays its own track to a station next door, mowing all the way there. Then it runs back and forth, its side cutters reaching further out on every run, and what it cuts is paid for at either end. Build it on open ground facing the way it should go. Sama układa sobie tory do sąsiedniej stacji, kosząc całą drogę. Potem kursuje tam i z powrotem, a jej boczne kosiarki sięgają dalej z każdym kursem; to, co skosi, jest opłacane na obu końcach. Postaw ją na wolnym terenie, przodem tam, dokąd ma jechać.
{0}: laying track to {1}, {2} of {3} m {0}: układa tor do {1}, {2} z {3} m
E: another station E: inna stacja
{0}: the line to {1} is mown clean as far as it reaches. An upgrade reaches further. {0}: linia do {1} jest skoszona, jak daleko sięga. Ulepszenie sięga dalej.
{0}: running to {1} and back, cutting {2} m out either side, {3} on board {0}: kursuje do {1} i z powrotem, kosi {2} m po bokach, {3} na pokładzie
x{0:0.#} speed and reach, {1} wagons x{0:0.#} prędkości i zasięgu, wagonów: {1}
Train yard: {0} Plac pociągu: {0}
The Grass Train lays track on to {0} Pociąg trawiasty kładzie tory dalej, do {0}
{0}: carrying grass home from the stations on its line, {1} on board, {2} waiting {0}: wozi trawę ze stacji na linii do bazy, {1} na pokładzie, czeka {2}
E: ride in the cab E: wsiądź do kabiny
In the cab: W forward · S back · E to get off W kabinie: W naprzód · S wstecz · E wysiądź
Head bob Kołysanie widoku
The view rocks a little with each step. Off keeps it still. Widok lekko się kołysze przy każdym kroku. Wyłączone trzyma go nieruchomo.
STEAM PAGE STRONA STEAM
FEEDBACK OPINIE
Grass Cutters Together needs Steam. Start Steam, sign in to the account that owns the game, and launch it from your library. Grass Cutters Together wymaga Steam. Uruchom Steam, zaloguj się na konto, które ma grę, i uruchom ją z biblioteki.
That's the end of the demo: the full game has the rest of the planet. Tu demo się kończy: reszta planety czeka w pełnej grze.
DEMO DEMO
WISHLIST THE FULL GAME DODAJ GRĘ DO LISTY ŻYCZEŃ
DEMO COMPLETE · thanks for playing! DEMO UKOŃCZONE · dzięki za grę!
DEMO · goal: ship {0} of {1} kg of grass DEMO · cel: dostarcz {0} z {1} kg trawy
THANKS FOR PLAYING THE DEMO! DZIĘKUJEMY ZA ZAGRANIE W DEMO!
Your crew shipped {0} kg of grass and reached the end of the demo. In the full game the whole planet is yours: machines, belts, robots, far stations and up to 16 players. Twoja ekipa dostarczyła {0} kg trawy i dotarła do końca demo. W pełnej grze cała planeta jest twoja: maszyny, taśmociągi, roboty, dalekie stacje i do 16 graczy.
You can keep mowing here, but nothing more is for sale in the demo. Możesz dalej kosić, ale w demo nic więcej nie jest na sprzedaż.
LEAVE FEEDBACK WYŚLIJ OPINIĘ
KEEP MOWING KOŚ DALEJ

View File

@ -139,7 +139,7 @@ Company property Propriedade da empresa
Connecting to {0}… Conectando a {0}…
Connecting… Conectando…
Container {0:0.##} kg Recipiente {0:0.##} kg
Container full! Press E at the DEPOT to hand it all in, or Q to tie a 1 kg bundle you can carry and throw. Recipiente cheio! Aperte E no DEPÓSITO para entregar tudo, ou Q para amarrar um fardo de 1 kg que você pode carregar e jogar.
Container full! Press {0} at the DEPOT to hand it all in, or {1} to tie a 1 kg bundle you can carry and throw. Recipiente cheio! Aperte {0} no DEPÓSITO para entregar tudo, ou {1} para amarrar um fardo de 1 kg que você pode carregar e jogar.
Container full! Q ties a bundle, E at the DEPOT hands it all in Recipiente cheio! Q amarra um fardo, E no DEPÓSITO entrega tudo
Container x{0:0} Recipiente x{0:0}
CONTAINERS RECIPIENTES
@ -194,8 +194,8 @@ ECONOMY ECONOMIA
Effects Efeitos
Eleven more stations stand around the planet. Walk up to one and it opens for the crew: a depot, a supply wall, a console and a travel terminal. Mais onze estações estão espalhadas pelo planeta. Chegue perto de uma e ela se abre para a equipe: um depósito, um almoxarifado, um console e um terminal de viagem.
Empty Vazio
Empty bed · E with a bundle in your arms loads it Carroceria vazia · E com um fardo nos braços carrega
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors (E). Mãos vazias! Vá até o ALMOXARIFADO no lado oeste do deque e pegue a tesoura de unha (E).
Empty bed · {0} with a bundle in your arms loads it Carroceria vazia · {0} com um fardo nos braços carrega
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors ({0}). Mãos vazias! Vá até o ALMOXARIFADO no lado oeste do deque e pegue a tesoura de unha ({0}).
Every blade counts. Apparently. Cada folhinha conta. Pelo visto.
Every kilo is shot into a Bundle Catcher, anywhere on the planet. A Catcher holds 100 kg and puts it on a belt. With no Catcher free the Reaper stops when its hopper is full. Cada quilo é disparado para um Coletor de Fardos, em qualquer lugar do planeta. Um Coletor guarda 100 kg e põe tudo numa esteira. Sem Coletor livre, o Ceifador para quando a caçamba enche.
Every Last Stake Até a Última Estaca
@ -287,9 +287,9 @@ Hi. I'm the Director's assistant. Oi. Sou a assistente do Diretor.
Hold: Read the survey point ({0}) Segure: ler o ponto topográfico ({0})
Hold: Untangle the stake ({0}) Segure: desembaraçar a estaca ({0})
Holds 100 kg of what Reapers shoot and puts it on the belt. Guarda 100 kg do que os Ceifadores disparam e põe tudo na esteira.
Hop down to the meadow (SPACE at the railing) and HOLD LEFT CLICK: sweep the blade over the grass. Earth needs every blade of it. Pule para o campo (SPACE no parapeito) e SEGURE O CLIQUE ESQUERDO: passe a lâmina pela grama. A Terra precisa de cada folhinha.
Hop down to the meadow ({0} at the railing) and HOLD {1}: sweep the blade over the grass. Earth needs every blade of it. Pule para o campo ({0} no parapeito) e SEGURE {1}: passe a lâmina pela grama. A Terra precisa de cada folhinha.
Hop down to the meadow, space at the railing. Pule para o campo, espaço no parapeito.
Hop off [R] View Descer [R] Câmera
Hop off [{0}] View Descer [{0}] Câmera
Hop over the railing with SPACE, hold LEFT CLICK and sweep the blade over the grass. It goes straight into the tool's container. Pule o parapeito com SPACE, segure o CLIQUE ESQUERDO e passe a lâmina pela grama. Ela vai direto para o recipiente da ferramenta.
hopper full, needs a catcher with room caçamba cheia, precisa de um coletor com espaço
Hopper full: drive to an UNLOAD marker Caçamba cheia: vá até um marcador de DESCARGA
@ -331,8 +331,8 @@ Let the Robot Do It Deixa que o Robô Faz
Linking... Conectando...
Listen up, you incompetent idiots! Escutem aqui, seus idiotas incompetentes!
Listening for LAN games… Procurando jogos na LAN…
LMB where the belt starts · height {0:0.0} m LMB onde a esteira começa · altura {0:0.0} m
LMB: go on from this end LMB: continuar desta ponta
{1} where the belt starts · height {0:0.0} m {1} onde a esteira começa · altura {0:0.0} m
{0}: go on from this end {0}: continuar desta ponta
LOGISTICS LOGÍSTICA
Long Handles Cabos Longos
Long Scythe Foice Longa
@ -356,7 +356,7 @@ Mode Modo
More cash for every sector mown clean. Mais grana por cada setor limpo.
Mouse sensitivity Sensibilidade do mouse
Move faster. Ande mais rápido.
Moving {0}: LMB put down · R rotate · RMB cancel Movendo {0}: LMB soltar · R girar · RMB cancelar
Moving {0}: {1} put down · {2} rotate · {3} cancel Movendo {0}: {1} soltar · {2} girar · {3} cancelar
Mow a path for the belt first Corte um caminho para a esteira primeiro
Mow Base Base de Corte
Mow the grass here first Corte a grama aqui primeiro
@ -381,7 +381,6 @@ Nail Scissors Basket Cesto da Tesoura de Unha
NE NE
Never once lost a scythe. Nunca perdeu uma foice.
NEW GAME NOVO JOGO
NEXT {0} PRÓXIMO {0}
Night Vision Visão Noturna
Night vision on Visão noturna ligada
Night Vision: {0}. N goes from the headlamp to night vision to nothing. Visão Noturna: {0}. N alterna entre lanterna, visão noturna e nada.
@ -400,7 +399,6 @@ nothing to run, {0:0.#} kW free nada para alimentar, {0:0.#} kW livres
nothing to run, {0:0.#} kW free, batteries {1:0.0} of {2:0} kWh nada para alimentar, {0:0.#} kW livres, baterias {1:0.0} de {2:0} kWh
Nothing to set on this one. Nada para ajustar aqui.
Nothing to tie: cut some grass first Nada para amarrar: corte um pouco de grama primeiro
NOW {0} AGORA {0}
NOW {0} of {1} slots AGORA {0} de {1} espaços
NOW DO THE OTHER NINETY-NINE POINT NINE NINE NINE! AGORA FAÇAM OS OUTROS NOVENTA E NOVE VÍRGULA NOVE NOVE NOVE!
NOW GET OUT THERE AND MOW THAT GODDAMN PLANET! AGORA VÃO LÁ FORA E CORTEM ESSE MALDITO PLANETA!
@ -488,7 +486,7 @@ Reset progress? Apagar o progresso?
resting em repouso
RESUME CONTINUAR
Ride the {0} ({1} / {2}) Dirigir {0} ({1} / {2})
Ride the {0} ({1} of {2} bundles, E with a bundle loads it) Dirigir {0} ({1} de {2} fardos, E com um fardo carrega)
Ride the {0} ({1} of {2} bundles, {3} with a bundle loads it) Dirigir {0} ({1} de {2} fardos, {3} com um fardo carrega)
RIGHT CLICK takes a piece down and gives all the money back. T carries it somewhere else, the middle button copies it. CLIQUE DIREITO desmonta uma peça e devolve todo o dinheiro. T a leva para outro lugar, o botão do meio a copia.
Robot Robô
Robot Crew Equipe Robô
@ -587,7 +585,7 @@ Supply wall — tools & gear Almoxarifado — ferramentas e equipamento
Survey point: already read Ponto topográfico: já lido
Surveyor Agrimensor
SW SO
T move · MMB copy · RMB remove T mover · MMB copiar · RMB remover
{0} move · {1} copy · {2} remove {0} mover · {1} copiar · {2} remover
TAKE IN HAND PEGAR NA MÃO
TAKE IT PEGAR
Take the nail scissors from the SUPPLY WALL on the west side of the deck. Pegue a tesoura de unha no ALMOXARIFADO, no lado oeste do deque.
@ -637,10 +635,10 @@ They fill with whatever sun the machines don't use, and when the panels fall sho
Thirty harvests and still early. Trinta colheitas e ainda chega cedo.
This is G.R.A.S.S.A. We take grass very seriously. Aqui é a G.R.A.S.S.A. Levamos grama muito a sério.
This is what peak civilization looks like. É assim que se parece o auge da civilização.
Throw [E] Drop [R] Turn Jogar [E] Largar [R] Girar
Throw [{0}] Drop [{1}] Turn Jogar [{0}] Largar [{1}] Girar
Throw +{0}% Arremesso +{0}%
Throw bundles further. Jogue fardos mais longe.
Throw it in the DEPOT or onto a belt [E] Drop [R] Turn Jogue no DEPÓSITO ou numa esteira [E] Largar [R] Girar
Throw it in the DEPOT or onto a belt [{0}] Drop [{1}] Turn Jogue no DEPÓSITO ou numa esteira [{0}] Largar [{1}] Girar
Throwing Arm Braço de Arremesso
Thunderstorm! Dark skies, weak sun, twisters about. Tempestade! Céu escuro, sol fraco, tornados à solta.
Thunderstorm. Dark skies, weak sun, and twisters about. Tempestade. Céu escuro, sol fraco e tornados à solta.
@ -684,7 +682,6 @@ Upgrades are for the whole crew and come out of the shared wallet. As melhorias
V-Sync V-Sync
Version mismatch Versões diferentes
Voices Vozes
v{0} · early build v{0} · versão inicial
W O
W A S D to drive. Shift to boost. W A S D para dirigir. Shift para o turbo.
Wait. Is that... progress? Peraí. Isso é... progresso?
@ -698,7 +695,7 @@ Weight Peso
WELCOME TO HERBARIA-7 BOAS-VINDAS A HERBARIA-7
Well Travelled Bem Rodado
Wheat Trigo
WHEEL piece · LMB place · R rotate · T move · MMB copy · RMB remove · CTRL+WHEEL height · F free WHEEL peça · LMB colocar · R girar · T mover · MMB copiar · RMB remover · CTRL+WHEEL altura · F livre
WHEEL piece · {0} place · {1} rotate · {2} move · {3} copy · {4} remove · CTRL+WHEEL height · {5} free WHEEL peça · {0} colocar · {1} girar · {2} mover · {3} copiar · {4} remover · CTRL+WHEEL altura · {5} livre
Whetstone Steel Aço Amolado
Which address? Qual endereço?
Whoa! The twister threw you. Uau! O tornado jogou você longe.
@ -730,8 +727,8 @@ Zero point zero zero one percent. Zero vírgula zero zero um por cento.
{0:0.##} m · {1:0} kg {0:0.##} m · {1:0} kg
{0:0.##}% of Herbaria-7 {0:0.##}% de Herbaria-7
{0:0.#} cm · {1:0.##} kg {0:0.#} cm · {1:0.##} kg
{0:0.#} m of belt · MMB copy · RMB remove {0:0.#} m de esteira · MMB copiar · RMB remover
{0:0.#} m, {1} · height {2:0.0} m · RMB stops {0:0.#} m, {1} · altura {2:0.0} m · RMB encerra
{0:0.#} m of belt · {1} copy · {2} remove {0:0.#} m de esteira · {1} copiar · {2} remover
{0:0.#} m, {1} · height {2:0.0} m · {3} stops {0:0.#} m, {1} · altura {2:0.0} m · {3} encerra
{0:0.#}% mown {0:0.#}% cortado
{0:0.0000}% {0:0.0000}%
{0:0.00} / {1:0.##} KG {0:0.00} / {1:0.##} KG
@ -743,7 +740,7 @@ Zero point zero zero one percent. Zero vírgula zero zero um por cento.
{0:N0} Sectors {0:N0} Setores
{0:N0} sectors clean · {1} / {2} stakes · {3} / {4} survey points {0:N0} setores limpos · {1} / {2} estacas · {3} / {4} pontos topográficos
{0:N0} started · {1:N0} mown · {2:0.0000}% of the planet {0:N0} iniciados · {1:N0} cortados · {2:0.0000}% do planeta
{0} [T] Upgrades & settings {0} [T] Melhorias e ajustes
{0} [{1}] Upgrades & settings {0} [{1}] Melhorias e ajustes
{0} (you) {0} (você)
{0} / kg {0} / kg
{0} / {1} slots {0} / {1} espaços
@ -988,5 +985,25 @@ Grass Train Trem da Grama
Lays its own track to a station next door, mowing all the way there. Then it runs back and forth, its side cutters reaching further out on every run, and what it cuts is paid for at either end. Build it on open ground facing the way it should go. Assenta os próprios trilhos até uma estação vizinha, cortando grama o caminho todo. Depois vai e volta, os cortadores laterais alcançam mais longe a cada viagem e o que ele corta é pago nas duas pontas. Construa em terreno aberto, virado para onde ele deve ir.
{0}: laying track to {1}, {2} of {3} m {0}: assentando trilhos até {1}, {2} de {3} m
E: another station E: outra estação
{0}: the line to {1} is mown clean as far as it reaches. An upgrade reaches further. {0}: a linha até {1} está cortada até onde alcança. Uma melhoria alcança mais longe.
{0}: running to {1} and back, cutting {2} m out either side, {3} on board {0}: indo a {1} e voltando, cortando {2} m de cada lado, {3} a bordo
x{0:0.#} speed and reach, {1} wagons x{0:0.#} velocidade e alcance, {1} vagões
Train yard: {0} Pátio do trem: {0}
The Grass Train lays track on to {0} O Trem de Grama assenta trilhos até {0}
{0}: carrying grass home from the stations on its line, {1} on board, {2} waiting {0}: leva para casa a grama das estações da linha, {1} a bordo, {2} esperando
E: ride in the cab E: subir na cabine
In the cab: W forward · S back · E to get off Na cabine: W frente · S ré · E descer
Head bob Balanço da câmera
The view rocks a little with each step. Off keeps it still. A visão balança um pouco a cada passo. Desligado, ela fica parada.
STEAM PAGE PÁGINA NA STEAM
FEEDBACK FEEDBACK
Grass Cutters Together needs Steam. Start Steam, sign in to the account that owns the game, and launch it from your library. Grass Cutters Together precisa da Steam. Abra a Steam, entre na conta que possui o jogo e inicie-o pela sua biblioteca.
That's the end of the demo: the full game has the rest of the planet. A demo termina aqui: o resto do planeta está no jogo completo.
DEMO DEMO
WISHLIST THE FULL GAME ADICIONAR O JOGO À LISTA DE DESEJOS
DEMO COMPLETE · thanks for playing! DEMO CONCLUÍDA · obrigado por jogar!
DEMO · goal: ship {0} of {1} kg of grass DEMO · meta: entregar {0} de {1} kg de grama
THANKS FOR PLAYING THE DEMO! OBRIGADO POR JOGAR A DEMO!
Your crew shipped {0} kg of grass and reached the end of the demo. In the full game the whole planet is yours: machines, belts, robots, far stations and up to 16 players. Sua equipe entregou {0} kg de grama e chegou ao fim da demo. No jogo completo o planeta inteiro é seu: máquinas, esteiras, robôs, estações distantes e até 16 jogadores.
You can keep mowing here, but nothing more is for sale in the demo. Você pode continuar cortando aqui, mas nada mais está à venda na demo.
LEAVE FEEDBACK DAR FEEDBACK
KEEP MOWING CONTINUAR CORTANDO

View File

@ -139,7 +139,7 @@ Company property Собственность компании
Connecting to {0}… Подключение: {0}…
Connecting… Подключение…
Container {0:0.##} kg Контейнер {0:0.##} кг
Container full! Press E at the DEPOT to hand it all in, or Q to tie a 1 kg bundle you can carry and throw. Контейнер полон! Нажми E у СКЛАДА, чтобы сдать всё, или Q, чтобы связать связку в 1 кг: её можно нести и бросать.
Container full! Press {0} at the DEPOT to hand it all in, or {1} to tie a 1 kg bundle you can carry and throw. Контейнер полон! Нажми {0} у СКЛАДА, чтобы сдать всё, или {1}, чтобы связать связку в 1 кг: её можно нести и бросать.
Container full! Q ties a bundle, E at the DEPOT hands it all in Контейнер полон! Q — связать, E у СКЛАДА — сдать всё
Container x{0:0} Контейнер x{0:0}
CONTAINERS КОНТЕЙНЕРЫ
@ -194,8 +194,8 @@ ECONOMY ЭКОНОМИКА
Effects Эффекты
Eleven more stations stand around the planet. Walk up to one and it opens for the crew: a depot, a supply wall, a console and a travel terminal. По планете разбросаны ещё одиннадцать станций. Подойди к любой, и она откроется для экипажа: склад, стенд снаряжения, консоль и терминал перемещения.
Empty Пусто
Empty bed · E with a bundle in your arms loads it Кузов пуст · E со связкой в руках — загрузить
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors (E). Руки пусты! Иди к СТЕНДУ СНАРЯЖЕНИЯ на западной стороне платформы и возьми маникюрные ножницы (E).
Empty bed · {0} with a bundle in your arms loads it Кузов пуст · {0} со связкой в руках — загрузить
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors ({0}). Руки пусты! Иди к СТЕНДУ СНАРЯЖЕНИЯ на западной стороне платформы и возьми маникюрные ножницы ({0}).
Every blade counts. Apparently. Каждая травинка на счету. Видимо.
Every kilo is shot into a Bundle Catcher, anywhere on the planet. A Catcher holds 100 kg and puts it on a belt. With no Catcher free the Reaper stops when its hopper is full. Каждый килограмм отстреливается в ловец связок, где бы тот ни стоял на планете. Ловец вмещает 100 кг и выкладывает их на конвейер. Если свободных ловцов нет, Жнец встаёт, когда его бункер полон.
Every Last Stake Все колышки до одного
@ -287,9 +287,9 @@ Hi. I'm the Director's assistant. Привет. Я ассистент Дирек
Hold: Read the survey point ({0}) Удерживай: считать геоточку ({0})
Hold: Untangle the stake ({0}) Удерживай: распутать колышек ({0})
Holds 100 kg of what Reapers shoot and puts it on the belt. Принимает до 100 кг того, что отстреливают Жнецы, и выкладывает на конвейер.
Hop down to the meadow (SPACE at the railing) and HOLD LEFT CLICK: sweep the blade over the grass. Earth needs every blade of it. Спрыгни на луг (SPACE у перил) и ЗАЖМИ ЛЕВЫЙ КЛИК: води лезвием по траве. Земле нужна каждая травинка.
Hop down to the meadow ({0} at the railing) and HOLD {1}: sweep the blade over the grass. Earth needs every blade of it. Спрыгни на луг ({0} у перил) и ЗАЖМИ {1}: води лезвием по траве. Земле нужна каждая травинка.
Hop down to the meadow, space at the railing. Спрыгни на луг: пробел у перил.
Hop off [R] View Выйти [R] Вид
Hop off [{0}] View Выйти [{0}] Вид
Hop over the railing with SPACE, hold LEFT CLICK and sweep the blade over the grass. It goes straight into the tool's container. Перемахни через перила клавишей SPACE, зажми ЛЕВЫЙ КЛИК и води лезвием по траве. Она сразу попадает в контейнер инструмента.
hopper full, needs a catcher with room бункер полон, нужен свободный ловец
Hopper full: drive to an UNLOAD marker Бункер полон: езжай к метке РАЗГРУЗКА
@ -331,8 +331,8 @@ Let the Robot Do It Пусть робот поработает
Linking... Связь...
Listen up, you incompetent idiots! Слушайте сюда, бездарные идиоты!
Listening for LAN games… Поиск игр в локальной сети…
LMB where the belt starts · height {0:0.0} m ЛКМ — начало конвейера · высота {0:0.0} м
LMB: go on from this end ЛКМ: продолжить с этого конца
{1} where the belt starts · height {0:0.0} m {1} — начало конвейера · высота {0:0.0} м
{0}: go on from this end {0}: продолжить с этого конца
LOGISTICS ЛОГИСТИКА
Long Handles Длинные рукояти
Long Scythe Длинная коса
@ -356,7 +356,7 @@ Mode Режим
More cash for every sector mown clean. Больше денег за каждый сектор, скошенный начисто.
Mouse sensitivity Чувствительность мыши
Move faster. Двигайся быстрее.
Moving {0}: LMB put down · R rotate · RMB cancel Перенос ({0}): ЛКМ — поставить · R — повернуть · ПКМ — отмена
Moving {0}: {1} put down · {2} rotate · {3} cancel Перенос ({0}): {1} — поставить · {2} — повернуть · {3} — отмена
Mow a path for the belt first Сначала выкоси дорожку для конвейера
Mow Base База покоса
Mow the grass here first Сначала скоси здесь траву
@ -381,7 +381,6 @@ Nail Scissors Basket Корзина маникюрных ножниц
NE СВ
Never once lost a scythe. Ни разу не потерял косу.
NEW GAME НОВАЯ ИГРА
NEXT {0} ДАЛЕЕ {0}
Night Vision Ночное зрение
Night vision on Ночное зрение включено
Night Vision: {0}. N goes from the headlamp to night vision to nothing. Ночное зрение: {0}. N переключает: фонарь, ночное зрение, ничего.
@ -400,7 +399,6 @@ nothing to run, {0:0.#} kW free нечего питать, свободно {0:0
nothing to run, {0:0.#} kW free, batteries {1:0.0} of {2:0} kWh нечего питать, свободно {0:0.#} кВт, батареи {1:0.0} из {2:0} кВт·ч
Nothing to set on this one. Здесь нечего настраивать.
Nothing to tie: cut some grass first Нечего вязать: сначала накоси травы
NOW {0} СЕЙЧАС {0}
NOW {0} of {1} slots СЕЙЧАС ячеек: {0} из {1}
NOW DO THE OTHER NINETY-NINE POINT NINE NINE NINE! А ТЕПЕРЬ ОСТАЛЬНЫЕ ДЕВЯНОСТО ДЕВЯТЬ ЦЕЛЫХ ДЕВЯТЬСОТ ДЕВЯНОСТО ДЕВЯТЬ ТЫСЯЧНЫХ!
NOW GET OUT THERE AND MOW THAT GODDAMN PLANET! А ТЕПЕРЬ МАРШ НАРУЖУ И СКОСИТЕ ЭТУ ЧЁРТОВУ ПЛАНЕТУ!
@ -488,7 +486,7 @@ Reset progress? Сбросить прогресс?
resting без нагрузки
RESUME ПРОДОЛЖИТЬ
Ride the {0} ({1} / {2}) {0}: сесть ({1} / {2})
Ride the {0} ({1} of {2} bundles, E with a bundle loads it) {0}: сесть (связок: {1} из {2}, E со связкой — загрузить)
Ride the {0} ({1} of {2} bundles, {3} with a bundle loads it) {0}: сесть (связок: {1} из {2}, {3} со связкой — загрузить)
RIGHT CLICK takes a piece down and gives all the money back. T carries it somewhere else, the middle button copies it. ПРАВЫЙ КЛИК сносит постройку и возвращает все деньги. T переносит её в другое место, средняя кнопка копирует.
Robot Робот
Robot Crew Робобригада
@ -587,7 +585,7 @@ Supply wall — tools & gear Стенд снаряжения — инструм
Survey point: already read Геоточка: уже считана
Surveyor Геодезист
SW ЮЗ
T move · MMB copy · RMB remove T — перенести · СКМ — копировать · ПКМ — снести
{0} move · {1} copy · {2} remove {0} — перенести · {1} — копировать · {2} — снести
TAKE IN HAND ВЗЯТЬ В РУКИ
TAKE IT ВЗЯТЬ
Take the nail scissors from the SUPPLY WALL on the west side of the deck. Возьми маникюрные ножницы со СТЕНДА СНАРЯЖЕНИЯ на западной стороне платформы.
@ -637,10 +635,10 @@ They fill with whatever sun the machines don't use, and when the panels fall sho
Thirty harvests and still early. Тридцать жатв, и всё ещё первый в поле.
This is G.R.A.S.S.A. We take grass very seriously. Это G.R.A.S.S.A. Мы относимся к траве очень серьёзно.
This is what peak civilization looks like. Вот так выглядит вершина цивилизации.
Throw [E] Drop [R] Turn Бросить [E] Положить [R] Повернуть
Throw [{0}] Drop [{1}] Turn Бросить [{0}] Положить [{1}] Повернуть
Throw +{0}% Бросок +{0}%
Throw bundles further. Бросай связки дальше.
Throw it in the DEPOT or onto a belt [E] Drop [R] Turn Брось на СКЛАД или на конвейер [E] Положить [R] Повернуть
Throw it in the DEPOT or onto a belt [{0}] Drop [{1}] Turn Брось на СКЛАД или на конвейер [{0}] Положить [{1}] Повернуть
Throwing Arm Сильная рука
Thunderstorm! Dark skies, weak sun, twisters about. Гроза! Тёмное небо, слабое солнце, вокруг смерчи.
Thunderstorm. Dark skies, weak sun, and twisters about. Гроза. Тёмное небо, слабое солнце, и вокруг смерчи.
@ -684,7 +682,6 @@ Upgrades are for the whole crew and come out of the shared wallet. Улучше
V-Sync V-Sync
Version mismatch Версии не совпадают
Voices Голоса
v{0} · early build v{0} · ранняя сборка
W З
W A S D to drive. Shift to boost. W A S D — ехать. Shift — ускорение.
Wait. Is that... progress? Стоп. Это что... прогресс?
@ -698,7 +695,7 @@ Weight Вес
WELCOME TO HERBARIA-7 ДОБРО ПОЖАЛОВАТЬ НА HERBARIA-7
Well Travelled Бывалые путники
Wheat Пшеница
WHEEL piece · LMB place · R rotate · T move · MMB copy · RMB remove · CTRL+WHEEL height · F free WHEEL выбор · ЛКМ поставить · R повернуть · T перенести · СКМ копия · ПКМ снести · CTRL+WHEEL высота · F свободно
WHEEL piece · {0} place · {1} rotate · {2} move · {3} copy · {4} remove · CTRL+WHEEL height · {5} free WHEEL выбор · {0} поставить · {1} повернуть · {2} перенести · {3} копия · {4} снести · CTRL+WHEEL высота · {5} свободно
Whetstone Steel Точёная сталь
Which address? Какой адрес?
Whoa! The twister threw you. Ого! Тебя отшвырнул смерч.
@ -730,8 +727,8 @@ Zero point zero zero one percent. Ноль целых одна тысячная
{0:0.##} m · {1:0} kg {0:0.##} м · {1:0} кг
{0:0.##}% of Herbaria-7 {0:0.##}% Herbaria-7
{0:0.#} cm · {1:0.##} kg {0:0.#} см · {1:0.##} кг
{0:0.#} m of belt · MMB copy · RMB remove Конвейер {0:0.#} м · СКМ — копировать · ПКМ — снести
{0:0.#} m, {1} · height {2:0.0} m · RMB stops {0:0.#} м, {1} · высота {2:0.0} м · ПКМ — стоп
{0:0.#} m of belt · {1} copy · {2} remove Конвейер {0:0.#} м · {1} — копировать · {2} — снести
{0:0.#} m, {1} · height {2:0.0} m · {3} stops {0:0.#} м, {1} · высота {2:0.0} м · {3} — стоп
{0:0.#}% mown скошено {0:0.#}%
{0:0.0000}% {0:0.0000}%
{0:0.00} / {1:0.##} KG {0:0.00} / {1:0.##} КГ
@ -743,7 +740,7 @@ Zero point zero zero one percent. Ноль целых одна тысячная
{0:N0} Sectors {0:N0} секторов
{0:N0} sectors clean · {1} / {2} stakes · {3} / {4} survey points Чистых секторов: {0:N0} · колышки {1} / {2} · геоточки {3} / {4}
{0:N0} started · {1:N0} mown · {2:0.0000}% of the planet Начато: {0:N0} · скошено: {1:N0} · {2:0.0000}% планеты
{0} [T] Upgrades & settings {0} [T] Улучшения и настройки
{0} [{1}] Upgrades & settings {0} [{1}] Улучшения и настройки
{0} (you) {0} (ты)
{0} / kg {0} / кг
{0} / {1} slots Ячейки: {0} / {1}
@ -988,5 +985,25 @@ Grass Train Травяной поезд
Lays its own track to a station next door, mowing all the way there. Then it runs back and forth, its side cutters reaching further out on every run, and what it cuts is paid for at either end. Build it on open ground facing the way it should go. Сам прокладывает себе рельсы до соседней станции и выкашивает всё по пути. Потом курсирует туда и обратно, боковые косилки с каждым рейсом берут всё дальше, а скошенное оплачивается на обоих концах. Ставь на открытой земле, лицом туда, куда ему ехать.
{0}: laying track to {1}, {2} of {3} m {0}: прокладывает путь до станции {1}, {2} из {3} м
E: another station E: другая станция
{0}: the line to {1} is mown clean as far as it reaches. An upgrade reaches further. {0}: линия до станции {1} выкошена, докуда достаёт. Улучшение достаёт дальше.
{0}: running to {1} and back, cutting {2} m out either side, {3} on board {0}: курсирует до станции {1}, косит на {2} м по сторонам, на борту {3}
x{0:0.#} speed and reach, {1} wagons x{0:0.#} к скорости и охвату, вагонов: {1}
Train yard: {0} Станция поезда: {0}
The Grass Train lays track on to {0} Травяной поезд тянет путь дальше, к станции {0}
{0}: carrying grass home from the stations on its line, {1} on board, {2} waiting {0}: возит траву со станций линии на базу, в вагонах {1}, ждёт {2}
E: ride in the cab E: сесть в кабину
In the cab: W forward · S back · E to get off В кабине: W вперёд · S назад · E выйти
Head bob Покачивание камеры
The view rocks a little with each step. Off keeps it still. Вид слегка покачивается при каждом шаге. Выключите, чтобы он не двигался.
STEAM PAGE СТРАНИЦА В STEAM
FEEDBACK ОТЗЫВ
Grass Cutters Together needs Steam. Start Steam, sign in to the account that owns the game, and launch it from your library. Для Grass Cutters Together нужен Steam. Запустите Steam, войдите в аккаунт, на котором куплена игра, и запустите её из библиотеки.
That's the end of the demo: the full game has the rest of the planet. Демо на этом заканчивается: остальная планета ждёт в полной игре.
DEMO ДЕМО
WISHLIST THE FULL GAME В ЖЕЛАЕМОЕ: ПОЛНАЯ ИГРА
DEMO COMPLETE · thanks for playing! ДЕМО ПРОЙДЕНО · спасибо за игру!
DEMO · goal: ship {0} of {1} kg of grass ДЕМО · цель: сдать {0} из {1} кг травы
THANKS FOR PLAYING THE DEMO! СПАСИБО, ЧТО СЫГРАЛИ В ДЕМО!
Your crew shipped {0} kg of grass and reached the end of the demo. In the full game the whole planet is yours: machines, belts, robots, far stations and up to 16 players. Ваша команда сдала {0} кг травы и дошла до конца демо. В полной игре вся планета ваша: машины, конвейеры, роботы, дальние станции и до 16 игроков.
You can keep mowing here, but nothing more is for sale in the demo. Косить здесь можно и дальше, но больше ничего в демо не продаётся.
LEAVE FEEDBACK ОСТАВИТЬ ОТЗЫВ
KEEP MOWING КОСИТЬ ДАЛЬШЕ

View File

@ -139,7 +139,7 @@ Company property Şirket malı
Connecting to {0}… Bağlanılıyor: {0}…
Connecting… Bağlanılıyor…
Container {0:0.##} kg Sepet {0:0.##} kg
Container full! Press E at the DEPOT to hand it all in, or Q to tie a 1 kg bundle you can carry and throw. Sepet dolu! Hepsini teslim etmek için DEPODA E'ye bas ya da taşıyıp fırlatabileceğin 1 kg'lık bir demet bağlamak için Q'ya bas.
Container full! Press {0} at the DEPOT to hand it all in, or {1} to tie a 1 kg bundle you can carry and throw. Sepet dolu! Hepsini teslim etmek için DEPODA {0} tuşuna bas ya da taşıyıp fırlatabileceğin 1 kg'lık bir demet bağlamak için {1} tuşuna bas.
Container full! Q ties a bundle, E at the DEPOT hands it all in Sepet dolu! Q demet bağlar, DEPODA E hepsini teslim eder
Container x{0:0} Sepet x{0:0}
CONTAINERS SEPETLER
@ -194,8 +194,8 @@ ECONOMY EKONOMİ
Effects Efektler
Eleven more stations stand around the planet. Walk up to one and it opens for the crew: a depot, a supply wall, a console and a travel terminal. Gezegenin çevresinde on bir istasyon daha var. Birine yürü, ekibe açılsın: bir depo, bir tedarik duvarı, bir konsol ve bir yolculuk terminali.
Empty Boş
Empty bed · E with a bundle in your arms loads it Kasa boş · kucağında demet varken E yükler
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors (E). Ellerin boş! Platformun batı tarafındaki TEDARİK DUVARINA yürü ve tırnak makasını al (E).
Empty bed · {0} with a bundle in your arms loads it Kasa boş · kucağında demet varken {0} yükler
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors ({0}). Ellerin boş! Platformun batı tarafındaki TEDARİK DUVARINA yürü ve tırnak makasını al ({0}).
Every blade counts. Apparently. Her çim yaprağı önemli. Öyleymiş.
Every kilo is shot into a Bundle Catcher, anywhere on the planet. A Catcher holds 100 kg and puts it on a belt. With no Catcher free the Reaper stops when its hopper is full. Her kilo, gezegenin neresinde olursa olsun bir Demet Yakalayıcıya fırlatılır. Bir Yakalayıcı 100 kg alır ve banda koyar. Boş Yakalayıcı yoksa Orakçı haznesi dolunca durur.
Every Last Stake Son Kazığına Kadar
@ -287,9 +287,9 @@ Hi. I'm the Director's assistant. Merhaba. Müdürün asistanıyım.
Hold: Read the survey point ({0}) Basılı tut: Ölçüm noktasını oku ({0})
Hold: Untangle the stake ({0}) Basılı tut: Kazığı çöz ({0})
Holds 100 kg of what Reapers shoot and puts it on the belt. Orakçıların fırlattıklarından 100 kg tutar ve banda koyar.
Hop down to the meadow (SPACE at the railing) and HOLD LEFT CLICK: sweep the blade over the grass. Earth needs every blade of it. Çayıra atla (korkulukta SPACE) ve SOL TIKI BASILI TUT: bıçağı çimin üstünde gezdir. Dünya'nın her bir çim yaprağına ihtiyacı var.
Hop down to the meadow ({0} at the railing) and HOLD {1}: sweep the blade over the grass. Earth needs every blade of it. Çayıra atla (korkulukta {0}) ve {1} BASILI TUT: bıçağı çimin üstünde gezdir. Dünya'nın her bir çim yaprağına ihtiyacı var.
Hop down to the meadow, space at the railing. Çayıra atla, korkulukta boşluk tuşuna bas.
Hop off [R] View İn [R] Görünüm
Hop off [{0}] View İn [{0}] Görünüm
Hop over the railing with SPACE, hold LEFT CLICK and sweep the blade over the grass. It goes straight into the tool's container. SPACE ile korkuluğun üstünden atla, SOL TIKI basılı tut ve bıçağı çimin üstünde gezdir. Çim doğrudan aletin sepetine gider.
hopper full, needs a catcher with room hazne dolu, yeri olan bir yakalayıcı lazım
Hopper full: drive to an UNLOAD marker Hazne dolu: bir BOŞALTMA işaretine sür
@ -331,8 +331,8 @@ Let the Robot Do It Robot Yapsın
Linking... Bağlanıyor...
Listen up, you incompetent idiots! Dinleyin beni, sizi beceriksiz aptallar!
Listening for LAN games… LAN oyunları dinleniyor…
LMB where the belt starts · height {0:0.0} m Bandın başlangıcına LMB · yükseklik {0:0.0} m
LMB: go on from this end LMB: bu uçtan devam et
{1} where the belt starts · height {0:0.0} m Bandın başlangıcına {1} · yükseklik {0:0.0} m
{0}: go on from this end {0}: bu uçtan devam et
LOGISTICS LOJİSTİK
Long Handles Uzun Saplar
Long Scythe Uzun Tırpan
@ -356,7 +356,7 @@ Mode Mod
More cash for every sector mown clean. Tamamen biçilen her sektör için daha fazla para.
Mouse sensitivity Fare hassasiyeti
Move faster. Daha hızlı hareket et.
Moving {0}: LMB put down · R rotate · RMB cancel {0} taşınıyor: LMB bırak · R döndür · RMB iptal
Moving {0}: {1} put down · {2} rotate · {3} cancel {0} taşınıyor: {1} bırak · {2} döndür · {3} iptal
Mow a path for the belt first Önce bant için bir yol biç
Mow Base Biçme Üssü
Mow the grass here first Önce buradaki çimi biç
@ -381,7 +381,6 @@ Nail Scissors Basket Tırnak Makası Sepeti
NE KD
Never once lost a scythe. Bir kez bile tırpan kaybetmedi.
NEW GAME YENİ OYUN
NEXT {0} SONRAKİ {0}
Night Vision Gece Görüşü
Night vision on Gece görüşü açık
Night Vision: {0}. N goes from the headlamp to night vision to nothing. Gece Görüşü: {0}. N kafa lambasından gece görüşüne, oradan kapalıya geçer.
@ -400,7 +399,6 @@ nothing to run, {0:0.#} kW free çalışacak bir şey yok, {0:0.#} kW boşta
nothing to run, {0:0.#} kW free, batteries {1:0.0} of {2:0} kWh çalışacak bir şey yok, {0:0.#} kW boşta, bataryalar {1:0.0} / {2:0} kWh
Nothing to set on this one. Bunda ayarlanacak bir şey yok.
Nothing to tie: cut some grass first Bağlanacak bir şey yok: önce biraz çim biç
NOW {0} ŞU AN {0}
NOW {0} of {1} slots ŞU AN {0} / {1} cep
NOW DO THE OTHER NINETY-NINE POINT NINE NINE NINE! ŞİMDİ KALAN DOKSAN DOKUZ VİRGÜL DOKUZ DOKUZ DOKUZU DA YAPIN!
NOW GET OUT THERE AND MOW THAT GODDAMN PLANET! ŞİMDİ ÇIKIN DIŞARI VE O KAHROLASI GEZEGENİ BİÇİN!
@ -488,7 +486,7 @@ Reset progress? İlerleme sıfırlansın mı?
resting beklemede
RESUME DEVAM ET
Ride the {0} ({1} / {2}) Bin: {0} ({1} / {2})
Ride the {0} ({1} of {2} bundles, E with a bundle loads it) Bin: {0} ({1} / {2} demet, elinde demetle E yükler)
Ride the {0} ({1} of {2} bundles, {3} with a bundle loads it) Bin: {0} ({1} / {2} demet, elinde demetle {3} yükler)
RIGHT CLICK takes a piece down and gives all the money back. T carries it somewhere else, the middle button copies it. SAĞ TIK bir parçayı söker ve tüm parasını geri verir. T onu başka yere taşır, orta tuş kopyalar.
Robot Robot
Robot Crew Robot Ekibi
@ -587,7 +585,7 @@ Supply wall — tools & gear Tedarik duvarı — aletler ve ekipman
Survey point: already read Ölçüm noktası: zaten okundu
Surveyor Haritacı
SW GB
T move · MMB copy · RMB remove T taşı · MMB kopyala · RMB kaldır
{0} move · {1} copy · {2} remove {0} taşı · {1} kopyala · {2} kaldır
TAKE IN HAND ELE AL
TAKE IT AL
Take the nail scissors from the SUPPLY WALL on the west side of the deck. Platformun batı tarafındaki TEDARİK DUVARINDAN tırnak makasını al.
@ -637,10 +635,10 @@ They fill with whatever sun the machines don't use, and when the panels fall sho
Thirty harvests and still early. Otuz hasat ve hâlâ erkenci.
This is G.R.A.S.S.A. We take grass very seriously. Burası G.R.A.S.S.A. Çimi çok ciddiye alırız.
This is what peak civilization looks like. Medeniyetin zirvesi işte böyle görünür.
Throw [E] Drop [R] Turn Fırlat [E] Bırak [R] Çevir
Throw [{0}] Drop [{1}] Turn Fırlat [{0}] Bırak [{1}] Çevir
Throw +{0}% Fırlatma +%{0}
Throw bundles further. Demetleri daha uzağa fırlat.
Throw it in the DEPOT or onto a belt [E] Drop [R] Turn DEPOYA ya da banda fırlat [E] Bırak [R] Çevir
Throw it in the DEPOT or onto a belt [{0}] Drop [{1}] Turn DEPOYA ya da banda fırlat [{0}] Bırak [{1}] Çevir
Throwing Arm Fırlatma Kolu
Thunderstorm! Dark skies, weak sun, twisters about. Fırtına! Kara bulutlar, zayıf güneş, ortalıkta hortumlar.
Thunderstorm. Dark skies, weak sun, and twisters about. Gök gürültülü fırtına. Kara bulutlar, zayıf güneş ve ortalıkta hortumlar.
@ -684,7 +682,6 @@ Upgrades are for the whole crew and come out of the shared wallet. Yükseltmeler
V-Sync V-Sync
Version mismatch Sürüm uyuşmazlığı
Voices Seslendirme
v{0} · early build v{0} · erken sürüm
W B
W A S D to drive. Shift to boost. Sürmek için W A S D. Turbo için Shift.
Wait. Is that... progress? Durun. Bu... ilerleme mi?
@ -698,7 +695,7 @@ Weight Ağırlık
WELCOME TO HERBARIA-7 HERBARIA-7'YE HOŞ GELDİN
Well Travelled Çok Gezen
Wheat Buğday
WHEEL piece · LMB place · R rotate · T move · MMB copy · RMB remove · CTRL+WHEEL height · F free WHEEL parça · LMB yerleştir · R döndür · T taşı · MMB kopyala · RMB kaldır · CTRL+WHEEL yükseklik · F serbest
WHEEL piece · {0} place · {1} rotate · {2} move · {3} copy · {4} remove · CTRL+WHEEL height · {5} free WHEEL parça · {0} yerleştir · {1} döndür · {2} taşı · {3} kopyala · {4} kaldır · CTRL+WHEEL yükseklik · {5} serbest
Whetstone Steel Bilenmiş Çelik
Which address? Hangi adres?
Whoa! The twister threw you. Vay! Hortum seni fırlattı.
@ -730,8 +727,8 @@ Zero point zero zero one percent. Yüzde sıfır virgül sıfır sıfır bir.
{0:0.##} m · {1:0} kg {0:0.##} m · {1:0} kg
{0:0.##}% of Herbaria-7 Herbaria-7: %{0:0.##}
{0:0.#} cm · {1:0.##} kg {0:0.#} cm · {1:0.##} kg
{0:0.#} m of belt · MMB copy · RMB remove {0:0.#} m bant · MMB kopyala · RMB kaldır
{0:0.#} m, {1} · height {2:0.0} m · RMB stops {0:0.#} m, {1} · yükseklik {2:0.0} m · RMB bitirir
{0:0.#} m of belt · {1} copy · {2} remove {0:0.#} m bant · {1} kopyala · {2} kaldır
{0:0.#} m, {1} · height {2:0.0} m · {3} stops {0:0.#} m, {1} · yükseklik {2:0.0} m · {3} bitirir
{0:0.#}% mown %{0:0.#} biçildi
{0:0.0000}% %{0:0.0000}
{0:0.00} / {1:0.##} KG {0:0.00} / {1:0.##} KG
@ -743,7 +740,7 @@ Zero point zero zero one percent. Yüzde sıfır virgül sıfır sıfır bir.
{0:N0} Sectors {0:N0} Sektör
{0:N0} sectors clean · {1} / {2} stakes · {3} / {4} survey points {0:N0} temiz sektör · {1} / {2} kazık · {3} / {4} ölçüm noktası
{0:N0} started · {1:N0} mown · {2:0.0000}% of the planet {0:N0} başlandı · {1:N0} biçildi · gezegen: %{2:0.0000}
{0} [T] Upgrades & settings {0} [T] Yükseltmeler ve ayarlar
{0} [{1}] Upgrades & settings {0} [{1}] Yükseltmeler ve ayarlar
{0} (you) {0} (sen)
{0} / kg {0} / kg
{0} / {1} slots {0} / {1} cep
@ -988,5 +985,25 @@ Grass Train Çim Treni
Lays its own track to a station next door, mowing all the way there. Then it runs back and forth, its side cutters reaching further out on every run, and what it cuts is paid for at either end. Build it on open ground facing the way it should go. Komşu bir istasyona kendi rayını döşer ve yol boyunca her şeyi biçer. Sonra gidip gelir, yan biçicileri her seferinde daha uzağa uzanır ve biçtiği çim iki uçta da ödenir. Açık bir zemine, gitmesi gereken yöne bakacak şekilde kur.
{0}: laying track to {1}, {2} of {3} m {0}: {1} istasyonuna ray döşüyor, {2} / {3} m
E: another station E: başka istasyon
{0}: the line to {1} is mown clean as far as it reaches. An upgrade reaches further. {0}: {1} hattı uzanabildiği yere kadar biçildi. Yükseltme daha uzağa uzanır.
{0}: running to {1} and back, cutting {2} m out either side, {3} on board {0}: {1} ile arasında gidip geliyor, iki yanda {2} m biçiyor, içinde {3}
x{0:0.#} speed and reach, {1} wagons x{0:0.#} hız ve erişim, {1} vagon
Train yard: {0} Tren sahası: {0}
The Grass Train lays track on to {0} Çim Treni {0} istasyonuna ray döşüyor
{0}: carrying grass home from the stations on its line, {1} on board, {2} waiting {0}: hattaki istasyonlardan çimi üsse taşıyor, içinde {1}, bekleyen {2}
E: ride in the cab E: kabine bin
In the cab: W forward · S back · E to get off Kabinde: W ileri · S geri · E in
Head bob Kamera sallanması
The view rocks a little with each step. Off keeps it still. Her adımda görüş biraz sallanır. Kapalıyken sabit kalır.
STEAM PAGE STEAM SAYFASI
FEEDBACK GERİ BİLDİRİM
Grass Cutters Together needs Steam. Start Steam, sign in to the account that owns the game, and launch it from your library. Grass Cutters Together için Steam gerekir. Steam'i açın, oyuna sahip hesapla giriş yapın ve oyunu kütüphanenizden başlatın.
That's the end of the demo: the full game has the rest of the planet. Demo burada bitiyor: gezegenin geri kalanı tam oyunda.
DEMO DEMO
WISHLIST THE FULL GAME TAM OYUNU İSTEK LİSTESİNE EKLE
DEMO COMPLETE · thanks for playing! DEMO TAMAMLANDI · oynadığın için teşekkürler!
DEMO · goal: ship {0} of {1} kg of grass DEMO · hedef: {1} kg çimin {0} kg'ını teslim et
THANKS FOR PLAYING THE DEMO! DEMOYU OYNADIĞIN İÇİN TEŞEKKÜRLER!
Your crew shipped {0} kg of grass and reached the end of the demo. In the full game the whole planet is yours: machines, belts, robots, far stations and up to 16 players. Ekibin {0} kg çim teslim etti ve demonun sonuna ulaştı. Tam oyunda bütün gezegen senin: makineler, bantlar, robotlar, uzak istasyonlar ve 16 oyuncuya kadar.
You can keep mowing here, but nothing more is for sale in the demo. Burada biçmeye devam edebilirsin ama demoda satılık başka bir şey yok.
LEAVE FEEDBACK GERİ BİLDİRİM VER
KEEP MOWING BİÇMEYE DEVAM

View File

@ -138,7 +138,7 @@ Company property 公司财产
Connecting to {0}… 正在连接 {0}……
Connecting… 正在连接……
Container {0:0.##} kg 容量 {0:0.##} kg
Container full! Press E at the DEPOT to hand it all in, or Q to tie a 1 kg bundle you can carry and throw. 容器满了!到收草站按 E 全部上交,或按 Q 打一个 1 kg 的草捆,可以抱着走,也可以扔。
Container full! Press {0} at the DEPOT to hand it all in, or {1} to tie a 1 kg bundle you can carry and throw. 容器满了!到收草站按 {0} 全部上交,或按 {1} 打一个 1 kg 的草捆,可以抱着走,也可以扔。
Container full! Q ties a bundle, E at the DEPOT hands it all in 容器满了!按 Q 打捆,或到收草站按 E 全部上交
Container x{0:0} 容量 x{0:0}
CONTAINERS 容器
@ -193,8 +193,8 @@ ECONOMY 经济
Effects 音效
Eleven more stations stand around the planet. Walk up to one and it opens for the crew: a depot, a supply wall, a console and a travel terminal. 星球各处还有十一座站点。走到跟前,它就会向团队开放:有收草站、补给墙、控制台和旅行终端。
Empty 空
Empty bed · E with a bundle in your arms loads it 车斗是空的 · 抱着草捆按 E 装车
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors (E). 两手空空!走到平台西侧的补给墙,拿起指甲剪(E)。
Empty bed · {0} with a bundle in your arms loads it 车斗是空的 · 抱着草捆按 {0} 装车
Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors ({0}). 两手空空!走到平台西侧的补给墙,拿起指甲剪({0})。
Every blade counts. Apparently. 每一根草都很重要。据说是。
Every kilo is shot into a Bundle Catcher, anywhere on the planet. A Catcher holds 100 kg and puts it on a belt. With no Catcher free the Reaper stops when its hopper is full. 每一公斤草都会被射进接捆器,不管它在星球哪个角落。一个接捆器能装 100 kg,并把草送上传送带。没有空闲的接捆器时,收割者的料斗一满就会停工。
Every Last Stake 一根不落
@ -286,9 +286,9 @@ Hi. I'm the Director's assistant. 你好。我是总监的助理。
Hold: Read the survey point ({0}) 长按:读取勘测点({0})
Hold: Untangle the stake ({0}) 长按:解开测桩({0})
Holds 100 kg of what Reapers shoot and puts it on the belt. 能装 100 kg 收割者射来的草,并把它送上传送带。
Hop down to the meadow (SPACE at the railing) and HOLD LEFT CLICK: sweep the blade over the grass. Earth needs every blade of it. 跳到草地上(在栏杆边按 SPACE),然后按住左键:挥动刀刃扫过草丛。地球需要每一根草。
Hop down to the meadow ({0} at the railing) and HOLD {1}: sweep the blade over the grass. Earth needs every blade of it. 跳到草地上(在栏杆边按 {0}),然后按住{1}:挥动刀刃扫过草丛。地球需要每一根草。
Hop down to the meadow, space at the railing. 在栏杆边按 SPACE,跳到草地上。
Hop off [R] View 下车 [R] 视角
Hop off [{0}] View 下车 [{0}] 视角
Hop over the railing with SPACE, hold LEFT CLICK and sweep the blade over the grass. It goes straight into the tool's container. 按 SPACE 跳过栏杆,按住左键,挥动刀刃扫过草丛。割下的草会直接进入工具的容器。
hopper full, needs a catcher with room 料斗已满,需要有空位的接捆器
Hopper full: drive to an UNLOAD marker 料斗已满:开到“卸货”标记处
@ -330,8 +330,8 @@ Let the Robot Do It 让机器人来干
Linking... 链接中……
Listen up, you incompetent idiots! 都给我听好了,你们这群废物!
Listening for LAN games… 正在搜索局域网游戏……
LMB where the belt starts · height {0:0.0} m LMB 点击传送带起点 · 高度 {0:0.0} m
LMB: go on from this end LMB:从这一端继续铺
{1} where the belt starts · height {0:0.0} m {1} 点击传送带起点 · 高度 {0:0.0} m
{0}: go on from this end {0}:从这一端继续铺
LOGISTICS 物流
Long Handles 加长手柄
Long Scythe 长柄大镰刀
@ -355,7 +355,7 @@ Mode 模式
More cash for every sector mown clean. 每割净一个区块,奖金更多。
Mouse sensitivity 鼠标灵敏度
Move faster. 移动更快。
Moving {0}: LMB put down · R rotate · RMB cancel 正在移动{0}:LMB 放下 · R 旋转 · RMB 取消
Moving {0}: {1} put down · {2} rotate · {3} cancel 正在移动{0}:{1} 放下 · {2} 旋转 · {3} 取消
Mow a path for the belt first 请先给传送带割出一条路
Mow Base 割草基地
Mow the grass here first 请先把这里的草割掉
@ -380,7 +380,6 @@ Nail Scissors Basket 指甲剪草篮
NE 东北
Never once lost a scythe. 从没丢过一把镰刀。
NEW GAME 新游戏
NEXT {0} 下一级 {0}
Night Vision 夜视仪
Night vision on 夜视仪已开启
Night Vision: {0}. N goes from the headlamp to night vision to nothing. 夜视仪:{0}。按 N 依次切换头灯、夜视仪和关闭。
@ -399,7 +398,6 @@ nothing to run, {0:0.#} kW free 没有机器在运转,空闲 {0:0.#} kW
nothing to run, {0:0.#} kW free, batteries {1:0.0} of {2:0} kWh 没有机器在运转,空闲 {0:0.#} kW,电池 {1:0.0}/{2:0} kWh
Nothing to set on this one. 这个没有可设置的选项。
Nothing to tie: cut some grass first 没东西可捆:先割点草
NOW {0} 当前 {0}
NOW {0} of {1} slots 当前 {0}/{1} 个槽位
NOW DO THE OTHER NINETY-NINE POINT NINE NINE NINE! 现在去把剩下的百分之九十九点九九九也割了!
NOW GET OUT THERE AND MOW THAT GODDAMN PLANET! 现在都给我滚出去,把那颗该死的星球割干净!
@ -484,7 +482,7 @@ Reset progress? 重置进度?
resting 待机
RESUME 继续
Ride the {0} ({1} / {2}) 驾驶{0} ({1} / {2})
Ride the {0} ({1} of {2} bundles, E with a bundle loads it) 驾驶{0} (草捆 {1}/{2},抱着草捆按 E 装车)
Ride the {0} ({1} of {2} bundles, {3} with a bundle loads it) 驾驶{0} (草捆 {1}/{2},抱着草捆按 {3} 装车)
RIGHT CLICK takes a piece down and gives all the money back. T carries it somewhere else, the middle button copies it. 右键拆除建筑并全额退款。T 把它搬到别处,中键复制。
Robot 机器人
Robot Crew 机器人团队
@ -583,7 +581,7 @@ Supply wall — tools & gear 补给墙:工具与装备
Survey point: already read 勘测点:已读取
Surveyor 勘测员
SW 西南
T move · MMB copy · RMB remove T 移动 · MMB 复制 · RMB 拆除
{0} move · {1} copy · {2} remove {0} 移动 · {1} 复制 · {2} 拆除
TAKE IN HAND 拿在手上
TAKE IT 拿走
Take the nail scissors from the SUPPLY WALL on the west side of the deck. 去平台西侧的补给墙拿指甲剪。
@ -633,10 +631,10 @@ They fill with whatever sun the machines don't use, and when the panels fall sho
Thirty harvests and still early. 干了三十季,照样不迟到。
This is G.R.A.S.S.A. We take grass very seriously. 这里是 G.R.A.S.S.A.。我们对草可是非常认真的。
This is what peak civilization looks like. 这就是文明的巅峰。
Throw [E] Drop [R] Turn 投掷 [E] 放下 [R] 旋转
Throw [{0}] Drop [{1}] Turn 投掷 [{0}] 放下 [{1}] 旋转
Throw +{0}% 投掷 +{0}%
Throw bundles further. 草捆扔得更远。
Throw it in the DEPOT or onto a belt [E] Drop [R] Turn 扔进收草站或传送带 [E] 放下 [R] 旋转
Throw it in the DEPOT or onto a belt [{0}] Drop [{1}] Turn 扔进收草站或传送带 [{0}] 放下 [{1}] 旋转
Throwing Arm 投掷臂
Thunderstorm! Dark skies, weak sun, twisters about. 雷暴!天色昏暗,阳光微弱,龙卷风四起。
Thunderstorm. Dark skies, weak sun, and twisters about. 雷暴。天色昏暗,阳光微弱,还有龙卷风出没。
@ -680,7 +678,6 @@ Upgrades are for the whole crew and come out of the shared wallet. 升级全队
V-Sync 垂直同步
Version mismatch 版本不匹配
Voices 语音
v{0} · early build v{0} · 早期版本
W 西
W A S D to drive. Shift to boost. 用 W A S D 驾驶。按 SHIFT 加速。
Wait. Is that... progress? 等等。这是……进展?
@ -694,7 +691,7 @@ Weight 重量
WELCOME TO HERBARIA-7 欢迎来到 HERBARIA-7
Well Travelled 见多识广
Wheat 小麦
WHEEL piece · LMB place · R rotate · T move · MMB copy · RMB remove · CTRL+WHEEL height · F free WHEEL 选择建筑 · LMB 放置 · R 旋转 · T 移动 · MMB 复制 · RMB 拆除 · CTRL+WHEEL 高度 · F 自由放置
WHEEL piece · {0} place · {1} rotate · {2} move · {3} copy · {4} remove · CTRL+WHEEL height · {5} free WHEEL 选择建筑 · {0} 放置 · {1} 旋转 · {2} 移动 · {3} 复制 · {4} 拆除 · CTRL+WHEEL 高度 · {5} 自由放置
Whetstone Steel 精磨钢刃
Which address? 哪个地址?
Whoa! The twister threw you. 哇!你被龙卷风甩飞了。
@ -726,8 +723,8 @@ Zero point zero zero one percent. 百分之零点零零一。
{0:0.##} m · {1:0} kg {0:0.##} m · {1:0} kg
{0:0.##}% of Herbaria-7 Herbaria-7 的 {0:0.##}%
{0:0.#} cm · {1:0.##} kg {0:0.#} cm · {1:0.##} kg
{0:0.#} m of belt · MMB copy · RMB remove {0:0.#} m 传送带 · MMB 复制 · RMB 拆除
{0:0.#} m, {1} · height {2:0.0} m · RMB stops {0:0.#} m,{1} · 高度 {2:0.0} m · RMB 结束
{0:0.#} m of belt · {1} copy · {2} remove {0:0.#} m 传送带 · {1} 复制 · {2} 拆除
{0:0.#} m, {1} · height {2:0.0} m · {3} stops {0:0.#} m,{1} · 高度 {2:0.0} m · {3} 结束
{0:0.#}% mown 已割 {0:0.#}%
{0:0.0000}% {0:0.0000}%
{0:0.00} / {1:0.##} KG {0:0.00} / {1:0.##} KG
@ -739,7 +736,7 @@ Zero point zero zero one percent. 百分之零点零零一。
{0:N0} Sectors {0:N0} 个区块
{0:N0} sectors clean · {1} / {2} stakes · {3} / {4} survey points 已割净 {0:N0} 个区块 · 测桩 {1} / {2} · 勘测点 {3} / {4}
{0:N0} started · {1:N0} mown · {2:0.0000}% of the planet 已开割 {0:N0} · 已割完 {1:N0} · 星球的 {2:0.0000}%
{0} [T] Upgrades & settings {0} [T] 升级与设置
{0} [{1}] Upgrades & settings {0} [{1}] 升级与设置
{0} (you) {0} (你)
{0} / kg {0} / kg
{0} / {1} slots {0} / {1} 个槽位
@ -988,5 +985,25 @@ Grass Train 割草火车
Lays its own track to a station next door, mowing all the way there. Then it runs back and forth, its side cutters reaching further out on every run, and what it cuts is paid for at either end. Build it on open ground facing the way it should go. 自己铺轨通往相邻的站点,一路割草。铺通后便来回往返,每跑一趟两侧割刀伸得更远,割下的草在两端结算。请建在空地上,朝向它要去的方向。
{0}: laying track to {1}, {2} of {3} m {0}:正在铺轨前往{1},{2} / {3} m
E: another station E:换一个站点
{0}: the line to {1} is mown clean as far as it reaches. An upgrade reaches further. {0}:通往{1}的线路已割到够得着的地方。升级后能伸得更远。
{0}: running to {1} and back, cutting {2} m out either side, {3} on board {0}:往返于{1},两侧割到 {2} m,车上 {3}
x{0:0.#} speed and reach, {1} wagons 速度与覆盖 x{0:0.#},{1} 节车厢
Train yard: {0} 列车货场:{0}
The Grass Train lays track on to {0} 割草列车把轨道铺向{0}
{0}: carrying grass home from the stations on its line, {1} on board, {2} waiting {0}:把线路各站的草运回基地,车上 {1},待运 {2}
E: ride in the cab E:登上驾驶室
In the cab: W forward · S back · E to get off 驾驶室:W 前进 · S 后退 · E 下车
Head bob 镜头晃动
The view rocks a little with each step. Off keeps it still. 走路时视角会轻微晃动。关闭后保持稳定。
STEAM PAGE STEAM 商店页
FEEDBACK 反馈
Grass Cutters Together needs Steam. Start Steam, sign in to the account that owns the game, and launch it from your library. Grass Cutters Together 需要 Steam。请启动 Steam,登录拥有本游戏的账户,然后从库中启动游戏。
That's the end of the demo: the full game has the rest of the planet. 试玩版到此结束:星球的其余部分在完整版中等着你。
DEMO 试玩版
WISHLIST THE FULL GAME 将完整版加入愿望单
DEMO COMPLETE · thanks for playing! 试玩完成 · 感谢游玩!
DEMO · goal: ship {0} of {1} kg of grass 试玩版 · 目标:交付 {0} / {1} 千克草
THANKS FOR PLAYING THE DEMO! 感谢游玩试玩版!
Your crew shipped {0} kg of grass and reached the end of the demo. In the full game the whole planet is yours: machines, belts, robots, far stations and up to 16 players. 你的团队交付了 {0} 千克草,已到达试玩版的终点。完整版中整个星球都属于你:机器、传送带、机器人、远方站点,最多 16 名玩家。
You can keep mowing here, but nothing more is for sale in the demo. 你可以继续在这里割草,但试玩版中不再出售任何东西。
LEAVE FEEDBACK 提交反馈
KEEP MOWING 继续割草

View File

@ -97,7 +97,7 @@ namespace GrassCutter
s_next = Time.time + Every;
var ts = TeamState.Instance;
var me = PlayerAgent.Local;
if (!ts || !me) return;
if (!ts || !me || Demo.On) return;
Read();
foreach (var a in All)
{

View File

@ -13,6 +13,9 @@ namespace GrassCutter
/// </summary>
public static class Cheats
{
/// <summary>The console is for the team: the editor, a development build, or a build started with -gcdev.</summary>
public static readonly bool Allowed = Application.isEditor || Debug.isDebugBuild || CommandLine.Has("-gcdev");
public class Command
{
public string name, args, desc;

View File

@ -0,0 +1,25 @@
namespace GrassCutter
{
/// <summary>
/// The demo build (built with GC_DEMO): its own Steam app, its own saves (another product name, so another data
/// folder and other settings), no achievements, and an end once the crew has shipped <see cref="GoalKg"/>: a thank-you
/// screen with the wishlist and feedback links, and nothing more for sale after it.
/// </summary>
public static class Demo
{
#if GC_DEMO
public const bool On = true;
#else
public const bool On = false;
#endif
/// <summary>The full game: what the wishlist and feedback links go to.</summary>
public const uint FullAppId = 5551720;
public const uint DemoAppId = 5668050;
/// <summary>About half an hour for a first-time player: the paced opening ships 178 kg in 30 minutes knowing exactly what to do.</summary>
public const double GoalKg = 150;
public static double Shipped => TeamState.Instance ? TeamState.Instance.Shipped.Value : 0d;
/// <summary>The crew has reached the end of the demo.</summary>
public static bool Over => On && Shipped >= GoalKg;
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: cd1209cf5dfb99e44a1aace34f8042f6

View File

@ -10,6 +10,13 @@ namespace GrassCutter
/// and unload, then come back to mow), and a grass train laying its track to the next station and starting to run.
/// Time goes six times as fast. Logs both every ten seconds and takes pictures of them.
/// </summary>
static bool FindDock(out Vector3 at)
{
var dz = GameObject.Find("DockZone");
at = dz ? dz.transform.position : default;
return dz;
}
IEnumerator AutoDemo()
{
TeamState.DeleteSave();
@ -44,12 +51,65 @@ namespace GrassCutter
var train = piece ? piece.GetComponent<Train>() : null;
Log($"train built: {(train ? "ok" : "MISSING")}");
// something in the way to the yard: the autopilot should go straight through it
if (FindDock(out var dock))
{
var mid = Planet.Surface(Vector3.Lerp(tractor.transform.position, dock, 0.5f));
var block = Spawner.Instance.SpawnPiece(PieceId.Press, mid, Face(mid, dock - mid), mid, true);
Log($"obstacle: {(block ? "press" : "MISSING")} {Vector3.Distance(mid, tractor.transform.position):0} m on the way to the yard");
}
// a building on the steepest slope round here, sat on it the way the build tool now sets it down
Vector3 steep = default;
float worst = -1f;
for (int a = 0; a < 48; a++)
for (float r = 60f; r <= 300f; r += 15f)
{
var q = Soil17(Mathf.Cos(a * 7.5f * Mathf.Deg2Rad) * r, Mathf.Sin(a * 7.5f * Mathf.Deg2Rad) * r);
var u = Planet.Up(q);
var e = Vector3.ProjectOnPlane(Vector3.right, u).normalized;
var n2 = Vector3.Cross(u, e);
var nrm = Vector3.Cross(Planet.Surface(q + n2 * 2f) - Planet.Surface(q - n2 * 2f), Planet.Surface(q + e * 2f) - Planet.Surface(q - e * 2f));
float slope = Vector3.Angle(nrm.normalized * Mathf.Sign(Vector3.Dot(nrm, u)), u);
if (slope > worst && !Ts.OnDeck(q) && !(Ground.Instance && Ground.Instance.RockAt(q)) && !Physics.CheckSphere(q + u * 3f, 9f, 1 << Layers.Default, QueryTriggerInteraction.Ignore)) { worst = slope; steep = q; }
}
var dryerDef = GameDefs.Piece(PieceId.Dryer);
var dAt = steep;
var dRot = Face(steep, Vector3.forward);
PlayerBuild.Lean(dryerDef, ref dAt, ref dRot);
var dryer = Spawner.Instance.SpawnPiece(PieceId.Dryer, dAt, dRot, dAt, true);
Log($"slope {worst:0} deg: dryer leans {Vector3.Angle(dRot * Vector3.up, Planet.Up(steep)):0} deg, sunk {Vector3.Dot(dAt - steep, Planet.Up(steep)):0.00} m");
if (dryer)
{
var du = Planet.Up(dAt);
var side = Vector3.Cross(du, dRot * Vector3.forward).normalized;
yield return Look("auto00_slope_dryer", dAt + du * 3f + side * 13f, dAt + du * 1.5f, 1f);
yield return Look("auto00_slope_dryer2", dAt + du * 4f - (dRot * Vector3.forward) * 13f, dAt + du * 1.5f, 0.4f);
}
Time.timeScale = 6f;
var start = tractor.transform.position;
bool flipped = false;
double money = Ts.Money.Value;
for (int k = 1; k <= 18; k++)
{
yield return new WaitForSecondsRealtime(10f);
float until = Time.realtimeSinceStartup + 10f;
while (Time.realtimeSinceStartup < until)
{
yield return null;
var tp0 = tractor.transform.position;
float tilt = Vector3.Angle(tractor.transform.up, Planet.Up(tp0));
if (tilt > 40f && !flipped)
{
flipped = true;
Log($" TIPPED {tilt:0} deg: {tractor.Job}, alt {Planet.Altitude(tp0):0.00} m, {Vector3.Distance(tp0, Planet.FromBase(0f, 0f) * Planet.Radius):0} m from base, speed {tractor.Body.linearVelocity.magnitude:0.0}, on deck {Ts.OnDeck(tp0)}, exclude {tractor.Body.excludeLayers.value}");
Time.timeScale = 1f;
var u0 = Planet.Up(tp0);
yield return Look($"auto_tipped", tp0 + u0 * 8f + Vector3.ProjectOnPlane(Vector3.forward, u0).normalized * -10f, tp0, 0.1f);
Time.timeScale = 6f;
}
if (tilt < 20f) flipped = false;
}
Log($"t+{k * 60} game s: earned {Ts.Money.Value - money:0}, closed {Ts.Closed.Value}");
Log($" tractor: {tractor.Job}, {GameDefs.Kilos(tractor.Tank.Value)} of {GameDefs.Kilos(tractor.Capacity)}, {Vector3.Distance(start, tractor.transform.position):0} m from start, speed {tractor.Body.linearVelocity.magnitude:0.0}, tilt {Vector3.Angle(tractor.transform.up, Planet.Up(tractor.transform.position)):0} deg");
if (train) Log($" train: {train.Prompt}");
@ -70,6 +130,7 @@ namespace GrassCutter
}
}
Time.timeScale = 1f;
Log($"autopilot: swerved {Vehicle.Swerves}, hopped {Vehicle.Hops}");
Log("auto done");
Application.Quit();
}

View File

@ -0,0 +1,44 @@
using System.Collections;
using UnityEngine;
namespace GrassCutter
{
public partial class DemoBot
{
/// <summary>
/// -demoend (in a GC_DEMO build): the menu with its wishlist button, the goal on screen, the thank-you screen once
/// the goal is shipped, and a purchase refused after it.
/// </summary>
IEnumerator DemoEndDemo()
{
Log($"demo build: {Demo.On}, app {SteamManager.AppId}, version {NetSession.Version}, data {Application.persistentDataPath}");
BotCapture.From = null;
yield return new WaitForSeconds(3f);
yield return Shot("demo_0_menu");
TeamState.DeleteSave();
NetSession.Instance.HostLocal();
while (!Me || !Ts) yield return null;
yield return new WaitForSeconds(3f);
Ts.ServerSetMoney(1000d);
yield return new WaitForSeconds(0.5f);
yield return Shot("demo_1_goal");
Ts.BuyToolRpc((byte)ToolId.Scythe);
yield return new WaitForSeconds(1f);
Log($"before the goal: scythe bought {(Me.Owns(ToolId.Scythe) ? "yes" : "NO")}, over {Demo.Over}");
Ts.Shipped.Value = Demo.GoalKg + 3;
yield return new WaitForSeconds(2f);
Log($"at the goal: over {Demo.Over}");
yield return Shot("demo_2_end");
UIRoot.I.CloseTopModal();
yield return new WaitForSeconds(0.5f);
double cash = Ts.Money.Value;
Ts.BuyToolRpc((byte)ToolId.LongScythe);
Ts.BuyBeltSlotRpc();
yield return new WaitForSeconds(1f);
Log($"after the goal: long scythe {(Me.Owns(ToolId.LongScythe) ? "BOUGHT" : "refused")}, money {cash:0} -> {Ts.Money.Value:0}");
yield return Shot("demo_3_refused");
Log("demoend done");
Application.Quit();
}
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 1716542de5bb2ed4a8baec5130a35e0e

View File

@ -16,6 +16,44 @@ namespace GrassCutter
/// every profiler marker (a development build has one per script Update), the slow frames and what was busy in them.
/// Writes perf.txt beside the shots. Needs a development build for the per-script markers.
/// </summary>
IEnumerator Phase(StringBuilder outp, List<(string name, ProfilerRecorder rec)> recs, ProfilerRecorder loop, string label, float seconds, System.Action begin, System.Action<int> each)
{
var total = new Dictionary<string, double>();
var spikes = new List<(int frame, float at, double ms, string top)>();
var frames = new List<double>();
begin();
float t0 = Time.realtimeSinceStartup, until = t0 + seconds;
int f = 0;
while (Time.realtimeSinceStartup < until)
{
yield return null;
f++;
each(f);
double frameMs = loop.Valid ? loop.LastValue / 1e6 : Time.unscaledDeltaTime * 1000.0;
frames.Add(frameMs);
var busy = new List<(string, double)>();
foreach (var (name, rec) in recs)
{
if (!rec.Valid) continue;
double ms = rec.LastValue / 1e6;
if (ms <= 0 || ms > 1000) continue;
total[name] = (total.TryGetValue(name, out var t) ? t : 0) + ms;
if (frameMs > 20 && ms > 1 && name != "PlayerLoop") busy.Add((name, ms));
}
if (frameMs > 20)
spikes.Add((f, Time.realtimeSinceStartup - t0, frameMs, string.Join(", ", busy.OrderByDescending(b => b.Item2).Take(14).Select(b => $"{b.Item1} {b.Item2:0.0}"))));
}
frames.Sort();
double Pct(double p) => frames.Count == 0 ? 0 : frames[Mathf.Clamp((int)(frames.Count * p), 0, frames.Count - 1)];
outp.AppendLine();
outp.AppendLine($"=== {label}: {f} frames, mean {frames.Average():0.0} ms, median {Pct(0.5):0.0}, p95 {Pct(0.95):0.0}, p99 {Pct(0.99):0.0}, max {frames.LastOrDefault():0.0}; {spikes.Count} over 20 ms, {spikes.Count(s => s.ms > 50)} over 50 ms");
foreach (var kv in total.Where(kv => kv.Key.StartsWith("GC:") || kv.Key.StartsWith("GC.") || kv.Key.StartsWith("Physics") || kv.Key.StartsWith("Gfx.") || kv.Key.StartsWith("Loading") || kv.Key.Contains("Upload")).OrderByDescending(kv => kv.Value).Take(40))
outp.AppendLine($"{kv.Value / f,8:0.000} {kv.Key}");
outp.AppendLine("— slow frames —");
foreach (var s in spikes.OrderByDescending(s => s.ms).Take(20))
outp.AppendLine($"#{s.frame} t{s.at:0.0} {s.ms:0.0} ms: {s.top}");
}
IEnumerator Perf(int slot)
{
SaveSlots.Current = slot - 1;
@ -54,44 +92,35 @@ namespace GrassCutter
var loop = recs.FirstOrDefault(r => r.name == "PlayerLoop").rec;
outp.AppendLine($"recording {recs.Count} markers, PlayerLoop {(loop.Valid ? "ok" : "MISSING")}");
var total = new Dictionary<string, double>();
var spikes = new List<(int frame, double ms, string top)>();
var frames = new List<double>();
float until = Time.realtimeSinceStartup + 40f;
int f = 0;
// walk around a little, as a player would
Ctl.BotMove = new Vector2(0.3f, 1f);
while (Time.realtimeSinceStartup < until)
{
yield return null;
f++;
if (f % 120 == 0) Ctl.BotMove = new Vector2(-Ctl.BotMove.x, Ctl.BotMove.y);
double frameMs = loop.Valid ? loop.LastValue / 1e6 : Time.unscaledDeltaTime * 1000.0;
frames.Add(frameMs);
var busy = new List<(string, double)>();
foreach (var (name, rec) in recs)
{
if (!rec.Valid) continue;
double ms = rec.LastValue / 1e6;
if (ms <= 0 || ms > 1000) continue;
total[name] = (total.TryGetValue(name, out var t) ? t : 0) + ms;
if (frameMs > 25 && ms > 1 && ms < 1000 && (name.StartsWith("GC:") || name.StartsWith("Physics.Simulate") || name.StartsWith("Semaphore") || name.StartsWith("GC.") || name.StartsWith("Gfx."))) busy.Add((name, ms));
}
if (frameMs > 25)
spikes.Add((f, frameMs, string.Join(", ", busy.OrderByDescending(b => b.Item2).Take(10).Select(b => $"{b.Item1} {b.Item2:0.0}"))));
}
// three things a player does: walk about the base, drive a mower across fresh meadow, run through the meadow
yield return Phase(outp, recs, loop, "walk at the base", 25f, () => Ctl.BotMove = new Vector2(0.3f, 1f), f => { if (f % 120 == 0) Ctl.BotMove = new Vector2(-Ctl.BotMove.x, Ctl.BotMove.y); });
Ctl.BotMove = Vector2.zero;
var ride = Vehicle.All.Where(v => v && v.Def.width > 0f).OrderByDescending(v => v.Def.width).FirstOrDefault();
if (ride)
{
var far = Planet.FromBase(90f, 160f);
var up = far;
ride.ServerPut(Planet.OnSurface(far) + up * 1.2f, Quaternion.LookRotation(Vector3.ProjectOnPlane(Vector3.forward, up), up));
yield return new WaitForSeconds(1f);
Me.Teleport(ride.transform.position + ride.transform.right * 3f);
yield return new WaitForSeconds(0.5f);
ride.Interact();
yield return new WaitForSeconds(1.5f);
ride.Tank.Value = 0f;
yield return Phase(outp, recs, loop, $"drive the {ride.kind} through the meadow", 40f, () => Ctl.BotMove = new Vector2(0.15f, 1f), f => { });
Ctl.BotMove = Vector2.zero;
ride.RequestExit();
yield return new WaitForSeconds(1.5f);
}
else outp.AppendLine("no mower to drive");
var run = Planet.FromBase(-150f, 120f);
Me.Teleport(Planet.OnSurface(run) + run * 0.3f);
yield return new WaitForSeconds(1f);
yield return Phase(outp, recs, loop, "run through the meadow", 25f, () => { Ctl.BotMove = new Vector2(0f, 1f); Ctl.BotSprint = true; }, f => { if (f % 200 == 0) Ctl.BotMove = new Vector2(Ctl.BotMove.x > 0 ? -0.4f : 0.4f, 1f); });
Ctl.BotMove = Vector2.zero;
Ctl.BotSprint = false;
foreach (var (_, rec) in recs) rec.Dispose();
frames.Sort();
double Pct(double p) => frames.Count == 0 ? 0 : frames[Mathf.Clamp((int)(frames.Count * p), 0, frames.Count - 1)];
outp.AppendLine($"{f} frames: mean {frames.Average():0.0} ms, median {Pct(0.5):0.0}, p95 {Pct(0.95):0.0}, p99 {Pct(0.99):0.0}, max {frames.LastOrDefault():0.0}; {spikes.Count} over 25 ms");
outp.AppendLine("— mean ms a frame, top markers —");
foreach (var kv in total.OrderByDescending(kv => kv.Value).Take(70))
outp.AppendLine($"{kv.Value / f,8:0.000} {kv.Key}");
outp.AppendLine("— slow frames —");
foreach (var s in spikes.OrderByDescending(s => s.ms).Take(25))
outp.AppendLine($"#{s.frame} {s.ms:0.0} ms: {s.top}");
float render = 0f;
yield return BotCapture.FrameCost(40, v => render = v);
outp.AppendLine($"render (camera at the base, GPU waited for): {render:0.0} ms");

View File

@ -0,0 +1,147 @@
using System.Collections;
using UnityEngine;
namespace GrassCutter
{
public partial class DemoBot
{
/// <summary>
/// -demorep host|client: what a client sees of the host's world. A grass train at Mk IV mowing its line (the
/// grass it takes must go on the client too, the train must stand the same), the client buying a machine of its
/// own and an upgrade for it, and driving it and hopping off (it must stay on the ground).
/// </summary>
IEnumerator ReplicaDemo(bool host)
{
string me = host ? "host" : "client";
yield return new WaitForSeconds(2f);
if (host) { TeamState.DeleteSave(); NetSession.Instance.HostLocal(); }
else { yield return new WaitForSeconds(10f); NetSession.Instance.JoinLocal("127.0.0.1"); }
while (!Me || !Ts) yield return null;
Quaternion Face(Vector3 p, Vector3 way) => Quaternion.LookRotation(Vector3.ProjectOnPlane(way, Planet.Up(p)), Planet.Up(p));
var sAt = Soil17(-40f, -70f);
if (host)
{
Clock(11f);
Ts.ServerSetMoney(500000d);
var piece = Spawner.Instance.SpawnPiece(PieceId.Train, sAt, Face(sAt, Vector3.ProjectOnPlane(sAt - Planet.FromBase(0f, 0f) * Planet.Radius, Planet.Up(sAt))), sAt, true);
yield return new WaitForSeconds(1f);
piece.Tier.Value = GameDefs.MaxTier;
var tr = piece.GetComponent<Train>();
yield return new WaitForSeconds(0.5f);
// its first stretch laid: it goes home mowing out either side
tr.State = new[] { (float)tr.Target.Value, tr.LineLength, tr.LineLength, 1f, 0f };
}
float t0 = Time.time;
while (PlayerAgent.All.Count < 2 && Time.time - t0 < 60f) yield return null;
Log($"{me}: {PlayerAgent.All.Count} players");
if (PlayerAgent.All.Count < 2) { Application.Quit(); yield break; }
yield return new WaitForSeconds(4f);
var other = PlayerAgent.All.Find(p => p != Me);
Log($"{me}: my save key '{Me.SaveId}', the other's '{other.SaveId}'");
// the train mows: the same strip on both
var train = Train.All.Count > 0 ? Train.All[0] : null;
if (!train) { Log($"{me}: no train"); Application.Quit(); yield break; }
MowMap.Count();
float mown0 = MowMap.MownArea();
float at0 = train.At.Value;
yield return new WaitForSeconds(12f);
MowMap.Count();
Log($"{me}: train went {at0 - train.At.Value:0} m, {MowMap.MownArea() - mown0:0} m² mown meanwhile, {train.Hopper.Value:0} kg on board");
var lp = train.loco.position;
var lu = Planet.Up(lp);
Log($"{me}: loco at {lp.x:0.00},{lp.y:0.00},{lp.z:0.00} leaning {Vector3.Angle(train.loco.up, lu):0.0} deg, {Planet.Altitude(lp):0.00} m up; wagon 1 at {(train.wagons.Length > 0 && train.wagons[0] ? train.wagons[0].position.ToString("F2") : "-")}, {train.LineLength:0} m of line");
Time.timeScale = 1f;
yield return Look(host ? "rep_host_train" : "rep_client_train", lp + lu * 8f + Vector3.Cross(lu, train.loco.forward).normalized * 15f + train.loco.forward * 10f, lp - train.loco.forward * 10f, 0.4f);
// the client buys a machine, finds it is its own, and upgrades it
Vehicle mine = null;
if (!host)
{
Ts.BuyVehicleRpc((byte)VehicleKind.Tractor, 0UL);
yield return new WaitForSeconds(3f);
mine = Vehicle.Mine(VehicleKind.Tractor, Me.SaveId);
Log($"client: bought a tractor, the garage sees it as mine: {(mine ? "yes" : "NO")}");
if (mine)
{
int was = mine.Level(TuneId.Motors);
Ts.TuneVehicleRpc(mine.NetworkObjectId, (byte)TuneId.Motors);
yield return new WaitForSeconds(1.5f);
Log($"client: motors {was} -> {mine.Level(TuneId.Motors)}");
}
}
else yield return new WaitForSeconds(4.5f);
yield return new WaitForSeconds(1f);
if (host)
{
var theirs = Vehicle.Mine(VehicleKind.Tractor, other.SaveId);
Log($"host: the client's tractor {(theirs ? "is here" : "MISSING")}, mine {(Vehicle.Mine(VehicleKind.Tractor, Me.SaveId) ? "too" : "none (right)")}");
}
// every other kind of purchase, from the client: a matrix perk, a tool, gear, a belt slot, a building's upgrade
BuildPiece robot = null, garage = null;
if (host)
{
var rAt = Soil17(30f, -30f);
robot = Spawner.Instance.SpawnPiece(PieceId.RobotI, rAt, Face(rAt, Vector3.forward), Vector3.zero, true);
var gAt = Soil17(45f, 20f);
garage = Spawner.Instance.SpawnPiece(PieceId.Garage, gAt, Face(gAt, Vector3.forward), Vector3.zero, true);
}
yield return new WaitForSeconds(2f);
robot = BuildPiece.All.Find(x => x && x.piece == PieceId.RobotI);
garage = BuildPiece.All.Find(x => x && x.piece == PieceId.Garage);
if (!host)
{
PerkDef perk = null;
foreach (var d in GameDefs.Perks) if (Ts.Level(d.id) == 0 && Ts.PerkAvailable(d)) { perk = d; break; }
int slots = Me.BeltSlots.Value, tier = robot ? robot.Tier.Value : -1;
double cash = Ts.Money.Value;
if (perk != null) Ts.BuyPerkRpc((int)perk.id);
Ts.BuyToolRpc((byte)ToolId.Sickle);
Ts.BuyGearRpc((byte)GearId.Jetpack);
Ts.BuyBeltSlotRpc();
if (robot) robot.UpgradeRpc();
yield return new WaitForSeconds(2f);
Log($"client buys: perk {(perk != null ? perk.id + " " + Ts.Level(perk.id) : "none available")}, sickle {(Me.Owns(ToolId.Sickle) ? "yes" : "NO")}, jetpack {(Me.HasGear(GearId.Jetpack) ? "yes" : "NO")}, belt slots {slots} -> {Me.BeltSlots.Value}, robot {(robot ? "Mk " + (tier + 1) + " -> Mk " + (robot.Tier.Value + 1) : "MISSING")}, spent {cash - Ts.Money.Value:0}");
// and the screens, as the client sees them
BotCapture.From = null;
if (garage) { UIRoot.I.OpenGarage(garage.GetComponent<Garage>(), VehicleKind.Tractor); yield return new WaitForSeconds(1.2f); yield return Shot("rep_client_garage"); UIRoot.I.CloseTopModal(); yield return new WaitForSeconds(0.4f); }
if (robot) { UIRoot.I.OpenPiece(robot); yield return new WaitForSeconds(1.2f); yield return Shot("rep_client_robot"); UIRoot.I.CloseTopModal(); yield return new WaitForSeconds(0.4f); }
UIRoot.I.OpenShop(); yield return new WaitForSeconds(1.2f); yield return Shot("rep_client_shop"); UIRoot.I.CloseTopModal(); yield return new WaitForSeconds(0.4f);
UIRoot.I.OpenSupply(); yield return new WaitForSeconds(1.2f); yield return Shot("rep_client_supply"); UIRoot.I.CloseTopModal(); yield return new WaitForSeconds(0.4f);
}
else yield return new WaitForSeconds(12f);
yield return new WaitForSeconds(1f);
if (host) Log($"host sees: robot Mk {(robot ? robot.Tier.Value + 1 : 0)}, the client owns a sickle {(other.Owns(ToolId.Sickle) ? "yes" : "NO")}, perks bought {Ts.Installs - 1}");
// the client drives it and hops off; both watch how it stands
var v = Vehicle.All.Find(x => x && x.kind == VehicleKind.Tractor);
if (!host && v)
{
Me.Teleport(v.transform.position + v.transform.right * 3f + Planet.Up(v.transform.position));
yield return new WaitForSeconds(0.5f);
v.Interact();
yield return new WaitForSeconds(1f);
Ctl.BotMove = new Vector2(0.3f, 1f);
yield return new WaitForSeconds(5f);
Ctl.BotMove = Vector2.zero;
yield return new WaitForSeconds(1f);
v.RequestExit();
}
else yield return new WaitForSeconds(7.5f);
float low = 0f;
if (v) for (float t = 0f; t < 4f; t += Time.deltaTime) { low = Mathf.Min(low, Lowest(v)); yield return null; }
if (v) Log($"{me}: after the client hopped off, deepest {low:0.00} m, now {Lowest(v):0.00} m, driver {(v.HasDriver ? "STILL" : "none")}, owned by {(v.IsOwnedByServer ? "the host" : "a client")}, sinks caught here {Vehicle.Sinks}");
if (v)
{
var vp = v.transform.position;
var vu = Planet.Up(vp);
yield return Look(host ? "rep_host_tractor" : "rep_client_tractor", vp + vu * 2.5f + v.transform.right * 8f, vp, 0.3f);
}
yield return new WaitForSeconds(3f);
Log($"{me}: rep done");
Application.Quit();
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b0d9abdb827442aea18206094c4586b8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,40 @@
using System.Collections;
using UnityEngine;
namespace GrassCutter
{
public partial class DemoBot
{
/// <summary>
/// -demoshop [slot]: the upgrade matrix on a save (a fresh planet without one), every tab, with a node picked in each
/// and the detail panel showing it; then the same with a pile of money, so the affordable look shows too.
/// </summary>
IEnumerator ShopDemo(int slot)
{
if (slot > 0) SaveSlots.Current = slot - 1;
else TeamState.DeleteSave();
yield return new WaitForSeconds(2f);
NetSession.Instance.HostLocal();
while (!Me || !Ts) yield return null;
yield return new WaitForSeconds(3f);
Log($"perks {Ts.Installs} / {TeamState.TotalInstalls}, money {Ts.Money.Value:0}");
for (int pass = 0; pass < 2; pass++)
{
if (pass == 1) Ts.ServerSetMoney(Ts.Money.Value + 250000d);
UIRoot.I.OpenShop();
yield return new WaitForSeconds(1.2f);
var shop = UIRoot.I.Shop;
foreach (var tree in ShopScreen.TerminalTrees)
{
shop.SetTree(tree, false);
yield return new WaitForSeconds(0.6f);
yield return Shot($"shop{pass}_{(int)tree}_{tree}");
}
UIRoot.I.CloseTopModal();
yield return new WaitForSeconds(0.5f);
}
Log("shop done");
Application.Quit();
}
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 8a69e95e36ced72458cec3d35add3642

View File

@ -0,0 +1,116 @@
using System.Collections;
using UnityEngine;
namespace GrassCutter
{
public partial class DemoBot
{
/// <summary>
/// -demosink: a tractor on the steepest bit of meadow round the base. Each round drives it up the slope, hops off,
/// and drops it from eight metres; the log says how far below the ground its lowest corner or its nose went. The
/// first round has the hard floor off (how it was), the second on.
/// </summary>
IEnumerator SinkDemo()
{
TeamState.DeleteSave();
yield return new WaitForSeconds(2f);
NetSession.Instance.HostLocal();
while (!Me || !Ts) yield return null;
yield return new WaitForSeconds(3f);
Clock(11f);
Ts.ServerSetMoney(100000d);
// the steepest clear slope within 70 m
Vector3 steep = Soil17(60f, 40f), downhill = Vector3.forward;
float worst = -1f;
for (int a = 0; a < 48; a++)
for (float r = 30f; r <= 70f; r += 8f)
{
var q = Soil17(Mathf.Cos(a * 7.5f * Mathf.Deg2Rad) * r, Mathf.Sin(a * 7.5f * Mathf.Deg2Rad) * r);
var u = Planet.Up(q);
var e1 = Vector3.Cross(u, Vector3.forward).normalized;
var e2 = Vector3.Cross(u, e1);
float h1 = Planet.Altitude(q + e1 * 2f + u * 0f) - Planet.Altitude(q - e1 * 2f);
float h2 = Planet.Altitude(q + e2 * 2f) - Planet.Altitude(q - e2 * 2f);
float slope = Mathf.Atan2(new Vector2(h1, h2).magnitude, 4f) * Mathf.Rad2Deg;
if (slope > worst && !Ts.OnDeck(q) && !(Ground.Instance && Ground.Instance.RockAt(q)) && !Physics.CheckSphere(q + u * 3f, 9f, 1 << Layers.Default, QueryTriggerInteraction.Ignore))
{
worst = slope; steep = q;
// altitude grows the way the ground falls away under the probe, so "uphill" is against it
downhill = (e1 * h1 + e2 * h2).normalized;
}
}
var up = Planet.Up(steep);
var start = steep + downhill * 18f;
start = Planet.Surface(start);
var uphill = Vector3.ProjectOnPlane(-downhill, Planet.Up(start)).normalized;
Log($"slope {worst:0} deg at {steep}");
var v = Spawner.Instance.SpawnVehicle(VehicleKind.Tractor, Me.SaveId, start + Planet.Up(start) * 0.6f, Quaternion.LookRotation(uphill, Planet.Up(start)));
yield return new WaitForSeconds(1.5f);
if (!v) { Log("tractor NOT spawned"); Application.Quit(); yield break; }
for (int round = 0; round < 2; round++)
{
Vehicle.NoFloor = round == 0;
string tag = round == 0 ? "floor OFF" : "floor ON ";
v.ServerPut(start + Planet.Up(start) * 0.6f, Quaternion.LookRotation(uphill, Planet.Up(start)));
yield return new WaitForSeconds(2f);
int sinks = Vehicle.Sinks;
// up the slope, flat out
v.Interact();
yield return new WaitForSeconds(0.6f);
Ctl.BotMove = Vector2.up;
float climb = 0f;
for (float t = 0f; t < 5f; t += Time.fixedDeltaTime) { climb = Mathf.Min(climb, Lowest(v)); yield return new WaitForFixedUpdate(); }
Ctl.BotMove = Vector2.zero;
yield return new WaitForSeconds(1f);
if (round == 1) yield return Look("sink_climb", v.transform.position + Planet.Up(v.transform.position) * 1.5f + v.transform.right * 7f, v.transform.position, 0.3f);
// hop off and watch it stand
v.RequestExit();
float off = 0f;
for (float t = 0f; t < 4f; t += Time.fixedDeltaTime) { off = Mathf.Min(off, Lowest(v)); yield return new WaitForFixedUpdate(); }
float rest = Lowest(v);
// and dropped from eight metres
var p = v.transform.position;
v.ServerPut(p + Planet.Up(p) * 8f, v.transform.rotation);
float land = 0f;
for (float t = 0f; t < 5f; t += Time.fixedDeltaTime) { land = Mathf.Min(land, Lowest(v)); yield return new WaitForFixedUpdate(); }
Log($"{tag}: deepest on the climb {climb:0.00} m, after hopping off {off:0.00} m (at rest {rest:0.00}), landing {land:0.00} m, caught {Vehicle.Sinks - sinks} times, now {Planet.Altitude(v.transform.position):0.00} m up");
}
Vehicle.NoFloor = false;
// and the map, close in, with the sectors round here
Cheats.Run("tool all");
Me.Teleport(v.transform.position + v.transform.right * 4f + Planet.Up(v.transform.position));
yield return Sweep(Me.transform.position, new Vector3(0f, 0f, 1.6f), 3f);
UIRoot.I.OpenMap();
yield return new WaitForSeconds(1.5f);
BotCapture.From = null;
yield return Shot("sink_map");
Log($"map: {MapScreen.Drawn} sectors drawn close in, {MapScreen.Flipped} turned round");
UIRoot.I.CloseTopModal();
yield return new WaitForSeconds(0.3f);
UIRoot.I.OpenMap(1.6f);
yield return new WaitForSeconds(1.5f);
yield return Shot("sink_map_far");
Log("sink done");
Application.Quit();
}
/// <summary>The lowest of its four corners, nose and tail, against the ground (below it is negative).</summary>
static float Lowest(Vehicle v)
{
float low = float.MaxValue;
var t = v.transform;
for (int x = -1; x <= 1; x += 2)
for (int z = -1; z <= 1; z += 2)
low = Mathf.Min(low, Planet.Altitude(t.TransformPoint(new Vector3(x * 0.5f * v.width, 0f, z * 0.42f * v.length))));
low = Mathf.Min(low, Planet.Altitude(t.TransformPoint(new Vector3(0f, 0f, 0.5f * v.length))));
low = Mathf.Min(low, Planet.Altitude(t.TransformPoint(new Vector3(0f, 0f, -0.5f * v.length))));
return low;
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 20733dbba1c04b8395fe845276378d8f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,110 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GrassCutter
{
public partial class DemoBot
{
/// <summary>
/// -demotrain: a fresh planet; a grass train at Mk IV (six wagons), its first stretch finished at once so it lays on
/// to the next station, a full tractor unloading in the first station's yard, the train picking that up and bringing
/// it home, and the host riding in the cab and driving it.
/// </summary>
IEnumerator TrainDemo()
{
TeamState.DeleteSave();
yield return new WaitForSeconds(2f);
NetSession.Instance.HostLocal();
while (!Me || !Ts) yield return null;
yield return new WaitForSeconds(3f);
Clock(11f);
Ts.ServerSetMoney(500000d);
Quaternion Face(Vector3 p, Vector3 way) => Quaternion.LookRotation(Vector3.ProjectOnPlane(way, Planet.Up(p)), Planet.Up(p));
var sAt = Soil17(-40f, -70f);
var piece = Spawner.Instance.SpawnPiece(PieceId.Train, sAt, Face(sAt, Vector3.ProjectOnPlane(sAt - Planet.FromBase(0f, 0f) * Planet.Radius, Planet.Up(sAt))), sAt, true);
yield return new WaitForSeconds(1f);
var train = piece ? piece.GetComponent<Train>() : null;
if (!train) { Log("train MISSING"); Application.Quit(); yield break; }
piece.Tier.Value = GameDefs.MaxTier;
yield return new WaitForSeconds(0.5f);
int wagonsOn = 0;
foreach (var w in train.wagons) if (w && w.gameObject.activeSelf) wagonsOn++;
Log($"train: Mk {piece.Tier.Value + 1}, {train.wagons.Length} wagons made, {wagonsOn} on the rails, line {train.LineLength:0} m to {train.Stops} station(s)");
// the first stretch done at once: laid, and the side cutters out as far as they go
float first = train.LineLength;
train.State = new[] { (float)train.Target.Value, first, first, 99f, 0f };
yield return new WaitForSeconds(1f);
Log($"extended: {train.Stops} stations, line {train.LineLength:0} m (was {first:0}), laying {train.Laid.Value:0} m, runs {train.Runs.Value}");
// and the second laid too: it starts mowing that stretch on the way home
float whole = train.LineLength;
train.State = new[] { (float)train.Target.Value, whole, whole, 1f, 0f, (float)(train.Legs.Value & 0xFFFFFF), (float)((train.Legs.Value >> 24) & 0xFFFFFF) };
yield return new WaitForSeconds(0.5f);
var yards = new List<(Vector3 at, string name)>();
Train.Yards(yards);
Log($"yards: {yards.Count} ({string.Join(", ", yards.ConvertAll(y => y.name))})");
if (yards.Count == 0) { Application.Quit(); yield break; }
// a full tractor unloads in the first yard
var yAt = yards[0].at;
var tractor = Spawner.Instance.SpawnVehicle(VehicleKind.Tractor, Me.SaveId, yAt + Planet.Up(yAt) * 1.2f, Face(yAt, Vector3.right));
yield return new WaitForSeconds(1f);
if (tractor)
{
tractor.Tank.Value = tractor.Capacity;
float full = tractor.Tank.Value;
yield return new WaitForSeconds(8f);
float waiting = 0f;
foreach (var b in train.Bins) waiting += b;
Log($"tractor unloaded {full - tractor.Tank.Value:0} kg in the yard (unloading {tractor.Unloading}), {waiting:0} kg waiting for the train");
}
else Log("tractor NOT spawned");
// where the line turns round the first station
var up0 = Planet.Up(yAt);
yield return Look("train_junction", yAt + up0 * 45f + Vector3.ProjectOnPlane(Vector3.forward, up0).normalized * -30f, yAt, 1f);
// the train comes home through the yard, picks it up, and ships it all at the base
double money = Ts.Money.Value;
Time.timeScale = 8f;
float picked = 0f;
for (int i = 0; i < 90 && train.At.Value > 40f; i++)
{
yield return new WaitForSecondsRealtime(1f);
picked = Mathf.Max(picked, train.Hopper.Value);
}
yield return new WaitForSecondsRealtime(3f);
Time.timeScale = 1f;
Log($"home: at {train.At.Value:0} m, most on board {picked:0} kg, now {train.Hopper.Value:0} kg, earned {Ts.Money.Value - money:0}");
var lp = train.loco.position;
var lu = Planet.Up(lp);
yield return Look("train_six_wagons", lp + lu * 7f + Vector3.Cross(lu, train.loco.forward).normalized * 16f - train.loco.forward * 14f, lp - train.loco.forward * 14f, 1f);
// the host gets in the cab and drives it up the line
train.ServerBoard(Unity.Netcode.NetworkManager.Singleton.LocalClientId);
yield return new WaitForSeconds(1f);
Log($"in the cab: {(Me.RidingTrain == train ? "yes" : "NO")}, {Vector3.Distance(Me.transform.position, train.CabFloor):0.00} m from the cab floor");
float from = train.At.Value;
train.DriveRpc(1);
yield return new WaitForSeconds(4f);
Log($"driven: {train.At.Value - from:0} m on in 4 s, rider still {Vector3.Distance(Me.transform.position, train.CabFloor):0.00} m from the floor");
BotCapture.From = null;
yield return Shot("train_cab");
train.DriveRpc(0);
yield return new WaitForSeconds(0.5f);
float stopped = train.At.Value;
yield return new WaitForSeconds(1f);
Log($"lever back: moved {train.At.Value - stopped:0.0} m in a second");
train.Leave();
yield return new WaitForSeconds(1f);
Log($"off: riding {(Me.RidingTrain ? "STILL" : "no")}, {Vector3.Distance(Me.transform.position, train.loco.position):0.0} m from the loco, altitude {Planet.Altitude(Me.transform.position):0.00} m, rider {(train.Ridden ? "STILL" : "none")}");
yield return new WaitForSeconds(3f);
Log($"on its own again: at {train.At.Value:0} m, runs {train.Runs.Value}");
Log("train done");
Application.Quit();
}
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 242ecd8155aa4caf865239337df2727d

View File

@ -0,0 +1,77 @@
using System.Collections;
using UnityEngine;
namespace GrassCutter
{
public partial class DemoBot
{
/// <summary>
/// -demoyt: a long YouTube video on the phone for well over the couple of minutes it used to stop at, what the page
/// thinks it runs in, the video full screen with the phone on its side, and the tool belt out of the way of the phone.
/// </summary>
IEnumerator TubeDemo()
{
TeamState.DeleteSave();
yield return new WaitForSeconds(2f);
NetSession.Instance.HostLocal();
while (!Me || !Ts) yield return null;
yield return new WaitForSeconds(2f);
var at = new Vector3(-16f, Soil + 0.1f, 14f);
Me.Teleport(at);
Me.LookAt(at + new Vector3(-6f, 1.4f, 9f));
yield return new WaitForSeconds(0.8f);
var phone = Phone.I;
phone.Show(PhoneMode.Side);
yield return new WaitForSeconds(0.6f);
phone.Show(PhoneMode.Up);
yield return new WaitForSeconds(0.6f);
var scr = phone.Screen;
var web = scr.Web;
scr.Open("https://m.youtube.com/watch?v=aqz-KE-bpKQ");
yield return Until(() => web.Url != null && web.Url.Contains("watch"), 30f);
yield return new WaitForSeconds(4f);
yield return Ask(web, "String(navigator.webdriver)+' '+(navigator.userAgentData?navigator.userAgentData.brands.map(b=>b.brand).join('/')+' '+navigator.userAgentData.platform+' mobile '+navigator.userAgentData.mobile:'no hints')");
Log($"the page sees: webdriver {_said}");
yield return Ask(web, "(()=>{const v=document.querySelector('video');if(!v)return 'no video';v.play().catch(()=>{});return 'playing'})()");
BotCapture.From = null;
yield return Shot("yt_1_up");
const string state = "(()=>{const v=document.querySelector('video');const e=document.querySelector('.ytp-error,ytm-player-error-message-renderer,.player-error,.ytp-error-content');" +
"return (v?Math.round(v.currentTime)+' s, paused '+v.paused:'no video')+(e&&e.offsetParent?' ERROR '+e.innerText.slice(0,90).replace(/\\s+/g,' '):'')})()";
for (int i = 1; i <= (CommandLine.Has("-demoytlong") ? 10 : 1); i++)
{
yield return new WaitForSecondsRealtime(20f);
yield return Ask(web, state);
Log($"after {i * 20} s: {_said}");
if (i == 5) yield return Shot("yt_2_100s");
}
yield return Shot("yt_3_200s");
// on its side and full screen: the video must fill the page, square on
scr.Turn();
yield return new WaitForSeconds(1.5f);
yield return Ask(web, "(()=>{const p=document.querySelector('.html5-video-player')||document.querySelector('video');if(!p)return Promise.resolve('nothing to fill');" +
"return p.requestFullscreen().then(()=>new Promise(r=>setTimeout(r,800))).then(()=>{const b=document.fullscreenElement.getBoundingClientRect();" +
"return 'full screen at '+Math.round(b.x)+','+Math.round(b.y)+' size '+Math.round(b.width)+'x'+Math.round(b.height)+', page '+innerWidth+'x'+innerHeight+', scrolled '+scrollY}).catch(e=>'refused: '+e.message)})()");
Log($"wide, {_said} (phone css {web.CssW}x{web.CssH})");
yield return Shot("yt_4_full");
yield return Ask(web, state);
Log($"full screen: {_said}");
// a page of our own that goes full screen on a real tap, the way a site's own button does
scr.Open("data:text/html,<!doctype html><meta name=viewport content='width=device-width,initial-scale=1'><body style='margin:0;height:3000px;background:%23246'>" +
"<div id=b style='position:absolute;left:0;top:600px;width:100%25;height:300px;background:%23e33;font:40px sans-serif;color:white'>go full</div>" +
"<script>scrollTo(0,500);b.addEventListener('click',()=>b.requestFullscreen().catch(e=>b.dataset.e=e.message))</script>");
yield return Until(() => web.Url != null && web.Url.StartsWith("data:"), 15f);
yield return new WaitForSeconds(1.5f);
var tap = scr.PageAt(0.5f, 0.5f);
scr.Pointer(tap, true, true, false);
yield return null;
scr.Pointer(tap, false, false, true);
yield return new WaitForSeconds(1.5f);
yield return Ask(web, "(()=>{const f=document.fullscreenElement;if(!f)return 'not full screen '+(b.dataset.e||'');const r=f.getBoundingClientRect();return 'at '+Math.round(r.x)+','+Math.round(r.y)+' size '+Math.round(r.width)+'x'+Math.round(r.height)+', page '+innerWidth+'x'+innerHeight})()");
Log($"full screen by a tap: {_said} (phone css {web.CssW}x{web.CssH})");
yield return Shot("yt_5_tapfull");
Log("yt done");
Application.Quit();
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 08498c5e737e424abacc3673ab39c783
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -2957,6 +2957,11 @@ namespace GrassCutter
yield return TwoPlayers(role == "host");
yield break;
}
if (CommandLine.Get("-demorep") is string rep)
{
yield return ReplicaDemo(rep == "host");
yield break;
}
if (CommandLine.Get("-democrowd") is string crowd)
{
yield return Crowd(crowd == "host");
@ -3013,6 +3018,21 @@ namespace GrassCutter
yield return Perf(int.Parse(perfSlot));
yield break;
}
if (CommandLine.Has("-demosink"))
{
yield return SinkDemo();
yield break;
}
if (CommandLine.Has("-demotrain"))
{
yield return TrainDemo();
yield break;
}
if (CommandLine.Has("-demoshop"))
{
yield return ShopDemo(int.TryParse(CommandLine.Get("-demoshop"), out int shopSlot) ? shopSlot : 0);
yield break;
}
if (CommandLine.Has("-demoauto"))
{
yield return AutoDemo();
@ -3058,6 +3078,16 @@ namespace GrassCutter
yield return gameObject.AddComponent<Trailer>().Shoot(folder);
yield break;
}
if (CommandLine.Has("-demoend"))
{
yield return DemoEndDemo();
yield break;
}
if (CommandLine.Has("-demoyt"))
{
yield return TubeDemo();
yield break;
}
if (CommandLine.Has("-demophone"))
{
yield return PhoneTest();

View File

@ -11,6 +11,7 @@ namespace GrassCutter
Layers.SetupCollisions();
Fx.Warmup();
_ = Sfx.I;
if (CommandLine.Has("-resetsettings")) { for (int t = 0; t <= 5; t++) GameSettings.Defaults(t); Debug.Log("[Boot] settings reset"); }
GameSettings.Apply();
if (CommandLine.Has("-resetsave")) { TeamState.DeleteSave(); Debug.Log("[Boot] save reset"); }
foreach (var d in UnityEngine.InputSystem.InputSystem.devices) Debug.Log($"[Input] device: {d.name} ({d.layout}) {d.description.product}");

View File

@ -37,6 +37,8 @@ namespace GrassCutter
/// <summary>The assistant chips in with tips.</summary>
public static bool Tips { get => PlayerPrefs.GetInt("s_tips", 1) == 1; set => PlayerPrefs.SetInt("s_tips", value ? 1 : 0); }
/// <summary>The key caps down the right of the screen.</summary>
/// <summary>The view rocks a little with each step.</summary>
public static bool HeadBob { get => PlayerPrefs.GetInt("s_bob", 1) == 1; set => PlayerPrefs.SetInt("s_bob", value ? 1 : 0); }
public static bool KeyHints { get => PlayerPrefs.GetInt("s_hints", 1) == 1; set => PlayerPrefs.SetInt("s_hints", value ? 1 : 0); }
// ───────────────────────── controls ─────────────────────────
@ -127,7 +129,7 @@ namespace GrassCutter
{
string[][] keys =
{
new[] { "s_shake", "s_tips", "s_hints" },
new[] { "s_shake", "s_bob", "s_tips", "s_hints" },
new[] { "s_dmode", "s_fs", "s_resw", "s_resh", "s_vsync", "s_fpscap", "s_fov", "s_bright" },
new[] { "s_quality", "s_rscale", "s_shadows", "s_msaa", "s_grass", "s_bloom" },
new[] { "s_master", "s_music", "s_sfx", "s_voice", "s_phone", "s_bgsound" },

View File

@ -126,14 +126,26 @@ namespace GrassCutter
const string Pref = "s_lang";
/// <summary>Saved choice, else Steam's language for this game, else the system's, else English.</summary>
/// <summary>Steam's language when the choice was saved: a new one picked in the game's Steam properties wins over it.</summary>
const string SteamPref = "s_lang_steam";
/// <summary>Saved choice, else Steam's language for this game, else the system's, else English. A language
/// changed in Steam's properties since the choice was saved overrides the choice.</summary>
public static void Init()
{
if (_ready) return;
_ready = true;
string code = CommandLine.Get("-demolang") ?? CommandLine.Get("-lang");
string steam = FromSteam(), steamThen = PlayerPrefs.GetString(SteamPref, "");
if (Find(code) == null && Find(steam) != null && steamThen.Length > 0 && steamThen != steam)
{
code = steam;
PlayerPrefs.SetString(Pref, Find(steam).code);
PlayerPrefs.SetString(SteamPref, steam);
PlayerPrefs.Save();
}
if (Find(code) == null) code = PlayerPrefs.GetString(Pref, "");
if (Find(code) == null) code = FromSteam();
if (Find(code) == null) code = steam;
if (Find(code) == null) code = FromSystem();
Load(Find(code) ?? All[0]);
}
@ -152,6 +164,7 @@ namespace GrassCutter
if (remember)
{
PlayerPrefs.SetString(Pref, l.code);
PlayerPrefs.SetString(SteamPref, FromSteam() ?? "");
PlayerPrefs.Save();
}
_ready = true;

View File

@ -32,7 +32,27 @@ namespace GrassCutter
"for(let i=0;i<frames.length;i++)try{frames[i].postMessage({__gc:[s.vol,s.hold]},'*')}catch(e){}},300);" +
"addEventListener('message',e=>{const m=e.data&&e.data.__gc;if(m){s.vol=m[0];s.hold=m[1]}});" +
"window.open=u=>{if(u)location.href=u;return window};" +
"addEventListener('click',e=>{const a=e.target.closest&&e.target.closest('a[target]');if(a)a.target='_self'},true)})()";
"addEventListener('click',e=>{const a=e.target.closest&&e.target.closest('a[target]');if(a)a.target='_self'},true)})()";
/// <summary>
/// Full screen, done on the page itself: the element is pinned over the whole of the phone's page. The browser
/// runs without a window of its own, so the real thing was refused or came out the wrong size and shifted to
/// one side, and each site's fallback for that came out crooked in its own way.
/// </summary>
const string Full =
"(()=>{let fe=null,was=null,hid=[];const ev=e=>{for(const n of['fullscreenchange','webkitfullscreenchange'])e.dispatchEvent(new Event(n,{bubbles:true}))};" +
"const exit=function(){if(!fe)return Promise.resolve();const e=fe;fe=null;for(const[h,v]of hid)h.style.visibility=v;hid=[];if(was)e.setAttribute('style',was);else e.removeAttribute('style');ev(e);return Promise.resolve()};" +
"const enter=function(){if(fe===this)return Promise.resolve();if(fe)exit();fe=this;was=this.getAttribute('style');" +
"this.style.cssText+=';position:fixed!important;left:0!important;top:0!important;right:auto!important;bottom:auto!important;width:100vw!important;height:100vh!important;" +
"max-width:none!important;max-height:none!important;margin:0!important;transform:none!important;z-index:2147483647!important;background:#000!important';" +
// whatever else is on the page (a site's own header sits above the player) is hidden while it lasts
"for(let n=this;n&&n.parentElement;n=n.parentElement)for(const o of n.parentElement.children)if(o!==n){hid.push([o,o.style.visibility]);o.style.setProperty('visibility','hidden','important')}" +
"ev(this);return Promise.resolve()};" +
"for(const n of['requestFullscreen','webkitRequestFullscreen','webkitRequestFullScreen'])Element.prototype[n]=enter;" +
"HTMLVideoElement.prototype.webkitEnterFullscreen=enter;HTMLVideoElement.prototype.webkitEnterFullScreen=enter;" +
"for(const n of['exitFullscreen','webkitExitFullscreen','webkitCancelFullScreen'])Document.prototype[n]=exit;" +
"for(const n of['fullscreenElement','webkitFullscreenElement','webkitCurrentFullScreenElement'])Object.defineProperty(Document.prototype,n,{get:()=>fe,configurable:true});" +
"for(const n of['fullscreenEnabled','webkitFullscreenEnabled'])Object.defineProperty(Document.prototype,n,{get:()=>true,configurable:true})})()";
/// <summary>One running browser. A new one is made after a crash, so a late message from the old one can't touch it.</summary>
sealed class Link
@ -154,9 +174,21 @@ namespace GrassCutter
void Metrics()
{
string turned = _wide ? ",\"screenOrientation\":{\"type\":\"landscapePrimary\",\"angle\":90}" : ",\"screenOrientation\":{\"type\":\"portraitPrimary\",\"angle\":0}";
Cmd("Emulation.setDeviceMetricsOverride", $"{{\"width\":{CssW},\"height\":{CssH},\"deviceScaleFactor\":2,\"mobile\":true{turned}}}");
Cmd("Emulation.setDeviceMetricsOverride", $"{{\"width\":{CssW},\"height\":{CssH},\"screenWidth\":{CssW},\"screenHeight\":{CssH},\"deviceScaleFactor\":2,\"mobile\":true{turned}}}");
Bounds();
}
/// <summary>
/// The browser's own window the size of the phone's page. A site going full screen fills the window, not the page
/// the phone shows, so with the window left at its start-up size the video came out shifted off to one side.
/// </summary>
void Bounds()
{
if (_winId > 0) Cmd("Browser.setWindowBounds", $"{{\"windowId\":{_winId},\"bounds\":{{\"width\":{CssW},\"height\":{CssH}}}}}");
}
volatile int _winAsk, _winId;
// ───────────────────────── fingers ─────────────────────────
public void Touch(string type, float x, float y)
@ -231,7 +263,7 @@ namespace GrassCutter
var done = new TaskCompletionSource<string>();
if (!Ready) { done.TrySetResult(null); return done.Task; }
_wait[id] = done;
Send(_link, "{\"id\":" + id + ",\"method\":\"Runtime.evaluate\",\"params\":{\"expression\":" + Str(js) + ",\"awaitPromise\":true}}");
Send(_link, "{\"id\":" + id + ",\"method\":\"Runtime.evaluate\",\"params\":{\"expression\":" + Str(js) + ",\"awaitPromise\":true,\"userGesture\":true}}");
return done.Task;
}
@ -394,7 +426,7 @@ namespace GrassCutter
catch (UnauthorizedAccessException) { await Task.Delay(100); }
}
string args = "--headless=new --remote-debugging-port=0 --user-data-dir=\"" + _profile + "\" --no-first-run --no-default-browser-check " +
"--autoplay-policy=no-user-gesture-required --hide-crash-restore-bubble --disable-sync --disk-cache-size=157286400 --window-size=412,875 " + (_mute ? "--mute-audio " : "") + "about:blank";
"--autoplay-policy=no-user-gesture-required --disable-blink-features=AutomationControlled --hide-crash-restore-bubble --disable-sync --disk-cache-size=157286400 --window-size=412,875 " + (_mute ? "--mute-audio " : "") + "about:blank";
link.Proc = Process.Start(new ProcessStartInfo(exe, args) { UseShellExecute = false, CreateNoWindow = true });
TieToGame(link);
@ -407,7 +439,7 @@ namespace GrassCutter
}
if (port == null) throw new TimeoutException("The browser didn't start.");
string ws, ua;
string ws, ua, chrome;
using (var http = new HttpClient(new HttpClientHandler { UseProxy = false }))
{
// the debug server hangs up after each answer, so no reusing the connection
@ -423,7 +455,7 @@ namespace GrassCutter
foreach (Match old in Regex.Matches(open, "\"id\"\\s*:\\s*\"([^\"]+)\"[^{}]*?\"type\"\\s*:\\s*\"page\""))
await http.GetAsync($"http://127.0.0.1:{port}/json/close/{old.Groups[1].Value}");
var version = await http.GetStringAsync($"http://127.0.0.1:{port}/json/version");
string chrome = Regex.Match(version, "\"Browser\"\\s*:\\s*\"[^/]+/(\\d+)").Groups[1].Value;
chrome = Regex.Match(version, "\"Browser\"\\s*:\\s*\"[^/]+/(\\d+)").Groups[1].Value;
ua = $"Mozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/{chrome}.0.0.0 Mobile Safari/537.36";
}
@ -434,10 +466,18 @@ namespace GrassCutter
_ = Task.Run(() => Receiver(link));
Send(link, "Page.enable", "{}");
Send(link, "Emulation.setUserAgentOverride", "{\"userAgent\":" + Str(ua) + ",\"platform\":\"Linux armv8l\"}");
// the whole of a phone's Chrome, client hints included: with only the agent string swapped, the hints still
// said HeadlessChrome on Windows, and YouTube stopped a video a couple of minutes in ("something went wrong")
string brands = $"[{{\"brand\":\"Chromium\",\"version\":\"{chrome}\"}},{{\"brand\":\"Google Chrome\",\"version\":\"{chrome}\"}},{{\"brand\":\"Not.A/Brand\",\"version\":\"99\"}}]";
string full = $"[{{\"brand\":\"Chromium\",\"version\":\"{chrome}.0.0.0\"}},{{\"brand\":\"Google Chrome\",\"version\":\"{chrome}.0.0.0\"}},{{\"brand\":\"Not.A/Brand\",\"version\":\"99.0.0.0\"}}]";
Send(link, "Emulation.setUserAgentOverride", "{\"userAgent\":" + Str(ua) + ",\"platform\":\"Linux armv8l\",\"userAgentMetadata\":{\"brands\":" + brands +
",\"fullVersionList\":" + full + ",\"platform\":\"Android\",\"platformVersion\":\"14.0.0\",\"architecture\":\"\",\"model\":\"Pixel 8\",\"mobile\":true}}");
Send(link, "Emulation.setTouchEmulationEnabled", "{\"enabled\":true,\"maxTouchPoints\":5}");
Send(link, "Browser.setDownloadBehavior", "{\"behavior\":\"deny\"}");
Send(link, "Page.addScriptToEvaluateOnNewDocument", "{\"source\":" + Str(Keep) + "}");
Send(link, "Page.addScriptToEvaluateOnNewDocument", "{\"source\":" + Str(Keep + ";" + Full) + "}");
int win = Interlocked.Increment(ref _id);
_winAsk = win;
Send(link, "{\"id\":" + win + ",\"method\":\"Browser.getWindowForTarget\",\"params\":{}}");
Metrics();
if (_shown) Screencast(true);
link.Ready = true;
@ -504,7 +544,7 @@ namespace GrassCutter
[Serializable] class Msg { public int id; public string method; public Params @params; public Outer result; }
[Serializable] class Params { public string url, frameId; public FrameInfo frame; }
[Serializable] class FrameInfo { public string url; public string parentId; }
[Serializable] class Outer { public Inner result; public string errorText; }
[Serializable] class Outer { public Inner result; public string errorText; public int windowId; }
[Serializable] class Inner { public string value; }
async Task Receiver(Link link)
@ -565,6 +605,7 @@ namespace GrassCutter
{
if (_wait.TryRemove(m.id, out var done)) done.TrySetResult(m.result?.result?.value);
if (m.id == _navId && !string.IsNullOrEmpty(m.result?.errorText)) _navError = m.result.errorText;
if (m.id == _winAsk && m.result != null && m.result.windowId > 0) { _winId = m.result.windowId; Bounds(); }
}
else if (m.method == "Page.frameNavigated")
{

View File

@ -58,7 +58,7 @@ namespace GrassCutter
var ts = TeamState.Instance;
if (!ts || Upgrades == UpgradeKind.None || Tier.Value >= GameDefs.MaxTier) return;
double price = GameDefs.UpgradePrice(this, Tier.Value);
if (ts.Money.Value < price) { ts.DeniedRpc(RpcTarget.Single(rpc.Receive.SenderClientId, RpcTargetUse.Temp)); return; }
if (ts.Money.Value < price || Demo.Over) { ts.DeniedRpc(RpcTarget.Single(rpc.Receive.SenderClientId, RpcTargetUse.Temp)); return; }
ts.Money.Value -= price;
Tier.Value++;
UpgradedRpc();
@ -133,6 +133,8 @@ namespace GrassCutter
transform.SetPositionAndRotation(at, rot);
var bot = GetComponent<Mowbot>();
if (bot) bot.Moved(at);
var train = GetComponent<Train>();
if (train) train.Moved();
if (Stands && Planet.Altitude(at) < 1f) MowMap.BlockRound(at, Mathf.Max(Def.sizeX, Def.sizeZ) * 0.72f);
Fx.Build(at, new Vector2(Def.sizeX, Def.sizeZ));
Sfx.PlayAt("build_place", at, 0.9f);

View File

@ -339,7 +339,9 @@ namespace GrassCutter
{
if (!Server || !Piece || !Piece.IsSpawned || Items.Count == 0) return;
// a line that hasn't moved for a while only looks again every few steps whether the front can go on
if (_idle > 40 && ++_idleSkip % 6 != 0) return;
// (each line at its own step of the six: a loaded base has hundreds, and all of them looking on the same step
// stalled that frame)
if (_idle > 40 && (++_idleSkip + _phase) % 6 != 0) return;
bool moved = false;
float dt = Time.fixedDeltaTime * (_idle > 40 ? 6f : 1f);
float step = Speed * dt;
@ -372,6 +374,8 @@ namespace GrassCutter
}
int _idle, _idleSkip;
static int s_lines;
readonly int _phase = s_lines++ % 6;
/// <summary>How far an item can go: to the turn until it has chosen, then the end of its route, and never into the one ahead.</summary>
float Room(int i, ref float L)

View File

@ -440,6 +440,13 @@ namespace GrassCutter
}
}
/// <summary>What a piece gets at a tier: the train also gets a wagon for each.</summary>
public static string TierEffect(PieceId id, UpgradeKind k, int tier)
{
if (id == PieceId.Train) return Loc.F("x{0:0.#} speed and reach, {1} wagons", TierMul(k, tier), 3 + Mathf.Clamp(tier, 0, MaxTier));
return TierEffect(k, tier);
}
public static double UpgradePrice(BuildPiece p, int tier)
{
double basis = p.Run ? Math.Max(20d, p.Run.Metres * 4d) : Math.Max(20d, p.Def.price);

View File

@ -16,7 +16,7 @@ namespace GrassCutter
bool belt = d.id == PieceId.Belt;
double price = belt ? GameDefs.BeltPrice(Vector3.Distance(at, to)) : d.price;
bool fits = belt ? BuildRules.CanRun(at, to, out _) : BuildRules.CanPlace(d, at, rot, null, out _);
if (d.company || !who || !who.Owns(ToolId.Hammer) || Money.Value < price || !fits) { DeniedRpc(sender); return; }
if (d.company || !who || !who.Owns(ToolId.Hammer) || Money.Value < price || Demo.Over || !fits) { DeniedRpc(sender); return; }
Money.Value -= price;
ServerSpawnPiece(d.id, at, belt ? BuildRules.RunRotation(at, to) : rot, to);
Save();

View File

@ -92,7 +92,7 @@ namespace GrassCutter
var who = PlayerOf(rpc.Receive.SenderClientId);
if (!who || !who.ClaimedSave || kind >= (byte)VehicleKind.Count) return;
var d = GameDefs.Vehicle((VehicleKind)kind);
if (Money.Value < d.price || Vehicle.Mine(d.kind, who.SaveId)) { DeniedRpc(sender); return; }
if (Money.Value < d.price || Demo.Over || Vehicle.Mine(d.kind, who.SaveId)) { DeniedRpc(sender); return; }
Money.Value -= d.price;
var shed = ShedFor(garage);
Vector3 at;
@ -131,7 +131,7 @@ namespace GrassCutter
int level = v.Level(t);
if (level >= GameDefs.Tune(t).prices.Length) { DeniedRpc(sender); return; }
double price = GameDefs.TunePrice(v.kind, t, level);
if (Money.Value < price) { DeniedRpc(sender); return; }
if (Money.Value < price || Demo.Over) { DeniedRpc(sender); return; }
Money.Value -= price;
v.Tuned[tune] = (byte)(level + 1);
Save();

View File

@ -201,7 +201,7 @@ namespace GrassCutter
if (perk < 0 || perk >= (int)PerkId.Count) return;
var def = GameDefs.Perk((PerkId)perk);
int lvl = Level(def.id);
if (lvl >= def.maxLevel || !PerkAvailable(def) || Money.Value < def.PriceFor(lvl)) { DeniedRpc(RpcTarget.Single(rpc.Receive.SenderClientId, RpcTargetUse.Temp)); return; }
if (lvl >= def.maxLevel || !PerkAvailable(def) || Money.Value < def.PriceFor(lvl) || Demo.Over) { DeniedRpc(RpcTarget.Single(rpc.Receive.SenderClientId, RpcTargetUse.Temp)); return; }
Money.Value -= def.PriceFor(lvl);
Perks[perk] = (byte)(lvl + 1);
PurchasedRpc(PlayerName(rpc.Receive.SenderClientId), def.maxLevel > 1 ? Loc.Key(def.nameEn, GameDefs.ToRoman(lvl + 1)) : Loc.Key(def.nameEn));
@ -209,7 +209,11 @@ namespace GrassCutter
}
[Rpc(SendTo.SpecifiedInParams)]
public void DeniedRpc(RpcParams p = default) { Sfx.Play("error"); }
public void DeniedRpc(RpcParams p = default)
{
Sfx.Play("error");
if (Demo.Over) Hud.Toast(Loc.T("That's the end of the demo: the full game has the rest of the planet."), Hud.ToastKind.Warn);
}
[Rpc(SendTo.Everyone)]
void PurchasedRpc(FixedString64Bytes who, FixedString64Bytes what) => Purchased?.Invoke(who.ToString(), what.ToString());
@ -235,7 +239,7 @@ namespace GrassCutter
if (!who || tool >= GameDefs.ToolCount) return;
var d = GameDefs.Tool((ToolId)tool);
double price = ToolPrice(d);
if (who.Owns((ToolId)tool) || Money.Value < price) { DeniedRpc(RpcTarget.Single(rpc.Receive.SenderClientId, RpcTargetUse.Temp)); return; }
if (who.Owns((ToolId)tool) || Money.Value < price || Demo.Over) { DeniedRpc(RpcTarget.Single(rpc.Receive.SenderClientId, RpcTargetUse.Temp)); return; }
Money.Value -= price;
who.Owned.Value |= (ushort)(1 << tool);
SaveCrew(who);
@ -247,7 +251,7 @@ namespace GrassCutter
var who = PlayerOf(rpc.Receive.SenderClientId);
if (!who) return;
long price = GameDefs.BeltSlotPrice(who.BeltSlots.Value);
if (who.BeltSlots.Value >= GameDefs.MaxBeltSlots || Money.Value < price) { DeniedRpc(RpcTarget.Single(rpc.Receive.SenderClientId, RpcTargetUse.Temp)); return; }
if (who.BeltSlots.Value >= GameDefs.MaxBeltSlots || Money.Value < price || Demo.Over) { DeniedRpc(RpcTarget.Single(rpc.Receive.SenderClientId, RpcTargetUse.Temp)); return; }
Money.Value -= price;
who.BeltSlots.Value++;
SaveCrew(who);
@ -259,7 +263,7 @@ namespace GrassCutter
var who = PlayerOf(rpc.Receive.SenderClientId);
if (!who || gear < (byte)GearId.Jetpack || gear > (byte)GearId.NightVision) return;
long price = GameDefs.GearPrice((GearId)gear);
if (who.HasGear((GearId)gear) || Money.Value < price) { DeniedRpc(RpcTarget.Single(rpc.Receive.SenderClientId, RpcTargetUse.Temp)); return; }
if (who.HasGear((GearId)gear) || Money.Value < price || Demo.Over) { DeniedRpc(RpcTarget.Single(rpc.Receive.SenderClientId, RpcTargetUse.Temp)); return; }
Money.Value -= price;
who.Owned.Value |= (ushort)(1 << gear);
SaveCrew(who);

View File

@ -8,12 +8,17 @@ namespace GrassCutter
/// <summary>
/// The grass train. Built at a base, it lays its own track to a station next door (the one most in front of it, E picks
/// another while the track is short), mowing a strip under the rails all the way. Once the track gets there it runs
/// back and forth, its side cutters reaching one strip further out on every run until they reach as far as they can,
/// and what it cuts is paid for at either end. The host moves it; every peer draws the track and the train from the
/// same few numbers (where to, how much is laid, where the head is).
/// back and forth, its side cutters reaching one strip further out on every run; when they reach as far as they can it
/// lays the track on to the next station and works that stretch, until the line has been to every station it can reach.
/// Each station on the line has a yard at the end of the rails where machines unload: the train picks that up as it
/// passes and brings it home with what it cut, paid when it gets back. Anyone can ride in the cab and drive it (W, S).
/// Every upgrade adds a wagon, and the wagons hold more. The host moves it; every peer draws the track and the train
/// from the same few numbers (where to, how much is laid, where the head is).
/// </summary>
public class Train : NetworkBehaviour, IInteractable, IPieceState
{
public static readonly List<Train> All = new List<Train>();
public Transform loco;
public Transform[] wagons;
@ -21,48 +26,92 @@ namespace GrassCutter
const float Step = 2f, Lead = 24f, StopShort = 16f;
/// <summary>Metres a second laying track and running on it, at Mk I.</summary>
const float LaySpeed = 2.4f, RunSpeed = 8f;
/// <summary>Off the stretch it is mowing it runs this much faster; with a driver in the cab, this much.</summary>
const float Express = 3f, DriveSpeed = 2.5f;
/// <summary>Strip cut under the rails, and the width each side cutter adds on a run.</summary>
const float Strip = 3.4f, Arm = 3f;
/// <summary>How far out the side cutters reach at Mk I, either side of the track.</summary>
const float Reach = 18f;
const float WaitAtEnd = 6f, Hold = 6000f, Gap = 5.2f, Gauge = 1.5f;
const float WaitAtEnd = 6f, Gap = 5.2f, Gauge = 1.62f;
/// <summary>The top of the rails above the track line: the models' wheels stand on their origin.</summary>
const float RailTop = 0.27f;
/// <summary>What one wagon holds, what a yard holds waiting for the train, and how close a machine unloads at one.</summary>
const float PerWagon = 2000f, YardHolds = 20000f, YardRadius = 9f;
const int BaseWagons = 3;
const ulong NoRider = ulong.MaxValue;
/// <summary>The station it is laying track to (255: not chosen yet).</summary>
/// <summary>The first station it lays track to (255: not chosen yet).</summary>
public readonly NetworkVariable<byte> Target = new NetworkVariable<byte>(255);
/// <summary>The stations after the first, in order: a four-bit count, then four bits each.</summary>
public readonly NetworkVariable<ulong> Legs = new NetworkVariable<ulong>();
/// <summary>Metres of track down.</summary>
public readonly NetworkVariable<float> Laid = new NetworkVariable<float>();
/// <summary>Where the locomotive is along the track, in metres from the platform.</summary>
public readonly NetworkVariable<float> At = new NetworkVariable<float>();
/// <summary>Runs since the track was finished: run n cuts the n-th strip out either side.</summary>
/// <summary>Runs since the newest stretch was finished: run n cuts the n-th strip out either side.</summary>
public readonly NetworkVariable<int> Runs = new NetworkVariable<int>();
public readonly NetworkVariable<float> Hopper = new NetworkVariable<float>();
/// <summary>Who drives it from the cab (NoRider: nobody), and the lever: -1 back, 0 stop, 1 on.</summary>
public readonly NetworkVariable<ulong> Rider = new NetworkVariable<ulong>(NoRider);
public readonly NetworkVariable<sbyte> Drive = new NetworkVariable<sbyte>();
/// <summary>Grass unloaded in each station's yard, waiting for the train (one entry per station).</summary>
public NetworkList<float> Bins;
readonly List<Vector3> _pts = new List<Vector3>();
readonly List<float> _cum = new List<float>();
/// <summary>The stations on the line in order, where the track reaches each (metres), and where the stretch to each starts.</summary>
readonly List<int> _line = new List<int>();
readonly List<float> _stopAt = new List<float>();
readonly List<float> _legStart = new List<float>();
readonly List<Vector3> _yardAt = new List<Vector3>();
float _length, _wait, _shown = -1f;
bool _noMore;
BuildPiece _bp;
BuildPiece Piece => _bp ? _bp : (_bp = GetComponent<BuildPiece>());
TeamState Ts => TeamState.Instance;
float Mul => (Piece ? Piece.TierMul : 1f) * (Ts ? Ts.BotSpeedMul : 1f);
float MaxOut => Reach * (Piece ? Piece.TierMul : 1f);
/// <summary>Wagons on the train: three, and one more for every upgrade.</summary>
int WagonCount => Mathf.Min(wagons != null ? wagons.Length : 0, BaseWagons + (Piece ? Piece.Tier.Value : 0));
float Hold => PerWagon * Mathf.Max(1, WagonCount);
/// <summary>Where the train stands at home: far enough along for every wagon to be on the rails.</summary>
float HomeAt => Mathf.Min(_length, (wagons != null ? wagons.Length : 0) * Gap + 1f);
float HomeAt => Mathf.Min(_length, WagonCount * Gap + 2.5f);
/// <summary>Where the stretch it is working on starts: the side cutters only mow from here on.</summary>
float WorkFrom => _legStart.Count > 0 ? _legStart[_legStart.Count - 1] : 0f;
float Inner => Strip * 0.5f + (Runs.Value - 1) * Arm;
bool Laying => Laid.Value < _length - 0.01f;
bool RouteDone => !Laying && Runs.Value > 0 && Inner >= MaxOut;
bool Cutting => Inner < MaxOut;
public bool Ridden => Rider.Value != NoRider;
int Last => _line.Count > 0 ? _line[_line.Count - 1] : Target.Value;
// ───────────────────────── life ─────────────────────────
readonly List<(Transform t, Quaternion rest, float r)> _wheels = new List<(Transform, Quaternion, float)>();
readonly List<(Transform t, Vector3 rest)> _heaps = new List<(Transform, Vector3)>();
Transform _reel;
Quaternion _reelRest;
float _rolled, _reelAngle, _lastShown = -1f;
GameObject _cab;
BoxCollider _cabHit;
Vector3 _locoAt;
Quaternion _locoTurn = Quaternion.identity;
void Awake()
{
// the wheels turn as it goes, the cutter reel on the nose spins while it cuts
foreach (var root in new[] { loco }.Concat(wagons ?? new Transform[0]))
Bins = new NetworkList<float>();
// the prefab has three wagons: the rest are copies of the last, shown as the train is upgraded
var list = new List<Transform>((wagons ?? new Transform[0]).Where(w => w));
while (list.Count > 0 && list.Count < BaseWagons + GameDefs.MaxTier)
{
var src = list[list.Count - 1];
var copy = Instantiate(src.gameObject, src.parent).transform;
copy.name = src.name + "_" + list.Count;
list.Add(copy);
}
wagons = list.ToArray();
// the wheels turn as it goes, the cutter reel on the nose spins while it cuts, the heaps grow as it fills
foreach (var root in new[] { loco }.Concat(wagons))
{
if (!root) continue;
foreach (var t in root.GetComponentsInChildren<Transform>(true))
@ -72,26 +121,68 @@ namespace GrassCutter
var mf = t.GetComponent<MeshFilter>();
float rad = mf && mf.sharedMesh ? Mathf.Max(0.1f, mf.sharedMesh.bounds.extents.y) : 0.4f;
_wheels.Add((t, t.localRotation, rad));
// how far the axles reach fore and aft: the model sits on the rails at its end axles
var lp = Vector3.Scale(root.InverseTransformPoint(t.position), root.localScale);
float z = Mathf.Abs((root.localRotation * lp).z);
_axles[root] = Mathf.Max(_axles.TryGetValue(root, out var had) ? had : 0f, z);
}
else if (t.name == "Reel") { _reel = t; _reelRest = t.localRotation; }
else if (t.name == "Grass" && root != loco) _heaps.Add((t, t.localScale));
}
}
// something to aim at and stand by: E on the locomotive gets you in the cab
if (loco)
{
_cab = new GameObject("Cab");
_cab.transform.SetParent(transform, false);
_cabHit = _cab.AddComponent<BoxCollider>();
_cabHit.center = new Vector3(0f, 1.45f, 0f);
_cabHit.size = new Vector3(2.1f, 2.5f, 4.7f);
var rb = _cab.AddComponent<Rigidbody>();
rb.isKinematic = true;
rb.useGravity = false;
}
}
public override void OnNetworkSpawn()
{
if (!All.Contains(this)) All.Add(this);
Target.OnValueChanged += (_, __) => Route();
if (IsServer && Target.Value == 255) Target.Value = Pick(-1);
Legs.OnValueChanged += (_, __) => Route();
Planet.Rescaled += Route;
if (IsServer)
{
while (Bins.Count < Stations.Count) Bins.Add(0f);
if (Target.Value == 255) Target.Value = Pick(-1);
}
Route();
}
/// <summary>Everyone: the depot was picked up and set down elsewhere. The line starts from there now, so it is laid again.</summary>
public void Moved()
{
if (IsServer)
{
Laid.Value = 0f;
At.Value = 0f;
Runs.Value = 0;
_wait = 0f;
_noMore = false;
}
_shown = 0f;
Route();
}
public override void OnNetworkDespawn()
{
Planet.Rescaled -= Route;
All.Remove(this);
if (_track) Destroy(_track);
}
public override void OnDestroy()
{
All.Remove(this);
if (_track) Destroy(_track);
base.OnDestroy();
}
@ -119,13 +210,53 @@ namespace GrassCutter
return (byte)near[(k + 1) % near.Count].i;
}
/// <summary>The station to lay on to from the end of the line: next door to it, not on the line yet, the most straight on.</summary>
int NextStation()
{
if (_line.Count == 0) return -1;
int home = Stations.Nearest(transform.position);
int last = _line[_line.Count - 1];
var at = Stations.Dir(last);
var from = _line.Count > 1 ? Stations.Dir(_line[_line.Count - 2]) : Planet.Up(transform.position);
var on = Vector3.ProjectOnPlane(at - from, at).normalized;
int best = -1;
float score = -2f;
for (int i = 0; i < Stations.Count; i++)
{
if (i == home || _line.Contains(i)) continue;
var d = Stations.Dir(i);
if (Vector3.Dot(d, at) < 0.3f) continue;
float s = Vector3.Dot(Vector3.ProjectOnPlane(d - at, at).normalized, on);
if (s > score) { score = s; best = i; }
}
return best;
}
static float Angle(Vector3 a, Vector3 b) => Mathf.Acos(Mathf.Clamp(Vector3.Dot(a, b), -1f, 1f));
void Add(Vector3 p)
{
if (_pts.Count > 0) _length += Vector3.Distance(_pts[_pts.Count - 1], p);
_pts.Add(p);
_cum.Add(_length);
}
void Route()
{
_pts.Clear();
_cum.Clear();
_line.Clear();
_stopAt.Clear();
_legStart.Clear();
_yardAt.Clear();
_length = 0f;
ClearTrack();
if (Target.Value >= Stations.Count) return;
_line.Add(Target.Value);
ulong legs = Legs.Value;
int extra = (int)(legs & 0xF);
for (int k = 0; k < extra; k++) _line.Add((int)((legs >> (4 + 4 * k)) & 0xF));
var up = Planet.Up(transform.position);
var fwd = Vector3.ProjectOnPlane(transform.forward, up).normalized;
// from the buffer stop at the back of the platform
@ -137,18 +268,40 @@ namespace GrassCutter
{
var g = Planet.Surface(Vector3.Lerp(a, lead, i / (float)n));
float t = i / (float)n;
_pts.Add(Vector3.Lerp(a, g, Mathf.SmoothStep(0f, 1f, t)));
Add(Vector3.Lerp(a, g, Mathf.SmoothStep(0f, 1f, t)));
}
// then the great circle to the station, stopping short of its yard
var from = Planet.Up(lead);
var to = Stations.Dir(Target.Value);
float ang = Mathf.Acos(Mathf.Clamp(Vector3.Dot(from, to), -1f, 1f));
float full = ang * Planet.Radius, arc = Mathf.Max(Step, full - StopShort);
int m = Mathf.Max(1, Mathf.CeilToInt(arc / Step));
for (int j = 0; j <= m; j++) _pts.Add(Planet.OnSurface(Vector3.Slerp(from, to, j * arc / m / full)));
_cum.Add(0f);
for (int i = 1; i < _pts.Count; i++) _cum.Add(_cum[i - 1] + Vector3.Distance(_pts[i - 1], _pts[i]));
_length = _cum[_cum.Count - 1];
for (int k = 0; k < _line.Count; k++)
{
var to = Stations.Dir(_line[k]);
if (k > 0)
{
// round the station it just reached, at the edge of its yard, and off toward the next one
var c = Stations.Dir(_line[k - 1]);
float sep = Angle(c, to);
var exit = Vector3.Slerp(c, to, Mathf.Clamp01(StopShort / Planet.Radius / Mathf.Max(1e-4f, sep)));
float turn = Vector3.SignedAngle(Vector3.ProjectOnPlane(from, c), Vector3.ProjectOnPlane(exit, c), c);
int steps = Mathf.Max(1, Mathf.CeilToInt(Mathf.Abs(turn) * Mathf.Deg2Rad * StopShort / Step));
for (int j = 1; j <= steps; j++) Add(Planet.OnSurface(Quaternion.AngleAxis(turn * j / steps, c) * from));
from = Planet.Up(_pts[_pts.Count - 1]);
}
_legStart.Add(k == 0 ? 0f : _length);
// the great circle to the station, stopping short of its yard
float full = Angle(from, to) * Planet.Radius, arc = Mathf.Max(Step, full - StopShort);
int m = Mathf.Max(1, Mathf.CeilToInt(arc / Step));
for (int j = k == 0 ? 0 : 1; j <= m; j++) Add(Planet.OnSurface(Vector3.Slerp(from, to, j * arc / m / full)));
_stopAt.Add(_length);
_yardAt.Add(_pts[_pts.Count - 1]);
from = Planet.Up(_pts[_pts.Count - 1]);
}
}
/// <summary>The point this far along the track, carried on straight past either end.</summary>
Vector3 PosOn(float d)
{
if (d < 0f) return Pos(0f) - Ahead(0f) * -d;
if (d > _length) return Pos(_length) + Ahead(_length) * (d - _length);
return Pos(d);
}
/// <summary>The point this far along the track.</summary>
@ -168,20 +321,98 @@ namespace GrassCutter
Vector3 Ahead(float d) => (Pos(d + 1f) - Pos(d - 1f)).normalized;
// ───────────────────────── yards ─────────────────────────
/// <summary>Is this spot in the yard of a station on some train's line (with room left)? Which train, which station.</summary>
public static bool YardAt(Vector3 p, out Train train, out int station)
{
foreach (var t in All)
{
if (!t || !t.IsSpawned) continue;
for (int k = 0; k < t._yardAt.Count; k++)
{
if (!t.YardOpen(k) || (t._yardAt[k] - p).sqrMagnitude > YardRadius * YardRadius) continue;
train = t;
station = t._line[k];
return true;
}
}
train = null;
station = -1;
return false;
}
/// <summary>Every yard a machine can unload in now, with its name, for the markers and the autopilot.</summary>
public static void Yards(List<(Vector3 at, string name)> into)
{
foreach (var t in All)
{
if (!t || !t.IsSpawned) continue;
for (int k = 0; k < t._yardAt.Count; k++)
if (t.YardOpen(k)) into.Add((t._yardAt[k], Loc.F("Train yard: {0}", Stations.Name(t._line[k]))));
}
}
/// <summary>The track has got there and the yard isn't full.</summary>
bool YardOpen(int k) => k < _stopAt.Count && Laid.Value >= _stopAt[k] - 1f && _line[k] < Bins.Count && Bins[_line[k]] < YardHolds;
/// <summary>A machine unloads in a yard: it waits there for the train.</summary>
[Rpc(SendTo.Server)]
public void FillRpc(byte station, float kg)
{
if (station < Bins.Count && kg > 0f) Bins[station] += kg;
}
float Waiting()
{
float sum = 0f;
foreach (int s in _line) if (s < Bins.Count) sum += Bins[s];
return sum;
}
/// <summary>Passing a yard between a and b: what waits there goes on board, as much as fits.</summary>
void Pickup(float a, float b)
{
float lo = Mathf.Min(a, b) - 0.5f, hi = Mathf.Max(a, b) + 0.5f;
for (int k = 0; k < _stopAt.Count; k++)
{
float at = _stopAt[k];
int s = _line[k];
if (at < lo || at > hi || s >= Bins.Count) continue;
float have = Bins[s], take = Mathf.Min(have, Hold - Hopper.Value);
if (take <= 0.01f) continue;
Bins[s] = have - take;
Hopper.Value += take;
}
}
// ───────────────────────── the host runs it ─────────────────────────
void Update()
{
if (!IsSpawned) return;
if (IsServer && _length > 0f) Run(Time.deltaTime);
if (IsServer && _sendW > 0f && Time.time - _sendT > 0.25f) SendCut();
Draw();
}
void Run(float dt)
{
if (_wait > 0f) { _wait -= dt; return; }
if (Ridden)
{
if (!NetworkManager.ConnectedClients.ContainsKey(Rider.Value)) { Rider.Value = NoRider; Drive.Value = 0; }
else { Driven(dt); return; }
}
if (_wait > 0f)
{
_wait -= dt;
Pickup(At.Value, At.Value);
return;
}
if (Laying)
{
// out to the head of the track first: after a ride, or with a new stretch to lay
if (At.Value < Laid.Value - 0.5f) { Roll(Laid.Value, RunSpeed * Mul * Express, dt); return; }
float was = Laid.Value, now = Mathf.Min(_length, was + LaySpeed * Mul * dt);
Laid.Value = now;
At.Value = now;
@ -190,26 +421,67 @@ namespace GrassCutter
return;
}
if (Runs.Value <= 0) { Runs.Value = 1; return; }
bool done = RouteDone;
// odd runs come home, even ones go out; with nothing left in reach it goes home and waits there
float goal = done || Runs.Value % 2 == 1 ? HomeAt : _length;
float a = At.Value, b = Mathf.MoveTowards(a, goal, RunSpeed * Mul * dt);
if (b != a) At.Value = b;
if (!done) Cut(a, b, Inner, Mathf.Min(Arm, MaxOut - Inner));
bool cutting = Cutting;
// the stretch is mown as far as the cutters reach: on to the next station
if (!cutting && TryExtend()) return;
// odd runs come home, even ones go out; with nothing to fetch and nothing to cut it waits at home
bool home = Runs.Value % 2 == 1;
if (!cutting && Hopper.Value < 1f && Waiting() < 1f && At.Value <= HomeAt + 0.5f) { _wait = 3f; return; }
float goal = home ? HomeAt : _length;
float a = At.Value;
bool working = cutting && a >= WorkFrom - 1f;
float b = Roll(goal, RunSpeed * Mul * (working ? 1f : Express), dt);
if (cutting)
{
float lo = Mathf.Max(Mathf.Min(a, b), WorkFrom), hi = Mathf.Max(a, b);
if (hi > lo + 1e-3f) Cut(lo, hi, Inner, Mathf.Min(Arm, MaxOut - Inner));
}
if (Mathf.Abs(b - goal) < 0.01f)
{
if (done) Ship();
else Arrive(Runs.Value + 1);
if (home) Ship();
Arrive(Runs.Value + 1);
}
}
/// <summary>Moves the train toward a point along the track, picking up at the yards it passes. Where it got to.</summary>
float Roll(float goal, float speed, float dt)
{
float a = At.Value, b = Mathf.MoveTowards(a, goal, speed * dt);
if (b != a) At.Value = b;
Pickup(a, b);
return b;
}
/// <summary>Someone in the cab has the lever: on up the line as far as the rails go, or back home.</summary>
void Driven(float dt)
{
if (Drive.Value == 0) return;
float lo = Mathf.Min(HomeAt, Laid.Value), hi = Laid.Value;
float b = Roll(Drive.Value > 0 ? hi : lo, RunSpeed * Mul * DriveSpeed, dt);
if (b <= lo + 0.5f) Ship();
}
void Arrive(int nextRun)
{
Ship();
_wait = WaitAtEnd;
Runs.Value = nextRun;
}
bool TryExtend()
{
if (_noMore) return false;
int next = NextStation();
ulong legs = Legs.Value;
int count = (int)(legs & 0xF);
if (next < 0 || count >= 11) { _noMore = true; return false; }
legs = (legs & ~0xFUL) | (ulong)(count + 1);
legs |= (ulong)next << (4 + 4 * count);
Runs.Value = 0;
Legs.Value = legs;
if (Ts) Ts.AnnounceRpc(Loc.Pack("The Grass Train lays track on to {0}", Stations.Names[next]));
return true;
}
void Ship()
{
if (Hopper.Value <= 0.01f || !Ts) return;
@ -217,10 +489,32 @@ namespace GrassCutter
Hopper.Value = 0f;
}
/// <summary>Mows along the track from a to b: under it (offset 0), or a strip either side starting this far out.</summary>
/// <summary>Host: mows along the track from a to b into the hopper, and has everyone else mow the same.</summary>
void Cut(float a, float b, float offset, float width)
{
if (width <= 0.05f || Mathf.Abs(b - a) < 1e-4f) return;
Hopper.Value = Mathf.Min(Hold, Hopper.Value + Mow(a, b, offset, width) * GameDefs.GrassDensity);
// each peer cuts its own copy of the meadow: the stroke goes out to the others, joined up into a few a second
if (_sendW > 0f && (_sendOff != offset || _sendW != width || Mathf.Abs(_sendB - a) > 0.01f || (b > a) != (_sendB > _sendA))) SendCut();
if (_sendW <= 0f) { _sendA = a; _sendOff = offset; _sendW = width; _sendT = Time.time; }
_sendB = b;
if (Time.time - _sendT > 0.25f) SendCut();
}
float _sendA, _sendB, _sendOff, _sendW, _sendT;
void SendCut()
{
if (_sendW > 0f && Mathf.Abs(_sendB - _sendA) > 1e-4f) CutRpc(_sendA, _sendB, _sendOff, _sendW);
_sendW = 0f;
}
[Rpc(SendTo.NotServer)]
void CutRpc(float a, float b, float offset, float width) => Mow(a, b, offset, width);
/// <summary>Mows along the track from a to b: under it (offset 0), or a strip either side starting this far out. The kilos cut.</summary>
float Mow(float a, float b, float offset, float width)
{
float kg = 0f;
int n = Mathf.Max(1, Mathf.CeilToInt(Mathf.Abs(b - a) / Step));
for (int k = 0; k < n; k++)
@ -235,9 +529,56 @@ namespace GrassCutter
kg += MowMap.Cut(Planet.Surface(p0 + side * o), Planet.Surface(p1 + side * o), width, 0f, MowMap.PaintFeather);
kg += MowMap.Cut(Planet.Surface(p0 - side * o), Planet.Surface(p1 - side * o), width, 0f, MowMap.PaintFeather);
}
Hopper.Value = Mathf.Min(Hold, Hopper.Value + kg * GameDefs.GrassDensity);
return kg;
}
// ───────────────────────── riding ─────────────────────────
/// <summary>Where someone in the cab stands, and which way the locomotive faces.</summary>
public Vector3 CabFloor => _locoAt + _locoTurn * new Vector3(0f, 0.55f, -1.15f);
public Quaternion CabTurn => _locoTurn;
/// <summary>Beside the locomotive, where someone getting off steps down.</summary>
public Vector3 StepOff => _locoAt + _locoTurn * new Vector3(2.4f, 0f, -1.15f);
bool AimingCab => _cabHit && PlayerAgent.Local && PlayerAgent.Local.HasAim && PlayerAgent.Local.AimHit.collider == _cabHit;
[Rpc(SendTo.Server)]
void BoardRpc(RpcParams rpc = default)
{
ulong who = rpc.Receive.SenderClientId;
var p = TeamState.PlayerOf(who);
if (Ridden || !p || p.Driving.Value || (p.transform.position - _locoAt).sqrMagnitude > 144f) return;
Drive.Value = 0;
Rider.Value = who;
}
[Rpc(SendTo.Server)]
void LeaveRpc(RpcParams rpc = default)
{
if (Rider.Value != rpc.Receive.SenderClientId) return;
Rider.Value = NoRider;
Drive.Value = 0;
}
[Rpc(SendTo.Server)]
public void DriveRpc(sbyte lever, RpcParams rpc = default)
{
if (Rider.Value == rpc.Receive.SenderClientId) Drive.Value = (sbyte)Mathf.Clamp(lever, -1, 1);
}
public void Leave() => LeaveRpc();
/// <summary>For tests: the host gets in its own cab.</summary>
public void ServerBoard(ulong who)
{
if (!IsServer || Ridden) return;
Drive.Value = 0;
Rider.Value = who;
}
public float LineLength => _length;
public int Stops => _line.Count;
// ───────────────────────── what everyone sees ─────────────────────────
void Draw()
@ -245,19 +586,37 @@ namespace GrassCutter
if (_length <= 0f) return;
float at = At.Value;
if (IsServer || _shown < 0f || Mathf.Abs(_shown - at) > 30f) _shown = at;
else _shown = Mathf.MoveTowards(_shown, at, (RunSpeed * 2.5f + Mathf.Abs(at - _shown) * 4f) * Time.deltaTime);
else _shown = Mathf.MoveTowards(_shown, at, (RunSpeed * Express + Mathf.Abs(at - _shown) * 4f) * Time.deltaTime);
Place(loco, _shown, true);
int count = WagonCount;
if (wagons != null)
for (int i = 0; i < wagons.Length; i++)
{
float d = _shown - (i + 1) * Gap;
if (wagons[i]) wagons[i].gameObject.SetActive(d >= 0f);
if (d >= 0f) Place(wagons[i], d, true);
bool on = i < count && d >= 0f;
if (wagons[i] && wagons[i].gameObject.activeSelf != on) wagons[i].gameObject.SetActive(on);
if (on) Place(wagons[i], d, true);
}
Heaps();
Lay(Laid.Value);
Spin();
}
/// <summary>The wagons fill from the front: each heap shows how full its wagon is (heaps are in wagon order).</summary>
void Heaps()
{
float fill = Hopper.Value / PerWagon;
for (int i = 0; i < _heaps.Count; i++)
{
var (t, rest) = _heaps[i];
if (!t) continue;
float f = Mathf.Clamp01(fill - i);
bool show = f > 0.02f;
if (t.gameObject.activeSelf != show) t.gameObject.SetActive(show);
if (show) t.localScale = rest * Mathf.Lerp(0.45f, 1f, f);
}
}
void Spin()
{
float moved = _lastShown < 0f ? 0f : _shown - _lastShown;
@ -266,7 +625,7 @@ namespace GrassCutter
_rolled += moved;
foreach (var (t, rest, r) in _wheels)
if (t) t.localRotation = rest * Quaternion.AngleAxis(_rolled / r * Mathf.Rad2Deg, Vector3.right);
if (_reel && Mathf.Abs(moved) > 1e-4f && !RouteDone)
if (_reel && Mathf.Abs(moved) > 1e-4f && (Laying || Cutting))
{
_reelAngle += Time.deltaTime * 720f;
_reel.localRotation = _reelRest * Quaternion.AngleAxis(_reelAngle, Vector3.right);
@ -275,16 +634,35 @@ namespace GrassCutter
/// <summary>How each model stands in its own frame (an FBX with one root object brings its axis turn on that root).</summary>
readonly Dictionary<Transform, Quaternion> _rest = new Dictionary<Transform, Quaternion>();
readonly Dictionary<Transform, float> _axles = new Dictionary<Transform, float>();
/// <summary>
/// Stands a model on the rails: its front and back axles both on the track, so it leans up and down the slopes
/// with the rails instead of standing level and hanging off one end.
/// </summary>
void Place(Transform t, float d, bool onRails)
{
if (!t) return;
if (!_rest.TryGetValue(t, out var rest)) _rest[t] = rest = t.localRotation;
var p = Pos(d);
var up = Planet.Up(p);
var f = Vector3.ProjectOnPlane(Ahead(d), up);
if (f.sqrMagnitude < 1e-6f) f = Vector3.ProjectOnPlane(transform.forward, up);
t.SetPositionAndRotation(p + up * (onRails ? 0.22f : 0f), Quaternion.LookRotation(f.normalized, up) * rest);
float half = _axles.TryGetValue(t, out var ax) && ax > 0.2f ? ax : 1.5f;
var back = PosOn(d - half);
var front = PosOn(d + half);
var f = front - back;
if (f.sqrMagnitude < 1e-4f) f = Ahead(d);
f.Normalize();
var mid = (back + front) * 0.5f;
var up = Vector3.ProjectOnPlane(Planet.Up(mid), f);
if (up.sqrMagnitude < 1e-6f) up = Planet.Up(mid);
up.Normalize();
var at = mid + up * (onRails ? RailTop : 0f);
var turn = Quaternion.LookRotation(f, up);
t.SetPositionAndRotation(at, turn * rest);
if (t == loco)
{
_locoAt = at;
_locoTurn = turn;
if (_cab) _cab.transform.SetPositionAndRotation(at, turn);
}
}
// ───────────────────────── the track ─────────────────────────
@ -396,42 +774,60 @@ namespace GrassCutter
{
get
{
string where = Target.Value < Stations.Count ? Stations.Name(Target.Value) : "?";
var def = GameDefs.Piece(PieceId.Train);
string where = Last < Stations.Count ? Stations.Name(Last) : "?";
string s;
if (Laying)
{
string s = Loc.F("{0}: laying track to {1}, {2} of {3} m", def.name, where, Mathf.RoundToInt(Laid.Value), Mathf.RoundToInt(_length));
return Laid.Value < Lead ? s + " · " + Loc.T("E: another station") : s;
s = Loc.F("{0}: laying track to {1}, {2} of {3} m", def.name, where, Mathf.RoundToInt(Laid.Value), Mathf.RoundToInt(_length));
if (Laid.Value < Lead && _line.Count <= 1) s += " · " + Loc.T("E: another station");
}
if (RouteDone) return Loc.F("{0}: the line to {1} is mown clean as far as it reaches. An upgrade reaches further.", def.name, where);
return Loc.F("{0}: running to {1} and back, cutting {2} m out either side, {3} on board", def.name, where, Mathf.RoundToInt(Inner + Arm), GameDefs.Kilos(Hopper.Value));
else if (!Cutting) s = Loc.F("{0}: carrying grass home from the stations on its line, {1} on board, {2} waiting", def.name, GameDefs.Kilos(Hopper.Value), GameDefs.Kilos(Waiting()));
else s = Loc.F("{0}: running to {1} and back, cutting {2} m out either side, {3} on board", def.name, where, Mathf.RoundToInt(Inner + Arm), GameDefs.Kilos(Hopper.Value));
if (AimingCab && !Ridden) s = Loc.T("E: ride in the cab") + " · " + s;
return s;
}
}
public bool CanInteract => Laying && Laid.Value < Lead;
public bool CanInteract => (AimingCab && !Ridden) || (Laying && Laid.Value < Lead && _line.Count <= 1);
public void Interact() => OtherWayRpc();
public void Interact()
{
if (AimingCab && !Ridden) BoardRpc();
else OtherWayRpc();
}
[Rpc(SendTo.Server)]
void OtherWayRpc()
{
if (!Laying || Laid.Value >= Lead) return;
if (!Laying || Laid.Value >= Lead || Legs.Value != 0) return;
Laid.Value = 0f;
At.Value = 0f;
Target.Value = Pick(Target.Value);
}
/// <summary>Saved: where to, how far laid, where it is, the run, the load, the line on from there (two 24-bit halves), the yards.</summary>
public float[] State
{
get => new[] { Target.Value, Laid.Value, At.Value, Runs.Value, Hopper.Value };
get
{
var s = new float[7 + Stations.Count];
s[0] = Target.Value; s[1] = Laid.Value; s[2] = At.Value; s[3] = Runs.Value; s[4] = Hopper.Value;
s[5] = Legs.Value & 0xFFFFFF; s[6] = (Legs.Value >> 24) & 0xFFFFFF;
for (int i = 0; i < Stations.Count; i++) s[7 + i] = i < Bins.Count ? Bins[i] : 0f;
return s;
}
set
{
if (value == null || value.Length < 5 || !IsServer) return;
if (value.Length >= 7) Legs.Value = (ulong)value[5] | ((ulong)value[6] << 24);
if (value[0] < Stations.Count) Target.Value = (byte)value[0];
Laid.Value = value[1];
At.Value = value[2];
Runs.Value = (int)value[3];
Hopper.Value = value[4];
while (Bins.Count < Stations.Count) Bins.Add(0f);
for (int i = 0; i < Stations.Count && 7 + i < value.Length; i++) Bins[i] = value[7 + i];
}
}
}

View File

@ -29,14 +29,102 @@ namespace GrassCutter
/// <summary>Strokes as pairs of points on the ground: start, end, start, end...</summary>
readonly List<Vector3> _strokes = new List<Vector3>();
int _next, _field;
float _stuck, _back, _backSteer, _lastSteer;
float _stuck, _lastSteer;
int _stuckTimes;
/// <summary>The closest it has come to where it's going, and when: circling round a point inside its turn, it gives up on it.</summary>
float _bestDist, _bestAt;
int _goalKey = -1;
Vector3 _unloadAt;
/// <summary>Pads it got to and couldn't unload on this trip (walled in, say): it tries the next place.</summary>
readonly HashSet<SiloPiece> _badPads = new HashSet<SiloPiece>();
float _thereSince = -1f;
/// <summary>
/// An autopilot touches nothing, so nothing can wedge it, climb it or tip it: it rides on the soil and on the base
/// deck, steers round what stands in its way and goes through what it can't get round.
/// </summary>
const int GhostMask = ~0;
/// <summary>What it steers round (not the deck rails: it rolls over those).</summary>
const int SolidMask = (1 << Layers.Default) | (1 << Layers.Build) | (1 << Layers.Vehicle) | (1 << Layers.Player) | (1 << Layers.LocalPlayer);
bool _ghost, _avoiding;
/// <summary>For the demo: how often an autopilot steered round something, went through it, hopped.</summary>
public static int Swerves, Hops;
static readonly RaycastHit[] s_ahead = new RaycastHit[8];
bool Solid(Collider c) => c && !c.transform.IsChildOf(transform) && !(c is BoxCollider && c.GetComponent<DeckTileView>());
/// <summary>How far ahead the way is blocked this way (MaxValue: it's clear), not counting what's near the goal.</summary>
float Blocked(Vector3 from, Vector3 dir, float radius, float reach, Vector3 goal)
{
int n = Physics.SphereCastNonAlloc(from, radius, dir, s_ahead, reach, SolidMask, QueryTriggerInteraction.Ignore);
float best = float.MaxValue;
for (int i = 0; i < n; i++)
{
var h = s_ahead[i];
if (!Solid(h.collider) || h.distance <= 0f) continue;
if ((h.point - goal).sqrMagnitude < 36f) continue;
best = Mathf.Min(best, h.distance);
}
return best;
}
/// <summary>Steering to take it round what stands ahead: toward the clearer side, harder the closer it is.</summary>
float Avoid(Vector3 p, Vector3 up, Vector3 fwd, float dist, Vector3 goal)
{
float reach = Mathf.Min(9f, dist - 1.5f);
if (reach < 2f) return 0f;
var from = p + up * 1.1f;
float r = Mathf.Max(0.6f, width * 0.5f);
float ahead = Blocked(from, fwd, r, reach, goal);
if (ahead == float.MaxValue) return 0f;
float left = Blocked(from, Quaternion.AngleAxis(-40f, up) * fwd, r, reach, goal);
float right = Blocked(from, Quaternion.AngleAxis(40f, up) * fwd, r, reach, goal);
float side = left > right ? -1f : left < right ? 1f : (Vector3.SignedAngle(fwd, goal - p, up) < 0f ? -1f : 1f);
return side * Mathf.Lerp(1.4f, 0.5f, ahead / reach);
}
static readonly RaycastHit[] s_deckHits = new RaycastHit[8];
/// <summary>How high this wheel stands over the base deck's slab under it, if there is one (it keeps to the deck, not to what's on it).</summary>
static float DeckClearance(Vector3 wp, Vector3 up, float reach)
{
int n = Physics.RaycastNonAlloc(wp + up * 1.2f, -up, s_deckHits, reach, 1 << Layers.Default, QueryTriggerInteraction.Ignore);
float best = float.MaxValue;
for (int i = 0; i < n; i++)
if (s_deckHits[i].collider is BoxCollider && s_deckHits[i].collider.GetComponent<DeckTileView>())
best = Mathf.Min(best, s_deckHits[i].distance - 1.2f);
return best;
}
void Ghost(bool on)
{
if (_ghost == on) return;
_ghost = on;
Body.excludeLayers = on ? (LayerMask)GhostMask : (LayerMask)0;
}
/// <summary>The last way out: picks the machine up and sets it down a few metres on, facing where it's going.</summary>
void Hop(Vector3 goal, float metres)
{
var p = transform.position;
var up = Planet.Up(p);
var to = Vector3.ProjectOnPlane(goal - p, up);
float d = to.magnitude;
if (d < 0.5f) return;
var dir = to / d;
Hops++;
var at = Planet.Surface(p + dir * Mathf.Min(metres, d));
var nu = Planet.Up(at);
// onto the base deck, not under it
if (Ts && Ts.OnDeck(at)) { float c = DeckClearance(at + nu * 4f, nu, 8f); if (c < 50f) at += nu * (4f - c); }
Body.position = at + nu * 0.6f;
Body.rotation = Quaternion.LookRotation(Vector3.ProjectOnPlane(dir, nu).normalized, nu);
Body.linearVelocity = Vector3.zero;
Body.angularVelocity = Vector3.zero;
_hasCut = false;
}
static readonly List<Vector2Int> s_fields = new List<Vector2Int>();
static readonly List<(Vector3 at, string name)> s_yards = new List<(Vector3, string)>();
static readonly Collider[] s_block = new Collider[4];
/// <summary>The driver hands over: they step off, it carries on.</summary>
@ -198,12 +286,18 @@ namespace GrassCutter
var p = transform.position;
foreach (var s in SiloPiece.Pads)
{
if (!s || !s.IsSpawned) continue;
// only what a machine can drive onto (a garage, an unload bay): a drone pad or a binder holds grass too
if (!s || !s.IsSpawned || !s.OnPad(s.PadSpot) || _badPads.Contains(s)) continue;
float d = (s.PadSpot - p).sqrMagnitude;
if (d < best) { best = d; at = s.PadSpot; }
}
if (!s_dock) { var dz = GameObject.Find("DockZone"); s_dock = dz ? dz.transform : null; }
if (s_dock && (s_dock.position - p).sqrMagnitude < best) { best = (s_dock.position - p).sqrMagnitude; at = s_dock.position; }
// a yard at a station on a train's line: the train takes it home
s_yards.Clear();
Train.Yards(s_yards);
foreach (var y in s_yards)
if ((y.at - p).sqrMagnitude < best) { best = (y.at - p).sqrMagnitude; at = y.at; }
return best < float.MaxValue;
}
@ -225,8 +319,22 @@ namespace GrassCutter
if (job == AutoJob.Unloading)
{
// on the pad: stand still until it's empty, then back to work
if (Unloading) return Vector2.zero;
if (Tank.Value <= 0.1f) { Auto.Value = (byte)AutoJob.Mowing; _stuckTimes = 0; return Vector2.zero; }
if (Unloading) { _thereSince = -1f; return Vector2.zero; }
if (Tank.Value <= 0.1f) { Auto.Value = (byte)AutoJob.Mowing; _stuckTimes = 0; _badPads.Clear(); return Vector2.zero; }
// at the spot and still not unloading: that place won't take it, so the next one
if (Vector3.ProjectOnPlane(_unloadAt - p, up).sqrMagnitude < 25f)
{
if (_thereSince < 0f) _thereSince = Time.time;
else if (Time.time - _thereSince > 4f)
{
_thereSince = -1f;
var bad = SiloPiece.Pads.Find(s => s && (s.PadSpot - _unloadAt).sqrMagnitude < 1f);
if (bad) _badPads.Add(bad);
if (!bad) Hop(_unloadAt, 5f); // the yard: right onto the spot
else if (!FindUnload(out _unloadAt)) { Auto.Value = (byte)AutoJob.Done; return Vector2.zero; }
}
}
else _thereSince = -1f;
}
Vector3 goal;
@ -256,10 +364,11 @@ namespace GrassCutter
else if (dist < _bestDist - 1f) { _bestDist = dist; _bestAt = Time.time; }
else if (Time.time - _bestAt > 7f)
{
// round and round a point it can't turn into: on to the next one (or the next stroke)
// round and round a point it can't turn into: on to the next one (or the next stroke);
// on the way to unload it gets there anyway, a hop at a time
_goalKey = -1;
if (job == AutoJob.Mowing) _next++;
else if (++_stuckTimes >= 5) Auto.Value = (byte)AutoJob.Done;
else Hop(goal, Mathf.Min(dist, 8f));
return new Vector2(_lastSteer, 0.4f);
}
@ -267,13 +376,6 @@ namespace GrassCutter
float ang = Vector3.SignedAngle(fwd, to, up);
float speed = Vector3.ProjectOnPlane(Body.linearVelocity, up).magnitude;
// backing out of something it ran into
if (_back > 0f)
{
_back -= dt;
return new Vector2(_backSteer, -1f);
}
float steer = Mathf.Clamp(ang / 30f, -1f, 1f);
// mowing it keeps to a pace it can turn at; on the way somewhere far it goes faster
float cap = job == AutoJob.Mowing ? 0.7f : dist > 20f ? 1f : 0.6f;
@ -281,24 +383,23 @@ namespace GrassCutter
if (dist < 6f) thr = Mathf.Min(thr, 0.3f + dist * 0.08f);
// a sharp turn close by is taken slowly: the slower it goes, the tighter it turns
if (Mathf.Abs(ang) > 50f && dist < 10f) thr = Mathf.Min(thr, 0.22f);
// round what stands in the way; what it can't get round it goes through
float avoid = Avoid(p, up, fwd, dist, goal);
if (avoid == 0f) _avoiding = false;
else
{
if (!_avoiding) Swerves++;
_avoiding = true;
steer = Mathf.Clamp(steer + avoid, -1f, 1f);
thr = Mathf.Min(thr, 0.5f);
}
_lastSteer = steer;
// nothing stops it, so not moving means wedged on the ground somehow: it hops on
if (speed < 0.5f && thr > 0.2f)
{
_stuck += dt;
if (_stuck > 2.2f)
{
_stuck = 0f;
_back = 1.5f;
_backSteer = ang > 0f ? -1f : 1f;
if (++_stuckTimes >= 4)
{
// can't get there: the next stroke, or another way home
_stuckTimes = 0;
if (job == AutoJob.Mowing) _next += (_next % 2 == 0) ? 2 : 1;
else Auto.Value = (byte)AutoJob.Done;
}
}
if (_stuck > 3f) { _stuck = 0f; Hop(goal, 4f); }
}
else _stuck = 0f;
return new Vector2(steer, thr);

View File

@ -109,7 +109,7 @@ namespace GrassCutter
// ───────────────────────── seat ─────────────────────────
public string Prompt => HasDriver ? null : OnAuto ? Loc.F("Take over the {0} ({1}, {2} / {3})", Def.name, AutoPrompt, GameDefs.Kilos(Tank.Value), GameDefs.Kilos(Capacity)) : Def.bed > 0 ? Loc.F("Ride the {0} ({1} of {2} bundles, E with a bundle loads it)", Def.name, Bed.Count, Def.bed) : Loc.F("Ride the {0} ({1} / {2})", Def.name, GameDefs.Kilos(Tank.Value), GameDefs.Kilos(Capacity));
public string Prompt => HasDriver ? null : OnAuto ? Loc.F("Take over the {0} ({1}, {2} / {3})", Def.name, AutoPrompt, GameDefs.Kilos(Tank.Value), GameDefs.Kilos(Capacity)) : Def.bed > 0 ? Loc.F("Ride the {0} ({1} of {2} bundles, {3} with a bundle loads it)", Def.name, Bed.Count, Def.bed, Binds.Cap(Act.Interact)) : Loc.F("Ride the {0} ({1} / {2})", Def.name, GameDefs.Kilos(Tank.Value), GameDefs.Kilos(Capacity));
public bool CanInteract => !HasDriver;
public void Interact()
@ -274,11 +274,40 @@ namespace GrassCutter
// ───────────────────────── physics (owner) ─────────────────────────
readonly float[] _clear = new float[4];
/// <summary>The nose and the tail, along the middle, past the springs: what digs in first on a rise or a hard landing.</summary>
static readonly float[] Ends = { 0.5f, -0.5f, 0f };
/// <summary>
/// A hard floor under the springs. They are soft enough to ride a meadow, so a hard landing, a steep rise or the
/// moment after a hand-over squeezed them right through and a corner (or the nose) went into the ground; nothing
/// else holds a machine up, the ground itself has no collider. Whatever is below the ground comes straight back
/// up, and stops falling.
/// </summary>
void Floor(Vector3 up)
{
float sink = 0f;
for (int i = 0; i < _clear.Length; i++) sink = Mathf.Max(sink, -_clear[i]);
for (int i = 0; i < Ends.Length; i++)
sink = Mathf.Max(sink, -Planet.Altitude(transform.TransformPoint(new Vector3(0f, 0f, Ends[i] * length))));
if (sink < 0.02f || NoFloor) return;
sink = Mathf.Min(sink, 3f);
Body.position += up * sink;
float down = Vector3.Dot(Body.linearVelocity, up);
if (down < 0f) Body.linearVelocity -= up * down;
Sinks++;
}
/// <summary>How often the floor had to catch a machine (the tests read it).</summary>
public static int Sinks;
/// <summary>Tests: the floor off, to see how it was.</summary>
public static bool NoFloor;
static readonly Vector2[] Probes = { new Vector2(-0.5f, 0.42f), new Vector2(0.5f, 0.42f), new Vector2(-0.5f, -0.42f), new Vector2(0.5f, -0.42f) };
void FixedUpdate()
{
if (!IsSpawned || !IsOwner || Body.isKinematic) return;
if (!IsSpawned || !IsOwner || Body.isKinematic) { if (_ghost) Ghost(false); return; }
bool driving = LocalDriving;
var input = driving ? Ctl.Move : Vector2.zero;
// the host drives a machine on autopilot
@ -295,6 +324,8 @@ namespace GrassCutter
var up = Planet.Up(transform.position);
Body.AddForce(-up * GameDefs.LowGravity, ForceMode.Acceleration);
// on autopilot it touches nothing: it steers round things and goes through what it can't get round
Ghost(auto);
// raycast springs at four corners (soil, deck, ramp)
int wet = 0;
@ -306,8 +337,10 @@ namespace GrassCutter
var local = new Vector3(Probes[i].x * width, 0f, Probes[i].y * length);
var wp = transform.TransformPoint(local);
float clearance = Planet.Altitude(wp);
if (Physics.Raycast(wp + up * 1.2f, -up, out var sh, 1.2f + ride + 1.5f, groundMask, QueryTriggerInteraction.Ignore))
if (_ghost) clearance = Mathf.Min(clearance, DeckClearance(wp, up, 1.2f + ride + 1.5f));
else if (Physics.Raycast(wp + up * 1.2f, -up, out var sh, 1.2f + ride + 1.5f, groundMask, QueryTriggerInteraction.Ignore))
clearance = Mathf.Min(clearance, sh.distance - 1.2f);
_clear[i] = clearance;
float depth = ride - clearance;
if (depth > 0f)
{
@ -318,6 +351,7 @@ namespace GrassCutter
}
}
bool onGround = wet > 0;
Floor(up);
// drive
var fwd = Vector3.ProjectOnPlane(transform.forward, up).normalized;
@ -366,11 +400,17 @@ namespace GrassCutter
}
if (Slurping.Value != mowing) Slurping.Value = mowing;
// unload: in the yard at the base it's paid as it comes off, on a garage's pad or an unload bay it fills the bin
// unload: in the yard at the base it's paid as it comes off, on a garage's pad or an unload bay it fills the bin,
// in a train yard at a station on a line it waits there for the train
var pad = Tank.Value > 0.1f ? SiloPiece.PadUnder(transform.position) : null;
bool dock = Tank.Value > 0.1f && !pad && NearDock();
Train yard = null;
int yardOf = -1;
if (Tank.Value > 0.1f && !pad && !dock) Train.YardAt(transform.position, out yard, out yardOf);
bool into = pad || dock || yard;
if (Def.bales && (driving || auto)) Bale(dt);
Unloading = Tank.Value > 0.1f && (pad || NearDock());
if (Tank.Value > 0.1f && (pad || NearDock()) && Ts)
Unloading = Tank.Value > 0.1f && into;
if (Tank.Value > 0.1f && into && Ts)
{
float give = Mathf.Min(Tank.Value, GameDefs.DockRate(Level(TuneId.Release)) * (Ts.Has(PerkId.ExpressDepot) ? 2f : 1f) * dt);
Tank.Value -= give;
@ -378,6 +418,7 @@ namespace GrassCutter
if (_unloadCarry > 40f || Tank.Value <= 0.1f)
{
if (pad) pad.TakeRpc(_unloadCarry);
else if (yard) yard.FillRpc((byte)yardOf, _unloadCarry);
else Ts.DepositRpc(_unloadCarry, (byte)CargoKind.Grass, transform.position);
_unloadCarry = 0f;
}

View File

@ -22,7 +22,7 @@ namespace GrassCutter
public class NetSession : MonoBehaviour
{
public const string GameKey = "grasscutter";
public const string Version = "0.1";
public const string Version = Demo.On ? "0.1-demo" : "0.1";
public const int MaxPlayers = 16;
const ushort LocalPort = 7777;

View File

@ -8,7 +8,7 @@ namespace GrassCutter
[DefaultExecutionOrder(-1000)]
public class SteamManager : MonoBehaviour
{
public const uint AppId = 5551720;
public const uint AppId = Demo.On ? Demo.DemoAppId : Demo.FullAppId;
public static SteamManager Instance { get; private set; }
public static bool Initialized { get; private set; }
@ -36,7 +36,9 @@ namespace GrassCutter
DontDestroyOnLoad(gameObject);
Debug.Log("[Steam] initializing…");
if (CommandLine.Has("-nosteam")) { Debug.Log("[Steam] disabled by -nosteam"); return; }
// Only our own builds carry steam_appid.txt; a player's copy must run through Steam, which checks it's theirs.
bool devAppId = Application.isEditor || System.IO.File.Exists(System.IO.Path.Combine(System.IO.Path.GetDirectoryName(Application.dataPath) ?? ".", "steam_appid.txt"));
if (CommandLine.Has("-nosteam") && devAppId) { Debug.Log("[Steam] disabled by -nosteam"); return; }
if (!Packsize.Test()) Debug.LogError("[Steam] Packsize test failed — wrong Steamworks.NET platform binaries.");
if (!DllCheck.Test()) Debug.LogError("[Steam] DllCheck failed — steam_api64.dll mismatch.");
@ -46,7 +48,6 @@ namespace GrassCutter
#if !UNITY_EDITOR
// When launched outside Steam without steam_appid.txt this relaunches through Steam.
// Dev builds ship steam_appid.txt next to the exe, so skip the check entirely there.
bool devAppId = System.IO.File.Exists(System.IO.Path.Combine(System.IO.Path.GetDirectoryName(Application.dataPath) ?? ".", "steam_appid.txt"));
if (!devAppId && SteamAPI.RestartAppIfNecessary(new AppId_t(AppId)))
{
Debug.Log("[Steam] Relaunching through Steam");
@ -59,12 +60,14 @@ namespace GrassCutter
if (!Initialized)
{
Debug.LogWarning($"[Steam] Init failed ({res}): {err}. Is Steam running? Falling back to offline mode.");
if (!devAppId) NeedSteam();
return;
}
}
catch (DllNotFoundException e)
{
Debug.LogError("[Steam] steam_api64.dll not found: " + e.Message);
if (!devAppId) NeedSteam();
return;
}
@ -103,6 +106,46 @@ namespace GrassCutter
if (Initialized) SteamAPI.RunCallbacks();
}
// always the full game: the demo has no hub of its own, and its wishlist button is for the game
public static string StoreUrl => $"https://store.steampowered.com/app/{Demo.FullAppId}/";
public static string FeedbackUrl => $"https://steamcommunity.com/app/{Demo.FullAppId}/discussions/";
/// <summary>The game's store page (wishlist, follow, review): in the Steam overlay, else the browser.</summary>
public static void OpenStore()
{
try
{
if (Initialized && SteamUtils.IsOverlayEnabled()) { SteamFriends.ActivateGameOverlayToStore(new AppId_t(Demo.FullAppId), EOverlayToStoreFlag.k_EOverlayToStoreFlag_None); return; }
}
catch (Exception) { }
Application.OpenURL(StoreUrl);
}
/// <summary>A page in the Steam overlay's browser, else the system's.</summary>
public static void OpenWeb(string url)
{
try
{
if (Initialized && SteamUtils.IsOverlayEnabled()) { SteamFriends.ActivateGameOverlayToWebPage(url); return; }
}
catch (Exception) { }
Application.OpenURL(url);
}
[System.Runtime.InteropServices.DllImport("user32.dll", CharSet = System.Runtime.InteropServices.CharSet.Unicode)]
static extern int MessageBoxW(IntPtr hWnd, string text, string caption, uint type);
/// <summary>The game isn't running through Steam (or Steam can't vouch for it): say so and close.</summary>
static void NeedSteam()
{
Debug.LogError("[Steam] not started through Steam: quitting");
#if UNITY_STANDALONE_WIN && !UNITY_EDITOR
try { MessageBoxW(IntPtr.Zero, Loc.T("Grass Cutters Together needs Steam. Start Steam, sign in to the account that owns the game, and launch it from your library."), "Grass Cutters Together", 0x30); }
catch (Exception) { }
#endif
Application.Quit();
}
void OnApplicationQuit()
{
Shutdown();

View File

@ -14,6 +14,8 @@ namespace GrassCutter
/// <summary>Dev bots hold / tap the use buttons through these (they bypass focus checks).</summary>
public static bool BotUseHeld, BotUsePressed, BotAltHeld, BotAltPressed;
public static Vector2 BotMove;
/// <summary>The test bots run.</summary>
public static bool BotSprint;
public static bool BotJumpPressed;
/// <summary>The opening film is running: nobody moves.</summary>
public static bool Cinematic;
@ -63,6 +65,7 @@ namespace GrassCutter
get
{
if (Blocked) { s_sprintOn = false; return false; }
if (BotSprint) return true;
if (G != null && G.leftStickButton.isPressed) return true;
if (!SprintToggle) return Binds.Held(Act.Sprint);
if (s_sprintFrame != Time.frameCount)
@ -77,7 +80,8 @@ namespace GrassCutter
static bool s_sprintOn;
static int s_sprintFrame = -1;
public static bool JumpHeld => !Blocked && (Binds.Held(Act.Jump) || (G != null && G.buttonSouth.isPressed));
public static bool DownHeld => !Blocked && ((K != null && (K.leftCtrlKey.isPressed || K.cKey.isPressed)) || (G != null && G.buttonEast.isPressed));
/// <summary>Down while flying (the cheat fly mode). Ctrl only: C is Cruise.</summary>
public static bool DownHeld => !Blocked && ((K != null && K.leftCtrlKey.isPressed) || (G != null && G.buttonEast.isPressed));
/// <summary>~ / Ё (the key under Esc) or F1: the cheat console. Works even while UI is open.</summary>
public static bool ConsolePressed => Application.isFocused && !Typing && K != null && (K.backquoteKey.wasPressedThisFrame || K.f1Key.wasPressedThisFrame);
public static bool JumpPressed => BotJumpPressed || !Blocked && (Binds.Pressed(Act.Jump) || (G != null && G.buttonSouth.wasPressedThisFrame));
@ -86,7 +90,6 @@ namespace GrassCutter
public static bool AltPressed => BotAltPressed || !Blocked && (Binds.Pressed(Act.Alt) || (G != null && G.leftTrigger.wasPressedThisFrame));
public static bool AltHeld => BotAltHeld || !Blocked && (Binds.Held(Act.Alt) || (G != null && G.leftTrigger.isPressed));
public static bool RotatePressed => !Blocked && (Binds.Pressed(Act.Rotate) || (G != null && G.buttonNorth.wasPressedThisFrame));
public static bool ShakePressed => !Blocked && ((K != null && K.fKey.wasPressedThisFrame) || (G != null && G.dpad.up.wasPressedThisFrame));
public static bool BuildPressed => !Blocked && Binds.Pressed(Act.Build);
public static bool BotMovePressed, BotCopyPressed;
public static bool CtrlHeld => !Blocked && K != null && K.leftCtrlKey.isPressed;
@ -162,7 +165,8 @@ namespace GrassCutter
public static void SetCursor(bool locked)
{
if (Bot) locked = false;
Cursor.lockState = locked ? CursorLockMode.Locked : CursorLockMode.None;
// free in the menus, but kept inside the game window
Cursor.lockState = locked ? CursorLockMode.Locked : Bot ? CursorLockMode.None : CursorLockMode.Confined;
Cursor.visible = !locked;
}
}

View File

@ -27,6 +27,8 @@ namespace GrassCutter
new Color(0.96f, 0.96f, 0.94f),// white
};
/// <summary>The key of this player's things in the host's save, as the host settled it: everyone needs it, the garage looks up "my machine" by it.</summary>
public readonly NetworkVariable<FixedString64Bytes> SaveKey = new NetworkVariable<FixedString64Bytes>("");
public readonly NetworkVariable<FixedString64Bytes> NetName = new NetworkVariable<FixedString64Bytes>("", NetworkVariableReadPermission.Everyone, NetworkVariableWritePermission.Owner);
public readonly NetworkVariable<ulong> SteamId = new NetworkVariable<ulong>(0, NetworkVariableReadPermission.Everyone, NetworkVariableWritePermission.Owner);
public readonly NetworkVariable<int> ColorIndex = new NetworkVariable<int>();
@ -75,7 +77,7 @@ namespace GrassCutter
/// <summary>Gravity boots on: Earth's pull instead of Herbaria's.</summary>
public bool BootsOn { get; set; }
/// <summary>Key of this player's tools in the host's save.</summary>
public string SaveId { get; private set; }
public string SaveId => SaveKey.Value.IsEmpty ? null : SaveKey.Value.ToString();
public bool ClaimedSave => SaveId != null;
public Vehicle Vehicle => _vehicle;
@ -118,6 +120,12 @@ namespace GrassCutter
Vector3 _climbFrom, _climbTo;
float _jumpTapAt = -9f, _dashAt = -9f;
Vehicle _vehicle;
/// <summary>The train whose cab this player rides in, and the lever as last sent.</summary>
Train _train;
sbyte _lever;
public Train RidingTrain => _train;
/// <summary>In a seat of some kind: a machine's, or a train's cab.</summary>
bool Seated => _vehicle || _train;
public bool Flying { get; private set; }
public float CheatSpeed = 1f;
@ -126,7 +134,7 @@ namespace GrassCutter
public void SetFlying(bool on)
{
if (!IsOwner || _vehicle || Flying == on) return;
if (!IsOwner || Seated || Flying == on) return;
Flying = on;
Body.enabled = !on;
_vel = Vector3.zero;
@ -209,12 +217,16 @@ namespace GrassCutter
[Rpc(SendTo.Server)]
void ClaimSaveRpc(FixedString64Bytes id)
{
SaveId = id.ToString();
if (Ts && OwnerClientId != NetworkManager.ServerClientId && Ts.Banned(SaveId))
string key = id.ToString();
if (Ts && OwnerClientId != NetworkManager.ServerClientId && Ts.Banned(key))
{
NetworkManager.DisconnectClient(OwnerClientId, Loc.Pack("You are banned from this game"));
return;
}
// two players under one key (no Steam, or one account on two copies) would share one fleet and one set of
// tools: the second one gets a key of its own
if (All.Exists(p => p && p != this && p.SaveId == key)) key += "#" + OwnerClientId;
SaveKey.Value = new FixedString64Bytes(key);
if (Ts)
{
Ts.ServerRestoreCrew(this);
@ -301,7 +313,7 @@ namespace GrassCutter
transform.rotation = _frame;
// everyone else sees a jump too, not a glide straight through the planet
if (_net && _net.IsSpawned && _settled) _net.Teleport(pos, _frame, transform.localScale);
Body.enabled = !Flying && !_vehicle;
Body.enabled = !Flying && !Seated;
_vel = Vector3.zero;
_climbT = -1f;
}
@ -383,15 +395,16 @@ namespace GrassCutter
}
Look();
if (_vehicle) UpdateRiding();
else if (_train) RideTrain();
else if (Flying) Fly();
else if (_climbT >= 0f) Climb();
else Move();
UpdateAim();
if (Ctl.InteractPressed) DoInteract();
// T on anything built opens its upgrades and switches (the hammer keeps T for moving pieces)
if (Ctl.MovePressed && !_vehicle && AimPiece && !(PlayerBuild.Local && PlayerBuild.Local.Active)) UIRoot.I?.OpenPiece(AimPiece);
if (Ctl.MovePressed && !Seated && AimPiece && !(PlayerBuild.Local && PlayerBuild.Local.Active)) UIRoot.I?.OpenPiece(AimPiece);
// never lost under the soil
if (!Flying && !_vehicle && Planet.Altitude(transform.position) < -3f) Teleport(Planet.Surface(transform.position) + Planet.Up(transform.position) * 0.1f);
if (!Flying && !Seated && Planet.Altitude(transform.position) < -3f) Teleport(Planet.Surface(transform.position) + Planet.Up(transform.position) * 0.1f);
if (Swimming.Value != _swimming) Swimming.Value = _swimming;
var cp = Tools.CutPoint;
var cut = Tools.IsCutting && Ts ? new Vector4(cp.x, cp.y, cp.z, Ts.ToolWidth(Tools.Current)) : Vector4.zero;
@ -405,14 +418,14 @@ namespace GrassCutter
var up = _frame * Vector3.up;
_frame = Quaternion.AngleAxis(l.x, up) * _frame;
_pitch = Mathf.Clamp(_pitch - l.y, -85f, 85f);
if (!_vehicle) transform.rotation = _frame;
if (!Seated) transform.rotation = _frame;
float flat = Vector3.ProjectOnPlane(_vel, up).magnitude;
float bob = (Grounded || _swimming) && !_vehicle ? Mathf.Sin(_bobPhase * 2f) * (_swimming ? 0.05f : 0.035f) * Mathf.Clamp01(flat / sprintSpeed + (_swimming ? 0.4f : 0f)) : 0f;
float bob = (Grounded || _swimming) && !Seated && GameSettings.HeadBob ? Mathf.Sin(_bobPhase * 2f) * (_swimming ? 0.05f : 0.035f) * Mathf.Clamp01(flat / sprintSpeed + (_swimming ? 0.4f : 0f)) : 0f;
float roll = -Ctl.Move.x * 1.5f;
if (_swimming) roll += Mathf.Sin(Time.time * 1.3f) * 2f;
_landDip = Mathf.Lerp(_landDip, 0f, Time.deltaTime * 8f);
head.localPosition = new Vector3(0, eyeHeight + bob - _landDip, 0);
if (_vehicle)
if (Seated)
{
// look is relative to the vehicle heading
head.rotation = _frame * Quaternion.Euler(_pitch, 0f, 0f);
@ -588,7 +601,7 @@ namespace GrassCutter
AimInteractable = null;
AimGrabbable = null;
HasAim = false;
if (!cam || _vehicle) return;
if (!cam || Seated) return;
var ray = new Ray(cam.transform.position, cam.transform.forward);
float tether = Ts ? Ts.Level(PerkId.BundleLine) * 1.5f : 0f;
if (Physics.Raycast(ray, out var hit, Reach + tether + (InGrass ? 0.6f : 0f), Layers.InteractMask, QueryTriggerInteraction.Ignore))
@ -606,6 +619,7 @@ namespace GrassCutter
void DoInteract()
{
if (_train) { _train.Leave(); return; }
if (_vehicle) { _vehicle.RequestExit(); return; }
if (Grab.Holding)
{
@ -639,9 +653,77 @@ namespace GrassCutter
}
else if (!_vehicle.LocalDriving) ExitVehicle();
if (_vehicle) FollowSeat();
// the train: the host says who is in its cab
if (!_train)
{
if (!_vehicle)
foreach (var t in Train.All)
if (t && t.IsSpawned && t.Rider.Value == OwnerClientId) { EnterTrain(t); break; }
}
else if (!_train.IsSpawned || _train.Rider.Value != OwnerClientId) ExitTrain();
if (_train) FollowCab();
Boom();
}
// ───────────────────────── the train's cab ─────────────────────────
void EnterTrain(Train t)
{
SetFlying(false);
_train = t;
_lever = 0;
Body.enabled = false;
_swimming = false;
_climbT = -1f;
Grab.Drop();
_heading = CabHeading(t);
_frame = _heading;
Sfx.Play("build_place", 0.5f, 1.3f);
Hud.Toast(Loc.T("In the cab: W forward · S back · E to get off"), Hud.ToastKind.Info);
}
void ExitTrain()
{
var t = _train;
_train = null;
_lever = 0;
var at = t ? t.StepOff : transform.position;
var up = Planet.Up(at);
var pos = Planet.Surface(at) + up * 0.1f;
if (Physics.Raycast(at + up * 2f, -up, out var hit, 6f, (1 << Layers.Default) | (1 << Layers.Build), QueryTriggerInteraction.Ignore)) pos = hit.point + up * 0.1f;
Teleport(pos);
}
/// <summary>The lever: W on up the line, S back toward home, neither to stop.</summary>
void RideTrain()
{
if (!_train) return;
var m = Ctl.Move;
sbyte lever = (sbyte)(m.y > 0.3f ? 1 : m.y < -0.3f ? -1 : 0);
if (lever != _lever)
{
_lever = lever;
_train.DriveRpc(lever);
}
CameraFx.FovTarget(lever != 0 ? 6f : 0f);
}
static Quaternion CabHeading(Train t)
{
var up = Planet.Up(t.CabFloor);
var f = Vector3.ProjectOnPlane(t.CabTurn * Vector3.forward, up);
return Quaternion.LookRotation(f.sqrMagnitude > 1e-6f ? f.normalized : Vector3.ProjectOnPlane(Vector3.forward, up).normalized, up);
}
void FollowCab()
{
transform.position = _train.CabFloor;
var heading = CabHeading(_train);
_frame = heading * Quaternion.Inverse(_heading) * _frame;
_heading = heading;
transform.rotation = heading;
}
/// <summary>
/// The chase view: the camera orbits the machine with the mouse, the wheel pulls it closer or further, and it never ends up
/// in the ground or behind a wall. Leaving the seat puts it back on the eyes.
@ -676,9 +758,12 @@ namespace GrassCutter
var dir = (back + up * 0.25f).normalized;
float want = _chaseDist;
float reach = want;
var hits = Physics.SphereCastAll(target, 0.35f, dir, want, (1 << Layers.Default) | (1 << Layers.Build) | (1 << Layers.Vehicle), QueryTriggerInteraction.Ignore);
foreach (var h in hits)
int count = Physics.SphereCastNonAlloc(target, 0.35f, dir, s_boomHits, want, (1 << Layers.Default) | (1 << Layers.Build) | (1 << Layers.Vehicle), QueryTriggerInteraction.Ignore);
for (int i = 0; i < count; i++)
{
var h = s_boomHits[i];
if (h.distance > 0f && !h.collider.transform.IsChildOf(v.transform)) reach = Mathf.Min(reach, h.distance - 0.2f);
}
reach = Mathf.Max(1.5f, reach);
// closing in is instant (walls), backing off again is gentle
_chaseShown = _chaseShown <= 0f || reach < _chaseShown ? reach : Mathf.Lerp(_chaseShown, reach, Time.deltaTime * 4f);
@ -689,6 +774,8 @@ namespace GrassCutter
_boom.rotation = Quaternion.LookRotation(target - pos, up);
}
static readonly RaycastHit[] s_boomHits = new RaycastHit[32];
void EnterVehicle(Vehicle v)
{
SetFlying(false);

View File

@ -271,8 +271,44 @@ namespace GrassCutter
return;
}
at = _point;
if (GameDefs.IsFoundation(id)) at += _up * Raise;
rot = Quaternion.LookRotation(Quaternion.AngleAxis(_yaw, _up) * Heading(_up), _up);
// a foundation stays level (it is a floor to build on); everything else sits on the slope it stands on
if (GameDefs.IsFoundation(id)) at += _up * Raise;
else if (!_on) Lean(GameDefs.Piece(id), ref at, ref rot);
}
/// <summary>The most a piece leans with the ground under it.</summary>
const float MaxLean = 22f;
/// <summary>
/// Tilts a piece standing on the soil to the ground under its footprint (the plane through its four corners),
/// then lowers it until no corner hangs in the air.
/// </summary>
internal static void Lean(PieceDef d, ref Vector3 at, ref Quaternion rot)
{
if (d == null || Planet.Altitude(at) > 0.3f) return;
var up = Planet.Up(at);
float hx = Mathf.Max(0.5f, d.sizeX * 0.5f), hz = Mathf.Max(0.5f, d.sizeZ * 0.5f);
var r = rot * Vector3.right * hx;
var f = rot * Vector3.forward * hz;
var fr = Planet.Surface(at + r + f);
var fl = Planet.Surface(at - r + f);
var bl = Planet.Surface(at - r - f);
var br = Planet.Surface(at + r - f);
var n = Vector3.Cross(fr + fl - bl - br, fr + br - fl - bl);
if (n.sqrMagnitude < 1e-6f) return;
n.Normalize();
if (Vector3.Dot(n, up) < 0f) n = -n;
n = Vector3.RotateTowards(up, n, MaxLean * Mathf.Deg2Rad, 0f).normalized;
var mid = (fr + fl + bl + br) * 0.25f;
var c = Planet.Surface(at);
var p = mid + Vector3.ProjectOnPlane(c - mid, n);
// sink to the lowest of the corners and the middle, a little more than that so no gap shows
float drop = 0f;
foreach (var s in new[] { fr, fl, bl, br, c }) drop = Mathf.Min(drop, Vector3.Dot(s - p, n));
at = p + n * (Mathf.Max(drop, -0.6f) - 0.04f);
var fwd = Vector3.ProjectOnPlane(rot * Vector3.forward, n);
if (fwd.sqrMagnitude > 1e-6f) rot = Quaternion.LookRotation(fwd.normalized, n);
}
// ───────────────────────── pieces ─────────────────────────
@ -303,7 +339,8 @@ namespace GrassCutter
{
HideGhosts();
Valid = false;
Reason = Target ? (Target.Def.company ? Loc.T("Company property") : Target.Run ? Loc.F("{0:0.#} m of belt · MMB copy · RMB remove", Target.Run.Metres) : Loc.T("T move · MMB copy · RMB remove")) : null;
Reason = Target ? (Target.Def.company ? Loc.T("Company property") : Target.Run ? Loc.F("{0:0.#} m of belt · {1} copy · {2} remove", Target.Run.Metres, Binds.Cap(Act.Copy), Binds.Cap(Act.Alt))
: Loc.F("{0} move · {1} copy · {2} remove", Binds.Cap(Act.MovePiece), Binds.Cap(Act.Copy), Binds.Cap(Act.Alt))) : null;
}
static void Refuse(string reason)
@ -339,7 +376,7 @@ namespace GrassCutter
var at = port ? from.at : Lifted();
Valid = port || BuildRules.CutUnder(at);
Reason = Valid ? null : BuildRules.Uncut;
Note = port ? Loc.T("LMB: go on from this end") : Loc.F("LMB where the belt starts · height {0:0.0} m", Height);
Note = port ? Loc.F("{0}: go on from this end", Binds.Cap(Act.Use)) : Loc.F("{1} where the belt starts · height {0:0.0} m", Height, Binds.Cap(Act.Use));
ShowRun(at, at + (port ? from.dir : Heading(Planet.Up(at))), Valid);
if (!Ctl.UsePressed) return;
if (Valid) { _from = at; Laying = true; }
@ -360,7 +397,7 @@ namespace GrassCutter
double price = GameDefs.BeltPrice(Vector3.Distance(_from, to));
if (Valid && ts && ts.Money.Value < price) { Valid = false; reason = Loc.T("Not enough cash"); }
Reason = reason;
Note = Loc.F("{0:0.#} m, {1} · height {2:0.0} m · RMB stops", Vector3.Distance(_from, to), UIK.Money(price), Height);
Note = Loc.F("{0:0.#} m, {1} · height {2:0.0} m · {3} stops", Vector3.Distance(_from, to), UIK.Money(price), Height, Binds.Cap(Act.Alt));
ShowRun(_from, to, Valid);
if (!Ctl.UsePressed) return;
if (!Valid) { Refuse(reason); return; }
@ -550,7 +587,7 @@ namespace GrassCutter
{
var p = Moving;
if (!p || !p.IsSpawned || Ctl.AltPressed) { EndMove(); HideGhosts(); return; }
Note = Loc.F("Moving {0}: LMB put down · R rotate · RMB cancel", p.Def.name);
Note = Loc.F("Moving {0}: {1} put down · {2} rotate · {3} cancel", p.Def.name, Binds.Cap(Act.Use), Binds.Cap(Act.Rotate), Binds.Cap(Act.Alt));
if (!_aimed) { HideGhosts(); Valid = false; Reason = null; return; }
Spot(p.piece, out var at, out var rot);
Valid = BuildRules.CanPlace(p.Def, at, rot, p, out var reason);

View File

@ -38,11 +38,38 @@ namespace GrassCutter
["asst_ufo"] = "[nervous] Something is coming down out of the sky. [pause] I'm sure it's fine.",
};
// how long before a line may be said again, seconds (the rest: three minutes)
// the few lines she may say again, and how long after, seconds. Everything else she explains once, ever: players got
// tired of hearing how the depot works every four minutes
static readonly Dictionary<string, float> Rest = new Dictionary<string, float>
{
["asst_hello"] = 1e9f, ["asst_drive"] = 1e9f, ["asst_nocash"] = 60f, ["asst_thrown"] = 90f, ["asst_full"] = 240f, ["asst_hopper"] = 240f,
["asst_twister"] = 600f, ["asst_nocash"] = 300f,
};
const string HeardKey = "assistant_heard";
static HashSet<string> s_heard;
static bool s_forgot;
/// <summary>Lines this player has already heard, kept between games.</summary>
static HashSet<string> Heard
{
get
{
if (s_heard == null)
{
s_heard = new HashSet<string>();
// the test bots run on someone's own PC: they neither read nor fill that player's list
if (!CommandLine.Has("-autodemo"))
foreach (var k in PlayerPrefs.GetString(HeardKey, "").Split(',')) if (k.Length > 0) s_heard.Add(k);
}
return s_heard;
}
}
static void MarkHeard(string line)
{
if (s_forgot || Rest.ContainsKey(line) || !Heard.Add(line) || CommandLine.Has("-autodemo")) return;
PlayerPrefs.SetString(HeardKey, string.Join(",", Heard));
PlayerPrefs.Save();
}
const float StaleAfter = 25f;
const int PicW = 300, PicH = 380;
@ -71,7 +98,8 @@ namespace GrassCutter
public static void Say(string line)
{
if (!I || !Lines.ContainsKey(line) || !GameSettings.Tips) return;
if (I._said.TryGetValue(line, out var at) && Time.time - at < (Rest.TryGetValue(line, out var r) ? r : 180f)) return;
if (!s_forgot && !Rest.ContainsKey(line) && Heard.Contains(line)) return;
if (I._said.TryGetValue(line, out var at) && Time.time - at < (Rest.TryGetValue(line, out var r) ? r : 1e9f)) return;
foreach (var q in I._queue) if (q.line == line) return;
// the greeting goes first, whatever was asked before it
if (line == "asst_hello" && I._queue.Count > 0)
@ -89,6 +117,7 @@ namespace GrassCutter
public static void Forget()
{
if (I) I._said.Clear();
s_forgot = true;
}
/// <summary>Stops her mid-sentence (the game is ending, a film starts).</summary>
@ -112,6 +141,7 @@ namespace GrassCutter
// what's no longer news isn't said
if (Time.time - at > StaleAfter) return;
_said[line] = Time.time;
MarkHeard(line);
StartCoroutine(Talk(line));
}

View File

@ -172,7 +172,7 @@ namespace GrassCutter
_buildCats = UIK.El("build-cats", _build);
_buildRow = UIK.El("build-row", _build);
_buildReason = UIK.Text("", "t-body t-outline build-reason", _build, false);
_buildHelp = UIK.Text(Loc.T("WHEEL piece · LMB place · R rotate · T move · MMB copy · RMB remove · CTRL+WHEEL height · F free"), "t-small t-outline", _build, false);
_buildHelp = UIK.Text(BuildHelp(), "t-small t-outline", _build, false);
_build.style.display = DisplayStyle.None;
// how wide the blade in hand cuts, drawn to scale across the aim
@ -227,8 +227,13 @@ namespace GrassCutter
{
foreach (var (cap, act) in _caps) cap.text = Binds.Cap(act);
if (_hints != null) _hints.style.display = GameSettings.KeyHints ? DisplayStyle.Flex : DisplayStyle.None;
if (_buildHelp != null) _buildHelp.text = BuildHelp();
}
/// <summary>The line under the build palette, with the player's own keys.</summary>
static string BuildHelp() => Loc.F("WHEEL piece · {0} place · {1} rotate · {2} move · {3} copy · {4} remove · CTRL+WHEEL height · {5} free",
Binds.Cap(Act.Use), Binds.Cap(Act.Rotate), Binds.Cap(Act.MovePiece), Binds.Cap(Act.Copy), Binds.Cap(Act.Alt), Binds.Cap(Act.Free));
// ───────────────────────── static api ─────────────────────────
/// <summary>Every toast off the screen at once.</summary>
@ -482,6 +487,9 @@ namespace GrassCutter
_money.text = UIK.Money(_shownMoney);
if (!ts || _local == null) return;
// the phone up at your face sits low in the view: the tool belt, the tool plate and the hint line step aside for it
var away = Phone.Focused ? Visibility.Hidden : Visibility.Visible;
if (_hotbar.style.visibility != away) { _hotbar.style.visibility = away; _plate.style.visibility = away; _hint.style.visibility = away; }
RefreshHotbar(false);
UpdatePlanet(ts);
UpdateTool(ts);
@ -617,12 +625,12 @@ namespace GrassCutter
// only when it matters: standing still, unloading, feeding a belt or full. The markers show where to go.
var v = p.Vehicle;
bool still = v && v.Body && v.Body.linearVelocity.magnitude < 0.6f;
if (v && v.Def.bed > 0) { key = Binds.Cap(Act.MovePiece); prompt = v.Bed.Count > 0 ? Loc.T("Tip the bundles out behind") : still ? Loc.T("Empty bed · E with a bundle in your arms loads it") : null; }
if (v && v.Def.bed > 0) { key = Binds.Cap(Act.MovePiece); prompt = v.Bed.Count > 0 ? Loc.T("Tip the bundles out behind") : still ? Loc.F("Empty bed · {0} with a bundle in your arms loads it", Binds.Cap(Act.Interact)) : null; }
else if (v && v.Baling) { key = ""; prompt = Loc.T("Baling onto the belt…"); }
else if (v && v.Unloading) { key = ""; prompt = Loc.T("Unloading…"); hot = true; }
else if (v && v.Capacity > 0f && v.Load >= v.Capacity * 0.9f) { key = ""; prompt = Loc.T("Hopper full: drive to an UNLOAD marker"); }
else if (v && VehicleShed.Near(v.transform.position)) { key = Binds.Cap(Act.Boots); prompt = Loc.T("Garage: upgrade this machine"); hot = true; }
else if (still) prompt = Loc.T("Hop off [R] View");
else if (still) prompt = Loc.F("Hop off [{0}] View", Binds.Cap(Act.View));
}
else if (active && p.Grab.Holding)
{
@ -635,7 +643,8 @@ namespace GrassCutter
else
{
key = Binds.Cap(Act.Use);
prompt = bundle ? Loc.T("Throw it in the DEPOT or onto a belt [E] Drop [R] Turn") : Loc.T("Throw [E] Drop [R] Turn");
string drop = Binds.Cap(Act.Interact), turn = Binds.Cap(Act.Rotate);
prompt = bundle ? Loc.F("Throw it in the DEPOT or onto a belt [{0}] Drop [{1}] Turn", drop, turn) : Loc.F("Throw [{0}] Drop [{1}] Turn", drop, turn);
}
}
else if (active && p.HasAim && p.AimHit.collider)
@ -650,7 +659,7 @@ namespace GrassCutter
if (aimed && !building)
{
string tier = aimed.Upgrades != UpgradeKind.None ? aimed.Switched ? Loc.F("{0}, stopped", GameDefs.TierName(aimed.Tier.Value)) : GameDefs.TierName(aimed.Tier.Value) : "";
prompt = Loc.F("{0} [T] Upgrades & settings", prompt ?? aimed.Def.name + (tier.Length > 0 ? " " + tier : ""));
prompt = Loc.F("{0} [{1}] Upgrades & settings", prompt ?? aimed.Def.name + (tier.Length > 0 ? " " + tier : ""), Binds.Cap(Act.MovePiece));
}
else if (prompt == null && p.AimGrabbable && !p.AimGrabbable.IsHeld)
{
@ -661,7 +670,7 @@ namespace GrassCutter
}
else if (active && !tools.IsCutting && Ctl.UseHeld && tools.OutOfRange && GameDefs.IsBlade(tools.Current))
{
key = "LMB";
key = Binds.Cap(Act.Use);
prompt = Loc.T("Too far — get closer to the grass");
}
@ -709,7 +718,8 @@ namespace GrassCutter
if (!s_yard) { var d = GameObject.Find("DockZone"); s_yard = d ? d.transform : null; }
if (s_yard) _dropSpots.Add((s_yard.position, Loc.T("Yard")));
foreach (var pad in SiloPiece.Pads)
if (pad && pad.IsSpawned && _dropSpots.Count < 12) _dropSpots.Add((pad.PadSpot, pad.PadName));
if (pad && pad.IsSpawned && pad.OnPad(pad.PadSpot) && _dropSpots.Count < 12) _dropSpots.Add((pad.PadSpot, pad.PadName));
Train.Yards(_dropSpots);
// only the nearest one may sit on the screen edge; the rest show only when in view
var from = v.transform.position;
_dropSpots.Sort((x, y) => (x.at - from).sqrMagnitude.CompareTo((y.at - from).sqrMagnitude));
@ -839,19 +849,19 @@ namespace GrassCutter
float cap = tools.CurrentCap;
if (tools.Belt.Count == 0)
{
hint = Loc.T("Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors (E).");
hint = Loc.F("Empty hands! Walk to the SUPPLY WALL on the west side of the deck and take the nail scissors ({0}).", Binds.Cap(Act.Interact));
voice = "asst_tools";
}
else if (ts.Shipped.Value < 5d)
{
if (GameDefs.IsBlade(tools.Current) && _local.Tank.Value >= cap - 0.01f)
{
hint = Loc.T("Container full! Press E at the DEPOT to hand it all in, or Q to tie a 1 kg bundle you can carry and throw.");
hint = Loc.F("Container full! Press {0} at the DEPOT to hand it all in, or {1} to tie a 1 kg bundle you can carry and throw.", Binds.Cap(Act.Interact), Binds.Cap(Act.Pack));
voice = "asst_full";
}
else if (GameDefs.IsBlade(tools.Current) && _local.Tank.Value < 0.01f)
{
hint = Loc.T("Hop down to the meadow (SPACE at the railing) and HOLD LEFT CLICK: sweep the blade over the grass. Earth needs every blade of it.");
hint = Loc.F("Hop down to the meadow ({0} at the railing) and HOLD {1}: sweep the blade over the grass. Earth needs every blade of it.", Binds.Cap(Act.Jump), Binds.Cap(Act.Use));
voice = "asst_mow";
}
}
@ -870,7 +880,7 @@ namespace GrassCutter
_hint.style.display = DisplayStyle.Flex;
UIK.PopIn(_hint, 0.1f);
}
// the assistant says it too, once she may talk (and again after a good while, if it's still up)
// the assistant says it too, once she may talk: the first time only, the strip stays on screen for the rest
if (show && voice != null) Assistant.Say(voice);
else if (!show && shown) { _hint.style.display = DisplayStyle.None; _hintText.text = ""; }
}

View File

@ -24,7 +24,7 @@ namespace GrassCutter
const int MaxHexes = 9000;
public VisualElement Card { get; }
readonly VisualElement _chart, _scaleBar;
readonly VisualElement _chart, _ball, _ground, _marks, _scaleBar;
readonly Label _stats, _scaleText;
Quaternion _view;
float _zoom = -1f;
@ -61,13 +61,18 @@ namespace GrassCutter
UIK.Btn(Loc.T("ME"), () => { _follow = true; Centre(); }, "btn btn-small", tools);
UIK.Btn("+", () => ZoomBy(1.6f), "btn btn-small", tools);
UIK.Btn("−", () => ZoomBy(1f / 1.6f), "btn btn-small", tools);
UIK.Btn(Loc.T("GLOBE"), () => { _zoom = 1f; _chart.MarkDirtyRepaint(); }, "btn btn-small", tools);
UIK.Btn(Loc.T("GLOBE"), () => { _zoom = 1f; Repaint(); }, "btn btn-small", tools);
UIK.Btn("X", close, "btn btn-red btn-small", header);
_chart = UIK.El("map-chart", Card);
_chart.pickingMode = PickingMode.Position;
_chart.style.overflow = Overflow.Hidden;
_chart.focusable = true;
_chart.generateVisualContent += Draw;
// space is the chart's own colour; over it three layers, each its own element so the order is plain: the
// ball, the sectors on it, the marks.
_chart.style.backgroundColor = Space;
_ball = Layer(DrawBall);
_ground = Layer(DrawGround);
_marks = Layer(DrawMarks);
_chart.RegisterCallback<WheelEvent>(e => ZoomBy(e.delta.y > 0 ? 0.8f : 1.25f));
_chart.RegisterCallback<PointerDownEvent>(e => { _dragging = true; _follow = false; _last = e.position; _chart.CapturePointer(e.pointerId); });
_chart.RegisterCallback<PointerUpEvent>(e => { _dragging = false; _chart.ReleasePointer(e.pointerId); });
@ -78,7 +83,7 @@ namespace GrassCutter
_last = e.position;
float k = 57.3f / (Radius * Zoom);
_view = Quaternion.Euler(d.y * k, d.x * k, 0f) * _view;
_chart.MarkDirtyRepaint();
Repaint();
});
_chart.schedule.Execute(() =>
{
@ -102,6 +107,8 @@ namespace GrassCutter
Key(legend, Station, Loc.T("Station"));
UIK.Text(Loc.T("DRAG move · WHEEL zoom · SPACE back to you · M close"), "t-small t-muted", legend, false);
// asked to open at a zoom of its own (1 is "close in on you", the usual)
if (zoom != 1f) _zoom = Mathf.Max(1f, zoom);
Centre();
Refresh();
_chart.schedule.Execute(Refresh).Every(500);
@ -113,18 +120,18 @@ namespace GrassCutter
get
{
// the first time it knows its size: open a few hundred metres across
if (_zoom < 0f && _chart.contentRect.width > 4f) _zoom = Mathf.Clamp(PxPerMetre(OpenMetres) * Planet.Radius / Radius, 1f, MaxZoom);
if (_zoom < 0f && Area.width > 4f) _zoom = Mathf.Clamp(PxPerMetre(OpenMetres) * Planet.Radius / Radius, 1f, MaxZoom);
return _zoom < 0f ? 1f : _zoom;
}
}
float MaxZoom => Mathf.Max(1f, PxPerMetre(NearestMetres) * Planet.Radius / Radius);
float PxPerMetre(float across) => Mathf.Max(100f, _chart.contentRect.width) / across;
float PxPerMetre(float across) => Mathf.Max(100f, Area.width) / across;
void ZoomBy(float k)
{
_zoom = Mathf.Clamp(Zoom * k, 1f, MaxZoom);
_chart.MarkDirtyRepaint();
Repaint();
}
/// <summary>You in the middle, north up.</summary>
@ -135,7 +142,7 @@ namespace GrassCutter
var north = Vector3.ProjectOnPlane(Vector3.up, up);
if (north.sqrMagnitude < 1e-4f) north = Vector3.forward;
_view = Quaternion.Inverse(Quaternion.LookRotation(up, north));
_chart?.MarkDirtyRepaint();
Repaint();
}
void Refresh()
@ -145,7 +152,7 @@ namespace GrassCutter
if (ts) _stats.text = Loc.F("{0:N0} started · {1:N0} mown · {2:0.0000}% of the planet", MowMap.Started, ts.Closed.Value, ts.Mown01 * 100.0);
// keeps up with you as you go, until you drag it somewhere else
if (_follow) Centre();
_chart.MarkDirtyRepaint();
Repaint();
}
static void Key(VisualElement parent, Color c, string label)
@ -159,7 +166,7 @@ namespace GrassCutter
{
get
{
var r = _chart.contentRect;
var r = Area;
return Mathf.Max(40f, Mathf.Min(r.width, r.height) * 0.47f);
}
}
@ -168,7 +175,7 @@ namespace GrassCutter
{
var v = _view * d;
front = v.z > 0f;
return _chart.contentRect.center + new Vector2(v.x, -v.y) * Radius * Zoom;
return Area.center + new Vector2(v.x, -v.y) * Radius * Zoom;
}
/// <summary>A sector's corners, in order round its middle.</summary>
@ -188,24 +195,94 @@ namespace GrassCutter
static Color Shade(MowMap.Mask m) => m == null || !m.keep ? Meadow : m.done ? Done : Begun;
void Draw(MeshGenerationContext ctx)
VisualElement Layer(Action<MeshGenerationContext> draw)
{
var r = _chart.contentRect;
var e = new VisualElement { pickingMode = PickingMode.Ignore };
e.style.position = Position.Absolute;
e.style.left = 0f; e.style.top = 0f; e.style.right = 0f; e.style.bottom = 0f;
e.generateVisualContent += draw;
_chart.Add(e);
return e;
}
void Repaint()
{
_ball?.MarkDirtyRepaint();
_ground?.MarkDirtyRepaint();
_marks?.MarkDirtyRepaint();
// the scale bar is an element: sized here, never while drawing
if (_scaleBar != null && Area.width > 4f) Scale(Radius * Zoom);
}
/// <summary>The chart's drawing area, in the layers' own space.</summary>
Rect Area => _ground != null ? _ground.contentRect : _chart.contentRect;
float HexPx(float size) => Mathf.Sqrt(GameDefs.SectorArea) / Planet.Radius * size;
void DrawBall(MeshGenerationContext ctx)
{
var r = Area;
if (r.width < 4f) return;
var ts = TeamState.Instance;
_clip = r;
float size = Radius * Zoom;
float hexPx = Mathf.Sqrt(GameDefs.SectorArea) / Planet.Radius * size;
var p = ctx.painter2D;
p.fillColor = Space;
p.BeginPath(); p.MoveTo(new Vector2(r.xMin, r.yMin)); p.LineTo(new Vector2(r.xMax, r.yMin)); p.LineTo(new Vector2(r.xMax, r.yMax)); p.LineTo(new Vector2(r.xMin, r.yMax)); p.ClosePath(); p.Fill();
p.fillColor = hexPx >= HexPixels ? Grid : Meadow;
p.BeginPath(); p.Arc(r.center, size, 0f, 360f); p.Fill();
Disc(r, size, HexPx(size) >= HexPixels ? Grid : Meadow);
Flush(ctx);
}
/// <summary>The sectors on the ball, one mesh, kept inside the chart.</summary>
void DrawGround(MeshGenerationContext ctx)
{
var r = Area;
if (r.width < 4f) return;
_clip = r;
float size = Radius * Zoom;
float hexPx = HexPx(size);
_masks.Clear();
foreach (var m in MowMap.All) _masks[m.s.id] = m;
if (hexPx >= HexPixels) Hexes(ctx, r);
else Dots(ctx, r, Mathf.Max(1.5f, hexPx * 0.5f));
Flush(ctx);
}
/// <summary>The ball as a fan, cut to the part of it that shows (close in it is far bigger than the chart).</summary>
void Disc(Rect r, float size, Color32 col)
{
var c = r.center;
float reach = new Vector2(r.width, r.height).magnitude * 0.5f;
if (size > reach * 1.5f)
{
// the chart sits wholly inside the ball: a plain quad
int q = _verts.Count;
Vert(new Vector2(r.xMin, r.yMin), col); Vert(new Vector2(r.xMax, r.yMin), col);
Vert(new Vector2(r.xMax, r.yMax), col); Vert(new Vector2(r.xMin, r.yMax), col);
_tris.Add((ushort)q); _tris.Add((ushort)(q + 1)); _tris.Add((ushort)(q + 2));
_tris.Add((ushort)q); _tris.Add((ushort)(q + 2)); _tris.Add((ushort)(q + 3));
return;
}
const int Steps = 96;
int k = _verts.Count;
Vert(c, col);
for (int i = 0; i < Steps; i++)
{
float a = i * Mathf.PI * 2f / Steps;
Vert(c + new Vector2(Mathf.Cos(a), Mathf.Sin(a)) * size, col);
}
for (int i = 0; i < Steps; i++)
{
_tris.Add((ushort)k);
_tris.Add((ushort)(k + 1 + i));
_tris.Add((ushort)(k + 1 + (i + 1) % Steps));
}
}
/// <summary>Over the ground: the lattice, the rim, and everything that stands on the ball.</summary>
void DrawMarks(MeshGenerationContext ctx)
{
var r = Area;
if (r.width < 4f) return;
var ts = TeamState.Instance;
float size = Radius * Zoom;
var p = ctx.painter2D;
if (Zoom < 6f) Lattice(p);
p.strokeColor = Rim;
p.lineWidth = 3f;
@ -228,14 +305,13 @@ namespace GrassCutter
if (v) Arrow(p, v.transform, 7f, new Color(0.96f, 0.9f, 0.72f));
foreach (var pl in PlayerAgent.All)
if (pl) Arrow(p, pl.transform, pl.IsOwner ? 11f : 8f, pl.Tint);
Scale(size);
}
/// <summary>A round number of metres about a fifth of the chart wide.</summary>
void Scale(float size)
{
float pxPerM = size / Planet.Radius;
float want = _chart.contentRect.width * 0.18f / pxPerM;
float want = Area.width * 0.18f / pxPerM;
float step = Mathf.Pow(10f, Mathf.Floor(Mathf.Log10(Mathf.Max(1f, want))));
float metres = want >= step * 5f ? step * 5f : want >= step * 2f ? step * 2f : step;
_scaleBar.style.width = metres * pxPerM;
@ -254,6 +330,14 @@ namespace GrassCutter
// ───────────────────────── the sectors, as a mesh ─────────────────────────
/// <summary>The sectors go out in pieces of this size at most, well inside what one mesh may hold.</summary>
const int ChunkVerts = 6000, ChunkIndices = 18000;
void Room(MeshGenerationContext ctx, int verts, int indices)
{
if (_verts.Count + verts > ChunkVerts || _tris.Count + indices > ChunkIndices) Flush(ctx);
}
void Flush(MeshGenerationContext ctx)
{
if (_verts.Count == 0) return;
@ -264,7 +348,15 @@ namespace GrassCutter
_tris.Clear();
}
void Vert(Vector2 at, Color32 c) => _verts.Add(new Vertex { position = new Vector3(at.x, at.y, Vertex.nearZ), tint = c });
/// <summary>Every corner is held inside the chart, so a sector across its edge is cut off there instead of spilling
/// past it onto the card (the chart's rounded edge doesn't clip a hand-made mesh).</summary>
Rect _clip = new Rect(-1e6f, -1e6f, 2e6f, 2e6f);
void Vert(Vector2 at, Color32 c)
{
at = new Vector2(Mathf.Clamp(at.x, _clip.xMin, _clip.xMax), Mathf.Clamp(at.y, _clip.yMin, _clip.yMax));
_verts.Add(new Vertex { position = new Vector3(at.x, at.y, Vertex.nearZ), tint = c });
}
/// <summary>Far out each worked sector is a speck.</summary>
void Dots(MeshGenerationContext ctx, Rect r, float half)
@ -275,7 +367,7 @@ namespace GrassCutter
if (!m.keep) continue;
var at = Screen(m.s.c, out bool front);
if (!front || !view.Contains(at)) continue;
if (_verts.Count > 60000) Flush(ctx);
Room(ctx, 4, 6);
Color32 c = m.done ? Done : Begun;
int k = _verts.Count;
Vert(at + new Vector2(-half, -half), c);
@ -298,6 +390,7 @@ namespace GrassCutter
_seen.Add(first);
var view = new Rect(r.x - 60f, r.y - 60f, r.width + 120f, r.height + 120f);
int drawn = 0;
Flipped = 0;
while (_queue.Count > 0 && drawn < MaxHexes)
{
var s = HexGrid.Get(_queue.Dequeue());
@ -307,22 +400,33 @@ namespace GrassCutter
_masks.TryGetValue(s.id, out var m);
Color32 col = Shade(m);
var c = Corners(s);
if (_verts.Count + c.Length + 1 > 65000) Flush(ctx);
Room(ctx, c.Length + 1, c.Length * 3);
int k = _verts.Count;
Vert(at, col);
for (int i = 0; i < c.Length; i++) Vert(Vector2.LerpUnclamped(at, Screen(c[i], out _), 0.92f), col);
// the screen drops faces wound the wrong way round, and the corners go round whichever way the
// sector's own frame does: turned the screen's way here, or half the map never shows
var e0 = (Vector2)_verts[k + 1].position - at;
var e1 = (Vector2)_verts[k + 2].position - at;
bool flip = e0.x * e1.y - e0.y * e1.x < 0f;
if (flip) Flipped++;
for (int i = 0; i < c.Length; i++)
{
int i0 = k + 1 + i, i1 = k + 1 + (i + 1) % c.Length;
_tris.Add((ushort)k);
_tris.Add((ushort)(k + 1 + i));
_tris.Add((ushort)(k + 1 + (i + 1) % c.Length));
_tris.Add((ushort)(flip ? i1 : i0));
_tris.Add((ushort)(flip ? i0 : i1));
}
foreach (int n in s.neighbours)
if (_seen.Add(n)) _queue.Enqueue(n);
}
Flush(ctx);
Drawn = drawn;
}
/// <summary>Tests: sectors in the last close-in drawing, and how many of them had to be turned round.</summary>
public static int Drawn, Flipped;
/// <summary>Latitude and longitude every 30°.</summary>
void Lattice(Painter2D p)
{

View File

@ -53,14 +53,14 @@ namespace GrassCutter
var row = UIK.El("tune-row", _body);
var names = UIK.El("tune-names", row);
UIK.Text($"{GameDefs.TierName(tier)}", "t-small t-dark", names, false);
UIK.Text(tier == 0 ? Loc.T("As built.") : Loc.F("Now {0}.", GameDefs.TierEffect(kind, tier)), "tune-effect", names, false);
UIK.Text(tier == 0 ? Loc.T("As built.") : Loc.F("Now {0}.", GameDefs.TierEffect(_p.piece, kind, tier)), "tune-effect", names, false);
if (tier < GameDefs.MaxTier)
{
double price = GameDefs.UpgradePrice(_p, tier);
var up = UIK.El("tune-row", _body);
var upNames = UIK.El("tune-names", up);
UIK.Text(Loc.F("Upgrade to {0}", GameDefs.TierName(tier + 1)), "t-small t-dark", upNames, false);
UIK.Text(Loc.F("{0}.", Cap(GameDefs.TierEffect(kind, tier + 1))), "tune-effect", upNames, false);
UIK.Text(Loc.F("{0}.", Cap(GameDefs.TierEffect(_p.piece, kind, tier + 1))), "tune-effect", upNames, false);
UIK.Costs(UIK.Btn(UIK.Money(price), () =>
{
if (!UIK.CanPay(price)) { Sfx.Play("error", 0.7f); return; }
@ -119,6 +119,7 @@ namespace GrassCutter
}
}
static string Cap(string s) => string.IsNullOrEmpty(s) ? s : char.ToUpper(s[0], Loc.Culture) + s.Substring(1);
/// <summary>A capital to start with, except on a multiplier ("x1.6 speed", not "X1.6").</summary>
static string Cap(string s) => string.IsNullOrEmpty(s) || (s.Length > 1 && s[0] == 'x' && char.IsDigit(s[1])) ? s : char.ToUpper(s[0], Loc.Culture) + s.Substring(1);
}
}

View File

@ -7,8 +7,9 @@ namespace GrassCutter
{
/// <summary>
/// The upgrade matrix as node graphs: the GreenHaul console shows CONTAINERS · CUTTING · SUIT · LOGISTICS · ECONOMY · AUTOMATION,
/// each branch growing out of the free Earth Uplink, the garage shows the FLEET. Click a node to inspect it, buy it from
/// the shared crew wallet.
/// each branch growing out of the free Earth Uplink. Click a node to inspect it, buy it from the shared crew wallet.
/// Each tree sits in the middle under the uplink, its links run square between the rows (never through a node or a
/// name), every node says what it costs, and the detail panel lays out every level with what it gives and costs.
/// </summary>
public class ShopScreen
{
@ -21,17 +22,23 @@ namespace GrassCutter
int TreeCount => _trees.Length;
readonly Button[] _tabs;
readonly Label[] _tabBadges;
readonly VisualElement[] _tabFill;
readonly VisualElement _graph, _canvas, _lines, _detail;
readonly Dictionary<PerkId, VisualElement> _nodes = new Dictionary<PerkId, VisualElement>();
VisualElement _hubNode;
PerkTree _tree = PerkTree.Containers;
PerkId _selected = PerkId.BinScissors;
const float ColW = 236f, RowH = 196f, Node = 112f, PadX = 30f, PadY = 22f;
// Node matches .node in the style sheet; a big step is drawn a size up
const float ColW = 236f, RowH = 228f, HubH = 196f, Node = 118f, BigNode = 140f, PadX = 30f, PadY = 22f;
/// <summary>How far above a row its links turn: below the names of the row before, above the nodes of this one.</summary>
const float Bus = 30f;
const float Corner = 16f;
// the canvas fits the widest / deepest tree so every tab has the same scale
static int MaxCol { get { int m = 0; foreach (var d in GameDefs.Perks) m = Mathf.Max(m, d.col); return m; } }
static int MaxRow { get { int m = 0; foreach (var d in GameDefs.Perks) m = Mathf.Max(m, d.row); return m; } }
static readonly float CanvasW = PadX * 2f + ColW * (MaxCol + 1), CanvasH = PadY + RowH * (MaxRow + 1) + Node + 64f;
// (below the last row only its nodes and their names)
static readonly float CanvasW = PadX * 2f + ColW * (MaxCol + 1), CanvasH = PadY + HubH + RowH * MaxRow + Node + 86f;
static readonly string[] TreeNames = { Loc.N("CONTAINERS"), Loc.N("CUTTING"), Loc.N("SUIT"), Loc.N("LOGISTICS"), Loc.N("ECONOMY"), Loc.N("AUTOMATION") };
static readonly Color[] TreeColors =
@ -39,6 +46,8 @@ namespace GrassCutter
new Color(0.9f, 0.72f, 0.24f), new Color(0.45f, 0.8f, 0.2f), new Color(0.85f, 0.75f, 0.4f), new Color(1f, 0.8f, 0.25f),
new Color(0.25f, 0.7f, 0.45f), new Color(0.3f, 0.66f, 0.86f),
};
static readonly Color Ink = new Color(0.165f, 0.13f, 0.08f, 1f);
static readonly Color Open = new Color(1f, 0.99f, 0.94f), Shut = new Color(0.7f, 0.66f, 0.56f);
TeamState Ts => TeamState.Instance;
@ -48,6 +57,7 @@ namespace GrassCutter
_trees = trees ?? TerminalTrees;
_tabs = new Button[_trees.Length];
_tabBadges = new Label[_trees.Length];
_tabFill = new VisualElement[_trees.Length];
_tree = _trees[0];
Card = UIK.El("card shop", layer);
Card.pickingMode = PickingMode.Position;
@ -75,6 +85,11 @@ namespace GrassCutter
// label as a child: a Button that has children is no longer measured by its own text
_tabs[i] = UIK.Btn("", () => SetTree(_trees[t], true), "tab", tabs);
UIK.Text(Loc.T(TreeNames[(int)_trees[i]]), "tab-label", _tabs[i]).pickingMode = PickingMode.Ignore;
// how much of the tree is bought, as a strip along the bottom of the tab
var bar = UIK.El("tab-progress", _tabs[i]);
bar.pickingMode = PickingMode.Ignore;
_tabFill[i] = UIK.El("tab-progress-fill", bar);
_tabFill[i].style.backgroundColor = TreeColors[(int)_trees[i]];
_tabBadges[i] = UIK.Text("", "tab-badge", _tabs[i]);
}
@ -95,9 +110,9 @@ namespace GrassCutter
// the wallet moves all the time: it recolours the prices, the pill and the tab counts, it doesn't rebuild the tree
UIK.FollowWallet(Card);
Card.schedule.Execute(Wallet).Every(250);
// open on the first tree that has something affordable
// a single tree needs no tab row
if (TreeCount == 1) tabs.style.display = DisplayStyle.None;
// open on the first tree that has something affordable
for (int i = 0; i < TreeCount; i++) if (Affordable(_trees[i]) > 0) { _tree = _trees[i]; break; }
SetTree(_tree, true);
}
@ -112,6 +127,21 @@ namespace GrassCutter
return n;
}
/// <summary>Levels bought in a tree, out of all it has.</summary>
float Bought(PerkTree tree)
{
var ts = Ts;
if (!ts) return 0f;
int have = 0, all = 0;
foreach (var d in GameDefs.Perks)
{
if (d.tree != tree) continue;
have += Mathf.Min(ts.Level(d.id), d.maxLevel);
all += d.maxLevel;
}
return all > 0 ? (float)have / all : 0f;
}
public void SetTree(PerkTree tree, bool animate)
{
_tree = tree;
@ -143,8 +173,26 @@ namespace GrassCutter
_canvas.style.top = (r.height - CanvasH * k) * 0.5f;
}
Vector2 NodePos(PerkDef d) => new Vector2(PadX + d.col * ColW + (ColW - Node) * 0.5f, PadY + (d.row + (Hub ? 1 : 0)) * RowH);
Vector2 NodeCenter(PerkDef d) => NodePos(d) + new Vector2(Node, Node) * 0.5f;
// ───────────────────────── where things go ─────────────────────────
/// <summary>The tree's columns sit in the middle of the canvas, under the uplink.</summary>
float TreeLeft
{
get
{
int cols = 0;
foreach (var d in GameDefs.Perks) if (d.tree == _tree) cols = Mathf.Max(cols, d.col + 1);
return PadX + (MaxCol + 1 - cols) * ColW * 0.5f;
}
}
static float Size(PerkDef d) => d.big ? BigNode : Node;
int Row(PerkDef d) => d.row + (Hub ? 1 : 0);
float ColX(PerkDef d, float left) => left + d.col * ColW + ColW * 0.5f;
/// <summary>The uplink row is short: it has one node with a one-line name.</summary>
float RowTop(int row) => Hub ? (row == 0 ? PadY : PadY + HubH + (row - 1) * RowH) : PadY + row * RowH;
/// <summary>Top left of a node: centred on its column, its top on its row (a big one stands a little higher).</summary>
Vector2 NodePos(PerkDef d, float left) => new Vector2(ColX(d, left) - Size(d) * 0.5f, RowTop(Row(d)) - (Size(d) - Node) * 0.5f);
static Vector2 HubPos => new Vector2(CanvasW * 0.5f - Node * 0.5f, PadY);
void Wallet()
@ -158,26 +206,30 @@ namespace GrassCutter
int n = Affordable(_trees[i]);
_tabBadges[i].text = n > 0 ? n.ToString() : "";
_tabBadges[i].style.display = n > 0 ? DisplayStyle.Flex : DisplayStyle.None;
_tabFill[i].style.width = Length.Percent(Bought(_trees[i]) * 100f);
}
}
// ───────────────────────── the graph ─────────────────────────
void Rebuild(bool animate)
{
var ts = Ts;
if (!ts) return;
Wallet();
// nodes
foreach (var n in _nodes.Values) n.RemoveFromHierarchy();
_nodes.Clear();
_hubNode?.RemoveFromHierarchy();
if (Hub)
{
_hubNode = UIK.El("node node-maxed", _canvas);
_hubNode = UIK.El("node node-maxed node-hub", _canvas);
_hubNode.style.left = HubPos.x; _hubNode.style.top = HubPos.y;
UIK.Img(AssetBank.I.Tex("icon_star"), "node-icon", _hubNode);
UIK.Text(Loc.T("Earth Uplink"), "node-name", _hubNode, false);
var hubName = UIK.Text(Loc.T("Earth Uplink"), "node-name", _hubNode, false);
PlaceName(hubName, Node, false);
}
float left = TreeLeft;
int k = 0;
foreach (var d in GameDefs.Perks)
{
@ -185,25 +237,45 @@ namespace GrassCutter
int lvl = ts.Level(d.id);
bool maxed = lvl >= d.maxLevel;
bool avail = ts.PerkAvailable(d);
bool afford = avail && !maxed && ts.Money.Value >= d.PriceFor(lvl);
long price = d.PriceFor(lvl);
float size = Size(d);
var node = UIK.El("node", _canvas);
node.pickingMode = PickingMode.Position;
var pos = NodePos(d);
var pos = NodePos(d, left);
node.style.left = pos.x; node.style.top = pos.y;
if (maxed || lvl > 0 || !avail) node.AddToClassList(maxed ? "node-maxed" : lvl > 0 ? "node-owned" : "node-locked");
else UIK.Costs(node, d.PriceFor(lvl), "node-afford", "node-available");
node.style.width = size; node.style.height = size;
if (d.big) node.AddToClassList("node-big");
if (maxed) node.AddToClassList("node-maxed");
else if (!avail) node.AddToClassList("node-locked");
else
{
if (lvl > 0) node.AddToClassList("node-owned");
// the wallet keeps this one current: a node you can pay for lights up
UIK.Costs(node, price, "node-afford", "node-available");
}
if (d.id == _selected) node.AddToClassList("node-selected");
var icon = UIK.Img(AssetBank.I.Tex(d.icon), "node-icon", node);
icon.pickingMode = PickingMode.Ignore;
if (!avail) UIK.Text("?", "node-lock t-outline", node).pickingMode = PickingMode.Ignore;
if (d.maxLevel > 1) UIK.Text($"{lvl}/{d.maxLevel}", "node-level t-outline", node).pickingMode = PickingMode.Ignore;
else if (lvl > 0) UIK.Text(Loc.T("OWNED"), "node-level t-outline", node).pickingMode = PickingMode.Ignore;
if (d.big) { icon.style.width = 100; icon.style.height = 100; }
if (!avail && !maxed) UIK.Text("?", "node-lock t-outline", node).pickingMode = PickingMode.Ignore;
if (d.maxLevel > 1)
{
var pips = UIK.El("node-pips", node);
pips.pickingMode = PickingMode.Ignore;
for (int i = 0; i < d.maxLevel; i++) UIK.El(i < lvl ? "node-pip node-pip-on" : "node-pip", pips).pickingMode = PickingMode.Ignore;
}
// under the node: what the next level costs, or that it is all bought
bool hasChip = !maxed || d.maxLevel == 1;
if (!maxed && avail) UIK.Costs(UIK.Text(UIK.Money(price), "node-price t-outline", node), price, "node-price-yes", "node-price-no").pickingMode = PickingMode.Ignore;
else if (!maxed) UIK.Text(UIK.Money(price), "node-price node-price-shut t-outline", node).pickingMode = PickingMode.Ignore;
else if (d.maxLevel == 1) UIK.Text(Loc.T("OWNED"), "node-price node-price-done t-outline", node).pickingMode = PickingMode.Ignore;
var name = UIK.Text(d.name, "node-name", node, false);
name.pickingMode = PickingMode.Ignore;
PlaceName(name, size, hasChip);
var id = d.id;
node.RegisterCallback<ClickEvent>(_ => { _selected = id; Sfx.Play("ui_click", 0.6f, 1.1f); Rebuild(false); });
node.RegisterCallback<MouseEnterEvent>(_ => Sfx.Play("ui_hover", 0.35f, 1.2f));
if (afford) Pulse(node);
if (avail && !maxed && ts.Money.Value >= price) Pulse(node);
_nodes[d.id] = node;
if (animate) UIK.PopIn(node, 0.03f * k, 0.35f);
k++;
@ -212,56 +284,95 @@ namespace GrassCutter
BuildDetail(animate);
}
static void PlaceName(Label name, float size, bool chip)
{
name.style.top = size + (chip ? 30f : 12f);
name.style.left = (size - 230f) * 0.5f;
}
static void Pulse(VisualElement e)
{
Tween.Run(e, 1.2f, t => { if (e.panel != null) e.style.scale = new Scale(Vector3.one * (1f + Mathf.Sin(t * Mathf.PI * 2f) * 0.035f)); }, Ease.Linear, 0f, () => { if (e.panel != null) Pulse(e); });
Tween.Run(e, 1.2f, t => { if (e.panel != null) e.style.scale = new Scale(Vector3.one * (1f + Mathf.Sin(t * Mathf.PI * 2f) * 0.03f)); }, Ease.Linear, 0f, () => { if (e.panel != null) Pulse(e); });
}
struct Link { public Vector2[] pts; public Color color; public int rank; }
readonly List<Link> _links = new List<Link>();
void DrawLines(MeshGenerationContext ctx)
{
var ts = Ts;
if (!ts) return;
var p = ctx.painter2D;
p.lineCap = LineCap.Round;
p.lineJoin = LineJoin.Round;
float left = TreeLeft;
_links.Clear();
var hubOut = new Vector2(CanvasW * 0.5f, PadY + Node);
foreach (var d in GameDefs.Perks)
{
if (d.tree != _tree) continue;
if (Hub && d.requires.Length == 0) Link(p, HubPos + new Vector2(Node, Node) * 0.5f, NodeCenter(d), ts.Has(d.id));
bool mine = ts.Has(d.id);
var into = new Vector2(ColX(d, left), NodePos(d, left).y);
if (Hub && d.requires.Length == 0) Add(Route(hubOut, 1, into, Row(d), left), mine, true);
foreach (var r in d.requires)
{
var rd = GameDefs.Perk(r);
// a root that needs a perk from another tree has no line to draw (the detail panel names it)
if (rd.tree != d.tree) continue;
Link(p, NodeCenter(rd), NodeCenter(d), ts.Has(d.id), ts.Has(r));
var from = new Vector2(ColX(rd, left), NodePos(rd, left).y + Size(rd));
Add(Route(from, Row(rd) + 1, into, Row(d), left), mine, ts.Level(r) >= d.requireLevel);
}
}
// the dull ones first, the bought ones on top, all of them outlined before any is filled: crossings merge cleanly
_links.Sort((a, b) => a.rank.CompareTo(b.rank));
var p = ctx.painter2D;
p.lineCap = LineCap.Round;
p.lineJoin = LineJoin.Round;
p.strokeColor = Ink;
p.lineWidth = 15f;
foreach (var l in _links) Path(p, l.pts);
p.lineWidth = 8f;
foreach (var l in _links)
{
p.strokeColor = l.color;
Path(p, l.pts);
}
}
void Link(Painter2D p, Vector2 a, Vector2 b, bool mine, bool have = true)
void Add(Vector2[] pts, bool mine, bool open)
{
// outline then fill, so lines read like the chunky UI borders
p.strokeColor = new Color(0.165f, 0.13f, 0.08f, 1f);
p.lineWidth = 16f;
Path(p, a, b);
p.strokeColor = mine ? TreeColors[(int)_tree] : have ? new Color(1f, 1f, 1f) : new Color(0.78f, 0.8f, 0.66f);
p.lineWidth = 9f;
Path(p, a, b);
_links.Add(new Link { pts = pts, color = mine ? TreeColors[(int)_tree] : open ? Open : Shut, rank = mine ? 2 : open ? 1 : 0 });
}
static void Path(Painter2D p, Vector2 a, Vector2 b)
/// <summary>
/// Down from a node, along the gap above the row it goes to, down into it. One that skips rows goes down the gap
/// between columns instead, so it never runs through a node in between.
/// </summary>
Vector2[] Route(Vector2 a, int fromRow, Vector2 b, int toRow, float left)
{
float busB = b.y - Bus;
if (toRow <= fromRow)
return Mathf.Abs(a.x - b.x) < 1f ? new[] { a, b } : new[] { a, new Vector2(a.x, busB), new Vector2(b.x, busB), b };
float busA = RowTop(fromRow) - Bus;
// the gap beside the column it goes to, on the side it comes from
float gap = b.x + (a.x < b.x ? -ColW * 0.5f : ColW * 0.5f);
return new[] { a, new Vector2(a.x, busA), new Vector2(gap, busA), new Vector2(gap, busB), new Vector2(b.x, busB), b };
}
static void Path(Painter2D p, Vector2[] pts)
{
p.BeginPath();
p.MoveTo(a);
if (Mathf.Abs(a.x - b.x) < 1f) p.LineTo(b);
else
p.MoveTo(pts[0]);
for (int i = 1; i < pts.Length - 1; i++)
{
float midY = (a.y + b.y) * 0.5f;
p.BezierCurveTo(new Vector2(a.x, midY), new Vector2(b.x, midY), b);
// round the corner, but never by more than half of either side of it
float r = Mathf.Min(Corner, (pts[i] - pts[i - 1]).magnitude * 0.5f, (pts[i + 1] - pts[i]).magnitude * 0.5f);
if (r < 1f) p.LineTo(pts[i]);
else p.ArcTo(pts[i], pts[i + 1], r);
}
p.LineTo(pts[pts.Length - 1]);
p.Stroke();
}
// ───────────────────────── the detail panel ─────────────────────────
void BuildDetail(bool animate)
{
var ts = Ts;
@ -277,30 +388,43 @@ namespace GrassCutter
top.style.backgroundColor = Color.Lerp(TreeColors[(int)_tree], Color.white, 0.55f);
UIK.Img(AssetBank.I.Tex(d.icon), "detail-icon", top);
UIK.Text(d.name, "t-h1 t-dark t-center detail-title", _detail);
if (d.maxLevel > 1)
{
var pips = UIK.El("item-level detail-pips", _detail);
for (int i = 0; i < d.maxLevel; i++) UIK.El(i < lvl ? "pip pip-on" : "pip", pips);
}
var desc = UIK.Text(d.desc, "item-desc t-center", _detail, false);
var desc = UIK.Text(d.desc, "item-desc t-center detail-desc", _detail, false);
desc.style.whiteSpace = WhiteSpace.Normal;
if (d.effect != null)
// every level: what it gives and what it costs, the bought ones ticked off and the next one picked out
if (d.maxLevel > 1 || d.effect != null)
{
var fx = UIK.El("detail-effect", _detail);
if (lvl > 0) UIK.Text(Loc.F("NOW {0}", d.EffectFor(lvl)), "t-small t-muted", fx, false);
if (!maxed) UIK.Text(Loc.F("NEXT {0}", d.EffectFor(lvl + 1)), "t-body t-dark", fx, false);
var ladder = UIK.El("ladder", _detail);
for (int l = 1; l <= d.maxLevel; l++)
{
bool done = l <= lvl, next = l == lvl + 1;
var row = UIK.El(done ? "ladder-row ladder-done" : next ? "ladder-row ladder-next" : "ladder-row", ladder);
UIK.Text(GameDefs.ToRoman(l), "ladder-lvl t-outline", row);
var fx = UIK.Text(d.EffectFor(l), "ladder-fx", row, false);
fx.style.whiteSpace = WhiteSpace.Normal;
if (!done) UIK.Text(UIK.Money(d.PriceFor(l - 1)), next && avail ? "ladder-price" : "ladder-price ladder-price-later", row);
}
}
var spacer = UIK.El(null, _detail);
spacer.style.flexGrow = 1;
if (maxed) UIK.Text(d.maxLevel > 1 ? Loc.T("MAXED OUT!") : Loc.T("OWNED"), "price t-green t-outline t-center", _detail);
else if (!avail)
// what it waits for, each one green once it is there (including perks from other trees)
if (d.requires.Length > 0 && !maxed)
{
var names = new List<string>();
foreach (var r in d.requires) if (ts.Level(r) < d.requireLevel) names.Add(d.requireLevel > 1 ? $"{GameDefs.Perk(r).name} {GameDefs.ToRoman(d.requireLevel)}" : GameDefs.Perk(r).name);
var req = UIK.Text(Loc.F("Requires {0}", string.Join(" + ", names)), "t-body t-muted t-center", _detail, false);
foreach (var r in d.requires)
{
var rd = GameDefs.Perk(r);
string n = d.requireLevel > 1 ? $"{rd.name} {GameDefs.ToRoman(d.requireLevel)}" : rd.name;
names.Add(ts.Level(r) >= d.requireLevel ? $"<color=#3E8A24>{n}</color>" : $"<color=#B0402C>{n}</color>");
}
var req = UIK.Text(Loc.F("Requires {0}", string.Join(" + ", names)), "t-body t-muted t-center detail-req", _detail, false);
req.style.whiteSpace = WhiteSpace.Normal;
req.enableRichText = true;
}
else
var spacer = UIK.El(null, _detail);
spacer.style.flexGrow = 1;
if (maxed) UIK.Text(d.maxLevel > 1 ? Loc.T("MAXED OUT!") : Loc.T("OWNED"), "price t-green t-outline t-center detail-maxed", _detail);
else if (avail)
{
var b = UIK.Btn(lvl > 0 ? Loc.F("UPGRADE {0}", UIK.Money(price)) : Loc.F("UNLOCK {0}", UIK.Money(price)), () => Buy(d, UIK.CanPay(price)), "btn", _detail);
UIK.Costs(b, price);

View File

@ -0,0 +1,63 @@
using UnityEngine;
using UnityEngine.UIElements;
namespace GrassCutter
{
/// <summary>The demo's goal on screen while it's being played for, and the thank-you screen when it's reached.</summary>
public partial class UIRoot
{
Label _demoGoal;
bool _demoEndSeen;
void TickDemo()
{
if (!Demo.On) return;
if (_demoGoal == null)
{
_demoGoal = UIK.Text("", "t-small t-outline", _hud, false);
_demoGoal.pickingMode = PickingMode.Ignore;
_demoGoal.style.position = Position.Absolute;
_demoGoal.style.top = 76;
_demoGoal.style.left = 0;
_demoGoal.style.right = 0;
_demoGoal.style.unityTextAlign = TextAnchor.MiddleCenter;
}
bool show = _inGame && TeamState.Instance;
_demoGoal.style.display = show ? DisplayStyle.Flex : DisplayStyle.None;
if (!show) { _demoEndSeen = false; return; }
_demoGoal.text = Demo.Over
? Loc.T("DEMO COMPLETE · thanks for playing!")
: Loc.F("DEMO · goal: ship {0} of {1} kg of grass", Loc.Num(Mathf.Floor((float)Demo.Shipped), "0"), Loc.Num((float)Demo.GoalKg, "0"));
if (Demo.Over && !_demoEndSeen && !AnyModal && !Phone.Focused)
{
_demoEndSeen = true;
OpenDemoEnd();
}
}
/// <summary>The end of the demo: thanks, the wishlist and feedback, and the choice to stay on this planet or go.</summary>
internal void OpenDemoEnd()
{
Sfx.Play("milestone", 0.8f);
OpenModal(layer =>
{
var card = UIK.El("card", layer);
card.pickingMode = PickingMode.Position;
card.style.width = 760;
card.style.alignItems = Align.Stretch;
UIK.Text(Loc.T("THANKS FOR PLAYING THE DEMO!"), "t-h1 t-dark t-center", card);
var body = UIK.Text(Loc.F("Your crew shipped {0} kg of grass and reached the end of the demo. In the full game the whole planet is yours: machines, belts, robots, far stations and up to 16 players.", Loc.Num((float)Demo.Shipped, "0")), "t-body t-dark t-center", card, false);
body.style.whiteSpace = WhiteSpace.Normal;
body.style.marginBottom = 10;
var note = UIK.Text(Loc.T("You can keep mowing here, but nothing more is for sale in the demo."), "t-small t-muted t-center", card, false);
note.style.whiteSpace = WhiteSpace.Normal;
note.style.marginBottom = 16;
UIK.Btn(Loc.T("WISHLIST THE FULL GAME"), () => SteamManager.OpenStore(), "btn btn-green", card);
UIK.Btn(Loc.T("LEAVE FEEDBACK"), () => SteamManager.OpenWeb(SteamManager.FeedbackUrl), "btn btn-blue", card);
UIK.Btn(Loc.T("KEEP MOWING"), () => CloseModal(layer), "btn btn-white", card);
UIK.Btn(Loc.T("LEAVE TO MENU"), () => { CloseModal(layer); NetSession.Instance.Leave(); }, "btn btn-red", card);
return card;
});
}
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 9197efad190236e4ca5f8a292e7c1428

View File

@ -112,6 +112,7 @@ namespace GrassCutter
var b = UIK.Btn(Loc.Current.native, () => { if (!SetBusy) OpenLanguages(); }, "sel-wide", lang);
SetLangFont(b, Loc.Current);
SetSlider(Loc.T("Screen shake"), Loc.T("How hard the camera shakes on bumps, hits and blasts."), 0f, 1.5f, () => GameSettings.Shake, v => GameSettings.Shake = v, UIK.Pct);
SetToggle(Loc.T("Head bob"), Loc.T("The view rocks a little with each step. Off keeps it still."), () => GameSettings.HeadBob, v => GameSettings.HeadBob = v);
SetToggle(Loc.T("Assistant tips"), Loc.T("The assistant pops up on screen when there's something new to learn."), () => GameSettings.Tips, v => GameSettings.Tips = v);
SetToggle(Loc.T("Key hints"), Loc.T("The keys down the right side of the screen."), () => GameSettings.KeyHints, v => { GameSettings.KeyHints = v; Hud?.RefreshHints(); });
if (!_inGame)

View File

@ -36,7 +36,7 @@ namespace GrassCutter
public void ToggleConsole()
{
if (_consoleLayer != null) { CloseModal(_consoleLayer); return; }
if (!_inGame) return;
if (!_inGame || !Cheats.Allowed) return;
_consoleLayer = OpenModal(layer => { Console = new CheatConsole(layer); return null; }, dim: false);
UIK.SlideIn(Console.Panel, new Vector2(0f, -400f), 0f, 0.25f);
}
@ -120,6 +120,7 @@ namespace GrassCutter
Ctl.UIOpen = _modalStack.Count > 0 || !_inGame;
if (_inGame) Ctl.SetCursor(!AnyModal && !Phone.Focused && !SteamManager.OverlayActive);
Hud?.Tick(_inGame && !AnyModal);
TickDemo();
Hud?.SetTabList(_inGame && !AnyModal && Ctl.TabHeld);
_spinAngle += Time.unscaledDeltaTime * 360f;
var sp = _connecting?.Q(className: "spinner");
@ -152,8 +153,28 @@ namespace GrassCutter
UIK.Btn(Loc.T("SETTINGS"), OpenSettings, "btn btn-white btn-wide", side),
UIK.Btn(Loc.T("QUIT"), Quit, "btn btn-red btn-wide", side),
};
if (Demo.On)
{
// the demo says so under the logo, and the wishlist sits with the big buttons
var badge = UIK.Text(Loc.T("DEMO"), "menu-tagline t-outline", _menu);
badge.style.top = Length.Percent(63);
badge.style.fontSize = 44;
badge.style.color = new Color(1f, 0.83f, 0.25f);
var wish = UIK.Btn(Loc.T("WISHLIST THE FULL GAME"), () => SteamManager.OpenStore(), "btn btn-green btn-wide", side);
wish.PlaceBehind(buttons[buttons.Count - 1]);
buttons.Insert(buttons.Count - 1, wish);
}
var hint = UIK.Text(Loc.T(SteamManager.Initialized ? Loc.N("PLAY alone, on your LAN, or in a Steam lobby: invite friends with Shift+Tab.") : Loc.N("Steam not running: play alone or on your LAN.")), "t-small t-outline", side, false);
hint.style.marginTop = 14;
// the language in a click (Chinese above all), the store page and where to tell us what's wrong
var links = UIK.El("menu-links", side);
links.style.flexDirection = FlexDirection.Row;
links.style.flexWrap = Wrap.Wrap;
links.style.marginTop = 18;
var langBtn = UIK.Btn(Loc.T("Language") + ": " + Loc.Current.native, OpenLanguages, "btn btn-white btn-small", links);
SetLangFont(langBtn, Loc.Current);
if (!Demo.On) UIK.Btn(Loc.T("STEAM PAGE"), () => SteamManager.OpenStore(), "btn btn-blue btn-small", links).style.marginLeft = 10;
UIK.Btn(Loc.T("FEEDBACK"), () => SteamManager.OpenWeb(SteamManager.FeedbackUrl), "btn btn-green btn-small", links).style.marginLeft = 10;
var footer = UIK.El("menu-footer", _menu);
var pill = UIK.El("pill", footer);
@ -163,8 +184,8 @@ namespace GrassCutter
UIK.Text(SteamManager.MyName, "t-body", pill);
var dot = UIK.El("status-dot", pill);
dot.style.backgroundColor = SteamManager.Initialized ? new Color(0.22f, 0.85f, 0.54f) : new Color(1f, 0.55f, 0.24f);
UIK.Text(SteamManager.Initialized ? $"Steam · AppID {SteamManager.AppId}" : Loc.T("Offline"), "t-small t-muted", pill, false);
UIK.Text(Loc.F("v{0} · early build", NetSession.Version), "version", _menu, false);
UIK.Text(SteamManager.Initialized ? "Steam" : Loc.T("Offline"), "t-small t-muted", pill, false);
UIK.Text("v" + NetSession.Version, "version", _menu, false);
// entrance animation + idle logo bob
UIK.PopIn(logo, 0.25f, 0.7f);

View File

@ -95,6 +95,8 @@ namespace GrassCutter
readonly List<MaterialPropertyBlock> _mpbs = new List<MaterialPropertyBlock>();
readonly List<HexGrid.Sector> _near = new List<HexGrid.Sector>();
readonly List<HexGrid.Sector> _worked = new List<HexGrid.Sector>();
float[] _workedKey = new float[256];
HexGrid.Sector[] _workedBy = new HexGrid.Sector[256];
readonly Plane[] _frustum = new Plane[6];
int _mpbUsed, _here = -1;
/// <summary>Grass draws issued last frame (for -demogpu).</summary>
@ -269,7 +271,8 @@ namespace GrassCutter
if (!GeometryUtility.TestPlanesAABB(_frustum, s.bounds)) continue;
float arc = (s.c - dir).magnitude * Planet.Radius;
float reachable = Mathf.Max(arc - s.radius, alt);
var mask = MowMap.TextureFor(s);
var mask = MowMap.TextureFor(s, arc - s.radius < 45f);
if (!mask) continue;
// mown to the last blade: only the floor shows (the pile's shells and every plant are cut away in the
// shader anyway), one draw instead of up to six. Near the base that is most of what is in view.
if (mask == MowMap.Full && mask)
@ -303,20 +306,24 @@ namespace GrassCutter
}
if (furMat)
foreach (var s in _worked)
if (GeometryUtility.TestPlanesAABB(_frustum, s.bounds)) DrawPile(FurFloor, s, MowMap.TextureFor(s), true);
if (GeometryUtility.TestPlanesAABB(_frustum, s.bounds) && MowMap.TextureFor(s, false) is Texture2D worked && worked) DrawPile(FurFloor, s, worked, true);
DrawBatches();
Draws = _mpbUsed + _drawn;
}
int _drawn;
readonly HashSet<int> _seen = new HashSet<int>();
/// <summary>Every sector the rings can reach from here, the one underfoot first, and the worked ones further out.</summary>
void GatherNear(int here)
{
_near.Clear();
var from = HexGrid.Get(here);
_near.Add(from);
var seen = new HashSet<int> { here };
var seen = _seen;
seen.Clear();
seen.Add(here);
float reach = Mathf.Max(Hemp.fadeB, FurFar.outer) + 40f;
for (int i = 0; i < _near.Count; i++)
foreach (int n in _near[i].neighbours)
@ -327,13 +334,27 @@ namespace GrassCutter
}
MowMap.Trim(from.c);
_worked.Clear();
// a well-worked planet has thousands of these: they are sorted by a plain number, not by a comparison that
// works out two distances every time (that took 4 ms at every step into a new sector)
float far = OverlayReach / Planet.Radius;
far *= far;
int count = 0;
foreach (var m in MowMap.All)
if (m.keep && !seen.Contains(m.s.id) && (m.s.c - from.c).magnitude * Planet.Radius < OverlayReach) _worked.Add(m.s);
if (_worked.Count > OverlayMax)
{
_worked.Sort((a, b) => (a.c - from.c).sqrMagnitude.CompareTo((b.c - from.c).sqrMagnitude));
_worked.RemoveRange(OverlayMax, _worked.Count - OverlayMax);
if (!m.keep || seen.Contains(m.s.id)) continue;
float d = (m.s.c - from.c).sqrMagnitude;
if (d >= far) continue;
if (count == _workedKey.Length)
{
System.Array.Resize(ref _workedKey, count * 2);
System.Array.Resize(ref _workedBy, count * 2);
}
_workedKey[count] = d;
_workedBy[count++] = m.s;
}
if (count > OverlayMax) System.Array.Sort(_workedKey, _workedBy, 0, count);
for (int i = 0; i < count && i < OverlayMax; i++) _worked.Add(_workedBy[i]);
System.Array.Clear(_workedBy, 0, count);
}
static void Flat(HexGrid.Sector s, Vector3 dir, out float u, out float v) => MowMap.Flat(s, dir, out u, out v);

View File

@ -20,6 +20,8 @@ namespace GrassCutter
// the last few scraps (behind rocks, along the seams) go by themselves: no hunting for the final percent
const float DoneAt = 0.93f;
const int MaxStampsPerCut = 28, MaxOpen = 300;
/// <summary>Trim waits for this many more open maps than it keeps, so it runs now and then, not at every sector.</summary>
const int TrimSlack = 80;
/// <summary>Less than this left in a cell is not worth a row of its own.</summary>
const ushort Scrap = 120;
const float MinPaintRadius = 0.15f;
@ -32,6 +34,8 @@ namespace GrassCutter
public ushort[] left; // 65535 = untouched, null while packed
public byte[] rg; // r, g per cell
public byte[] packed;
/// <summary>Its bytes, unsqueezed, while a worker packs them (null otherwise).</summary>
public byte[] raw;
public float total, mown; // square metres
public bool done;
public bool paid; // the host has paid out for it
@ -127,7 +131,9 @@ namespace GrassCutter
}
}
static void Apply(Mask m, Bare b)
/// <param name="fresh">The map was just made: a cell is the sector's exactly when it still has grass.</param>
/// <param name="look">Only the look: the counts came from a packed copy that already has the rock in it.</param>
static void Apply(Mask m, Bare b, bool fresh = false, bool look = false)
{
var s = m.s;
// only the cells the block can reach: a base is hundreds of tiles, and a sector 16k cells, so looking at all of
@ -136,24 +142,41 @@ namespace GrassCutter
float reach = (b.round ? b.radius : b.half.magnitude) * 1.5f + m.cell * 2f;
int x0 = Mathf.Max(0, Mathf.FloorToInt((bu - reach + s.half) / m.cell)), x1 = Mathf.Min(Res - 1, Mathf.CeilToInt((bu + reach + s.half) / m.cell));
int z0 = Mathf.Max(0, Mathf.FloorToInt((bv - reach + s.half) / m.cell)), z1 = Mathf.Min(Res - 1, Mathf.CeilToInt((bv + reach + s.half) / m.cell));
// plain numbers, not vectors: a big rock covers thousands of cells, and a fresh sector may have a dozen of them
float rr = Planet.Radius * Planet.Radius, r2 = b.radius * b.radius;
var c = s.c * Planet.Radius;
var e1 = s.e1;
var e2 = s.e2;
var pc = Planet.Center;
for (int z = z0; z <= z1; z++)
{
float v = Cell(m, z);
float rx = c.x + e2.x * v, ry = c.y + e2.y * v, rz = c.z + e2.z * v;
for (int x = x0; x <= x1; x++)
{
int i = z * Res + x;
if (m.rg[i * 2 + 1] != 0) continue;
var flat = s.c * Planet.Radius + s.e1 * Cell(m, x) + s.e2 * Cell(m, z);
var p = Planet.Center + flat;
// a rock is measured along the ground: the frame is flat, the soil isn't
bool hit = b.round
? (flat.normalized - b.dir).sqrMagnitude * Planet.Radius * Planet.Radius < b.radius * b.radius
: Mathf.Abs(p.x - b.center.x) < b.half.x && Mathf.Abs(p.z - b.center.z) < b.half.y;
float u = Cell(m, x);
float fx = rx + e1.x * u, fy = ry + e1.y * u, fz = rz + e1.z * u;
bool hit;
if (b.round)
{
// a rock is measured along the ground: the frame is flat, the soil isn't
float inv = 1f / Mathf.Sqrt(fx * fx + fy * fy + fz * fz);
float dx = fx * inv - b.dir.x, dy = fy * inv - b.dir.y, dz = fz * inv - b.dir.z;
hit = (dx * dx + dy * dy + dz * dz) * rr < r2;
}
else hit = Mathf.Abs(pc.x + fx - b.center.x) < b.half.x && Mathf.Abs(pc.z + fz - b.center.z) < b.half.y;
if (!hit) continue;
m.rg[i * 2 + 1] = 255;
m.show = true;
if (look) continue;
// nobody can cut what stands under a rock: it isn't part of the sector's grass
if (Owned(s, x, z, m)) m.total = Mathf.Max(0f, m.total - m.area);
if (fresh ? m.left[i] != 0 : Owned(s, x, z, m)) m.total = Mathf.Max(0f, m.total - m.area);
m.left[i] = 0;
m.show = true;
}
}
}
static float Cell(Mask m, int i) => (i + 0.5f) * m.cell - m.s.half;
@ -191,9 +214,36 @@ namespace GrassCutter
m.left = new ushort[Res * Res];
m.rg = new byte[Res * Res * 2];
int owned = 0;
var s = m.s;
var c = s.c * Planet.Radius;
// the sector is a convex patch of the flat frame, so each row of it is one run of cells: the borders give its
// ends, and only the cells at the ends are tested one by one (testing all 16k of them stalled the frame)
for (int z = 0; z < Res; z++)
for (int x = 0; x < Res; x++)
if (Owned(m.s, x, z, m)) { m.left[z * Res + x] = 65535; owned++; }
{
var row = c + s.e2 * Cell(m, z);
float lo = float.NegativeInfinity, hi = float.PositiveInfinity;
bool none = false;
foreach (var b in s.borders)
{
float a = Vector3.Dot(row, b), k = Vector3.Dot(s.e1, b);
if (Mathf.Abs(k) < 1e-6f) { if (a > 0f) none = true; continue; }
if (k > 0f) hi = Mathf.Min(hi, -a / k);
else lo = Mathf.Max(lo, -a / k);
}
if (none) continue;
int xa = Mathf.CeilToInt(Mathf.Clamp((lo + s.half) / m.cell - 0.5f, -1f, Res));
int xb = Mathf.FloorToInt(Mathf.Clamp((hi + s.half) / m.cell - 0.5f, -1f, Res));
xa = Mathf.Clamp(xa, 0, Res - 1);
xb = Mathf.Clamp(xb, 0, Res - 1);
if (xa > xb) continue;
while (xa <= xb && !Owned(s, xa, z, m)) xa++;
while (xb >= xa && !Owned(s, xb, z, m)) xb--;
if (xa > xb) continue;
while (xa > 0 && Owned(s, xa - 1, z, m)) xa--;
while (xb < Res - 1 && Owned(s, xb + 1, z, m)) xb++;
for (int x = xa; x <= xb; x++) m.left[z * Res + x] = 65535;
owned += xb - xa + 1;
}
float total = owned * m.area;
if (m.total <= 0f) m.total = total;
m.show = true;
@ -201,19 +251,44 @@ namespace GrassCutter
{
float kept = m.total;
m.total = total;
foreach (var b in list) Apply(m, b);
foreach (var b in list) Apply(m, b, true);
if (m.packed != null) m.total = kept;
}
}
static void Unpack(Mask m)
/// <summary>Just the look of a packed sector, for its texture: the grass counts stay packed.</summary>
static void Look(Mask m)
{
Fresh(m);
if (m.packed == null) return;
var raw = Inflate(m.packed);
System.Buffer.BlockCopy(raw, 0, m.left, 0, Res * Res * 2);
var raw = m.raw;
if (raw == null && m.packed != null) raw = Inflate(m.packed, s_inflate);
if (raw == null) { Unpack(m); return; }
m.rg = new byte[Res * Res * 2];
for (int i = 0; i < Res * Res; i++) m.rg[i * 2] = raw[Res * Res * 2 + i];
m.show = true;
MarkBare(m);
}
/// <summary>The packed copy keeps the grass, not where nothing grows: the blocks mark that again on a new look.</summary>
static void MarkBare(Mask m)
{
if (!s_blocks.TryGetValue(m.s.id, out var list)) return;
foreach (var b in list) Apply(m, b, false, true);
}
static void Unpack(Mask m)
{
// bytes being squeezed right now, or squeezed ones: no fresh start needed, they say everything
var raw = m.raw;
if (raw == null && m.packed != null) raw = Inflate(m.packed, s_inflate);
if (raw == null) { Fresh(m); return; }
m.left = new ushort[Res * Res];
bool had = m.rg != null && m.tex;
bool fresh = m.rg == null;
if (fresh) m.rg = new byte[Res * Res * 2];
System.Buffer.BlockCopy(raw, 0, m.left, 0, Res * Res * 2);
for (int i = 0; i < Res * Res; i++) m.rg[i * 2] = raw[Res * Res * 2 + i];
if (fresh) MarkBare(m);
if (!had) m.show = true;
}
static void Pack(Mask m)
@ -247,11 +322,42 @@ namespace GrassCutter
{
while (s_packed.TryDequeue(out var p))
if (p.m.packed == null && !p.m.dirty && p.m.left != null) p.m.packed = p.packed;
while (s_squeezed.TryDequeue(out var q))
{
// the bytes it squeezed are still the sector's: they become its packed copy
if (!ReferenceEquals(q.m.raw, q.raw)) continue;
q.m.raw = null;
if (q.m.packed == null && !q.m.dirty) q.m.packed = q.packed;
}
}
static byte[] Inflate(byte[] packed)
sealed class Squeeze { public Mask m; public byte[] raw, packed; }
static readonly System.Collections.Concurrent.ConcurrentQueue<Squeeze> s_squeezed = new System.Collections.Concurrent.ConcurrentQueue<Squeeze>();
/// <summary>Puts a sector's map away: its bytes go to a worker to be squeezed, the mask lets go of its grass counts.</summary>
static void PutAway(Mask m)
{
var raw = new byte[Res * Res * 3];
if (m.dirty || (m.keep && m.packed == null && m.raw == null))
{
var job = new Squeeze { m = m, raw = Raw(m) };
m.raw = job.raw;
m.packed = null;
m.dirty = false;
System.Threading.Tasks.Task.Run(() =>
{
job.packed = Deflate(job.raw);
s_squeezed.Enqueue(job);
});
}
m.left = null;
}
/// <summary>The main thread's inflate buffer: what it holds is copied out at once.</summary>
static readonly byte[] s_inflate = new byte[Res * Res * 3];
static byte[] Inflate(byte[] packed, byte[] into = null)
{
var raw = into ?? new byte[Res * Res * 3];
using (var z = new DeflateStream(new MemoryStream(packed), CompressionMode.Decompress))
{
int at = 0, n;
@ -260,24 +366,22 @@ namespace GrassCutter
return raw;
}
static readonly List<Mask> s_trim = new List<Mask>();
/// <summary>Too many maps in memory: squeeze the ones furthest from here.</summary>
public static void Trim(Vector3 dir)
{
TakePacked();
int open = 0;
foreach (var m in s_masks.Values) if (m.left != null) open++;
if (open <= MaxOpen) return;
var list = new List<Mask>();
foreach (var m in s_masks.Values) if (m.left != null) list.Add(m);
list.Sort((a, b) => (b.s.c - dir).sqrMagnitude.CompareTo((a.s.c - dir).sqrMagnitude));
for (int i = 0; i < open - MaxOpen; i++)
{
var m = list[i];
if (m.dirty || (m.keep && m.packed == null)) Pack(m);
// only the grass counts go: the look (and its texture) stays, because the overlay of worked ground still
// draws these sectors, and taking it away had every one of them unpacked again the very next frame
m.left = null;
}
if (open <= MaxOpen + TrimSlack) return;
s_trim.Clear();
foreach (var m in s_masks.Values) if (m.left != null) s_trim.Add(m);
s_trim.Sort((a, b) => (b.s.c - dir).sqrMagnitude.CompareTo((a.s.c - dir).sqrMagnitude));
// only the grass counts go: the look (and its texture) stays, because the overlay of worked ground still
// draws these sectors, and taking it away had every one of them unpacked again the very next frame
for (int i = 0; i < open - MaxOpen; i++) PutAway(s_trim[i]);
s_trim.Clear();
}
// ───────────────────────── cutting ─────────────────────────
@ -536,6 +640,7 @@ namespace GrassCutter
m.mown = m.total;
m.left = null;
m.packed = null;
m.raw = null;
if (s_blocks.ContainsKey(m.s.id) && m.rg != null)
{
// the rock keeps its bare patch
@ -612,6 +717,28 @@ namespace GrassCutter
}
/// <summary>The map as the shaders read it (the blank one for an untouched sector with nothing in the way).</summary>
static int s_texFrame, s_texMade;
/// <summary>
/// The map as the shaders read it. A sector coming into view far off may wait a frame or two for its texture
/// (null), so that a drive across fresh meadow doesn't unpack and upload dozens in one frame; urgent ones (near the
/// eye) always get theirs.
/// </summary>
public static Texture2D TextureFor(HexGrid.Sector s, bool urgent)
{
if (!urgent)
{
var had = Find(s.id);
if (had != null && !had.tex && !(had.done && had.rg == null))
{
if (s_texFrame != Time.frameCount) { s_texFrame = Time.frameCount; s_texMade = 0; }
if (s_texMade >= 4) return null;
s_texMade++;
}
}
return TextureFor(s);
}
public static Texture2D TextureFor(HexGrid.Sector s)
{
if (!s_none) s_none = Single(new Color32(0, 0, 0, 255));
@ -630,7 +757,8 @@ namespace GrassCutter
m.left = null;
m.show = true;
}
if (m.rg == null) Unpack(m);
// the eye only needs the look: the grass counts stay packed (an open map counts against the ones kept open)
if (m.rg == null) Look(m);
if (!m.tex)
{
// the mips are the soft edge of a cut: the grass beside it reads them to stand lower
@ -693,6 +821,11 @@ namespace GrassCutter
rows.Add((m.s.id, m.total, m.mown, false, null, job));
continue;
}
if (!m.done && m.packed == null && m.raw != null)
{
rows.Add((m.s.id, m.total, m.mown, false, null, new Packing { m = m, raw = m.raw }));
continue;
}
rows.Add((m.s.id, m.total, m.mown, m.done, m.done ? null : m.packed, null));
}
return () =>

View File

@ -834,7 +834,7 @@
border-width: 0;
border-radius: 0;
}
.slot-on, .node-afford, .node-maxed, .build-card-on { background-color: rgba(0, 0, 0, 0); background-image: url("../Art/UI/ui_slot_on.png"); }
.slot-on, .node-maxed, .build-card-on { background-color: rgba(0, 0, 0, 0); background-image: url("../Art/UI/ui_slot_on.png"); }
.node-available, .node-owned, .node-locked { background-color: rgba(0, 0, 0, 0); }
.node-owned { -unity-background-image-tint-color: #CFE3A0; }
.node-locked { -unity-background-image-tint-color: #A89E86; }
@ -996,3 +996,53 @@
.set-foot { flex-direction: row; align-items: center; flex-shrink: 0; margin-top: 10px; padding-top: 12px; border-top-width: 3px; border-color: rgba(42, 33, 20, 0.18); }
.set-desc { flex-grow: 1; flex-shrink: 1; font-size: 21px; color: #6A5A3A; white-space: normal; margin: 0 28px 0 28px; min-height: 56px; -unity-text-align: middle-left; }
/* ───────── v4: the upgrade matrix, readable at a glance ───────── */
/* gold is done; a green ring is what you can buy now; green tint is started; grey is not open yet */
.node { padding-bottom: 8px; }
.node-afford { border-width: 5px; border-color: #63C43A; border-radius: 18px; }
.node-selected, .node-afford.node-selected { border-width: 7px; border-color: #3A9BE8; border-radius: 18px; -unity-background-image-tint-color: #FFFDF0; }
.node-locked > .node-icon { opacity: 0.3; }
.node-lock { font-size: 40px; color: #FFFFFF; }
.node-pips { position: absolute; bottom: 9px; flex-direction: row; justify-content: center; }
.node-pip { width: 15px; height: 7px; border-radius: 4px; margin: 0 2px 0 2px; background-color: rgba(42, 33, 20, 0.28); }
.node-pip-on { background-color: #4FAE2E; }
.node-maxed .node-pip-on { background-color: #2A2114; }
.node-price {
position: absolute; bottom: -19px; font-size: 23px; padding: 1px 11px 1px 11px; border-radius: 10px;
background-color: #7A5A3A; color: #FFFFFF; -unity-text-align: middle-center;
}
.node-price-yes { background-color: #3E8A24; }
.node-price-no { background-color: #8B5E34; color: #F1E6C6; }
.node-price-shut { background-color: #8F8672; color: #ECE6D4; }
.node-price-done { background-color: #C28F1C; }
.node-name { width: 230px; font-size: 20px; }
.shop-tabs > .tab { padding-bottom: 12px; }
.tab-progress {
position: absolute; left: 16px; right: 16px; bottom: 6px; height: 5px; border-radius: 3px;
background-color: rgba(42, 33, 20, 0.2); overflow: hidden;
}
.tab-progress-fill { height: 100%; border-radius: 3px; width: 0; }
.detail-top { height: 150px; }
.detail-icon { width: 130px; height: 130px; }
.detail-desc { margin-top: 2px; margin-bottom: 8px; }
.ladder { margin-top: 4px; }
.ladder-row {
flex-direction: row; align-items: center; padding: 6px 10px 6px 8px; margin-bottom: 6px; border-radius: 12px;
background-color: rgba(139, 94, 52, 0.1); border-width: 3px; border-color: rgba(0, 0, 0, 0);
}
.ladder-done { background-color: rgba(99, 196, 58, 0.22); }
.ladder-next { background-color: #FFF6D6; border-color: #2A2114; }
.ladder-lvl {
width: 44px; height: 32px; border-radius: 9px; margin-right: 10px; flex-shrink: 0;
background-color: #A89E86; color: #FFFFFF; font-size: 19px; -unity-text-align: middle-center;
}
.ladder-done > .ladder-lvl { background-color: #3E8A24; }
.ladder-next > .ladder-lvl { background-color: #C28F1C; }
.ladder-fx { flex-grow: 1; flex-shrink: 1; font-size: 20px; color: #2A2114; }
.ladder-done > .ladder-fx { color: #3B5A22; }
.ladder-price { font-size: 21px; color: #2A2114; margin-left: 8px; flex-shrink: 0; -unity-font-style: bold; }
.ladder-price-later { color: #8F8672; -unity-font-style: normal; }
.detail-req { margin-top: 8px; }
.detail-maxed { font-size: 40px; }

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,38 @@
# PlayWay pitch email
To: contact@playway.com
Subject: Publishing pitch: Grass Cutters Together, an online co-op mowing sim for 1-16 players
---
Hi PlayWay team,
I'm [NAME] from Exbyte Studios. We're making **Grass Cutters Together**, an online co-op mowing and automation sim, and we're looking for a publisher. Your simulator line-up is the audience we're building for, so we wanted to show it to you first.
**The pitch:** Earth has run out of grass, and a whole planet of it is waiting. You land with a pair of nail scissors and up to 15 friends, then mow, build and automate your way across the globe until not a single blade is left.
**The loop**
- Every blade you cut goes into your tool, and every kilo you hand in pays out.
- Tools grow from nail scissors to shears, sickles and scythes, then machines: a push mower, a rider, a tractor and a combine.
- Belts, splitters, sorters and balers turn the harvest into a factory, run on solar panels, poles and batteries.
- Robots mow whole neighbourhoods on their own while the crew moves on.
- The planet is a true sphere, 2.8 km in radius, split into more than 160,000 sectors. Grass never grows back, so the crew's progress is written across the whole globe.
**Where it stands**
- The full loop is playable, from the scissors to the robots, with online co-op (Steam lobbies) and LAN.
- Unity 6. The interface is translated into 12 languages.
- The Steam page is set up (AppID 5551720, not public yet). We're aiming for a release in [RELEASE WINDOW].
**Materials**
- Trailer: [TRAILER LINK]
- Screenshots: attached (GrassCuttersTogether_Screenshots.pdf, 16 pages)
- A playable build is available on request.
We'd like to talk about a publishing deal: marketing, a wishlist campaign and launch support, plus anything else you think the game needs. We're a team of [TEAM SIZE] and can share our roadmap and budget on a call.
Thanks for your time. I'd be glad to send a build or jump on a call.
Best regards,
[NAME]
Exbyte Studios
[EMAIL] · [WEBSITE / DISCORD]

View File

@ -0,0 +1,20 @@
Grass Cutters Together é um jogo cooperativo online de cortar grama para 1 a 16 jogadores. A Terra ficou sem grama, e um planeta inteiro dela está esperando. Esta demo gratuita é o começo do jogo.
[h2]NESTA DEMO[/h2]
[list]
[*]O começo do jogo num planeta intocado: você pousa com uma tesourinha de unha
[*]Corte, entregue a grama e ganhe suas primeiras foices, melhorias de ferramentas e o martelo de construção
[*]Sozinho ou em cooperativo online com até 16 jogadores (a demo joga com a demo)
[*]Todos os 12 idiomas, configurações e controles do jogo completo
[*]Cerca de 30 a 45 minutos: entregue 150 kg de grama para concluí-la
[/list]
[h2]SÓ NO JOGO COMPLETO[/h2]
[list]
[*]Cortadores, trator cortador, trator e colheitadeira para comprar e melhorar
[*]Esteiras, divisores, separadores, enfardadeiras, energia solar e robôs
[*]11 estações distantes e o planeta inteiro com 160.000 setores
[*]O progresso da demo não passa para o jogo completo
[/list]
[b]Gostou? Adicione Grass Cutters Together à sua lista de desejos.[/b]

BIN
Docs/Steam/demo/capsules/app_icon_184x184.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Docs/Steam/demo/capsules/header_capsule_920x430.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Docs/Steam/demo/capsules/library_capsule_600x900.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Docs/Steam/demo/capsules/library_header_920x430.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Docs/Steam/demo/capsules/library_hero_3840x1240.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Docs/Steam/demo/capsules/library_logo_1280w.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Docs/Steam/demo/capsules/main_capsule_1232x706.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Docs/Steam/demo/capsules/page_background_1438x810.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Docs/Steam/demo/capsules/shortcut_icon_256x256.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Docs/Steam/demo/capsules/small_capsule_462x174.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Docs/Steam/demo/capsules/vertical_capsule_748x896.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,56 @@
"""The demo's capsules: the game's own, with a DEMO badge under the logo (Steam wants a demo's art to say it is one).
py -I demo_capsules.py reads ../capsules, writes capsules/ next to this script
The library hero and the page background carry no text (Steam's rule for the hero), so they stay as they are.
"""
import os
from PIL import Image, ImageDraw, ImageFont, ImageFilter
HERE = os.path.dirname(os.path.abspath(__file__))
SRC = os.path.join(HERE, "..", "capsules")
OUT = os.path.join(HERE, "capsules")
FONT = os.path.join(HERE, "..", "..", "..", "Assets", "Fonts", "LilitaOne-Regular.ttf")
GOLD, INK = (255, 197, 61), (59, 36, 18)
# file: (badge centre x, centre y, height) in the file's own pixels
SPOTS = {
"header_capsule_920x430.png": (725, 246, 70),
"library_header_920x430.png": (703, 246, 70),
"main_capsule_1232x706.png": (957, 345, 96),
"small_capsule_462x174.png": (392, 146, 36),
"vertical_capsule_748x896.png": (374, 310, 96),
"library_capsule_600x900.png": (300, 318, 84),
}
def badge(im, cx, cy, h, text="DEMO"):
font = ImageFont.truetype(FONT, int(h * 0.72))
tw = font.getlength(text)
w = int(tw + h * 0.9)
box = (int(cx - w / 2), int(cy - h / 2), int(cx + w / 2), int(cy + h / 2))
shadow = Image.new("RGBA", im.size, (0, 0, 0, 0))
ImageDraw.Draw(shadow).rounded_rectangle((box[0] + 3, box[1] + 5, box[2] + 3, box[3] + 5), radius=h // 2, fill=(0, 0, 0, 120))
im.alpha_composite(shadow.filter(ImageFilter.GaussianBlur(max(2, h // 12))))
d = ImageDraw.Draw(im)
d.rounded_rectangle(box, radius=h // 2, fill=GOLD, outline=INK, width=max(2, int(h * 0.09)))
d.text((cx, cy + h * 0.03), text, font=font, fill=INK, anchor="mm")
def main():
os.makedirs(OUT, exist_ok=True)
for name, (cx, cy, h) in SPOTS.items():
im = Image.open(os.path.join(SRC, name)).convert("RGBA")
badge(im, cx, cy, h)
im.convert("RGB").save(os.path.join(OUT, name))
# the library logo sits on the hero with nothing else: the badge goes under it on a taller transparent canvas
logo = Image.open(os.path.join(SRC, "library_logo_1280w.png")).convert("RGBA")
tall = Image.new("RGBA", (logo.width, logo.height + 170), (0, 0, 0, 0))
tall.alpha_composite(logo, (0, 0))
badge(tall, logo.width // 2, logo.height + 80, 120)
tall.save(os.path.join(OUT, "library_logo_1280w.png"))
for name in ("library_hero_3840x1240.png", "page_background_1438x810.png", "app_icon_184x184.jpg", "shortcut_icon_256x256.png"):
Image.open(os.path.join(SRC, name)).save(os.path.join(OUT, name))
print("done:", sorted(os.listdir(OUT)))
if __name__ == "__main__":
main()

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,203 @@
"""The demo's store page text in the 12 store languages: what the demo has, and what only the full game has.
py -I demo_text.py writes <language>.txt and short_<language>.txt next to this script
"""
import os
HERE = os.path.dirname(os.path.abspath(__file__))
T = {
"english": dict(
short="Try the opening of Grass Cutters Together: land on a planet of grass with a pair of nail scissors, earn your first scythes and the Build Hammer, and ship 150 kg of grass, alone or with up to 15 friends.",
intro="Grass Cutters Together is an online co-op mowing game for 1 to 16 players. Earth has run out of grass, and a whole planet of it is waiting. This free demo is the start of the game.",
h_demo="IN THIS DEMO",
demo=["The opening of the game on a fresh planet: you land with a pair of nail scissors",
"Mow, hand in the grass and earn your first scythes, tool upgrades and the Build Hammer",
"Solo or online co-op with up to 16 players (demo players play with demo players)",
"All 12 languages, settings and controls of the full game",
"About 30-45 minutes: ship 150 kg of grass to finish it"],
h_full="ONLY IN THE FULL GAME",
full=["Mowers, riders, a tractor and a combine to buy and tune",
"Belts, splitters, sorters, binders, solar power and robots",
"11 far stations and the whole planet of 160,000 sectors",
"Your demo progress does not carry over to the full game"],
wish="Enjoyed it? Add Grass Cutters Together to your wishlist."),
"russian": dict(
short="Попробуйте начало Grass Cutters Together: высадитесь на планету травы с маникюрными ножницами, заработайте первые косы и строительный молоток и сдайте 150 кг травы, в одиночку или с компанией до 15 друзей.",
intro="Grass Cutters Together это онлайн-кооператив про покос для 1-16 игроков. На Земле кончилась трава, а где-то ждёт целая планета, заросшая ей. Это бесплатное демо: начало игры.",
h_demo="В ДЕМО",
demo=["Начало игры на нетронутой планете: вы высаживаетесь с маникюрными ножницами",
"Косите, сдавайте траву и зарабатывайте первые косы, улучшения инструментов и строительный молоток",
"Один или онлайн-кооператив до 16 игроков (демо играет с демо)",
"Все 12 языков, настройки и управление полной игры",
"Примерно 30-45 минут: сдайте 150 кг травы, чтобы пройти его"],
h_full="ТОЛЬКО В ПОЛНОЙ ИГРЕ",
full=["Косилки, райдер, трактор и комбайн, которые можно купить и настроить",
"Конвейеры, разветвители, сортировщики, вязальщики, солнечная энергия и роботы",
"11 дальних станций и вся планета из 160 000 секторов",
"Прогресс из демо не переносится в полную игру"],
wish="Понравилось? Добавьте Grass Cutters Together в список желаемого."),
"french": dict(
short="Découvrez le début de Grass Cutters Together : débarquez sur une planète d'herbe avec des ciseaux à ongles, gagnez vos premières faux et le marteau de construction, et livrez 150 kg d'herbe, seul ou entre amis.",
intro="Grass Cutters Together est un jeu de tonte en coopération en ligne pour 1 à 16 joueurs. La Terre n'a plus d'herbe, et toute une planète en regorge. Cette démo gratuite est le début du jeu.",
h_demo="DANS CETTE DÉMO",
demo=["Le début du jeu sur une planète intacte : vous débarquez avec une paire de ciseaux à ongles",
"Tondez, livrez l'herbe et gagnez vos premières faux, des améliorations d'outils et le marteau de construction",
"En solo ou en coopération en ligne jusqu'à 16 joueurs (la démo joue avec la démo)",
"Les 12 langues, réglages et commandes du jeu complet",
"Environ 30 à 45 minutes : livrez 150 kg d'herbe pour la terminer"],
h_full="UNIQUEMENT DANS LE JEU COMPLET",
full=["Tondeuses, tracteur tondeuse, tracteur et moissonneuse à acheter et améliorer",
"Convoyeurs, répartiteurs, trieurs, botteleuses, énergie solaire et robots",
"11 stations lointaines et toute la planète de 160 000 secteurs",
"La progression de la démo n'est pas transférée dans le jeu complet"],
wish="Ça vous a plu ? Ajoutez Grass Cutters Together à votre liste de souhaits."),
"german": dict(
short="Spiel den Anfang von Grass Cutters Together: Lande mit einer Nagelschere auf einem Planeten voller Gras, verdiene deine ersten Sensen und den Bauhammer und liefere 150 kg Gras ab, allein oder mit Freunden.",
intro="Grass Cutters Together ist ein Online-Koop-Mähspiel für 1 bis 16 Spieler. Der Erde ist das Gras ausgegangen, und ein ganzer Planet voll davon wartet. Diese kostenlose Demo ist der Anfang des Spiels.",
h_demo="IN DIESER DEMO",
demo=["Der Anfang des Spiels auf einem unberührten Planeten: Du landest mit einer Nagelschere",
"Mähe, liefere das Gras ab und verdiene deine ersten Sensen, Werkzeug-Upgrades und den Bauhammer",
"Allein oder im Online-Koop mit bis zu 16 Spielern (Demo spielt mit Demo)",
"Alle 12 Sprachen, Einstellungen und Steuerung des vollen Spiels",
"Etwa 30-45 Minuten: Liefere 150 kg Gras ab, um sie abzuschließen"],
h_full="NUR IM VOLLEN SPIEL",
full=["Mäher, Aufsitzmäher, Traktor und Mähdrescher zum Kaufen und Tunen",
"Förderbänder, Verteiler, Sortierer, Binder, Solarstrom und Roboter",
"11 ferne Stationen und der ganze Planet mit 160.000 Sektoren",
"Der Fortschritt aus der Demo wird nicht ins volle Spiel übernommen"],
wish="Gefallen? Setz Grass Cutters Together auf deine Wunschliste."),
"italian": dict(
short="Prova l'inizio di Grass Cutters Together: atterra su un pianeta d'erba con un paio di forbicine, guadagna le prime falci e il martello da costruzione e consegna 150 kg d'erba, da solo o con gli amici.",
intro="Grass Cutters Together è un gioco cooperativo online di falciatura per 1-16 giocatori. La Terra ha finito l'erba, e un intero pianeta ne è pieno. Questa demo gratuita è l'inizio del gioco.",
h_demo="IN QUESTA DEMO",
demo=["L'inizio del gioco su un pianeta intatto: atterri con un paio di forbicine",
"Falcia, consegna l'erba e guadagna le prime falci, i potenziamenti degli attrezzi e il martello da costruzione",
"Da solo o in cooperativa online fino a 16 giocatori (la demo gioca con la demo)",
"Tutte le 12 lingue, le impostazioni e i comandi del gioco completo",
"Circa 30-45 minuti: consegna 150 kg d'erba per completarla"],
h_full="SOLO NEL GIOCO COMPLETO",
full=["Tosaerba, trattorino, trattore e mietitrebbia da comprare e potenziare",
"Nastri, divisori, smistatori, legatrici, energia solare e robot",
"11 stazioni lontane e l'intero pianeta di 160.000 settori",
"I progressi della demo non passano al gioco completo"],
wish="Ti è piaciuto? Aggiungi Grass Cutters Together alla tua lista dei desideri."),
"spanish": dict(
short="Prueba el comienzo de Grass Cutters Together: aterriza en un planeta de hierba con unas tijeras de uñas, consigue tus primeras guadañas y el martillo de construcción y entrega 150 kg de hierba, solo o con amigos.",
intro="Grass Cutters Together es un juego cooperativo en línea de segar para 1 a 16 jugadores. La Tierra se ha quedado sin hierba, y todo un planeta de ella espera. Esta demo gratuita es el comienzo del juego.",
h_demo="EN ESTA DEMO",
demo=["El comienzo del juego en un planeta intacto: aterrizas con unas tijeras de uñas",
"Siega, entrega la hierba y consigue tus primeras guadañas, mejoras de herramientas y el martillo de construcción",
"Solo o en cooperativo en línea con hasta 16 jugadores (la demo juega con la demo)",
"Los 12 idiomas, ajustes y controles del juego completo",
"Unos 30-45 minutos: entrega 150 kg de hierba para terminarla"],
h_full="SOLO EN EL JUEGO COMPLETO",
full=["Cortacéspedes, tractor cortacésped, tractor y cosechadora para comprar y mejorar",
"Cintas, divisores, clasificadores, empacadoras, energía solar y robots",
"11 estaciones lejanas y todo el planeta de 160.000 sectores",
"El progreso de la demo no pasa al juego completo"],
wish="¿Te ha gustado? Añade Grass Cutters Together a tu lista de deseados."),
"brazilian": dict(
short="Experimente o começo de Grass Cutters Together: pouse num planeta de grama com uma tesourinha de unha, ganhe suas primeiras foices e o martelo de construção e entregue 150 kg de grama, sozinho ou com amigos.",
intro="Grass Cutters Together é um jogo cooperativo online de cortar grama para 1 a 16 jogadores. A Terra ficou sem grama, e um planeta inteiro dela está esperando. Esta demo gratuita é o começo do jogo.",
h_demo="NESTA DEMO",
demo=["O começo do jogo num planeta intocado: você pousa com uma tesourinha de unha",
"Corte, entregue a grama e ganhe suas primeiras foices, melhorias de ferramentas e o martelo de construção",
"Sozinho ou em cooperativo online com até 16 jogadores (a demo joga com a demo)",
"Todos os 12 idiomas, configurações e controles do jogo completo",
"Cerca de 30 a 45 minutos: entregue 150 kg de grama para concluí-la"],
h_full="SÓ NO JOGO COMPLETO",
full=["Cortadores, trator cortador, trator e colheitadeira para comprar e melhorar",
"Esteiras, divisores, separadores, enfardadeiras, energia solar e robôs",
"11 estações distantes e o planeta inteiro com 160.000 setores",
"O progresso da demo não passa para o jogo completo"],
wish="Gostou? Adicione Grass Cutters Together à sua lista de desejos."),
"polish": dict(
short="Zagraj w początek Grass Cutters Together: wyląduj na planecie trawy z nożyczkami do paznokci, zdobądź pierwsze kosy i młotek budowlany i dostarcz 150 kg trawy, sam lub online z maksymalnie 15 znajomymi.",
intro="Grass Cutters Together to sieciowa gra kooperacyjna o koszeniu dla 1-16 graczy. Na Ziemi skończyła się trawa, a czeka cała planeta pełna trawy. To darmowe demo jest początkiem gry.",
h_demo="W TYM DEMO",
demo=["Początek gry na nietkniętej planecie: lądujesz z nożyczkami do paznokci",
"Koś, oddawaj trawę i zdobądź pierwsze kosy, ulepszenia narzędzi i młotek budowlany",
"Sam lub w kooperacji online do 16 graczy (demo gra z demem)",
"Wszystkie 12 języków, ustawienia i sterowanie z pełnej gry",
"Około 30-45 minut: dostarcz 150 kg trawy, by je ukończyć"],
h_full="TYLKO W PEŁNEJ GRZE",
full=["Kosiarki, traktorek, traktor i kombajn do kupienia i ulepszania",
"Taśmociągi, rozdzielacze, sortery, prasy, energia słoneczna i roboty",
"11 dalekich stacji i cała planeta ze 160 000 sektorów",
"Postęp z demo nie przechodzi do pełnej gry"],
wish="Spodobało się? Dodaj Grass Cutters Together do listy życzeń."),
"turkish": dict(
short="Grass Cutters Together'ın başlangıcını dene: bir çift tırnak makasıyla çim gezegenine in, ilk tırpanlarını ve inşaat çekicini kazan ve tek başına ya da en fazla 15 arkadaşınla birlikte 150 kg çim teslim et.",
intro="Grass Cutters Together, 1-16 oyuncu için çevrim içi bir ortak çim biçme oyunudur. Dünya'da çim kalmadı ve koca bir gezegen dolusu çim bekliyor. Bu ücretsiz demo, oyunun başlangıcıdır.",
h_demo="BU DEMODA",
demo=["Oyunun el değmemiş bir gezegendeki başlangıcı: bir çift tırnak makasıyla inersin",
"Biç, çimi teslim et ve ilk tırpanlarını, alet geliştirmelerini ve inşaat çekicini kazan",
"Tek başına ya da 16 oyuncuya kadar çevrim içi ortak oyun (demo demoyla oynar)",
"Tam oyunun 12 dili, ayarları ve kontrolleri",
"Yaklaşık 30-45 dakika: bitirmek için 150 kg çim teslim et"],
h_full="SADECE TAM OYUNDA",
full=["Satın alıp geliştirebileceğin çim biçme makineleri, traktör ve biçerdöver",
"Bantlar, ayırıcılar, sıralayıcılar, balya makineleri, güneş enerjisi ve robotlar",
"11 uzak istasyon ve 160.000 sektörlük koca gezegen",
"Demodaki ilerleme tam oyuna aktarılmaz"],
wish="Beğendin mi? Grass Cutters Together'ı istek listene ekle."),
"schinese": dict(
short="试玩 Grass Cutters Together 的开局:带着一把指甲剪降落在长满草的星球上,赚到第一把镰刀和建造锤,独自或与好友一起交付 150 千克草。",
intro="Grass Cutters Together 是一款支持 1-16 名玩家的在线合作割草游戏。地球上的草已经用光,而一整颗长满草的星球正在等着你。这个免费试玩版就是游戏的开局。",
h_demo="试玩版内容",
demo=["在全新的星球上开始游戏:你带着一把指甲剪降落",
"割草、交付草料,赚到第一把镰刀、工具升级和建造锤",
"单人或最多 16 人在线合作(试玩版只与试玩版联机)",
"完整版的全部 12 种语言、设置和操作",
"约 30-45 分钟:交付 150 千克草即可完成"],
h_full="仅限完整版",
full=["可购买和改装的割草机、骑乘式割草机、拖拉机和联合收割机",
"传送带、分流器、分拣器、打捆机、太阳能和机器人",
"11 个远方站点和由 160,000 个区块组成的整个星球",
"试玩版进度不会继承到完整版"],
wish="喜欢吗?把 Grass Cutters Together 加入愿望单吧。"),
"japanese": dict(
short="Grass Cutters Together の序盤を体験:爪切りばさみを持って草の惑星に降り立ち、最初の鎌と建築ハンマーを手に入れ、ひとりでも仲間とでも草を150 kg納品しよう。",
intro="Grass Cutters Together は1~16人で遊べるオンライン協力草刈りゲームです。地球の草は尽き、草だらけの惑星がまるごと待っています。この無料体験版はゲームの序盤です。",
h_demo="体験版の内容",
demo=["手つかずの惑星でのゲームの始まり:爪切りばさみを持って降り立ちます",
"草を刈って納品し、最初の鎌、道具のアップグレード、建築ハンマーを手に入れよう",
"ひとりでも、最大16人のオンライン協力でも(体験版同士で遊べます)",
"製品版の全12言語、設定、操作",
"約30~45分:草を150 kg納品するとクリア"],
h_full="製品版のみ",
full=["購入・チューンできる芝刈り機、乗用芝刈り機、トラクター、コンバイン",
"ベルト、分配器、仕分け機、結束機、太陽光発電、ロボット",
"11の遠方ステーションと160,000セクターの惑星全体",
"体験版の進行状況は製品版に引き継がれません"],
wish="気に入ったら、Grass Cutters Together をウィッシュリストに追加してください。"),
"koreana": dict(
short="Grass Cutters Together의 초반을 플레이해 보세요: 손톱깎이 가위 하나로 풀로 뒤덮인 행성에 착륙해 첫 낫과 건설 망치를 얻고, 혼자 또는 친구와 함께 풀 150 kg을 납품하세요.",
intro="Grass Cutters Together는 1~16명이 함께하는 온라인 협동 풀 베기 게임입니다. 지구의 풀은 바닥났고, 풀로 뒤덮인 행성 하나가 통째로 기다리고 있습니다. 이 무료 데모는 게임의 시작 부분입니다.",
h_demo="데모 내용",
demo=["손대지 않은 행성에서 시작하는 게임 초반: 손톱깎이 가위를 들고 착륙합니다",
"풀을 베고 납품해 첫 낫, 도구 업그레이드, 건설 망치를 얻으세요",
"혼자 또는 최대 16명 온라인 협동 (데모는 데모끼리 플레이)",
"정식 버전의 12개 언어, 설정, 조작 전부",
"약 30~45분: 풀 150 kg을 납품하면 완료"],
h_full="정식 버전 전용",
full=["구매하고 튜닝할 수 있는 잔디깎이, 승용 잔디깎이, 트랙터, 콤바인",
"컨베이어, 분배기, 분류기, 결속기, 태양광 발전, 로봇",
"11개의 먼 정거장과 160,000개 구역으로 된 행성 전체",
"데모 진행 상황은 정식 버전으로 이어지지 않습니다"],
wish="마음에 드셨나요? Grass Cutters Together를 찜 목록에 추가해 주세요."),
}
def li(xs):
return "[list]\n" + "\n".join("[*]" + x for x in xs) + "\n[/list]"
for lang, t in T.items():
body = f"{t['intro']}\n\n[h2]{t['h_demo']}[/h2]\n{li(t['demo'])}\n\n[h2]{t['h_full']}[/h2]\n{li(t['full'])}\n\n[b]{t['wish']}[/b]"
assert len(t["short"]) <= 300, (lang, len(t["short"]))
with open(os.path.join(HERE, lang + ".txt"), "w", encoding="utf-8", newline="\n") as f:
f.write(body)
with open(os.path.join(HERE, "short_" + lang + ".txt"), "w", encoding="utf-8", newline="\n") as f:
f.write(t["short"])
print(len(T), "languages")

View File

@ -0,0 +1,20 @@
Grass Cutters Together is an online co-op mowing game for 1 to 16 players. Earth has run out of grass, and a whole planet of it is waiting. This free demo is the start of the game.
[h2]IN THIS DEMO[/h2]
[list]
[*]The opening of the game on a fresh planet: you land with a pair of nail scissors
[*]Mow, hand in the grass and earn your first scythes, tool upgrades and the Build Hammer
[*]Solo or online co-op with up to 16 players (demo players play with demo players)
[*]All 12 languages, settings and controls of the full game
[*]About 30-45 minutes: ship 150 kg of grass to finish it
[/list]
[h2]ONLY IN THE FULL GAME[/h2]
[list]
[*]Mowers, riders, a tractor and a combine to buy and tune
[*]Belts, splitters, sorters, binders, solar power and robots
[*]11 far stations and the whole planet of 160,000 sectors
[*]Your demo progress does not carry over to the full game
[/list]
[b]Enjoyed it? Add Grass Cutters Together to your wishlist.[/b]

View File

@ -0,0 +1,20 @@
Grass Cutters Together est un jeu de tonte en coopération en ligne pour 1 à 16 joueurs. La Terre n'a plus d'herbe, et toute une planète en regorge. Cette démo gratuite est le début du jeu.
[h2]DANS CETTE DÉMO[/h2]
[list]
[*]Le début du jeu sur une planète intacte : vous débarquez avec une paire de ciseaux à ongles
[*]Tondez, livrez l'herbe et gagnez vos premières faux, des améliorations d'outils et le marteau de construction
[*]En solo ou en coopération en ligne jusqu'à 16 joueurs (la démo joue avec la démo)
[*]Les 12 langues, réglages et commandes du jeu complet
[*]Environ 30 à 45 minutes : livrez 150 kg d'herbe pour la terminer
[/list]
[h2]UNIQUEMENT DANS LE JEU COMPLET[/h2]
[list]
[*]Tondeuses, tracteur tondeuse, tracteur et moissonneuse à acheter et améliorer
[*]Convoyeurs, répartiteurs, trieurs, botteleuses, énergie solaire et robots
[*]11 stations lointaines et toute la planète de 160 000 secteurs
[*]La progression de la démo n'est pas transférée dans le jeu complet
[/list]
[b]Ça vous a plu ? Ajoutez Grass Cutters Together à votre liste de souhaits.[/b]

View File

@ -0,0 +1,20 @@
Grass Cutters Together ist ein Online-Koop-Mähspiel für 1 bis 16 Spieler. Der Erde ist das Gras ausgegangen, und ein ganzer Planet voll davon wartet. Diese kostenlose Demo ist der Anfang des Spiels.
[h2]IN DIESER DEMO[/h2]
[list]
[*]Der Anfang des Spiels auf einem unberührten Planeten: Du landest mit einer Nagelschere
[*]Mähe, liefere das Gras ab und verdiene deine ersten Sensen, Werkzeug-Upgrades und den Bauhammer
[*]Allein oder im Online-Koop mit bis zu 16 Spielern (Demo spielt mit Demo)
[*]Alle 12 Sprachen, Einstellungen und Steuerung des vollen Spiels
[*]Etwa 30-45 Minuten: Liefere 150 kg Gras ab, um sie abzuschließen
[/list]
[h2]NUR IM VOLLEN SPIEL[/h2]
[list]
[*]Mäher, Aufsitzmäher, Traktor und Mähdrescher zum Kaufen und Tunen
[*]Förderbänder, Verteiler, Sortierer, Binder, Solarstrom und Roboter
[*]11 ferne Stationen und der ganze Planet mit 160.000 Sektoren
[*]Der Fortschritt aus der Demo wird nicht ins volle Spiel übernommen
[/list]
[b]Gefallen? Setz Grass Cutters Together auf deine Wunschliste.[/b]

View File

@ -0,0 +1,20 @@
Grass Cutters Together è un gioco cooperativo online di falciatura per 1-16 giocatori. La Terra ha finito l'erba, e un intero pianeta ne è pieno. Questa demo gratuita è l'inizio del gioco.
[h2]IN QUESTA DEMO[/h2]
[list]
[*]L'inizio del gioco su un pianeta intatto: atterri con un paio di forbicine
[*]Falcia, consegna l'erba e guadagna le prime falci, i potenziamenti degli attrezzi e il martello da costruzione
[*]Da solo o in cooperativa online fino a 16 giocatori (la demo gioca con la demo)
[*]Tutte le 12 lingue, le impostazioni e i comandi del gioco completo
[*]Circa 30-45 minuti: consegna 150 kg d'erba per completarla
[/list]
[h2]SOLO NEL GIOCO COMPLETO[/h2]
[list]
[*]Tosaerba, trattorino, trattore e mietitrebbia da comprare e potenziare
[*]Nastri, divisori, smistatori, legatrici, energia solare e robot
[*]11 stazioni lontane e l'intero pianeta di 160.000 settori
[*]I progressi della demo non passano al gioco completo
[/list]
[b]Ti è piaciuto? Aggiungi Grass Cutters Together alla tua lista dei desideri.[/b]

View File

@ -0,0 +1,20 @@
Grass Cutters Together は1~16人で遊べるオンライン協力草刈りゲームです。地球の草は尽き、草だらけの惑星がまるごと待っています。この無料体験版はゲームの序盤です。
[h2]体験版の内容[/h2]
[list]
[*]手つかずの惑星でのゲームの始まり:爪切りばさみを持って降り立ちます
[*]草を刈って納品し、最初の鎌、道具のアップグレード、建築ハンマーを手に入れよう
[*]ひとりでも、最大16人のオンライン協力でも(体験版同士で遊べます)
[*]製品版の全12言語、設定、操作
[*]約30~45分:草を150 kg納品するとクリア
[/list]
[h2]製品版のみ[/h2]
[list]
[*]購入・チューンできる芝刈り機、乗用芝刈り機、トラクター、コンバイン
[*]ベルト、分配器、仕分け機、結束機、太陽光発電、ロボット
[*]11の遠方ステーションと160,000セクターの惑星全体
[*]体験版の進行状況は製品版に引き継がれません
[/list]
[b]気に入ったら、Grass Cutters Together をウィッシュリストに追加してください。[/b]

View File

@ -0,0 +1,20 @@
Grass Cutters Together는 1~16명이 함께하는 온라인 협동 풀 베기 게임입니다. 지구의 풀은 바닥났고, 풀로 뒤덮인 행성 하나가 통째로 기다리고 있습니다. 이 무료 데모는 게임의 시작 부분입니다.
[h2]데모 내용[/h2]
[list]
[*]손대지 않은 행성에서 시작하는 게임 초반: 손톱깎이 가위를 들고 착륙합니다
[*]풀을 베고 납품해 첫 낫, 도구 업그레이드, 건설 망치를 얻으세요
[*]혼자 또는 최대 16명 온라인 협동 (데모는 데모끼리 플레이)
[*]정식 버전의 12개 언어, 설정, 조작 전부
[*]약 30~45분: 풀 150 kg을 납품하면 완료
[/list]
[h2]정식 버전 전용[/h2]
[list]
[*]구매하고 튜닝할 수 있는 잔디깎이, 승용 잔디깎이, 트랙터, 콤바인
[*]컨베이어, 분배기, 분류기, 결속기, 태양광 발전, 로봇
[*]11개의 먼 정거장과 160,000개 구역으로 된 행성 전체
[*]데모 진행 상황은 정식 버전으로 이어지지 않습니다
[/list]
[b]마음에 드셨나요? Grass Cutters Together를 찜 목록에 추가해 주세요.[/b]

View File

@ -0,0 +1,20 @@
Grass Cutters Together to sieciowa gra kooperacyjna o koszeniu dla 1-16 graczy. Na Ziemi skończyła się trawa, a czeka cała planeta pełna trawy. To darmowe demo jest początkiem gry.
[h2]W TYM DEMO[/h2]
[list]
[*]Początek gry na nietkniętej planecie: lądujesz z nożyczkami do paznokci
[*]Koś, oddawaj trawę i zdobądź pierwsze kosy, ulepszenia narzędzi i młotek budowlany
[*]Sam lub w kooperacji online do 16 graczy (demo gra z demem)
[*]Wszystkie 12 języków, ustawienia i sterowanie z pełnej gry
[*]Około 30-45 minut: dostarcz 150 kg trawy, by je ukończyć
[/list]
[h2]TYLKO W PEŁNEJ GRZE[/h2]
[list]
[*]Kosiarki, traktorek, traktor i kombajn do kupienia i ulepszania
[*]Taśmociągi, rozdzielacze, sortery, prasy, energia słoneczna i roboty
[*]11 dalekich stacji i cała planeta ze 160 000 sektorów
[*]Postęp z demo nie przechodzi do pełnej gry
[/list]
[b]Spodobało się? Dodaj Grass Cutters Together do listy życzeń.[/b]

View File

@ -0,0 +1,20 @@
Grass Cutters Together это онлайн-кооператив про покос для 1-16 игроков. На Земле кончилась трава, а где-то ждёт целая планета, заросшая ей. Это бесплатное демо: начало игры.
[h2]В ДЕМО[/h2]
[list]
[*]Начало игры на нетронутой планете: вы высаживаетесь с маникюрными ножницами
[*]Косите, сдавайте траву и зарабатывайте первые косы, улучшения инструментов и строительный молоток
[*]Один или онлайн-кооператив до 16 игроков (демо играет с демо)
[*]Все 12 языков, настройки и управление полной игры
[*]Примерно 30-45 минут: сдайте 150 кг травы, чтобы пройти его
[/list]
[h2]ТОЛЬКО В ПОЛНОЙ ИГРЕ[/h2]
[list]
[*]Косилки, райдер, трактор и комбайн, которые можно купить и настроить
[*]Конвейеры, разветвители, сортировщики, вязальщики, солнечная энергия и роботы
[*]11 дальних станций и вся планета из 160 000 секторов
[*]Прогресс из демо не переносится в полную игру
[/list]
[b]Понравилось? Добавьте Grass Cutters Together в список желаемого.[/b]

View File

@ -0,0 +1,20 @@
Grass Cutters Together 是一款支持 1-16 名玩家的在线合作割草游戏。地球上的草已经用光,而一整颗长满草的星球正在等着你。这个免费试玩版就是游戏的开局。
[h2]试玩版内容[/h2]
[list]
[*]在全新的星球上开始游戏:你带着一把指甲剪降落
[*]割草、交付草料,赚到第一把镰刀、工具升级和建造锤
[*]单人或最多 16 人在线合作(试玩版只与试玩版联机)
[*]完整版的全部 12 种语言、设置和操作
[*]约 30-45 分钟:交付 150 千克草即可完成
[/list]
[h2]仅限完整版[/h2]
[list]
[*]可购买和改装的割草机、骑乘式割草机、拖拉机和联合收割机
[*]传送带、分流器、分拣器、打捆机、太阳能和机器人
[*]11 个远方站点和由 160,000 个区块组成的整个星球
[*]试玩版进度不会继承到完整版
[/list]
[b]喜欢吗?把 Grass Cutters Together 加入愿望单吧。[/b]

View File

@ -0,0 +1 @@
Experimente o começo de Grass Cutters Together: pouse num planeta de grama com uma tesourinha de unha, ganhe suas primeiras foices e o martelo de construção e entregue 150 kg de grama, sozinho ou com amigos.

View File

@ -0,0 +1 @@
Try the opening of Grass Cutters Together: land on a planet of grass with a pair of nail scissors, earn your first scythes and the Build Hammer, and ship 150 kg of grass, alone or with up to 15 friends.

View File

@ -0,0 +1 @@
Découvrez le début de Grass Cutters Together : débarquez sur une planète d'herbe avec des ciseaux à ongles, gagnez vos premières faux et le marteau de construction, et livrez 150 kg d'herbe, seul ou entre amis.

View File

@ -0,0 +1 @@
Spiel den Anfang von Grass Cutters Together: Lande mit einer Nagelschere auf einem Planeten voller Gras, verdiene deine ersten Sensen und den Bauhammer und liefere 150 kg Gras ab, allein oder mit Freunden.

View File

@ -0,0 +1 @@
Prova l'inizio di Grass Cutters Together: atterra su un pianeta d'erba con un paio di forbicine, guadagna le prime falci e il martello da costruzione e consegna 150 kg d'erba, da solo o con gli amici.

View File

@ -0,0 +1 @@
Grass Cutters Together の序盤を体験:爪切りばさみを持って草の惑星に降り立ち、最初の鎌と建築ハンマーを手に入れ、ひとりでも仲間とでも草を150 kg納品しよう。

View File

@ -0,0 +1 @@
Grass Cutters Together의 초반을 플레이해 보세요: 손톱깎이 가위 하나로 풀로 뒤덮인 행성에 착륙해 첫 낫과 건설 망치를 얻고, 혼자 또는 친구와 함께 풀 150 kg을 납품하세요.

View File

@ -0,0 +1 @@
Zagraj w początek Grass Cutters Together: wyląduj na planecie trawy z nożyczkami do paznokci, zdobądź pierwsze kosy i młotek budowlany i dostarcz 150 kg trawy, sam lub online z maksymalnie 15 znajomymi.

View File

@ -0,0 +1 @@
Попробуйте начало Grass Cutters Together: высадитесь на планету травы с маникюрными ножницами, заработайте первые косы и строительный молоток и сдайте 150 кг травы, в одиночку или с компанией до 15 друзей.

View File

@ -0,0 +1 @@
试玩 Grass Cutters Together 的开局:带着一把指甲剪降落在长满草的星球上,赚到第一把镰刀和建造锤,独自或与好友一起交付 150 千克草。

View File

@ -0,0 +1 @@
Prueba el comienzo de Grass Cutters Together: aterriza en un planeta de hierba con unas tijeras de uñas, consigue tus primeras guadañas y el martillo de construcción y entrega 150 kg de hierba, solo o con amigos.

View File

@ -0,0 +1 @@
Grass Cutters Together'ın başlangıcını dene: bir çift tırnak makasıyla çim gezegenine in, ilk tırpanlarını ve inşaat çekicini kazan ve tek başına ya da en fazla 15 arkadaşınla birlikte 150 kg çim teslim et.

View File

@ -0,0 +1,20 @@
Grass Cutters Together es un juego cooperativo en línea de segar para 1 a 16 jugadores. La Tierra se ha quedado sin hierba, y todo un planeta de ella espera. Esta demo gratuita es el comienzo del juego.
[h2]EN ESTA DEMO[/h2]
[list]
[*]El comienzo del juego en un planeta intacto: aterrizas con unas tijeras de uñas
[*]Siega, entrega la hierba y consigue tus primeras guadañas, mejoras de herramientas y el martillo de construcción
[*]Solo o en cooperativo en línea con hasta 16 jugadores (la demo juega con la demo)
[*]Los 12 idiomas, ajustes y controles del juego completo
[*]Unos 30-45 minutos: entrega 150 kg de hierba para terminarla
[/list]
[h2]SOLO EN EL JUEGO COMPLETO[/h2]
[list]
[*]Cortacéspedes, tractor cortacésped, tractor y cosechadora para comprar y mejorar
[*]Cintas, divisores, clasificadores, empacadoras, energía solar y robots
[*]11 estaciones lejanas y todo el planeta de 160.000 sectores
[*]El progreso de la demo no pasa al juego completo
[/list]
[b]¿Te ha gustado? Añade Grass Cutters Together a tu lista de deseados.[/b]

Some files were not shown because too many files have changed in this diff Show More