Initialize installable Foundry world repository

This commit is contained in:
2026-03-01 00:28:24 +00:00
commit c09fec22af
108 changed files with 278 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
name: Build and Attach Foundry World Zip
on:
release:
types: [published]
workflow_dispatch:
jobs:
build-release-zip:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build zip
run: |
mkdir -p dist
zip -r dist/sla-brp.zip sla-brp -x "*.DS_Store"
- name: Upload to release
if: github.event_name == 'release'
uses: softprops/action-gh-release@v2
with:
files: dist/sla-brp.zip
+2
View File
@@ -0,0 +1,2 @@
.DS_Store
dist/
+51
View File
@@ -0,0 +1,51 @@
# SLA BRP Foundry World
Installable Foundry VTT world package for `sla-brp`.
## Repo Layout
- `sla-brp/` - The world content directory (must contain `world.json`).
- `scripts/build-release.sh` - Builds `dist/sla-brp.zip` for Foundry install.
## One-time Setup
1. Create a GitHub repo and push this folder.
2. Update these fields in `sla-brp/world.json`:
- `manifest`
- `download`
- `url`
Use:
- `manifest`: `https://raw.githubusercontent.com/<user>/<repo>/main/sla-brp/world.json`
- `download`: `https://github.com/<user>/<repo>/releases/latest/download/sla-brp.zip`
- `url`: `https://github.com/<user>/<repo>`
## Release Steps
1. Update `sla-brp/world.json` `version`.
2. Build zip locally:
```bash
./scripts/build-release.sh
```
3. Create a GitHub release and upload `dist/sla-brp.zip` as an asset.
- If you publish a GitHub release event, the included workflow can auto-attach `dist/sla-brp.zip`.
## Install in Foundry
In Foundry setup screen:
1. Open **Game Worlds**.
2. Click **Install World**.
3. Paste manifest URL:
`https://raw.githubusercontent.com/<user>/<repo>/main/sla-brp/world.json`
4. Install.
## Notes
- This world requires system ID: `sla-industries-brp`.
- Keep world assets and data inside `sla-brp/` so the zip stays installable.
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
WORLD_ID="sla-brp"
OUT_DIR="$ROOT_DIR/dist"
ZIP_PATH="$OUT_DIR/${WORLD_ID}.zip"
mkdir -p "$OUT_DIR"
rm -f "$ZIP_PATH"
cd "$ROOT_DIR"
zip -r "$ZIP_PATH" "$WORLD_ID" -x "*.DS_Store"
echo "Created $ZIP_PATH"
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
MANIFEST-000071
View File
+14
View File
@@ -0,0 +1,14 @@
2026/02/27-16:50:11.339022 30b8e6000 Recovering log #69
2026/02/27-16:50:11.345999 30b8e6000 Level-0 table #72: started
2026/02/27-16:50:11.347875 30b8e6000 Level-0 table #72: 157919 bytes OK
2026/02/27-16:50:11.350855 30b8e6000 Delete type=2 #66
2026/02/27-16:50:11.351617 30b8e6000 Delete type=0 #69
2026/02/27-16:50:11.352904 30b8e6000 Delete type=2 #68
2026/02/27-16:50:11.353278 30b8e6000 Delete type=3 #67
2026/02/27-16:50:12.082376 305ec5000 Moved #72 to level-1 157919 bytes OK: files[ 0 1 1 0 0 0 0 ]
2026/02/27-16:50:12.217065 305ec5000 Compacting 1@1 + 1@2 files
2026/02/27-16:50:12.229327 305ec5000 Generated table #74@1: 1225 keys, 786072 bytes
2026/02/27-16:50:12.229420 305ec5000 Compacted 1@1 + 1@2 files => 786072 bytes
2026/02/27-16:50:12.230246 305ec5000 compacted to: files[ 0 0 1 0 0 0 0 ]
2026/02/27-16:50:12.233393 305ec5000 Delete type=2 #70
2026/02/27-16:50:12.234163 305ec5000 Delete type=2 #72
+10
View File
@@ -0,0 +1,10 @@
2026/02/26-14:44:31.419740 30e692000 Recovering log #65
2026/02/26-14:44:31.423850 30e692000 Level-0 table #68: started
2026/02/26-14:44:31.427848 30e692000 Level-0 table #68: 728384 bytes OK
2026/02/26-14:44:31.428156 30e692000 Delete type=0 #65
2026/02/26-14:44:31.430177 30e692000 Delete type=3 #63
2026/02/26-14:44:31.522101 308c6e000 Moved #68 to level-1 728384 bytes OK: files[ 0 1 1 0 0 0 0 ]
2026/02/26-14:44:31.527957 308c6e000 Compacting 1@1 + 1@2 files
2026/02/26-14:44:31.535137 308c6e000 Generated table #70@1: 1172 keys, 758926 bytes
2026/02/26-14:44:31.535155 308c6e000 Compacted 1@1 + 1@2 files => 758926 bytes
2026/02/26-14:44:31.535212 308c6e000 compacted to: files[ 0 0 1 0 0 0 0 ]
Binary file not shown.
View File
+1
View File
@@ -0,0 +1 @@
MANIFEST-000042
View File
+3
View File
@@ -0,0 +1,3 @@
2026/02/27-16:50:11.569564 30d0ef000 Recovering log #41
2026/02/27-16:50:11.570280 30d0ef000 Delete type=3 #40
2026/02/27-16:50:11.570433 30d0ef000 Delete type=0 #41
+3
View File
@@ -0,0 +1,3 @@
2026/02/26-14:44:31.451991 30f698000 Recovering log #39
2026/02/26-14:44:31.452322 30f698000 Delete type=0 #39
2026/02/26-14:44:31.452345 30f698000 Delete type=3 #38
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
MANIFEST-000045
View File
+3
View File
@@ -0,0 +1,3 @@
2026/02/27-16:50:11.623069 30b8e6000 Recovering log #44
2026/02/27-16:50:11.623557 30b8e6000 Delete type=0 #44
2026/02/27-16:50:11.623589 30b8e6000 Delete type=3 #42
+5
View File
@@ -0,0 +1,5 @@
2026/02/26-14:44:31.464659 30e692000 Recovering log #41
2026/02/26-14:44:31.464826 30e692000 Level-0 table #43: started
2026/02/26-14:44:31.465065 30e692000 Level-0 table #43: 2348 bytes OK
2026/02/26-14:44:31.465371 30e692000 Delete type=3 #39
2026/02/26-14:44:31.465566 30e692000 Delete type=0 #41
Binary file not shown.
View File
+1
View File
@@ -0,0 +1 @@
MANIFEST-000042
View File
+3
View File
@@ -0,0 +1,3 @@
2026/02/27-16:50:11.631185 30d0ef000 Recovering log #41
2026/02/27-16:50:11.631761 30d0ef000 Delete type=3 #40
2026/02/27-16:50:11.632017 30d0ef000 Delete type=0 #41
+3
View File
@@ -0,0 +1,3 @@
2026/02/26-14:44:31.468667 30ee95000 Recovering log #39
2026/02/26-14:44:31.469009 30ee95000 Delete type=0 #39
2026/02/26-14:44:31.469031 30ee95000 Delete type=3 #38
Binary file not shown.
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
MANIFEST-000051
View File
+14
View File
@@ -0,0 +1,14 @@
2026/02/27-16:50:11.635966 30c8ec000 Recovering log #50
2026/02/27-16:50:11.636168 30c8ec000 Level-0 table #52: started
2026/02/27-16:50:11.636402 30c8ec000 Level-0 table #52: 509 bytes OK
2026/02/27-16:50:11.637451 30c8ec000 Delete type=3 #48
2026/02/27-16:50:11.637656 30c8ec000 Delete type=0 #50
2026/02/27-16:50:11.637914 305ec5000 Compacting 4@0 + 1@1 files
2026/02/27-16:50:11.639494 305ec5000 Generated table #54@0: 105 keys, 13775 bytes
2026/02/27-16:50:11.639511 305ec5000 Compacted 4@0 + 1@1 files => 13775 bytes
2026/02/27-16:50:11.639575 305ec5000 compacted to: files[ 0 1 0 0 0 0 0 ]
2026/02/27-16:50:11.639662 305ec5000 Delete type=2 #49
2026/02/27-16:50:11.639834 305ec5000 Delete type=2 #35
2026/02/27-16:50:11.640520 305ec5000 Delete type=2 #41
2026/02/27-16:50:11.641286 305ec5000 Delete type=2 #52
2026/02/27-16:50:11.641339 305ec5000 Delete type=2 #46
+5
View File
@@ -0,0 +1,5 @@
2026/02/26-14:44:31.473500 30e692000 Recovering log #47
2026/02/26-14:44:31.473671 30e692000 Level-0 table #49: started
2026/02/26-14:44:31.473798 30e692000 Level-0 table #49: 536 bytes OK
2026/02/26-14:44:31.474266 30e692000 Delete type=0 #47
2026/02/26-14:44:31.474342 30e692000 Delete type=3 #45
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
MANIFEST-000056
View File
+5
View File
@@ -0,0 +1,5 @@
2026/02/27-16:50:11.641507 30c0e9000 Recovering log #54
2026/02/27-16:50:11.642787 30c0e9000 Level-0 table #57: started
2026/02/27-16:50:11.643707 30c0e9000 Level-0 table #57: 71043 bytes OK
2026/02/27-16:50:11.644225 30c0e9000 Delete type=3 #52
2026/02/27-16:50:11.644306 30c0e9000 Delete type=0 #54
+11
View File
@@ -0,0 +1,11 @@
2026/02/26-14:44:31.477238 30ee95000 Recovering log #50
2026/02/26-14:44:31.479630 30ee95000 Level-0 table #53: started
2026/02/26-14:44:31.481855 30ee95000 Level-0 table #53: 316362 bytes OK
2026/02/26-14:44:31.482163 30ee95000 Delete type=3 #48
2026/02/26-14:44:31.482322 30ee95000 Delete type=0 #50
2026/02/26-14:44:37.815265 308c6e000 Compacting 1@0 + 1@1 files
2026/02/26-14:44:37.819189 308c6e000 Generated table #55@0: 542 keys, 399524 bytes
2026/02/26-14:44:37.819215 308c6e000 Compacted 1@0 + 1@1 files => 399524 bytes
2026/02/26-14:44:37.819906 308c6e000 compacted to: files[ 0 1 0 0 0 0 0 ]
2026/02/26-14:44:37.819991 308c6e000 Delete type=2 #51
2026/02/26-14:44:37.820402 308c6e000 Delete type=2 #53
Binary file not shown.
Binary file not shown.
View File
+1
View File
@@ -0,0 +1 @@
MANIFEST-000049
View File
+3
View File
@@ -0,0 +1,3 @@
2026/02/27-16:50:11.656225 30d0ef000 Recovering log #47
2026/02/27-16:50:11.656788 30d0ef000 Delete type=0 #47
2026/02/27-16:50:11.656835 30d0ef000 Delete type=3 #45
+11
View File
@@ -0,0 +1,11 @@
2026/02/26-14:44:31.488715 30fe9b000 Recovering log #43
2026/02/26-14:44:31.489534 30fe9b000 Level-0 table #46: started
2026/02/26-14:44:31.489786 30fe9b000 Level-0 table #46: 13821 bytes OK
2026/02/26-14:44:31.490193 30fe9b000 Delete type=3 #41
2026/02/26-14:44:31.490223 30fe9b000 Delete type=0 #43
2026/02/26-14:44:31.819690 308c6e000 Compacting 1@0 + 1@1 files
2026/02/26-14:44:31.821083 308c6e000 Generated table #48@0: 133 keys, 127764 bytes
2026/02/26-14:44:31.821097 308c6e000 Compacted 1@0 + 1@1 files => 127764 bytes
2026/02/26-14:44:31.821172 308c6e000 compacted to: files[ 0 1 0 0 0 0 0 ]
2026/02/26-14:44:31.822573 308c6e000 Delete type=2 #44
2026/02/26-14:44:31.823179 308c6e000 Delete type=2 #46
Binary file not shown.
Binary file not shown.
View File
+1
View File
@@ -0,0 +1 @@
MANIFEST-000044
View File
+3
View File
@@ -0,0 +1,3 @@
2026/02/27-16:50:11.700894 30c8ec000 Recovering log #43
2026/02/27-16:50:11.701482 30c8ec000 Delete type=3 #42
2026/02/27-16:50:11.701539 30c8ec000 Delete type=0 #43
+3
View File
@@ -0,0 +1,3 @@
2026/02/26-14:44:31.493619 30f698000 Recovering log #41
2026/02/26-14:44:31.494017 30f698000 Delete type=3 #40
2026/02/26-14:44:31.494051 30f698000 Delete type=0 #41
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
MANIFEST-000053
View File
+3
View File
@@ -0,0 +1,3 @@
2026/02/27-16:50:11.585047 30c0e9000 Recovering log #51
2026/02/27-16:50:11.585803 30c0e9000 Delete type=3 #49
2026/02/27-16:50:11.585862 30c0e9000 Delete type=0 #51
+14
View File
@@ -0,0 +1,14 @@
2026/02/26-14:44:31.454835 30ee95000 Recovering log #48
2026/02/26-14:44:31.455283 30ee95000 Level-0 table #50: started
2026/02/26-14:44:31.455630 30ee95000 Level-0 table #50: 27168 bytes OK
2026/02/26-14:44:31.455869 30ee95000 Delete type=3 #46
2026/02/26-14:44:31.455902 30ee95000 Delete type=0 #48
2026/02/26-14:44:31.457393 308c6e000 Compacting 4@0 + 1@1 files
2026/02/26-14:44:31.461072 308c6e000 Generated table #52@0: 40 keys, 64135 bytes
2026/02/26-14:44:31.461089 308c6e000 Compacted 4@0 + 1@1 files => 64135 bytes
2026/02/26-14:44:31.461131 308c6e000 compacted to: files[ 0 1 0 0 0 0 0 ]
2026/02/26-14:44:31.461162 308c6e000 Delete type=2 #39
2026/02/26-14:44:31.461405 308c6e000 Delete type=2 #35
2026/02/26-14:44:31.462061 308c6e000 Delete type=2 #42
2026/02/26-14:44:31.463474 308c6e000 Delete type=2 #50
2026/02/26-14:44:31.463587 308c6e000 Delete type=2 #47
Binary file not shown.
View File
+1
View File
@@ -0,0 +1 @@
MANIFEST-000042
View File
+3
View File
@@ -0,0 +1,3 @@
2026/02/27-16:50:11.717052 30b8e6000 Recovering log #41
2026/02/27-16:50:11.717750 30b8e6000 Delete type=3 #40
2026/02/27-16:50:11.717791 30b8e6000 Delete type=0 #41
+3
View File
@@ -0,0 +1,3 @@
2026/02/26-14:44:31.496080 30e692000 Recovering log #39
2026/02/26-14:44:31.496519 30e692000 Delete type=0 #39
2026/02/26-14:44:31.496543 30e692000 Delete type=3 #38
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
MANIFEST-000046
View File
+3
View File
@@ -0,0 +1,3 @@
2026/02/27-16:50:11.791234 30c0e9000 Recovering log #45
2026/02/27-16:50:11.791674 30c0e9000 Delete type=0 #45
2026/02/27-16:50:11.791724 30c0e9000 Delete type=3 #43
+5
View File
@@ -0,0 +1,5 @@
2026/02/26-14:44:31.500864 30e692000 Recovering log #42
2026/02/26-14:44:31.501064 30e692000 Level-0 table #44: started
2026/02/26-14:44:31.501351 30e692000 Level-0 table #44: 8634 bytes OK
2026/02/26-14:44:31.501604 30e692000 Delete type=3 #41
2026/02/26-14:44:31.501632 30e692000 Delete type=0 #42
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
MANIFEST-000060
View File
+5
View File
@@ -0,0 +1,5 @@
2026/02/27-16:50:11.871811 30c8ec000 Recovering log #59
2026/02/27-16:50:11.872090 30c8ec000 Level-0 table #61: started
2026/02/27-16:50:11.872363 30c8ec000 Level-0 table #61: 998 bytes OK
2026/02/27-16:50:11.872876 30c8ec000 Delete type=0 #59
2026/02/27-16:50:11.872940 30c8ec000 Delete type=3 #57
+5
View File
@@ -0,0 +1,5 @@
2026/02/26-14:44:31.509568 30ee95000 Recovering log #55
2026/02/26-14:44:31.509754 30ee95000 Level-0 table #58: started
2026/02/26-14:44:31.509907 30ee95000 Level-0 table #58: 4025 bytes OK
2026/02/26-14:44:31.510577 30ee95000 Delete type=3 #53
2026/02/26-14:44:31.510618 30ee95000 Delete type=0 #55
Binary file not shown.
Binary file not shown.
View File
+1
View File
@@ -0,0 +1 @@
MANIFEST-000044
View File
+3
View File
@@ -0,0 +1,3 @@
2026/02/27-16:50:11.723473 30d0ef000 Recovering log #43
2026/02/27-16:50:11.724041 30d0ef000 Delete type=3 #42
2026/02/27-16:50:11.724085 30d0ef000 Delete type=0 #43
+3
View File
@@ -0,0 +1,3 @@
2026/02/26-14:44:31.498271 30fe9b000 Recovering log #41
2026/02/26-14:44:31.498632 30fe9b000 Delete type=3 #40
2026/02/26-14:44:31.498660 30fe9b000 Delete type=0 #41
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More