Skip to content

Commit

Permalink
Move creature languages to system.details.languages (foundryvtt#12676)
Browse files Browse the repository at this point in the history
Also finish sprucing up language selector
  • Loading branch information
stwlam committed Jan 2, 2024
1 parent f45baa1 commit f857316
Show file tree
Hide file tree
Showing 4,382 changed files with 28,849 additions and 33,323 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions build/run-migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import { Migration911CoinBulk } from "@module/migration/migrations/911-coin-bulk
import { Migration912RmFocusTraitFocusCantrips } from "@module/migration/migrations/912-rm-focus-trait-focus-cantrips.ts";
import { Migration913SpellSustainedText } from "@module/migration/migrations/913-spell-sustained-text.ts";
import { Migration914MovePerceptionSenses } from "@module/migration/migrations/914-move-perception-senses.ts";
import { Migration915MoveLanguages } from "@module/migration/migrations/915-move-languages.ts";
// ^^^ don't let your IDE use the index in these imports. you need to specify the full path ^^^

const { window } = new JSDOM();
Expand All @@ -48,6 +49,7 @@ const migrations: MigrationBase[] = [
new Migration912RmFocusTraitFocusCantrips(),
new Migration913SpellSustainedText(),
new Migration914MovePerceptionSenses(),
new Migration915MoveLanguages(),
];

const packsDataPath = path.resolve(process.cwd(), "packs");
Expand Down
17 changes: 8 additions & 9 deletions packs/abomination-vaults-bestiary/afflicted-irnakurse.json
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,14 @@
},
"details": {
"blurb": "",
"languages": {
"details": "(can't speak any language)",
"value": [
"chthonian",
"elven",
"sakvroth"
]
},
"level": {
"value": 8
},
Expand Down Expand Up @@ -530,15 +538,6 @@
}
},
"traits": {
"languages": {
"custom": "(Can't Speak Any Language)",
"selected": [],
"value": [
"chthonian",
"elven",
"sakvroth"
]
},
"rarity": "common",
"size": {
"value": "lg"
Expand Down
19 changes: 9 additions & 10 deletions packs/abomination-vaults-bestiary/aller-rosk.json
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,15 @@
},
"details": {
"blurb": "Male ghoul tattoo artist",
"languages": {
"details": "",
"value": [
"aklo",
"common",
"necril",
"sakvroth"
]
},
"level": {
"value": 5
},
Expand Down Expand Up @@ -532,16 +541,6 @@
}
},
"traits": {
"languages": {
"custom": "",
"selected": [],
"value": [
"aklo",
"common",
"necril",
"sakvroth"
]
},
"rarity": "unique",
"size": {
"value": "med"
Expand Down
19 changes: 9 additions & 10 deletions packs/abomination-vaults-bestiary/augrael.json
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,15 @@
},
"details": {
"blurb": "Male morlock ghoul exile",
"languages": {
"details": "",
"value": [
"aklo",
"common",
"necril",
"sakvroth"
]
},
"level": {
"value": 3
},
Expand Down Expand Up @@ -663,16 +672,6 @@
}
},
"traits": {
"languages": {
"custom": "",
"selected": [],
"value": [
"aklo",
"common",
"necril",
"sakvroth"
]
},
"rarity": "unique",
"size": {
"value": "med"
Expand Down
17 changes: 8 additions & 9 deletions packs/abomination-vaults-bestiary/azvalvigander.json
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,14 @@
},
"details": {
"blurb": "Female zebub quartermaster",
"languages": {
"details": "telepathy 100 feet",
"value": [
"diabolic",
"draconic",
"empyrean"
]
},
"level": {
"value": 3
},
Expand Down Expand Up @@ -1203,15 +1211,6 @@
}
},
"traits": {
"languages": {
"custom": "Telepathy 100 feet",
"selected": [],
"value": [
"diabolic",
"draconic",
"empyrean"
]
},
"rarity": "common",
"size": {
"value": "sm"
Expand Down
19 changes: 9 additions & 10 deletions packs/abomination-vaults-bestiary/barcumbuk.json
Original file line number Diff line number Diff line change
Expand Up @@ -1817,6 +1817,15 @@
},
"details": {
"blurb": "Male erinys",
"languages": {
"details": "telepathy 100 feet",
"value": [
"common",
"diabolic",
"draconic",
"empyrean"
]
},
"level": {
"value": 8
},
Expand Down Expand Up @@ -1871,16 +1880,6 @@
}
},
"traits": {
"languages": {
"custom": "Telepathy 100 feet",
"selected": [],
"value": [
"common",
"diabolic",
"draconic",
"empyrean"
]
},
"rarity": "common",
"size": {
"value": "med"
Expand Down
17 changes: 8 additions & 9 deletions packs/abomination-vaults-bestiary/belcorra-haruvex.json
Original file line number Diff line number Diff line change
Expand Up @@ -3568,6 +3568,14 @@
},
"details": {
"blurb": "Female ghost sorcerer",
"languages": {
"details": "",
"value": [
"aklo",
"common",
"sakvroth"
]
},
"level": {
"value": 12
},
Expand Down Expand Up @@ -3617,15 +3625,6 @@
}
},
"traits": {
"languages": {
"custom": "",
"selected": [],
"value": [
"aklo",
"common",
"sakvroth"
]
},
"rarity": "unique",
"size": {
"value": "med"
Expand Down
21 changes: 10 additions & 11 deletions packs/abomination-vaults-bestiary/beluthus.json
Original file line number Diff line number Diff line change
Expand Up @@ -1369,6 +1369,16 @@
},
"details": {
"blurb": "Male devourer (Pathfinder Bestiary 2 78)",
"languages": {
"details": "",
"value": [
"chthonian",
"common",
"diabolic",
"empyrean",
"necril"
]
},
"level": {
"value": 11
},
Expand Down Expand Up @@ -1418,17 +1428,6 @@
}
},
"traits": {
"languages": {
"custom": "",
"selected": [],
"value": [
"chthonian",
"common",
"diabolic",
"empyrean",
"necril"
]
},
"rarity": "unique",
"size": {
"value": "sm"
Expand Down
13 changes: 6 additions & 7 deletions packs/abomination-vaults-bestiary/bloodsiphon.json
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,12 @@
},
"details": {
"blurb": "",
"languages": {
"details": "cannot speak any language",
"value": [
"aklo"
]
},
"level": {
"value": 4
},
Expand Down Expand Up @@ -403,13 +409,6 @@
}
},
"traits": {
"languages": {
"custom": "Cannot Speak Any Language",
"selected": [],
"value": [
"aklo"
]
},
"rarity": "unique",
"size": {
"value": "med"
Expand Down
9 changes: 4 additions & 5 deletions packs/abomination-vaults-bestiary/bone-gladiator.json
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,10 @@
},
"details": {
"blurb": "Variant skeletal hulk",
"languages": {
"details": "",
"value": []
},
"level": {
"value": 7
},
Expand Down Expand Up @@ -324,11 +328,6 @@
}
},
"traits": {
"languages": {
"custom": "",
"selected": [],
"value": []
},
"rarity": "unique",
"size": {
"value": "huge"
Expand Down
15 changes: 7 additions & 8 deletions packs/abomination-vaults-bestiary/boss-skrawng.json
Original file line number Diff line number Diff line change
Expand Up @@ -1281,6 +1281,13 @@
},
"details": {
"blurb": "Male mitflit gang boss",
"languages": {
"details": "",
"value": [
"common",
"sakvroth"
]
},
"level": {
"value": 1
},
Expand Down Expand Up @@ -1330,14 +1337,6 @@
}
},
"traits": {
"languages": {
"custom": "",
"selected": [],
"value": [
"common",
"sakvroth"
]
},
"rarity": "unique",
"size": {
"value": "sm"
Expand Down
13 changes: 6 additions & 7 deletions packs/abomination-vaults-bestiary/bright-walker.json
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,12 @@
},
"details": {
"blurb": "",
"languages": {
"details": "",
"value": [
"caligni"
]
},
"level": {
"value": 9
},
Expand Down Expand Up @@ -625,13 +631,6 @@
}
},
"traits": {
"languages": {
"custom": "",
"selected": [],
"value": [
"caligni"
]
},
"rarity": "rare",
"size": {
"value": "med"
Expand Down
15 changes: 7 additions & 8 deletions packs/abomination-vaults-bestiary/caliddo-haruvex.json
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,13 @@
},
"details": {
"blurb": "Male graveknight",
"languages": {
"details": "",
"value": [
"common",
"necril"
]
},
"level": {
"value": 10
},
Expand Down Expand Up @@ -1085,14 +1092,6 @@
}
},
"traits": {
"languages": {
"custom": "",
"selected": [],
"value": [
"common",
"necril"
]
},
"rarity": "common",
"size": {
"value": "med"
Expand Down
Loading

0 comments on commit f857316

Please sign in to comment.