Feedback round: bots that keep working, Sky Mower, calmer HUD, faster menus, new map

- Robot docks and drone pads with no belt ship straight to Earth; robots widen
  their rings up to 4x once everything in reach is mown, travel 2.5x faster
  empty, hoppers 60/150 kg. Drone reach 70 m + 25 m per upgrade.
- New Sky Mower: a big mowing drone on a pad, 91 sectors, flies over the grass.
- Cut paint follows the blade as a strip, no disc ahead of the machine.
- Sector toasts aggregate, chimes and till sounds throttled, toasts moved and
  narrowed.
- Menus no longer rebuild on every money change (price tint follows the
  wallet), scroll position kept.
- Map drawn as one mesh, opens near the player, ME / + / - / GLOBE, scale bar.
- Key-art still (x_key) and -shotsize for the store stills; -demobots test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
NiemandKG
2026-11-09 15:38:37 +06:00
parent d1c3761e58
commit 27d075103b
44 changed files with 6801 additions and 5733 deletions

View File

@ -525,6 +525,33 @@ namespace GrassCutter
return false;
}
static readonly List<Port> s_belted = new List<Port>();
/// <summary>Does a belt leave any of this piece's hatches?</summary>
public static bool Belted(BuildPiece piece)
{
if (!piece) return false;
s_belted.Clear();
piece.Ports(s_belted);
foreach (var p in s_belted)
if (!p.input && Nearest(p.at, true, Joined, piece, out var next, out _, out _) && next.GetComponentInChildren<Conveyor>()) return true;
return false;
}
/// <summary>
/// Server: a silo with no belt out sends what it holds straight to Earth, a batch every few seconds (one payment
/// and one message per batch, not one per kilo). A belt is for more money (bales, bricks), never a must.
/// </summary>
public static void Ship(NetworkVariable<float> silo, Vector3 at, ref float next)
{
if (silo.Value < 1f || Time.time < next) return;
next = Time.time + 3f;
var ts = TeamState.Instance;
if (!ts) return;
ts.ServerDeposit(silo.Value, CargoKind.Grass, at);
silo.Value = 0f;
}
/// <summary>Does a belt already end here?</summary>
public static bool Taken(Vector3 at)
{