Smaller planets, 93% sectors, dearer late game, automation perks, autopilot, grass train
Not yet tried in the game: Unity could not get a licence (Unity Hub isn't running), so this was only type-checked with Roslyn. - Planets by area: the hard one half the old whole planet, normal a third of that, easy a sixth. Saves keep the size set they were made on (sizeGen 0). - A sector closes at 93% mown. - Mid and late prices go up (perks, machines, vehicles, tunes); the early game stays as it was. - AUTOMATION perk tree: Long Leash (robot reach), Overdrive Motors, Bigger Hoppers, Long-Range Drones and Hive Mind. - Autopilot, a garage tune for mowers: C hands the machine over. It mows the fields around in strokes, unloads at the nearest pad or the base yard and comes back. Getting in takes it back; it carries on after a load. - Grass Train: lays its own track to a station next door, mowing under it, then runs back and forth cutting wider each run. Models in gc_train.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -120,6 +120,7 @@ namespace GrassCutter.EditorTools
|
||||
["icon_piece_hexfoundation"] = new[] { P("SM_Foundation_Hex", 0, 0, 1, 0, 30, 0, tint: new Color(0.8f, 0.8f, 0.7f)) },
|
||||
["icon_piece_sorter"] = new[] { P("SM_BeltSorter", 0, 0, 1, 0, -30, 0) },
|
||||
["icon_piece_dronepad"] = new[] { P("SM_Drone", 0, 0.05f, 1, 18, -30, 0) },
|
||||
["icon_piece_train"] = new[] { P("SM_TrainLoco", 0, 0, 1, 15, -35, 0) },
|
||||
["icon_piece_skymower"] = new[] { P("SM_DronePad", 0, -0.2f, 0.85f, 20, -30, 0), P("SM_Drone", 0.05f, 0.22f, 0.8f, 14, -30, 0) },
|
||||
["icon_piece_launcher"] = new[] { P("SM_Launcher", 0, 0, 1, 0, -30, 0) },
|
||||
["icon_piece_launchpad"] = new[] { P("SM_LaunchPad", 0, -0.2f, 1, 25, -30, 0), P("SM_Rocket", 0.05f, 0.25f, 0.8f, 0, -30, 0) },
|
||||
|
||||
@ -298,6 +298,19 @@ namespace GrassCutter.EditorTools
|
||||
if (d.id == PieceId.RobotII) bot.localScale *= GameDefs.Robot(d.id).width / GameDefs.Robot(PieceId.RobotI).width;
|
||||
go.AddComponent<RobotDock>().bot = bot;
|
||||
break;
|
||||
case PieceId.Train:
|
||||
{
|
||||
// the platform is solid; the locomotive and its wagons ride the track the train lays, so they carry no colliders
|
||||
Solid(go.transform, model);
|
||||
var train = go.AddComponent<Train>();
|
||||
train.loco = Child(go.transform, "SM_TrainLoco", Vector3.zero, Quaternion.identity, PrimitiveType.Cube, new Vector3(2.2f, 2.4f, 4.6f), new Vector3(0f, 1.2f, 0f));
|
||||
train.wagons = new Transform[3];
|
||||
for (int i = 0; i < train.wagons.Length; i++)
|
||||
train.wagons[i] = Child(go.transform, "SM_TrainWagon", Vector3.zero, Quaternion.identity, PrimitiveType.Cube, new Vector3(2.1f, 1.6f, 4.4f), new Vector3(0f, 0.9f, 0f));
|
||||
foreach (var t in new[] { train.loco }.Concat(train.wagons))
|
||||
foreach (var c in t.GetComponentsInChildren<Collider>()) UnityEngine.Object.DestroyImmediate(c);
|
||||
break;
|
||||
}
|
||||
case PieceId.SkyMower:
|
||||
{
|
||||
// the drone pad, and one drone two and a half times the size of the fetching ones
|
||||
|
||||
Reference in New Issue
Block a user