Examples¶
| Mod | Language | Shows |
|---|---|---|
| hello_rhai | Rhai | callbacks, this, a window, a menu entry, a hook, by-name game access |
| hello_rust | Rust | the Mod trait, a window, a menu entry, a hook |
| bus_rust and bus_rhai | Rust and Rhai | events and services between a Rust and a Rhai mod, both ways: typed events, a retained topic, a busy error |
| Rhai mod template | Rhai | typed game access, settings, a hotkey, a release workflow, a listing |
| Rust mod template | Rust | settings, a hotkey, a hook, install scripts, a release workflow for three platforms |
| Flight Panel | Rust | a full mod: flight data, a warp guard that skips a game method and changes a return value, settings, hotkeys |
| Rhai Studio | Rust | text fields and tabs, drawing with ImGui draw lists, a window styled like the game's, rhai_eval, the log and mod states |
All of them are MIT No Attribution (the examples in the Oxidizer repository are MIT): copy what you need.