Skip to content

Commit

Permalink
Move creature alignments to traits, replace deity alignment with sanc…
Browse files Browse the repository at this point in the history
…tification (foundryvtt#11215)
  • Loading branch information
stwlam committed Nov 11, 2023
1 parent 7982589 commit 44d6a29
Show file tree
Hide file tree
Showing 4,635 changed files with 10,708 additions and 18,307 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 2 additions & 4 deletions build/run-migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { getFilesRecursively } from "./lib/helpers.ts";
import { MigrationBase } from "@module/migration/base.ts";
import { MigrationRunnerBase } from "@module/migration/runner/base.ts";

import { Migration862SpecificMagicArmor } from "@module/migration/migrations/862-specific-magic-armor.ts";
import { Migration863FixMisspelledOrganaizationsProperty } from "@module/migration/migrations/863-fix-misspelled-organaizations-property.ts";
import { Migration864RemoveWeaponMAP } from "@module/migration/migrations/864-rm-weapon-map.ts";
import { Migration865VitalityVoid } from "@module/migration/migrations/865-vitality-void.ts";
import { Migration867DamageRollDomainFix } from "@module/migration/migrations/867-damage-roll-domain-fix.ts";
Expand All @@ -26,6 +24,7 @@ import { Migration877PublicationData } from "@module/migration/migrations/877-pu
import { Migration878TakeABreather } from "@module/migration/migrations/878-take-a-breather.ts";
import { Migration879DeviseAStratagemAndFriends } from "@module/migration/migrations/879-devise-a-stratagem-and-friends.ts";
import { Migration882SpellDataReorganization } from "@module/migration/migrations/882-spell-data-reorganization.ts";
import { Migration883BanishAlignment } from "@module/migration/migrations/883-banish-alignment.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 @@ -35,8 +34,6 @@ globalThis.HTMLParagraphElement = window.HTMLParagraphElement;
globalThis.Text = window.Text;

const migrations: MigrationBase[] = [
new Migration862SpecificMagicArmor(),
new Migration863FixMisspelledOrganaizationsProperty(),
new Migration864RemoveWeaponMAP(),
new Migration865VitalityVoid(),
new Migration867DamageRollDomainFix(),
Expand All @@ -51,6 +48,7 @@ const migrations: MigrationBase[] = [
new Migration878TakeABreather(),
new Migration879DeviseAStratagemAndFriends(),
new Migration882SpellDataReorganization(),
new Migration883BanishAlignment(),
];

global.deepClone = <T>(original: T): T => {
Expand Down
7 changes: 3 additions & 4 deletions packs/abomination-vaults-bestiary/afflicted-irnakurse.json
Original file line number Diff line number Diff line change
Expand Up @@ -556,9 +556,6 @@
}
},
"details": {
"alignment": {
"value": "CE"
},
"blurb": "",
"level": {
"value": 8
Expand Down Expand Up @@ -607,7 +604,9 @@
"value": "lg"
},
"value": [
"aberration"
"aberration",
"chaotic",
"evil"
]
}
},
Expand Down
8 changes: 4 additions & 4 deletions packs/abomination-vaults-bestiary/aller-rosk.json
Original file line number Diff line number Diff line change
Expand Up @@ -552,9 +552,6 @@
}
},
"details": {
"alignment": {
"value": "CE"
},
"blurb": "Male ghoul tattoo artist",
"level": {
"value": 5
Expand Down Expand Up @@ -601,8 +598,11 @@
"value": "med"
},
"value": [
"chaotic",
"evil",
"ghoul",
"undead"
"undead",
"unholy"
]
}
},
Expand Down
4 changes: 1 addition & 3 deletions packs/abomination-vaults-bestiary/augrael.json
Original file line number Diff line number Diff line change
Expand Up @@ -701,9 +701,6 @@
}
},
"details": {
"alignment": {
"value": "CN"
},
"blurb": "Male morlock ghoul exile",
"level": {
"value": 3
Expand Down Expand Up @@ -750,6 +747,7 @@
"value": "med"
},
"value": [
"chaotic",
"ghoul",
"undead"
]
Expand Down
11 changes: 6 additions & 5 deletions packs/abomination-vaults-bestiary/azvalvigander.json
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,8 @@
"value": [
"evil",
"finesse",
"magical"
"magical",
"unholy"
]
},
"weaponType": {
Expand Down Expand Up @@ -1238,9 +1239,6 @@
]
},
"details": {
"alignment": {
"value": "LE"
},
"blurb": "Female zebub quartermaster",
"level": {
"value": 3
Expand Down Expand Up @@ -1300,7 +1298,10 @@
},
"value": [
"devil",
"fiend"
"evil",
"fiend",
"lawful",
"unholy"
]
}
},
Expand Down
17 changes: 10 additions & 7 deletions packs/abomination-vaults-bestiary/barcumbuk.json
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,8 @@
"evil",
"fire",
"magical",
"shove"
"shove",
"unholy"
]
},
"weaponType": {
Expand Down Expand Up @@ -1377,7 +1378,8 @@
"evil",
"fire",
"magical",
"thrown-20"
"thrown-20",
"unholy"
]
},
"weaponType": {
Expand Down Expand Up @@ -1419,7 +1421,8 @@
"rarity": "common",
"value": [
"magical",
"range-increment-30"
"range-increment-30",
"unholy"
]
},
"weaponType": {
Expand Down Expand Up @@ -2051,9 +2054,6 @@
]
},
"details": {
"alignment": {
"value": "LE"
},
"blurb": "Male erinys",
"level": {
"value": 8
Expand Down Expand Up @@ -2111,7 +2111,10 @@
},
"value": [
"devil",
"fiend"
"evil",
"fiend",
"lawful",
"unholy"
]
}
},
Expand Down
8 changes: 4 additions & 4 deletions packs/abomination-vaults-bestiary/belcorra-haruvex.json
Original file line number Diff line number Diff line change
Expand Up @@ -3663,9 +3663,6 @@
}
},
"details": {
"alignment": {
"value": "CE"
},
"blurb": "Female ghost sorcerer",
"level": {
"value": 12
Expand Down Expand Up @@ -3721,10 +3718,13 @@
"value": "med"
},
"value": [
"chaotic",
"evil",
"ghost",
"incorporeal",
"spirit",
"undead"
"undead",
"unholy"
]
}
},
Expand Down
7 changes: 3 additions & 4 deletions packs/abomination-vaults-bestiary/beluthus.json
Original file line number Diff line number Diff line change
Expand Up @@ -1429,9 +1429,6 @@
}
},
"details": {
"alignment": {
"value": "NE"
},
"blurb": "Male devourer (Pathfinder Bestiary 2 78)",
"level": {
"value": 11
Expand Down Expand Up @@ -1492,7 +1489,9 @@
"value": "sm"
},
"value": [
"undead"
"evil",
"undead",
"unholy"
]
}
},
Expand Down
7 changes: 3 additions & 4 deletions packs/abomination-vaults-bestiary/bloodsiphon.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,6 @@
]
},
"details": {
"alignment": {
"value": "NE"
},
"blurb": "",
"level": {
"value": 4
Expand Down Expand Up @@ -462,7 +459,9 @@
},
"value": [
"amphibious",
"undead"
"evil",
"undead",
"unholy"
]
}
},
Expand Down
7 changes: 3 additions & 4 deletions packs/abomination-vaults-bestiary/bone-gladiator.json
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,6 @@
}
},
"details": {
"alignment": {
"value": "NE"
},
"blurb": "Variant skeletal hulk",
"level": {
"value": 7
Expand Down Expand Up @@ -352,9 +349,11 @@
"value": "huge"
},
"value": [
"evil",
"mindless",
"skeleton",
"undead"
"undead",
"unholy"
]
}
},
Expand Down
7 changes: 3 additions & 4 deletions packs/abomination-vaults-bestiary/boss-skrawng.json
Original file line number Diff line number Diff line change
Expand Up @@ -1420,9 +1420,6 @@
]
},
"details": {
"alignment": {
"value": "LE"
},
"blurb": "Male mitflit gang boss",
"level": {
"value": 1
Expand Down Expand Up @@ -1472,8 +1469,10 @@
"value": "sm"
},
"value": [
"evil",
"fey",
"gremlin"
"gremlin",
"lawful"
]
}
},
Expand Down
7 changes: 3 additions & 4 deletions packs/abomination-vaults-bestiary/bright-walker.json
Original file line number Diff line number Diff line change
Expand Up @@ -663,9 +663,6 @@
}
},
"details": {
"alignment": {
"value": "NE"
},
"blurb": "",
"level": {
"value": 9
Expand Down Expand Up @@ -709,9 +706,11 @@
"value": "med"
},
"value": [
"evil",
"incorporeal",
"spirit",
"undead"
"undead",
"unholy"
]
}
},
Expand Down
8 changes: 4 additions & 4 deletions packs/abomination-vaults-bestiary/caliddo-haruvex.json
Original file line number Diff line number Diff line change
Expand Up @@ -1215,9 +1215,6 @@
}
},
"details": {
"alignment": {
"value": "LE"
},
"blurb": "Male graveknight",
"level": {
"value": 10
Expand Down Expand Up @@ -1262,7 +1259,10 @@
"value": "med"
},
"value": [
"undead"
"evil",
"lawful",
"undead",
"unholy"
]
}
},
Expand Down
4 changes: 1 addition & 3 deletions packs/abomination-vaults-bestiary/caligni-defender.json
Original file line number Diff line number Diff line change
Expand Up @@ -1313,9 +1313,6 @@
}
},
"details": {
"alignment": {
"value": "CN"
},
"blurb": "",
"level": {
"value": 8
Expand Down Expand Up @@ -1366,6 +1363,7 @@
},
"value": [
"caligni",
"chaotic",
"humanoid"
]
}
Expand Down
8 changes: 4 additions & 4 deletions packs/abomination-vaults-bestiary/canker-cultist.json
Original file line number Diff line number Diff line change
Expand Up @@ -1691,9 +1691,6 @@
}
},
"details": {
"alignment": {
"value": "CE"
},
"blurb": "Ghoul zealot",
"level": {
"value": 3
Expand Down Expand Up @@ -1745,8 +1742,11 @@
"value": "med"
},
"value": [
"chaotic",
"evil",
"ghoul",
"undead"
"undead",
"unholy"
]
}
},
Expand Down
4 changes: 1 addition & 3 deletions packs/abomination-vaults-bestiary/carman-rajani.json
Original file line number Diff line number Diff line change
Expand Up @@ -1058,9 +1058,6 @@
}
},
"details": {
"alignment": {
"value": "NE"
},
"blurb": "Male human scoundrel",
"level": {
"value": 6
Expand Down Expand Up @@ -1104,6 +1101,7 @@
"value": "med"
},
"value": [
"evil",
"human",
"humanoid"
]
Expand Down
Loading

0 comments on commit 44d6a29

Please sign in to comment.