// SPDX-License-Identifier: AGPL-3.0-only //! Lua scripting and modding support for Synvael. //! //! This crate handles the integration with Lua (via `mlua`) and provides //! the API surface for both base game content and third-party mods. /// Adds two numbers together. /// /// This is a placeholder function for the initial crate setup. pub fn add(left: u64, right: u64) -> u64 { left + right } #[cfg(test)] mod tests { use super::*; #[test] fn it_works() { let result = add(2, 2); assert_eq!(result, 4); } }