-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #882 from Muttley/release/3.1.0
Release/3.1.0
- Loading branch information
Showing
437 changed files
with
7,833 additions
and
1,700 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Macro to generate a random SoloDark Dungeon Name, only shown to the GM(s). | ||
|
||
const pack = game.packs.get("shadowdark.rollable-tables"); | ||
|
||
const tableNames = [ | ||
"Dungeon Names: Name 1", | ||
"Dungeon Names: Name 2", | ||
"Dungeon Names: Name 3", | ||
]; | ||
|
||
const selected = []; | ||
|
||
for (const name of tableNames) { | ||
const tableId = pack.index.find(o => o.name === name)._id; | ||
const table = await pack.getDocument(tableId); | ||
const result = await table.draw({displayChat: false}); | ||
selected.push(result.results.pop().getChatText()); | ||
} | ||
|
||
const message = `<h3>${selected.join(" ")}</h3>`; | ||
|
||
const chatData = { | ||
user: game.user._id, | ||
speaker: ChatMessage.getSpeaker(), | ||
content: message, | ||
whisper: game.users.filter(u => u.isGM).map(u => u._id), | ||
}; | ||
|
||
ChatMessage.create(chatData, {}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** | ||
******************************************* | ||
* This macro opens the SoloDark Oracle | ||
*******************************************/ | ||
|
||
new shadowdark.apps.SoloDarkSD().render(true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
data/packs/deities.db/all_nord_gods__7Ay6ImjgTQAMDc0M.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"_id": "7Ay6ImjgTQAMDc0M", | ||
"_key": "!items!7Ay6ImjgTQAMDc0M", | ||
"effects": [ | ||
], | ||
"folder": null, | ||
"img": "icons/magic/holy/angel-wings-gray.webp", | ||
"name": "All Nord Gods", | ||
"system": { | ||
"alignment": "", | ||
"description": "<p>The faithful worship all of the Old Gods in turn, but many find they align with one in particular. Paying respect to all the gods is not a betrayal; it is honorable.</p><p></p>", | ||
"predefinedEffects": "", | ||
"source": { | ||
"page": 0, | ||
"title": "cursed-scroll-3" | ||
} | ||
}, | ||
"type": "Deity" | ||
} |
11 changes: 11 additions & 0 deletions
11
data/packs/macros.db/solodark__generate_dungeon_name__R7UsZq7PRFHEJYjF.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"_id": "R7UsZq7PRFHEJYjF", | ||
"_key": "!macros!R7UsZq7PRFHEJYjF", | ||
"author": "isEW5T4WRQL5Z90f", | ||
"command": "// Macro to generate a random SoloDark Dungeon Name, only shown to the GM(s).\n\nconst pack = game.packs.get(\"shadowdark.rollable-tables\");\n\nconst tableNames = [\n\t\"Dungeon Names: Name 1\",\n\t\"Dungeon Names: Name 2\",\n\t\"Dungeon Names: Name 3\",\n];\n\nconst selected = [];\n\nfor (const name of tableNames) {\n\tconst tableId = pack.index.find(o => o.name === name)._id;\n\tconst table = await pack.getDocument(tableId);\n\tconst result = await table.draw({displayChat: false});\n\tselected.push(result.results.pop().getChatText());\n}\n\nconst message = `<h3>${selected.join(\" \")}</h3>`;\n\nconst chatData = {\n\tuser: game.user._id,\n\tspeaker: ChatMessage.getSpeaker(),\n\tcontent: message,\n\twhisper: game.users.filter(u => u.isGM).map(u => u._id),\n};\n\nChatMessage.create(chatData, {});", | ||
"folder": null, | ||
"img": "icons/environment/wilderness/tomb-entrance.webp", | ||
"name": "SoloDark: Generate Dungeon Name", | ||
"scope": "global", | ||
"type": "script" | ||
} |
11 changes: 11 additions & 0 deletions
11
data/packs/macros.db/solodark__open_oracle__voMfAOHKkRnozC9J.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"_id": "voMfAOHKkRnozC9J", | ||
"_key": "!macros!voMfAOHKkRnozC9J", | ||
"author": "XOge3YaW9qcUJnuq", | ||
"command": "/************************************\n * This macro opens the SoloDark Oracle\n ************************************/\n\nnew shadowdark.apps.SoloDarkSD().render(true);", | ||
"folder": null, | ||
"img": "icons/environment/people/cleric-orange.webp", | ||
"name": "SoloDark: Open Oracle", | ||
"scope": "global", | ||
"type": "script" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.