Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1650924bb7 | ||
|
|
74fea240ba | ||
|
|
b5239362f9 | ||
|
|
b938496781 | ||
|
|
0814054daa | ||
|
|
51a7b93066 | ||
|
|
dc8fc1441f | ||
|
|
ad1b00efca | ||
|
|
e97563a947 | ||
|
|
2e23f829ce | ||
|
|
f3bf76f5b9 |
@@ -15,8 +15,9 @@ jobs:
|
||||
- name: Build zips
|
||||
run: |
|
||||
mkdir -p dist
|
||||
zip -r dist/sla-brp.zip sla-brp -x "*.DS_Store"
|
||||
zip -r dist/sla-industries-brp.zip sla-industries-brp -x "*.DS_Store"
|
||||
(cd sla-brp && zip -r ../dist/sla-brp.zip . -x "*.DS_Store")
|
||||
(cd sla-industries-brp && zip -r ../dist/sla-industries-brp.zip . -x "*.DS_Store")
|
||||
(cd sla-industries-compendium && zip -r ../dist/sla-industries-compendium.zip . -x "*.DS_Store")
|
||||
|
||||
- name: Upload to release
|
||||
if: github.event_name == 'release'
|
||||
@@ -25,3 +26,4 @@ jobs:
|
||||
files: |
|
||||
dist/sla-brp.zip
|
||||
dist/sla-industries-brp.zip
|
||||
dist/sla-industries-compendium.zip
|
||||
|
||||
@@ -3,32 +3,57 @@
|
||||
Installable Foundry VTT package repo for:
|
||||
|
||||
- System: `sla-industries-brp`
|
||||
- Module: `sla-industries-compendium` (companion content and artwork)
|
||||
- World: `sla-brp`
|
||||
|
||||
## Install URLs
|
||||
|
||||
- System manifest:
|
||||
`https://raw.githubusercontent.com/slaguru666/sla_industries_brp/main/sla-industries-brp/system.json`
|
||||
- Module manifest:
|
||||
`https://raw.githubusercontent.com/slaguru666/sla_industries_brp/main/sla-industries-compendium/module.json`
|
||||
- World manifest:
|
||||
`https://raw.githubusercontent.com/slaguru666/sla_industries_brp/main/sla-brp/world.json`
|
||||
|
||||
## Important Install Order
|
||||
|
||||
1. Install **System** `sla-industries-brp` first.
|
||||
2. Install **World** `sla-brp` second.
|
||||
2. Install **Module** `sla-industries-compendium` second.
|
||||
3. Install **World** `sla-brp` optionally (or create a new world with the system).
|
||||
|
||||
If the system is not installed first, Foundry marks the world unavailable.
|
||||
|
||||
## Populate A Fresh World
|
||||
|
||||
In a new `sla-industries-brp` world with the companion module enabled:
|
||||
|
||||
1. Open the **Compendium** tab.
|
||||
2. Use either:
|
||||
- the new download button in the Compendium header, or
|
||||
- right-click any `sla-industries-compendium` pack and choose **Import SLA Companion Content**.
|
||||
3. Choose **Merge** or **Overwrite** when prompted.
|
||||
|
||||
No script macro is required.
|
||||
|
||||
Optional fallback (GM script macro):
|
||||
|
||||
```js
|
||||
const { SLASeedImporter } = await import("/systems/sla-industries-brp/module/apps/sla-seed-importer.mjs");
|
||||
await SLASeedImporter.buildDraft2({ overwrite: false, syncCompendia: true });
|
||||
```
|
||||
|
||||
## Repo Layout
|
||||
|
||||
- `sla-industries-brp/` - system content (`system.json`)
|
||||
- `sla-industries-compendium/` - companion module content (`module.json`, `sla-data`, compendium packs, artwork)
|
||||
- `sla-brp/` - world content (`world.json`)
|
||||
- `scripts/build-release.sh` - builds both release zips into `dist/`
|
||||
- `scripts/build-release.sh` - builds all release zips into `dist/`
|
||||
|
||||
## Release Steps
|
||||
|
||||
1. Update versions in:
|
||||
- `sla-industries-brp/system.json`
|
||||
- `sla-industries-compendium/module.json`
|
||||
- `sla-brp/world.json`
|
||||
2. Build zips:
|
||||
|
||||
@@ -38,9 +63,11 @@ If the system is not installed first, Foundry marks the world unavailable.
|
||||
|
||||
3. Create a GitHub release and attach:
|
||||
- `dist/sla-industries-brp.zip`
|
||||
- `dist/sla-industries-compendium.zip`
|
||||
- `dist/sla-brp.zip`
|
||||
|
||||
## Notes
|
||||
|
||||
- World `sla-brp` depends on system ID `sla-industries-brp`.
|
||||
- Download URLs use GitHub `releases/latest/download/...`, so the latest release must include both zip assets.
|
||||
- Companion module contains `sla-data/*.json` plus artwork under `assets/SLA_Assets`.
|
||||
- Download URLs use GitHub `releases/latest/download/...`, so the latest release must include all three zip assets.
|
||||
|
||||
@@ -5,12 +5,14 @@ ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
OUT_DIR="$ROOT_DIR/dist"
|
||||
|
||||
mkdir -p "$OUT_DIR"
|
||||
rm -f "$OUT_DIR/sla-brp.zip" "$OUT_DIR/sla-industries-brp.zip"
|
||||
rm -f "$OUT_DIR/sla-brp.zip" "$OUT_DIR/sla-industries-brp.zip" "$OUT_DIR/sla-industries-compendium.zip"
|
||||
|
||||
cd "$ROOT_DIR"
|
||||
zip -r "$OUT_DIR/sla-brp.zip" sla-brp -x "*.DS_Store"
|
||||
zip -r "$OUT_DIR/sla-industries-brp.zip" sla-industries-brp -x "*.DS_Store"
|
||||
(cd sla-brp && zip -r "$OUT_DIR/sla-brp.zip" . -x "*.DS_Store")
|
||||
(cd sla-industries-brp && zip -r "$OUT_DIR/sla-industries-brp.zip" . -x "*.DS_Store")
|
||||
(cd sla-industries-compendium && zip -r "$OUT_DIR/sla-industries-compendium.zip" . -x "*.DS_Store")
|
||||
|
||||
echo "Created:"
|
||||
echo " $OUT_DIR/sla-brp.zip"
|
||||
echo " $OUT_DIR/sla-industries-brp.zip"
|
||||
echo " $OUT_DIR/sla-industries-compendium.zip"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "sla-brp",
|
||||
"title": "SLA BRP",
|
||||
"description": "A prebuilt SLA BRP world for Foundry Virtual Tabletop.",
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.3",
|
||||
"authors": [
|
||||
{
|
||||
"name": "timevans"
|
||||
@@ -15,7 +15,7 @@
|
||||
"maximum": "13"
|
||||
},
|
||||
"system": "sla-industries-brp",
|
||||
"systemVersion": "13.1.52",
|
||||
"systemVersion": "13.1.56",
|
||||
"manifest": "https://raw.githubusercontent.com/slaguru666/sla_industries_brp/main/sla-brp/world.json",
|
||||
"download": "https://github.com/slaguru666/sla_industries_brp/releases/latest/download/sla-brp.zip",
|
||||
"url": "https://github.com/slaguru666/sla_industries_brp"
|
||||
|
||||
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 8.6 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 7.1 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 7.3 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 7.0 KiB |
|
After Width: | Height: | Size: 7.3 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 6.7 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 7.0 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 8.4 KiB |
|
After Width: | Height: | Size: 7.2 KiB |
|
After Width: | Height: | Size: 8.6 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 6.6 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 8.4 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 6.7 KiB |
|
After Width: | Height: | Size: 7.2 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 7.1 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 7.0 KiB |
|
After Width: | Height: | Size: 96 KiB |
|
After Width: | Height: | Size: 88 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 112 KiB |
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 144 KiB |
|
After Width: | Height: | Size: 188 KiB |
|
After Width: | Height: | Size: 121 KiB |
|
After Width: | Height: | Size: 179 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 194 KiB |