diff options
Diffstat (limited to 'content')
| -rw-r--r-- | content/docs/modding.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/content/docs/modding.md b/content/docs/modding.md index ccc38fd..2f07d4b 100644 --- a/content/docs/modding.md +++ b/content/docs/modding.md @@ -53,9 +53,10 @@ Hooks are special in a way that they can latch on to a function in the engine an See [this](#hooking-functions) for function signatures. #### Special information -All hooks have a special parameter refered to internally as `deltatime` this is just the time how long it took between the previous call and this call +All hooks have a special parameter refered to internally as `deltatime` this is just the time how long it took between the previous call and this call. +As modders you must make sure there is a `main.zig` file in the tar root, otherwise the mod will be marked as invalid and will crash sideros. ## Installing mods -Installing mods can be done by copying the produced and/or downloaded .wasm file and copying it to the $SIDEROS_PATH/assets/mods directory. -All .wasm files in that directory will be loaded and ran.
\ No newline at end of file +Installing mods can be done by copying the produced and/or downloaded .tar file to the $SIDEROS_PATH/assets/mods directory. +All .tar files in that directory will be loaded and ran.
\ No newline at end of file |
