add dependency levels to content-packs.md

This commit is contained in:
MihailRis
2024-10-23 13:21:03 +03:00
parent 9b53def82a
commit 109cfbfceb
2 changed files with 16 additions and 0 deletions
+8
View File
@@ -22,6 +22,14 @@ Content-pack folder must contain file **package.json** with following contents:
}
```
Dependency levels are indicated by prefixes in the name:
- '!' - required dependency
- '?' - optional dependency
- '~' - weak dependency
If prefix is not specified, '!' level will be used.
Example: '~randutil' - weak dependency 'randutil'.
Example:
```json
{