Commit 8065cbe
[#69] Add item type to extracted adventure document names
When unpacking using the `expandAdventures` option but not the
`folders` option, this appends the item type to the name to prevent
conflicts caused by two documents of different types that share the
same name and ID. This does not make the change when the `folders`
option is used because documents of different types are split into
their own folders so there is no conflict risk.
This causes the file names of extracted documents to change:
```
// Original
Aarakocra_toaAarakocra0000.yml
// New
Aarakocra_Actor_toaAarakocra0000.yml
```
Closes #691 parent 023e0d1 commit 8065cbe
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
210 | 216 | | |
211 | 217 | | |
212 | 218 | | |
| |||
595 | 601 | | |
596 | 602 | | |
597 | 603 | | |
| 604 | + | |
598 | 605 | | |
599 | 606 | | |
600 | 607 | | |
| |||
605 | 612 | | |
606 | 613 | | |
607 | 614 | | |
608 | | - | |
| 615 | + | |
609 | 616 | | |
610 | 617 | | |
611 | 618 | | |
| |||
0 commit comments