emotion.rs — Emotional State & Affective Logic
Oxyde agents track a 6-dimensional emotion vector that evolves with player interaction and LLM responses. This underpins memory weighting, goal shifts, and behavioral tone.
💠 Emotion Model
pub struct EmotionVector {
pub joy: f32,
pub trust: f32,
pub fear: f32,
pub sadness: f32,
pub anger: f32,
pub surprise: f32,
}🧮 Emotional Delta
pub struct EmotionDelta {
pub joy: f32,
pub anger: f32,
// ...
}