AI Command Lab // Flight Simulator

106B: The Key Ring

Initial AI Output (Fragile)

// AI-Generated Code: Fragile Strings
// Script A:
PlayerPrefs.SetInt("PlayerGold", gold);
// Script B:
int g = PlayerPrefs.GetInt("playerGold"); // Lowercase "p"

Initial AI Prompt

"You ask the AI: "Save and Load the gold.""

Pilot Comm Link

Mission Objective: Tell the AI to use a ScriptableObject for the Player Stats to make data persistent between levels.