Skip to content

Commit

Permalink
Add burrow action object (foundryvtt#12545)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaj-a committed Dec 28, 2023
1 parent d2d0558 commit 3beb3bc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/module/system/action-macros/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ import * as treatPoison from "./medicine/treat-poison.ts";
import * as commandAnAnimal from "./nature/command-an-animal.ts";
import * as perform from "./performance/perform.ts";
import * as createForgery from "./society/create-forgery.ts";
import { burrow } from "./specialty-basic/burrow.ts";
import * as concealAnObject from "./stealth/conceal-an-object.ts";
import * as hide from "./stealth/hide.ts";
import * as sneak from "./stealth/sneak.ts";
Expand Down Expand Up @@ -154,6 +155,7 @@ export const SystemActions: Action[] = [
aid,
avoidNotice.action,
balance.action,
burrow,
climb.action,
coerce.action,
commandAnAnimal.action,
Expand Down
12 changes: 12 additions & 0 deletions src/module/system/action-macros/specialty-basic/burrow.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { SimpleAction } from "@actor/actions/index.ts";

const burrow = new SimpleAction({
cost: 1,
description: "PF2E.Actions.Burrow.Description",
name: "PF2E.Actions.Burrow.Title",
section: "basic",
slug: "burrow",
traits: ["move"],
});

export { burrow };
2 changes: 1 addition & 1 deletion static/lang/action-en.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"Title": "Bon Mot"
},
"Burrow": {
"Description": "<p>You dig your way through dirt, sand, or a similar loose material at a rate up to your burrow Speed. You can't burrow through rock or other substances denser than dirt unless you have an ability that allows you to do so.</p>",
"Description": "<p><strong>Requirements</strong> You have a burrow Speed.</p><hr><p>You dig your way through dirt, sand, or a similar loose material at a rate up to your burrow Speed. You can't burrow through rock or other substances denser than dirt unless you have an ability that allows you to do so.</p>",
"Title": "Burrow"
},
"Climb": {
Expand Down

0 comments on commit 3beb3bc

Please sign in to comment.