diff --git a/.env.template b/.env.template
deleted file mode 100644
index 180dbd6..0000000
--- a/.env.template
+++ /dev/null
@@ -1,2 +0,0 @@
-# The absolute path to the Foundry installation to create symlinks to
-FOUNDRY_ROOT=""
diff --git a/.github/workflows/draft-release.yaml b/.github/workflows/draft-release.yaml
index eecafc4..7763240 100644
--- a/.github/workflows/draft-release.yaml
+++ b/.github/workflows/draft-release.yaml
@@ -29,22 +29,20 @@ jobs:
if: ${{ steps.check-tag.outputs.exists == 'true' }}
run: exit 1
- - name: "Building compendia"
- run: "npm run data:build"
+ - name: Ensure there are specific files to release
+ if: ${{ vars.files_to_release == '' }}
+ run: exit 1
- - name: "Removing compendium source"
- run: "rm -rf packs/**/_source"
+ - name: Move system.json to a temp file
+ id: manifest-move
+ run: mv system.json module.temp.json
- - name: Update the manifest with the relevant properties
+ - name: Update the download property in the manifest
id: manifest-update
- uses: microsoft/variable-substitution@v1
- with:
- files: "system.json"
- env:
- download: "https://github.com/${{ github.repository }}/releases/download/v${{ steps.version.outputs.version }}/release.zip"
+ run: cat module.temp.json | jq -r --tab '.download = "https://github.com/${{ github.repository }}/releases/download/v${{ steps.version.outputs.version }}/release.zip"' > system.json
- name: Create the zip
- run: zip -r release.zip system.json packs module langs assets templates README.md
+ run: zip -r release.zip ${{ vars.files_to_release }}
- name: Create the draft release
uses: ncipollo/release-action@v1
@@ -52,6 +50,5 @@ jobs:
tag: "v${{ steps.version.outputs.version }}"
commit: ${{ github.ref }}
draft: true
- body:
generateReleaseNotes: true
artifacts: "release.zip,system.json"
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index e058206..23d5f03 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,5 @@
dist/
*.link
-*.txt
-/foundry
# Dependency directories
node_modules/
@@ -13,10 +11,3 @@ jspm_packages/
.env.test.local
.env.production.local
.env.local
-
-# Ignore all of the binaries and stuff that gets built for Foundry from the raw
-# JSON data because it's annoying seeing it in my git changes when it isn't actually
-# needed.
-/packs/**/*
-!/packs/**/*/
-!/packs/**/*.json
diff --git a/.vscode/foundry.html-data.json b/.vscode/foundry.html-data.json
deleted file mode 100644
index 3358d2b..0000000
--- a/.vscode/foundry.html-data.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "version": 1.1,
- "globalAttributes": [
- { "name": "data-tooltip", "description": "The content for the tooltip to display" },
- { "name": "data-tooltip-direction", "description": "The direction that the tooltip renders in, in relation to the element that has the tooltip", "valueSet": "tooltip-direction" }
- ],
- "valueSets": [
- {
- "name": "tooltip-direction",
- "values": [
- { "name": "UP", "description": "Put the tooltip above the element" },
- { "name": "LEFT", "description": "Put the tooltip to the left of the element" },
- { "name": "RIGHT", "description": "Put the tooltip to the right of element" },
- { "name": "DOWN", "description": "Put the tooltip below the element" }
- ]
- }
- ]
-}
\ No newline at end of file
diff --git a/.vscode/ripcrypt.html-data.json b/.vscode/ripcrypt.html-data.json
deleted file mode 100644
index 3efb728..0000000
--- a/.vscode/ripcrypt.html-data.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "version": 1.1,
- "tags": [
- {
- "name": "rc-icon",
- "description": "Loads an icon asynchronously, caching the result for future uses",
- "attributes": [
- { "name": "name", "description": "The name of the icon, this is relative to the assets folder of the system" },
- { "name": "path", "description": "The full path of the icon, this will only be used if `name` isn't provided or fails to fetch." },
- { "name": "var:size", "description": "The size of the icon, must be a valid CSS unit" },
- { "name": "var:fill", "description": "The fill of the icon, must be a valid CSS colour" },
- { "name": "var:stroke", "description": "The stroke colour of the icon, must be a valid CSS colour" },
- { "name": "var:stroke-width", "description": "The stroke width of the icon, must be a valid CSS unit" },
- { "name": "var:stroke-linejoin", "description": "The stroke linejoin of the icon, must be a valid CSS value" }
- ]
- },
- {
- "name": "rc-svg",
- "description": "Loads an icon asynchronously, caching the result for future uses",
- "attributes": [
- { "name": "name", "description": "The name of the icon, this is relative to the assets folder of the system" },
- { "name": "path", "description": "The full path of the icon, this will only be used if `name` isn't provided or fails to fetch." },
- { "name": "var:size", "description": "The size of the icon, must be a valid CSS unit" },
- { "name": "var:fill", "description": "The fill of the icon, must be a valid CSS colour" },
- { "name": "var:stroke", "description": "The stroke colour of the icon, must be a valid CSS colour" },
- { "name": "var:stroke-width", "description": "The stroke width of the icon, must be a valid CSS unit" },
- { "name": "var:stroke-linejoin", "description": "The stroke linejoin of the icon, must be a valid CSS value" }
- ]
- },
- {
- "name": "rc-border",
- "description": "Creates a stylized border in the same sort of design that the published RipCrypt book uses",
- "attributes": [
- { "name": "var:vertical-displacement", "description": "How much vertical displacement the title receives, defaults to 12.5px" },
- { "name": "var:padding", "description": "How much padding the border container has" },
- { "name": "var:border-color", "description": "The CSS value that is used as the colour of the border" },
- { "name": "var:padding-top", "description": "How much padding the top of the border element has, if not provided, defaults to the value of vertical displacement plus 4px" },
- { "name": "var:margin-top", "description": "How much margin the top of the border element has, if not provided, defaults to the value of vertical displacement" },
- { "name": "var:border-mask", "description": "The CSS colour used to mask out the border element, if not provided defaults to the --base-background CSS variable"},
- { "name": "var:title-height", "description": "The CSS height for the title, defaults to 20px" },
- { "name": "var:title-background", "description": "The CSS colour to make the title element, defaults to var:border-color" }
- ]
- }
- ]
-}
\ No newline at end of file
diff --git a/.vscode/settings.json b/.vscode/settings.json
index c60389c..a72c23c 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,17 +1,8 @@
{
"files.exclude": {
- "**/node_modules": true,
- "foundry": true
+ "**/node_modules": true
},
"search.exclude": {
- "foundry": true
- },
- "html.customData": [
- "./.vscode/foundry.html-data.json",
- "./.vscode/ripcrypt.html-data.json"
- ],
- "workbench.editorAssociations": {
- "*.svg": "default",
- },
- "git.branchProtection": []
+ "foundry.*.link": true
+ }
}
\ No newline at end of file
diff --git a/README.md b/README.md
index 6df788c..71abbda 100644
--- a/README.md
+++ b/README.md
@@ -1,21 +1,2 @@
-# RipCrypt - A Dungeon Sprint RPG
-RipCrypt is a fast, pick-up and play, tabletop RPG for 1-8 players.
-
-# Features:
-
-## Themes
-The RipCrypt system comes with a dark and light theme for **everything** within the system!
-All you need to do is select whichever theme you like more!
-
-## Hero Sheets
-This system comes with multiple different Actor sheets for players
-to make your experience, _yours_.
-
-Some of the sheets included by default are:
-- Summary Card
-- Skill Card
-- Craft Card
-- Full Sheet (Includes Summary Card & Skill Card)
-- Tabbed Full Sheet (Includes Summary Card, Skill Card, and Craft Card as tabs within a single sheet)
-
-## Geist Sheets
+# Foundry-RipCrypt
+An implementation of the RipCrypt TTRPG System for FoundryVTT
diff --git a/assets/_credit.txt b/assets/_credit.txt
index 83c76aa..19babdc 100644
--- a/assets/_credit.txt
+++ b/assets/_credit.txt
@@ -1,34 +1,2 @@
-Eldritch-Oliver:
- - geist-silhouette.v2.svg : All rights reserved.
- - caster-silhouette.v1.svg : All rights reserved.
- - icons/star-empty.svg : Modified from https://thenounproject.com/icon/star-7711815/ by Llisole
- - icons/star.svg : Modified from https://thenounproject.com/icon/star-7711815/ by Llisole
- - icons/shield/checked.v1.svg : Modified from https://thenounproject.com/icon/shield-5565751/ by Corner Pixel
- - icons/shield/crossed.v1.svg : Modified from https://thenounproject.com/icon/shield-5565751/ by Corner Pixel
- - icons/shield/solid.v1.svg : Modified from https://thenounproject.com/icon/shield-5565751/ by Corner Pixel
-
-Kýnan Antos (Gritsilk Games):
- - hero-silhouette.svg : Licensed to Distribute and Modify within the bounds of the "Foundry-RipCrypt" system.
-
-ARISO:
- - icons/hourglass.svg (https://thenounproject.com/icon/hourglass-7546736/) : Rights Purchased
-
-Abdulloh Fauzan:
- - icons/info-circle.svg (https://thenounproject.com/icon/information-4176576/) : Rights Purchased
-
-hanifmuhammad:
- - icons/plus.svg (https://thenounproject.com/icon/plus-7363257/) : Rights Purchased
-
-QOLBIN SALIIM:
- - icons/arrow-left.svg (https://thenounproject.com/icon/arrow-1933583/) : Rights Purchased
- - icons/arrow-right.svg (https://thenounproject.com/icon/arrow-1933581/) : Rights Purchased
- - icons/arrow-compass.svg (https://thenounproject.com/icon/arrow-2052607/) : Rights Purchased
-
Soetarman Atmodjo:
- - icons/roll.svg (https://thenounproject.com/icon/dice-5195278/) : Rights Purchased
-
-SuperNdre:
- - icons/edit.svg (https://thenounproject.com/icon/edit-5208207/) : Rights Purchased
-
-YANDI RS:
- - icons/d8-outline.svg (https://thenounproject.com/icon/d8-7272826/) : Rights Purchased
+ - icons/roll.svg : Rights Purchased.
diff --git a/assets/caster-silhouette.v1.svg b/assets/caster-silhouette.v1.svg
deleted file mode 100644
index 9b53fcc..0000000
--- a/assets/caster-silhouette.v1.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/assets/geist-silhouette.v2.svg b/assets/geist-silhouette.v2.svg
deleted file mode 100644
index deb4cda..0000000
--- a/assets/geist-silhouette.v2.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/assets/hero-silhouette.svg b/assets/hero-silhouette.svg
deleted file mode 100644
index 12e2bb5..0000000
--- a/assets/hero-silhouette.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
\ No newline at end of file
diff --git a/assets/icons/arrow-compass.svg b/assets/icons/arrow-compass.svg
deleted file mode 100644
index b1e8a40..0000000
--- a/assets/icons/arrow-compass.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
diff --git a/assets/icons/arrow-left.svg b/assets/icons/arrow-left.svg
deleted file mode 100644
index e1a347e..0000000
--- a/assets/icons/arrow-left.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
diff --git a/assets/icons/arrow-right.svg b/assets/icons/arrow-right.svg
deleted file mode 100644
index a477835..0000000
--- a/assets/icons/arrow-right.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
diff --git a/assets/icons/d8-outline.svg b/assets/icons/d8-outline.svg
deleted file mode 100644
index 0346f4c..0000000
--- a/assets/icons/d8-outline.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
diff --git a/assets/icons/edit.svg b/assets/icons/edit.svg
deleted file mode 100644
index acae8d6..0000000
--- a/assets/icons/edit.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-
diff --git a/assets/icons/evil.svg b/assets/icons/evil.svg
deleted file mode 100644
index 5d9fb11..0000000
--- a/assets/icons/evil.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
diff --git a/assets/icons/hero.svg b/assets/icons/hero.svg
deleted file mode 100644
index 55de62b..0000000
--- a/assets/icons/hero.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
diff --git a/assets/icons/hourglass.svg b/assets/icons/hourglass.svg
deleted file mode 100644
index 64ae5cf..0000000
--- a/assets/icons/hourglass.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
diff --git a/assets/icons/info-circle.svg b/assets/icons/info-circle.svg
deleted file mode 100644
index 6e14569..0000000
--- a/assets/icons/info-circle.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
diff --git a/assets/icons/plus.svg b/assets/icons/plus.svg
deleted file mode 100644
index 5e8c131..0000000
--- a/assets/icons/plus.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
diff --git a/assets/icons/roll.svg b/assets/icons/roll.svg
index 51fb7ed..4d2a61b 100644
--- a/assets/icons/roll.svg
+++ b/assets/icons/roll.svg
@@ -1,4 +1,4 @@
-