diff --git a/src/module/system/action-macros/piloting/stop.ts b/src/module/system/action-macros/piloting/stop.ts new file mode 100644 index 00000000000..dc033f144e3 --- /dev/null +++ b/src/module/system/action-macros/piloting/stop.ts @@ -0,0 +1,14 @@ +import { SimpleAction } from "@actor/actions/index.ts"; + +const PREFIX = "SF2E.Actions.Stop"; + +const stop = new SimpleAction({ + cost: 1, + description: `${PREFIX}.Description`, + name: `${PREFIX}.Title`, + section: "skill", + slug: "stop", + traits: ["manipulate"], +}); + +export { stop }; diff --git a/src/scripts/hooks/init.ts b/src/scripts/hooks/init.ts index 11725c482bb..179c89005ea 100644 --- a/src/scripts/hooks/init.ts +++ b/src/scripts/hooks/init.ts @@ -25,6 +25,7 @@ import { navigate } from "@system/action-macros/piloting/navigate.ts"; import { plotCourse } from "@system/action-macros/piloting/plot-course.ts"; import { program } from "@system/action-macros/computers/program.ts"; import { runOver } from "@system/action-macros/piloting/run-over.ts"; +import { stop } from "@system/action-macros/piloting/stop.ts"; export const Init = { listen: (): void => { @@ -176,7 +177,7 @@ export const Init = { game.pf2e.StatusEffects.initialize(); if (game.modules.get("starfinder-field-test-for-pf2e")?.active) { - [accessInfosphere, drive, hack, navigate, plotCourse, program, runOver].forEach((action) => + [accessInfosphere, drive, hack, navigate, plotCourse, program, runOver, stop].forEach((action) => game.pf2e.actions.set(action.slug, action), ); } diff --git a/static/lang/action-en.json b/static/lang/action-en.json index b058603ddf1..c09c56b357d 100644 --- a/static/lang/action-en.json +++ b/static/lang/action-en.json @@ -1116,6 +1116,10 @@ "failure": "Failure The vehicle moves its Speed in a straight line along its most recent heading, drifting up to 45 degrees at the GM's discretion, and becomes uncontrolled." }, "Title": "Run Over" + }, + "Stop": { + "Description": "

You bring the vehicle to a stop.

", + "Title": "Stop" } } }