From 4ee408517cc443c84c9efbb9254a77ea3b3bdb73 Mon Sep 17 00:00:00 2001 From: luccie Date: Fri, 15 Aug 2025 06:18:49 +0200 Subject: Fixed modding documentation to comply with the new sideros internal loading specification --- content/docs/modding.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'content/docs') 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 -- cgit v1.2.3