Mod config
This commit is contained in:
@@ -31,7 +31,8 @@ const count = ctx.storage.get<number>("smelted") ?? 0;
|
||||
ctx.storage.set("smelted", count + 1);
|
||||
```
|
||||
|
||||
Each mod has its own, so keys don't clash between mods. It's for things like settings and totals. Data about one block
|
||||
Each mod has its own, so keys don't clash between mods. It's for things like totals and settings changed in game.
|
||||
Settings a server picks before it starts belong in the mod's [config](../misc/config.md), and data about one block
|
||||
belongs in that block's tile data, which goes away with the block.
|
||||
|
||||
## What Isn't Saved
|
||||
|
||||
Reference in New Issue
Block a user