Round 6 fixes: held tools, headlamp glare, ladder openings, level horizon, roof hulls, rain hits, idle motion, belt packs, meadow variety

- Held tools sit lower and further right; the hammer faces forward and strikes about the camera's right
- Headlamp leaves held items, treats and vending machines alone (rendering layer NoLamp); other lights keep lighting them
- Hay grounded on the floor in world space (it floated)
- Deck fence opens at each ladder, rail colliders split around it; ladders moved to 2 m off the edge middle, clear of the intakes; climbing goes over a rail only if one is in the way
- Crew stand to the soil's up (Planet.Level): flat round the base, the ball's up past it, so the horizon stays level on a small planet
- Convex roof hulls for the crew cabin, garage, pitched roof and windmill tower; cabin box lowered to the eaves
- Rain and acid rain hits differ by surface: soil, grass, wood, metal
- Idle motion: dishes pan, sways sway, sensors turn, eyes blink, windmill turns in the breeze, reels and parked rotors tick over
- Belt: take tools off at the supply wall; hold E at a vending machine for a pack of 3 on the belt, LMB has one
- New meadow pieces: boulders, slab stones, crystals, mushrooms, stump, bulb plants
- -demofix checks for all of the above; loc rows in all 11 tables

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
NiemandKG
2026-12-01 22:52:05 +06:00
parent fd20af06ae
commit 36e4bb2a10
88 changed files with 7588 additions and 4926 deletions

View File

@ -5,7 +5,9 @@ namespace GrassCutter
{
/// <summary>What a player can hold: six hand tools from nail scissors to the two-handed scythe, each with its own
/// grass container, and the hammer that opens the build menu.</summary>
public enum ToolId : byte { NailScissors = 0, GardenShears = 1, Sickle = 2, Scythe = 3, LongScythe = 4, WideScythe = 5, Hammer = 6, LawnMower = 7, None = 255 }
public enum ToolId : byte { NailScissors = 0, GardenShears = 1, Sickle = 2, Scythe = 3, LongScythe = 4, WideScythe = 5, Hammer = 6, LawnMower = 7,
/// <summary>Not tools: a pack of treats from a vending machine, taking up a belt slot until it is used up.</summary>
BeerPack = 100, CigarPack = 101, None = 255 }
/// <summary>Personal gear on the supply wall; shares the owned mask with the tools.</summary>
public enum GearId : byte { Jetpack = 8, Boots = 9, NightVision = 10 }
@ -206,6 +208,10 @@ namespace GrassCutter
public static bool IsBlade(ToolId t) => t <= ToolId.WideScythe || t == ToolId.LawnMower;
/// <summary>Pushed along the ground instead of swung: cuts under its deck while you walk.</summary>
public static bool IsMower(ToolId t) => t == ToolId.LawnMower;
public static bool IsPack(ToolId t) => t == ToolId.BeerPack || t == ToolId.CigarPack;
public static bool IsTool(ToolId t) => (int)t < ToolCount;
public static TreatId PackTreat(ToolId t) => t == ToolId.BeerPack ? TreatId.Beer : TreatId.Cigar;
public static ToolId PackOf(TreatId k) => k == TreatId.Beer ? ToolId.BeerPack : ToolId.CigarPack;
/// <summary>Scythes and shears have a basket perk each; the mower's bag only grows with the compactor.</summary>
public static bool HasBinPerk(ToolId t) => t <= ToolId.WideScythe;
public static PerkId BinPerk(ToolId t) => (PerkId)((int)PerkId.BinScissors + (int)t);