ChaseAI{}, FleeAI{}, removal of monster/bystander tags
This commit is contained in:
parent
91607fb9ce
commit
198486df1d
13 changed files with 234 additions and 187 deletions
|
|
@ -54,9 +54,6 @@ pub struct Faction {
|
|||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct Prop {}
|
||||
|
||||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct Monster {}
|
||||
|
||||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct LootTable {
|
||||
pub table: String,
|
||||
|
|
@ -75,9 +72,6 @@ pub struct Clock {}
|
|||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct TakingTurn {}
|
||||
|
||||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct Bystander {}
|
||||
|
||||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct Quips {
|
||||
pub available: Vec<String>,
|
||||
|
|
@ -383,6 +377,11 @@ pub struct WantsToFlee {
|
|||
pub indices: Vec<usize>, // Dijkstra
|
||||
}
|
||||
|
||||
#[derive(Component, Debug, ConvertSaveload, Clone)]
|
||||
pub struct Chasing {
|
||||
pub target: Entity,
|
||||
}
|
||||
|
||||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct Consumable {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue