mud/content/help/content.toml

43 lines
1.3 KiB
TOML

name = "content"
title = "content system"
admin = true
body = """
the mud loads content from TOML files in the content/ directory.
content can be edited and hot-reloaded without restarting the server.
directory structure
content/
commands/ content commands (motd, etc)
combat/ combat move definitions
help/ help topics
mobs/ mob templates
things/ thing templates
zones/ zone definitions
recipes/ crafting recipes
dialogue/ npc dialogue trees
hot-reloading
reload <name> reload a TOML definition
example: reload punch
example: reload motd
reload works for:
- combat moves (content/combat/)
- content commands (content/commands/)
creating new content
- write a .toml file in the appropriate directory
- restart server to load it initially
- use reload to test changes after editing
editing content
edit <move> edit in-game (see 'help editing')
or edit files directly with your text editor
content format
all content files use TOML format. combat moves follow a specific
schema defined in docs/how/combat.rst. content commands use a simpler
format with name, handler/message, and optional fields.
see also: help editing, help admin-commands
"""