You can pre-define missions and plotlines that the AI will use as primary story hooks. These directly inject into the AI's context, ensuring your narrative beats are followed.
The missions array defines specific objectives the AI should guide players toward. These appear in the AI's prompt as: "Use these as primary story hooks..."
| Field | Required | Description |
|---|---|---|
| name | ✓ | Short mission title |
| description | ✓ | What the player needs to accomplish |
missions:
- name: "The First Contact"
description: "Investigate the mysterious signal from the abandoned research station."
- name: "Blood Debt"
description: "The yakuza boss demands repayment. Find 500,000 yen or face the consequences."
- name: "The Tournament Arc"
description: "Win three rounds in the Underground Arena to earn a meeting with the Shadow King."The plotlines array defines overarching story arcs that span the entire campaign. These are shown as: "Major story arcs designed by the creator..."
The startingLocation field defines where players begin their adventure. This is used in the onboarding sequence to set the initial scene.
== STARTING LOCATION == The player awakens in the back room of a noodle shop in District 7. The owner, Mama Chen, has been hiding them from the authorities. == MISSIONS == Mission 1: "The Debt Collector" - Description: Mama Chen needs 50,000 credits to save her shop. Help her. Mission 2: "The Underground Contact" - Description: Find "Ghost" in the lower levels. He has information about your past. == PLOTLINES == Arc 1: "The Memory Thief" - Summary: Someone is stealing memories from the city's elite. The player's fragmented past may be connected. Arc 2: "The Corporate War" - Summary: MegaCorp and Axiom Industries are on the brink of open conflict. Both sides want the player.