bevy_talks 0.6.0

A Bevy plugin to write dialogues for your characters to say and do things. The Dialogue System for Bevy.
Documentation
//! Actors: the characters that speak and act in conversations.

use bevy::prelude::*;
use serde::{Deserialize, Serialize};

use super::field::Field;
use super::ids::ActorId;

/// A character that can participate in conversations.
#[derive(Debug, Clone, Default, PartialEq, Reflect, Serialize, Deserialize)]
pub struct Actor {
    /// Unique id within the database.
    pub id: ActorId,
    /// Display name.
    pub name: String,
    /// Whether this actor is a player character.
    pub is_player: bool,
    /// Custom fields.
    #[serde(default)]
    pub fields: Vec<Field>,
}