Add pawn utility-AI brain; format code with CSharpier; enforce formatter

Wire the engine's new MrGameEng.AI module into a PawnBrain for world pawns,
plus surrounding content/scene tweaks. Apply CSharpier across the game and
document the convention in CLAUDE.md. Add .vscode/settings.json so the editor
formats on save with the CSharpier extension.
This commit is contained in:
Leonid Pershin
2026-06-12 07:20:03 +03:00
parent 8bc30e008e
commit 58de27248e
14 changed files with 553 additions and 153 deletions
+4
View File
@@ -63,3 +63,7 @@ Never commit a pointer to an unpushed engine commit.
- Content as data: numbers, textures and balance live in `Mods/Core/Defs`, user-facing
strings in `Mods/Core/Languages` — code only defines systems and def classes.
- Every new mechanic gets a dev-console command for testing (`regen`, `timescale`, …).
- Formatting: all C# code is formatted with **CSharpier** (`editor.defaultFormatter`
is `csharpier.csharpier-vscode`, format-on-save is on). Match CSharpier's output —
run `csharpier format .` (or let format-on-save handle it) before committing; never
hand-format against it.