From f47e5f85d1c89d7e29a301e608e2f6088ff47559 Mon Sep 17 00:00:00 2001 From: walcutt Date: Mon, 20 Jan 2025 16:23:32 -0500 Subject: [PATCH] Inventor changes --- module/data-models.mjs | 9 +++++++++ module/playbooks.mjs | 8 ++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/module/data-models.mjs b/module/data-models.mjs index 862f173..19c44fe 100644 --- a/module/data-models.mjs +++ b/module/data-models.mjs @@ -114,6 +114,15 @@ export class HenchDataModel extends foundry.abstract.TypeDataModel { // Update prep ability source.moves[4].description = playbook.moves[4].description; break; + case "LABMAN": + // Rename playbook + source.playbook = "INVENTOR"; + + // Change first gear item + source.fixedGear[0].description = playbook.gear[0].description; + + // Update prep ability + source.moves[4].description = playbook.moves[4].description; default: break; } diff --git a/module/playbooks.mjs b/module/playbooks.mjs index cc09b3b..c1bdf81 100644 --- a/module/playbooks.mjs +++ b/module/playbooks.mjs @@ -4,7 +4,7 @@ export const playbookKeys = [ nullPlaybookKey, "SUPERFAN", "BADASS", - "LABMAN", + "INVENTOR", "DEMOTED", "OUTCAST", "USURPER", @@ -295,7 +295,7 @@ const playbooks = { }, ], }, - LABMAN: { + INVENTOR: { details: [ { question: "What was your first invention?", @@ -326,7 +326,7 @@ const playbooks = { gear: [ { marked: false, - description: "Futuristic Weapon", + description: "Remote Tracker", }, { marked: false, @@ -379,7 +379,7 @@ const playbooks = { { marked: false, name: "Logistics", - description: `As a downtime action you may tap your connections to procure something unusual. State what you're trying to find, then draw. Ignore the cue, and instead use the rank: + description: `As a prep action you may tap your connections to procure something unusual. State what you're trying to find, then draw. Ignore the cue, and instead use the rank: