feat: author emergent situations and dialogue
This commit is contained in:
@@ -1,87 +1,23 @@
|
||||
[gd_resource type="Resource" script_class="ConversationIntentCatalog" load_steps=18 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://simulation/dialogue/ConversationIntentCatalog.gd" id="1_catalog"]
|
||||
[ext_resource type="Script" path="res://simulation/dialogue/ConversationIntentDefinition.gd" id="2_intent"]
|
||||
|
||||
[sub_resource type="Resource" id="Intent_greet"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"greet"
|
||||
response_intent_ids = Array[StringName]([&"ask_work", &"ask_wellbeing", &"ask_what_happened", &"goodbye"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_ask_work"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"ask_work"
|
||||
response_intent_ids = Array[StringName]([&"describe_need", &"report_progress", &"share_fact", &"ask_who_else", &"goodbye"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_ask_wellbeing"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"ask_wellbeing"
|
||||
response_intent_ids = Array[StringName]([&"describe_need", &"share_fact", &"offer_help", &"goodbye"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_ask_what_happened"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"ask_what_happened"
|
||||
response_intent_ids = Array[StringName]([&"share_fact", &"ask_who_else", &"offer_help", &"goodbye"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_share_fact"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"share_fact"
|
||||
response_intent_ids = Array[StringName]([&"ask_what_happened", &"ask_who_else", &"acknowledge_supersession", &"thank", &"goodbye"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_describe_need"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"describe_need"
|
||||
response_intent_ids = Array[StringName]([&"offer_help", &"decline", &"ask_who_else", &"goodbye"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_ask_who_else"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"ask_who_else"
|
||||
response_intent_ids = Array[StringName]([&"share_fact", &"offer_help", &"goodbye"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_offer_help"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"offer_help"
|
||||
response_intent_ids = Array[StringName]([&"accept", &"decline", &"renegotiate"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_accept"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"accept"
|
||||
response_intent_ids = Array[StringName]([&"thank", &"report_progress", &"goodbye"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_decline"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"decline"
|
||||
response_intent_ids = Array[StringName]([&"reproach", &"renegotiate", &"goodbye"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_report_progress"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"report_progress"
|
||||
response_intent_ids = Array[StringName]([&"thank", &"renegotiate", &"acknowledge_supersession", &"goodbye"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_renegotiate"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"renegotiate"
|
||||
response_intent_ids = Array[StringName]([&"accept", &"decline", &"goodbye"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_thank"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"thank"
|
||||
response_intent_ids = Array[StringName]([&"goodbye"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_reproach"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"reproach"
|
||||
response_intent_ids = Array[StringName]([&"acknowledge_supersession", &"renegotiate", &"goodbye"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_acknowledge_supersession"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"acknowledge_supersession"
|
||||
response_intent_ids = Array[StringName]([&"thank", &"goodbye"])
|
||||
|
||||
[sub_resource type="Resource" id="Intent_goodbye"]
|
||||
script = ExtResource("2_intent")
|
||||
intent_id = &"goodbye"
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/accept.tres" id="2_accept"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/acknowledge_supersession.tres" id="3_acknowledge"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/ask_wellbeing.tres" id="4_wellbeing"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/ask_what_happened.tres" id="5_happened"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/ask_who_else.tres" id="6_who"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/ask_work.tres" id="7_work"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/decline.tres" id="8_decline"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/describe_need.tres" id="9_need"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/goodbye.tres" id="10_goodbye"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/greet.tres" id="11_greet"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/offer_help.tres" id="12_offer"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/renegotiate.tres" id="13_renegotiate"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/report_progress.tres" id="14_progress"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/reproach.tres" id="15_reproach"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/share_fact.tres" id="16_share"]
|
||||
[ext_resource type="Resource" path="res://simulation/dialogue/resources/intents/thank.tres" id="17_thank"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_catalog")
|
||||
intents = Array[ExtResource("2_intent")]([SubResource("Intent_greet"), SubResource("Intent_ask_work"), SubResource("Intent_ask_wellbeing"), SubResource("Intent_ask_what_happened"), SubResource("Intent_share_fact"), SubResource("Intent_describe_need"), SubResource("Intent_ask_who_else"), SubResource("Intent_offer_help"), SubResource("Intent_accept"), SubResource("Intent_decline"), SubResource("Intent_report_progress"), SubResource("Intent_renegotiate"), SubResource("Intent_thank"), SubResource("Intent_reproach"), SubResource("Intent_acknowledge_supersession"), SubResource("Intent_goodbye")])
|
||||
intents = [ExtResource("11_greet"), ExtResource("7_work"), ExtResource("4_wellbeing"), ExtResource("5_happened"), ExtResource("16_share"), ExtResource("9_need"), ExtResource("6_who"), ExtResource("12_offer"), ExtResource("2_accept"), ExtResource("8_decline"), ExtResource("14_progress"), ExtResource("13_renegotiate"), ExtResource("17_thank"), ExtResource("15_reproach"), ExtResource("3_acknowledge"), ExtResource("10_goodbye")]
|
||||
|
||||
Reference in New Issue
Block a user