Initial Godot tactical RPG prototype
This commit is contained in:
124
data/scenarios/001_yellow_turbans.json
Normal file
124
data/scenarios/001_yellow_turbans.json
Normal file
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"id": "001_yellow_turbans",
|
||||
"name": "Yingchuan Skirmish",
|
||||
"objectives": {
|
||||
"victory": "Defeat all Yellow Turban units.",
|
||||
"defeat": "All allied units are defeated."
|
||||
},
|
||||
"conditions": {
|
||||
"victory": { "type": "all_units_defeated", "team": "enemy" },
|
||||
"defeat": { "type": "all_units_defeated", "team": "player" }
|
||||
},
|
||||
"briefing": {
|
||||
"title": "Yingchuan Skirmish",
|
||||
"location": "Yingchuan, 184 CE",
|
||||
"lines": [
|
||||
"Yellow Turban rebels have gathered near Yingchuan.",
|
||||
"Cao Cao and Xiahou Dun must break their formation before the revolt spreads."
|
||||
]
|
||||
},
|
||||
"shop": {
|
||||
"items": ["bean"]
|
||||
},
|
||||
"formation": {
|
||||
"cells": [[1, 3], [1, 4], [2, 3], [2, 4]]
|
||||
},
|
||||
"map": {
|
||||
"width": 10,
|
||||
"height": 8,
|
||||
"terrain": [
|
||||
"GGGGGGGGGG",
|
||||
"GGGFFFFGGG",
|
||||
"GGGFFFGGGG",
|
||||
"GGGRRGGGGG",
|
||||
"GGGRRGGHHG",
|
||||
"GGGGGGGHHG",
|
||||
"GGGWWGGGGG",
|
||||
"GGGWWGGGGG"
|
||||
]
|
||||
},
|
||||
"deployments": [
|
||||
{
|
||||
"unit_id": "cao_cao",
|
||||
"officer_id": "cao_cao",
|
||||
"team": "player",
|
||||
"pos": [1, 3]
|
||||
},
|
||||
{
|
||||
"unit_id": "xiahou_dun",
|
||||
"officer_id": "xiahou_dun",
|
||||
"team": "player",
|
||||
"pos": [1, 4]
|
||||
},
|
||||
{
|
||||
"unit_id": "yellow_turban_1",
|
||||
"name": "Zhang Mancheng",
|
||||
"class_id": "bandit",
|
||||
"team": "enemy",
|
||||
"level": 1,
|
||||
"pos": [7, 2],
|
||||
"base": { "hp": 34, "atk": 11, "def": 5 }
|
||||
},
|
||||
{
|
||||
"unit_id": "yellow_turban_2",
|
||||
"name": "Peasant Rebel",
|
||||
"class_id": "infantry",
|
||||
"team": "enemy",
|
||||
"level": 1,
|
||||
"pos": [8, 5],
|
||||
"base": { "hp": 30, "atk": 10, "def": 5 }
|
||||
},
|
||||
{
|
||||
"unit_id": "yellow_turban_3",
|
||||
"name": "Rebel Archer",
|
||||
"class_id": "archer",
|
||||
"team": "enemy",
|
||||
"level": 1,
|
||||
"pos": [7, 6],
|
||||
"base": { "hp": 26, "atk": 9, "def": 4 }
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"id": "opening",
|
||||
"once": true,
|
||||
"when": { "type": "battle_start" },
|
||||
"actions": [
|
||||
{ "type": "log", "text": "Cao Cao engages the Yellow Turbans." }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "opening_dialogue",
|
||||
"once": true,
|
||||
"when": { "type": "battle_begin" },
|
||||
"actions": [
|
||||
{
|
||||
"type": "dialogue",
|
||||
"lines": [
|
||||
{ "speaker": "Cao Cao", "text": "The rebels are scattered, but their numbers will swell if we hesitate." },
|
||||
{ "speaker": "Xiahou Dun", "text": "Then we strike now. I will open a path through their front line." }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "turn_2_warning",
|
||||
"once": true,
|
||||
"when": { "type": "turn_start", "team": "enemy", "turn": 2 },
|
||||
"actions": [
|
||||
{ "type": "log", "text": "The Yellow Turbans are looking for an opening." }
|
||||
]
|
||||
}
|
||||
],
|
||||
"rewards": {
|
||||
"gold": 300,
|
||||
"items": ["bean"],
|
||||
"join_officers": ["xiahou_yuan", "cao_ren"]
|
||||
},
|
||||
"post_battle_dialogue": [
|
||||
{ "speaker": "Xiahou Dun", "text": "The rebels are scattered. Yingchuan should breathe easier tonight." },
|
||||
{ "speaker": "Cao Cao", "text": "This is only the first fire. If the court cannot move quickly, we must." },
|
||||
{ "speaker": "Xiahou Yuan", "text": "Then call on us for the next campaign. We will ride with you." },
|
||||
{ "speaker": "Cao Ren", "text": "The clan stands ready, my lord." }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user