Allow using yaml for campaign definitions.

JSON continues to be supported as well. No additional work needed here,
just needed to allow both.
This commit is contained in:
Dan Albert
2021-08-10 18:21:52 -07:00
parent 6c7b62b8b1
commit 88d52003b3
4 changed files with 20 additions and 17 deletions

View File

@@ -1,11 +1,10 @@
{
"name": "Persian Gulf - Battle of Abu Dhabi",
"theater": "Persian Gulf",
"authors": "Colonel Panic",
"recommended_player_faction": "Iran 2015",
"recommended_enemy_faction": "United Arab Emirates 2015",
"description": "<p>You have managed to establish a foothold near Ras Al Khaima. Continue pushing south.</p>",
"miz": "battle_of_abu_dhabi.miz",
"performance": 2,
"version": "8.0"
}
---
name: Persian Gulf - Battle of Abu Dhabi
theater: Persian Gulf
authors: Colonel Panic
recommended_player_faction: Iran 2015
recommended_enemy_faction: United Arab Emirates 2015
description: <p>You have managed to establish a foothold near Ras Al Khaima. Continue pushing south.</p>
miz: battle_of_abu_dhabi.miz
performance: 2
version": "8.0"