43 lines
958 B
GDScript
43 lines
958 B
GDScript
class_name ConversationIntentIds
|
|
extends RefCounted
|
|
|
|
const GREET := &"greet"
|
|
const ASK_WORK := &"ask_work"
|
|
const ASK_WELLBEING := &"ask_wellbeing"
|
|
const ASK_WHAT_HAPPENED := &"ask_what_happened"
|
|
const SHARE_FACT := &"share_fact"
|
|
const DESCRIBE_NEED := &"describe_need"
|
|
const ASK_WHO_ELSE := &"ask_who_else"
|
|
const OFFER_HELP := &"offer_help"
|
|
const ACCEPT := &"accept"
|
|
const DECLINE := &"decline"
|
|
const REPORT_PROGRESS := &"report_progress"
|
|
const RENEGOTIATE := &"renegotiate"
|
|
const THANK := &"thank"
|
|
const REPROACH := &"reproach"
|
|
const ACKNOWLEDGE_SUPERSESSION := &"acknowledge_supersession"
|
|
const GOODBYE := &"goodbye"
|
|
|
|
const ALL: Array[StringName] = [
|
|
GREET,
|
|
ASK_WORK,
|
|
ASK_WELLBEING,
|
|
ASK_WHAT_HAPPENED,
|
|
SHARE_FACT,
|
|
DESCRIBE_NEED,
|
|
ASK_WHO_ELSE,
|
|
OFFER_HELP,
|
|
ACCEPT,
|
|
DECLINE,
|
|
REPORT_PROGRESS,
|
|
RENEGOTIATE,
|
|
THANK,
|
|
REPROACH,
|
|
ACKNOWLEDGE_SUPERSESSION,
|
|
GOODBYE,
|
|
]
|
|
|
|
|
|
static func is_supported(intent_id: StringName) -> bool:
|
|
return intent_id in ALL
|