Skip to content

Commit

Permalink
add computers and piloting actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mmechtley committed Aug 19, 2024
1 parent d207ec8 commit 1b1d822
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 11 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# FoundryVTT PF2e HUD

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/K3K6M2V13)
or [Stripe](https://buy.stripe.com/cN23dy0hd0gW5nq3cc) directly
# FoundryVTT SF2e HUD
Fork of [PF2e HUD](https://github.com/reonZ/pf2e-hud)

![](./images/home.webp)

Expand Down
20 changes: 14 additions & 6 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"title": "PF2e HUD",
"description": "",
"authors": [
{
"name": "Mira"
},
{
"name": "Idle",
"discord": "idleatre"
Expand All @@ -17,12 +20,12 @@
"maximum": "12"
},
"version": "1.7.1",
"url": "https://github.com/reonZ/pf2e-hud",
"readme": "https://github.com/reonZ/pf2e-hud/blob/master/README.md",
"manifest": "https://raw.githubusercontent.com/reonZ/pf2e-hud/master/module.json",
"download": "https://github.com/reonZ/pf2e-hud/releases/download/1.7.1/module.zip",
"changelog": "https://github.com/reonZ/pf2e-hud/blob/master/CHANGELOG.md",
"bugs": "https://github.com/reonZ/pf2e-hud/issues",
"url": "https://github.com/mmechtley/sf2e-hud",
"readme": "https://github.com/mmechtley/sf2e-hud/blob/master/README.md",
"manifest": "https://raw.githubusercontent.com/mmechtley/sf2e-hud/master/module.json",
"download": "https://github.com/mmechtley/sf2e-hud/releases/download/1.7.1/module.zip",
"changelog": "https://github.com/mmechtley/sf2e-hud/blob/master/CHANGELOG.md",
"bugs": "https://github.com/mmechtley/sf2e-hud/issues",
"styles": [
"styles/pf2e-hud.css"
],
Expand All @@ -42,6 +45,11 @@
"id": "lib-wrapper",
"type": "module",
"manifest": "https://raw.githubusercontent.com/ruipin/fvtt-lib-wrapper/master/module.json"
},
{
"id": "starfinder-field-test",
"type": "module",
"manifest": "https://raw.githubusercontent.com/TikaelSol/starfinder-field-test/main/module.json"
}
]
},
Expand Down
2 changes: 2 additions & 0 deletions src/actions/recall-knowledge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ import { DegreeOfSuccess, R, render, signedInteger, templateLocalize } from "fou

const SKILLS = [
"arcana",
"computers",
"crafting",
"medicine",
"nature",
"occultism",
"piloting",
"religion",
"society",
] as const;
Expand Down
75 changes: 74 additions & 1 deletion src/hud/sidebar/skills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,33 @@ const SKILLS: RawSkill[] = [
},
],
},
{
slug: "computers",
actions: [
{
actionId: "access-infosphere",
uuid: "Compendium.starfinder-field-test-for-pf2e.actions.Item.Yn4jLPVWVE1vtAaF"
},
"decipher-writing",
{
actionId: "disable-device",
cost: 2,
trained: true,
uuid: "Compendium.pf2e.actionspf2e.Item.cYdz2grcOcRt4jk6",
},
{
actionId: "hack",
trained: true,
uuid: "Compendium.starfinder-field-test-for-pf2e.actions.Item.RF8xNJ8QsMwogerB"
},
{
actionId: "program",
trained: true,
uuid: "Compendium.starfinder-field-test-for-pf2e.actions.Item.9zvazWNY5tKbMFnC"
},
"recall-knowledge"
]
},
{
slug: "deception",
actions: [
Expand Down Expand Up @@ -339,6 +366,52 @@ const SKILLS: RawSkill[] = [
"earnIncome",
],
},
{
slug: "piloting",
actions: [
{
actionId: "drive",
cost: 1,
trained: true,
uuid: "Compendium.starfinder-field-test-for-pf2e.actions.Item.OxF2dvUCdTYHrnIm"
},
{
actionId: "navigate",
trained: true,
uuid: "Compendium.starfinder-field-test-for-pf2e.actions.Item.hsUKPqTdAvWwsqH2"
},
{
actionId: "plot-course",
trained: true,
uuid: "Compendium.starfinder-field-test-for-pf2e.actions.Item.LXqcXRayK58inaKo"
},
"recall-knowledge",
{
actionId: "run-over",
cost: 1,
trained: true,
uuid: "Compendium.starfinder-field-test-for-pf2e.actions.Item.FisNbAu9pdMnz6vF"
},
{
actionId: "stop",
cost: 1,
trained: true,
uuid: "Compendium.starfinder-field-test-for-pf2e.actions.Item.3oL5ap2Qb00Saaz9"
},
{
actionId: "stunt",
cost: 1,
trained: true,
uuid: "Compendium.starfinder-field-test-for-pf2e.actions.Item.ailFBRjKuGCOAsCR"
},
{
actionId: "take-control",
cost: 1,
trained: true,
uuid: "Compendium.starfinder-field-test-for-pf2e.actions.Item.9Msf0P33UR5mNRuz"
},
]
},
{
slug: "religion",
actions: ["recall-knowledge", "decipher-writing", "identify-magic", "learn-a-spell"],
Expand Down Expand Up @@ -924,7 +997,7 @@ type RawSkillAction = {
};

type RawSkill = {
slug: SkillSlug | "perception";
slug: SkillSlug | "perception" | "piloting" | "computers";
actions: (SharedAction | RawSkillAction)[];
};

Expand Down

0 comments on commit 1b1d822

Please sign in to comment.