summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluccie <hoedje201@gmail.com>2025-08-15 06:18:49 +0200
committerluccie <hoedje201@gmail.com>2025-08-15 06:18:49 +0200
commit4ee408517cc443c84c9efbb9254a77ea3b3bdb73 (patch)
tree2eea1b5fe8de7cda99fe39077a1b733d90f75665
parent03a20b744f584e5b4d30f2202f2cb7b61dfb97d3 (diff)
Fixed modding documentation to comply with the new sideros internal loading specification
-rw-r--r--content/docs/modding.md7
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