Skip to content

Commit

Permalink
Convert certain item skills to longform and background lores to a list (
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFdez committed May 30, 2024
1 parent b5d11bc commit e3d3b58
Show file tree
Hide file tree
Showing 590 changed files with 2,251 additions and 1,148 deletions.
2 changes: 2 additions & 0 deletions build/run-migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import { Migration923KineticistRestructure } from "@module/migration/migrations/
import { Migration924JiuHuanDoa } from "@module/migration/migrations/924-jiu-huan-dao.ts";
import { Migration925TouchOfCorruption } from "@module/migration/migrations/925-touch-of-corruption.ts";
import { Migration926RemoveVisionFeatureLinks } from "@module/migration/migrations/926-remove-vision-feature-links.ts";
import { Migration927ClassBackgroundBattleFormSkillLongform } from "@module/migration/migrations/927-class-background-skill-longform.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 @@ -54,6 +55,7 @@ const migrations: MigrationBase[] = [
new Migration924JiuHuanDoa(),
new Migration925TouchOfCorruption(),
new Migration926RemoveVisionFeatureLinks(),
new Migration927ClassBackgroundBattleFormSkillLongform(),
];

const packsDataPath = path.resolve(process.cwd(), "packs");
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/abadars-avenger.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
"title": "Pathfinder: Fists of the Ruby Phoenix Player's Guide"
},
"rules": [],
"trainedLore": "Goka",
"trainedSkills": {
"lore": [
"Goka"
],
"value": [
"rel"
"religion"
]
},
"traits": {
Expand Down
2 changes: 1 addition & 1 deletion packs/backgrounds/able-carter.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
"uuid": "Compendium.pf2e.feats-srd.Item.Hobnobber"
}
],
"trainedLore": "",
"trainedSkills": {
"lore": [],
"value": []
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/academy-dropout.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@
"title": "Pathfinder Secrets of Magic"
},
"rules": [],
"trainedLore": "Academia Lore",
"trainedSkills": {
"custom": "",
"lore": [
"Academia Lore"
],
"value": [
"arc"
"arcana"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/acolyte.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
"title": "Pathfinder Player Core"
},
"rules": [],
"trainedLore": "Scribing",
"trainedSkills": {
"lore": [
"Scribing"
],
"value": [
"rel"
"religion"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/acrobat.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
"title": "Pathfinder Player Core"
},
"rules": [],
"trainedLore": "Circus",
"trainedSkills": {
"lore": [
"Circus"
],
"value": [
"acr"
"acrobatics"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/aerialist.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
"title": "Pathfinder: Extinction Curse Player's Guide"
},
"rules": [],
"trainedLore": "Rope Lore",
"trainedSkills": {
"lore": [
"Rope Lore"
],
"value": [
"acr"
"acrobatics"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/aiudara-seeker.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
"title": "Pathfinder #150: Broken Promises"
},
"rules": [],
"trainedLore": "Portal Lore",
"trainedSkills": {
"lore": [
"Portal Lore"
],
"value": [
"arc"
"arcana"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/alkenstar-outlaw.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@
"title": "Pathfinder Guns & Gears"
},
"rules": [],
"trainedLore": "Underworld",
"trainedSkills": {
"custom": "",
"lore": [
"Underworld"
],
"value": [
"thi"
"thievery"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/alkenstar-sojourner.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@
"title": "Pathfinder Guns & Gears"
},
"rules": [],
"trainedLore": "Engineering",
"trainedSkills": {
"custom": "",
"lore": [
"Engineering"
],
"value": [
"soc"
"society"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/alkenstar-tinker.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
"title": "Pathfinder Lost Omens: World Guide"
},
"rules": [],
"trainedLore": "Engineering Lore",
"trainedSkills": {
"lore": [
"Engineering Lore"
],
"value": [
"cra"
"crafting"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/alloysmith.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,13 @@
"uuid": "Compendium.pf2e.feats-srd.Item.Specialty Crafting"
}
],
"trainedLore": "Plane of Metal Lore",
"trainedSkills": {
"custom": "",
"lore": [
"Plane of Metal Lore"
],
"value": [
"cra"
"crafting"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/almas-clerk.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@
"title": "Pathfinder Blog: Pathfinder Society Year 4 Rule Updates"
},
"rules": [],
"trainedLore": "Legal Lore",
"trainedSkills": {
"custom": "",
"lore": [
"Legal Lore"
],
"value": [
"soc"
"society"
]
},
"traits": {
Expand Down
4 changes: 3 additions & 1 deletion packs/backgrounds/amnesiac.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@
"title": "Pathfinder Advanced Player's Guide"
},
"rules": [],
"trainedLore": "GM choice free skill boost",
"trainedSkills": {
"lore": [
"GM choice free skill boost"
],
"value": []
},
"traits": {
Expand Down
4 changes: 2 additions & 2 deletions packs/backgrounds/animal-whisperer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"title": "Pathfinder Player Core"
},
"rules": [],
"trainedLore": "",
"trainedSkills": {
"lore": [],
"value": [
"nat"
"nature"
]
},
"traits": {
Expand Down
4 changes: 3 additions & 1 deletion packs/backgrounds/animal-wrangler.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@
"uuid": "Compendium.pf2e.feats-srd.Item.Train Animal"
}
],
"trainedLore": "<Common Animal> Lore",
"trainedSkills": {
"custom": "",
"lore": [
"<Common Animal> Lore"
],
"value": []
},
"traits": {
Expand Down
4 changes: 3 additions & 1 deletion packs/backgrounds/anti-magical.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@
"title": "Pathfinder Secrets of Magic"
},
"rules": [],
"trainedLore": "<Non-Magical> Lore",
"trainedSkills": {
"lore": [
"<Non-Magical> Lore"
],
"value": []
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/anti-tech-activist.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@
"title": "Pathfinder Guns & Gears"
},
"rules": [],
"trainedLore": "Guild",
"trainedSkills": {
"custom": "",
"lore": [
"Guild"
],
"value": [
"itm"
"intimidation"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/archaeologist.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
"title": "Pathfinder Lost Omens: Pathfinder Society Guide"
},
"rules": [],
"trainedLore": "Architecture Lore",
"trainedSkills": {
"lore": [
"Architecture Lore"
],
"value": [
"soc"
"society"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/artisan.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
"title": "Pathfinder Player Core"
},
"rules": [],
"trainedLore": "Guild Lore",
"trainedSkills": {
"lore": [
"Guild Lore"
],
"value": [
"cra"
"crafting"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/artist.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
"title": "Pathfinder Player Core"
},
"rules": [],
"trainedLore": "Art Lore",
"trainedSkills": {
"lore": [
"Art Lore"
],
"value": [
"cra"
"crafting"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/aspiring-free-captain.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
"title": "Pathfinder Lost Omens: World Guide"
},
"rules": [],
"trainedLore": "Sailing Lore",
"trainedSkills": {
"lore": [
"Sailing Lore"
],
"value": [
"itm"
"intimidation"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/aspiring-river-monarch.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
"title": "Pathfinder Lost Omens: World Guide"
},
"rules": [],
"trainedLore": "Politics Lore",
"trainedSkills": {
"lore": [
"Politics Lore"
],
"value": [
"soc"
"society"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/astrologer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@
"title": "Pathfinder Secrets of Magic"
},
"rules": [],
"trainedLore": "Astrology Lore",
"trainedSkills": {
"custom": "",
"lore": [
"Astrology Lore"
],
"value": [
"occ"
"occultism"
]
},
"traits": {
Expand Down
4 changes: 3 additions & 1 deletion packs/backgrounds/astrological-augur.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@
"title": "Pathfinder Lost Omens: Travel Guide"
},
"rules": [],
"trainedLore": "Astrology Lore",
"trainedSkills": {
"lore": [
"Astrology Lore"
],
"value": []
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/attention-addict.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
"title": "Pathfinder: Fists of the Ruby Phoenix Player's Guide"
},
"rules": [],
"trainedLore": "Gladiatorial",
"trainedSkills": {
"lore": [
"Gladiatorial"
],
"value": [
"prf"
"performance"
]
},
"traits": {
Expand Down
6 changes: 4 additions & 2 deletions packs/backgrounds/atteran-rancher.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
"title": "Pathfinder Lost Omens: World Guide"
},
"rules": [],
"trainedLore": "Animal Lore",
"trainedSkills": {
"lore": [
"Animal Lore"
],
"value": [
"nat"
"nature"
]
},
"traits": {
Expand Down
Loading

0 comments on commit e3d3b58

Please sign in to comment.