我的对话将以JSON格式呈现(如下例所示),并附带一个包含实际台词和翻译的CSV文件。
我想知道最好的折中方案是什么,既方便人类编写,又不必按照那种格式手动重写所有内容。
"dialogue_intro": [
{"speaker": "NARRATOR", "text_key": "stranger_intro_01", "type_delai": "conversation"}
],
"decisions": [
{
"dialogue_intro": [],
"question_key": "stranger_dec_food_question",
"conditions": [],
"timer_secondes": 0,
"options": [
{
"label_key": "stranger_dec_food_opt1_label",
"stat": "eloquence",
"difficulte": 1,
"conditions": [
{"type": "ressource_min", "ressource": "vivres", "valeur_min": 3, "tag": "", "personnage_id": "", "mission_id": ""}
],
"cout_ressource": "vivres",
"cout_montant": 3,
"condition_echec_texte_key": "stranger_food_condition_fail",
"succes_dialogue": [
{"speaker": "PLAYER_CHARACTER", "text_key": "stranger_dec_food_opt1_success", "joueur_reference": "acteur_courant"}
],
"echec_dialogue": [
{"speaker": "PLAYER_CHARACTER", "generic_tag": "fail_minor", "joueur_reference": "acteur_courant"}
],
"effets_succes": [],
"effets_echec": []
}
评论 (0)