Knowledge Retention Phase

Reflex Training
Mechanic Sector

(Engage card to reveal Pilot's Intelligence.)

Sector ID: 104B

The Pilot's Audit

"The AI Trap: "The Solid Coin""

// AI-Generated Code: Crash Hazard
void OnCollisionEnter(Collision c) {
    Destroy(gameObject);
}
// Audit Fail: The player will bounce off the coin like a brick wall
// BEFORE collecting it.

Protocol Analysis

This is "The Invisible Wall." The player loses momentum because the coin was a solid physics object.

Audit Complete

Sector ID: 101D

The Pilot's Audit

"The AI Trap: "The Manual Trigger""

// AI-Generated Code: Slow and Clunky
void Update() {
    // Audit Fail: Adding debug code to Update is messy.
    // You have to run the game and press 'H' to test it.
    if (Input.GetKeyDown(KeyCode.H)) {
        FullHeal();
    }
}

Protocol Analysis

This is "Input Pollution." You are cluttering your game logic with test code that might accidentally be left in the final build. A professional uses Editor tools.

Audit Complete

Sector ID: 103D

The Pilot's Audit

"The AI Trap: "The Sticky Trap""

// AI-Generated Code: The "Safe" Fire
void OnTriggerEnter(Collider other) {
    // Audit Fail: This runs exactly once.
    // The player can stand in the fire forever without taking more damage.
    ApplyDamage(10);
}

Protocol Analysis

This is "One-Shot Logic." The AI confused the event of entering with the state of being inside. The trap becomes harmless after the first frame.

Audit Complete

Sector ID: 101B

The Pilot's Audit

"The AI Trap: "The Invisible Data""

// AI-Generated Code: Valid C#, but Invisible in Unity
public class ItemStats {
    public int weight;
    public int cost;
}

public class Inventory : MonoBehaviour {
    public ItemStats stats; // Audit Fail: Won't show up!
}

Protocol Analysis

This is "Inspector Blindness." The code compiles, but the `stats` field will not appear in the Unity Editor, making it impossible for designers to balance the game.

Audit Complete

Sector ID: 105B

The Pilot's Audit

"The AI Trap: "The Teleporting Bullet""

// AI-Generated Code: Reuse Error
public GameObject bullet;
void Fire() {
    // Audit Fail: This moves the ORIGINAL bullet blueprint.
    // It doesn't create a new one.
    bullet.transform.position = gunTip.position;
}

Protocol Analysis

This is "Asset Modification." You are moving the "Blueprint" itself, or a single existing bullet, instead of creating a new one.

Audit Complete

Sector ID: 101E

The Pilot's Audit

"The AI Trap: "The Hardcoded Path""

// AI-Generated Code: Guaranteed to Crash on Mobile
void SaveScore(string data) {
    // Audit Fail: This path only exists on your PC.
    File.WriteAllText("C:/Saves/score.txt", data);
}

Protocol Analysis

This is "Platform Ignorance." This code will work fine on your laptop, but the moment you build for Android, the game will crash because it doesn't have permission to write to the root C: drive.

Audit Complete

Refresh Sector Protocols

Scanning database for new traps