iocaine 3.0.0

The deadliest poison known to AI
Documentation
// SPDX-FileCopyrightText: 2025 Gergely Nagy
// SPDX-FileContributor: Gergely Nagy
//
// SPDX-License-Identifier: MIT

use std::sync::{Arc, RwLock};

use crate::{sex_dungeon::NPC, tenx_programmer::TenXProgrammer};

#[derive(Clone)]
pub struct Decay {
    pub metrics: TenXProgrammer,
    pub request_handler: Arc<NPC>,
}

pub type StateOfDecay = Arc<RwLock<Decay>>;

impl From<Decay> for Arc<RwLock<Decay>> {
    fn from(decay: Decay) -> Self {
        Self::new(RwLock::new(decay))
    }
}