2022-01-11 14:16:23 -05:00
|
|
|
use std::collections::HashMap;
|
|
|
|
|
|
|
|
use ::serde::Deserialize;
|
|
|
|
|
|
|
|
#[derive(Deserialize, Debug)]
|
|
|
|
pub struct FactionInfo {
|
|
|
|
pub name: String,
|
|
|
|
pub responses: HashMap<String, String>,
|
|
|
|
}
|
|
|
|
|
2022-01-25 09:58:30 -05:00
|
|
|
#[derive(Debug, PartialEq, Eq, Hash, Copy, Clone)]
|
2022-01-11 14:16:23 -05:00
|
|
|
pub enum Reaction {
|
|
|
|
Ignore,
|
|
|
|
Attack,
|
|
|
|
Flee,
|
|
|
|
}
|