Single module modding

This commit is contained in:
2026-11-14 12:18:41 -03:00
parent 605008f584
commit 313098892e
134 changed files with 919 additions and 924 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
# Saving Data
Server scripts have no file access, so everything a mod keeps goes through the world, and is saved with it. Pick the
The server phase has no file access, so everything a mod keeps goes through the world, and is saved with it. Pick the
place by what the data belongs to:
| Data belongs to | Keep it in | Sent to players |
@@ -37,8 +37,8 @@ belongs in that block's tile data, which goes away with the block.
## What Isn't Saved
- Variables in a script. Everything in memory is gone when the server restarts, so rebuild it in `setup` from what was
saved.
- Variables in a script. Everything in memory is gone when the server restarts, so rebuild it in the server phase from
what was saved.
- [Timers](../misc/time.md#timers).
- Scripted [entities](../entities/index.md#behaviors), like the fishing hook.
- `get_lore` text, which is worked out each time a stack is sent.