More work on Rune
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2024-04-13 10:47:40 +02:00
parent 67b0abe59f
commit 4bc76b0ee4
18 changed files with 166 additions and 67 deletions

View File

@@ -0,0 +1,12 @@
mod nature;
mod statistic_set;
use crate::static_data::{Statistic, TimeOfDay};
pub fn register(module: &mut rune::Module) -> anyhow::Result<()> {
module.ty::<TimeOfDay>()?;
module.ty::<Statistic>()?;
statistic_set::register(module)?;
nature::register(module)?;
Ok(())
}