Skip to content

Commit

Permalink
[#2820] Add encumbrance modification to scripts page of wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
arbron committed Feb 1, 2024
1 parent b384200 commit aa98d69
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions wiki/Modifying-Your-Game-with-Scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,24 @@ Hooks.once("init", () => {
CONFIG.DND5E.toolIds.hacking = "module-scope.compendium-id.item-id";
});
```

## Modifying Encumbrance Values
### Encumbrance Thresholds
The encumbrance calculations are determined by strength multipliers that can be defined for both imperial and metric settings.
```javascript
// Modify encumbrance thresholds
Hooks.once("init", () => {
CONFIG.DND5E.encumbrance.threshold.encumbered = {
imperial: 8,
metric: 4
};
CONFIG.DND5E.encumbrance.threshold.heavilyEncumbered = {
imperial: 14,
metric: 9
};
CONFIG.DND5E.encumbrance.threshold.maximum = {
imperial: 20,
metric: 10
};
});
```

0 comments on commit aa98d69

Please sign in to comment.