Repository navigation
reference api difficulty
cheaterbob edited this page Oct 3, 2026
·
1 revision
Generated from
difficulty.schema.json. Runtime validation remains authoritative for cross-file and engine-dependent rules.
| Field | Type | Required | Stability | Constraints and meaning |
|---|---|---|---|---|
schemaVersion |
const: 1
|
yes | stable | |
type |
const: difficulty
|
yes | stable | |
id |
string | yes | stable | pattern: ^[a-z0-9][a-z0-9._-]*:difficulty/[a-z0-9][a-z0-9._/-]*$
|
displayName |
string | yes | stable | min length: 1; max length: 40
|
sortOrder |
integer | no | stable | min: -100000; max: 100000; default: 0
|
enemyHealthMultiplier |
ref: multiplier
|
yes | stable | |
playerDamageTakenMultiplier |
ref: multiplier
|
yes | stable | |
escapeStrengthMultiplier |
ref: multiplier
|
yes | stable |
Schema form: number.
Constraints: min: 0.1; max: 10.
| Field | Type | Required | Stability | Constraints and meaning |
|---|---|---|---|---|
| No named properties | This definition is composed through references or conditional schemas. |
Published from Docs/Modding/Public. The repository documentation is the canonical source.
Captivity Reloaded wiki* Captivity Reloaded Wiki
- Getting started
- Core concepts
- Content types
- Authoring tools
-
Reference
- Example pack index
- Schema index
- Field-by-field API reference
- Public asset-slot catalog
- Core enemy asset slots
- Validation and errors
- Validation/error-code catalog
- Mod API changelog
- Migration guides
- Troubleshooting
- Glossary
- Defaults and compatibility
- Resource limits
- Mod-author test matrix
- Implementation status
- Mod API v1 release checklist
- Release verification runbook
- Release evidence template
- Licensing and redistribution
- Development