v11 cleanup and ready
This commit is contained in:
parent
cd88d6ea92
commit
06bb07f8bb
6
init.js
6
init.js
@ -17,8 +17,7 @@ Hooks.on("init", () => {
|
||||
})
|
||||
|
||||
Hooks.on("ready", () => {
|
||||
if (!game.settings.get("wfrp4e-night-of-blood", "initialized") && game.user.isGM)
|
||||
{
|
||||
if (!game.settings.get("wfrp4e-night-of-blood", "initialized") && game.user.isGM) {
|
||||
new WFRP4eNightOfBloodInitialization().render(true)
|
||||
}
|
||||
})
|
||||
@ -27,7 +26,8 @@ Hooks.on("ready", () => {
|
||||
class WFRP4eNightOfBloodInitialization extends FormApplication {
|
||||
async render() {
|
||||
let html = "";
|
||||
try { html = await (await fetch("https://www.stuartkerrigan.com/fvtt/nob/init.php")).text()
|
||||
try {
|
||||
html = await (await fetch("https://www.stuartkerrigan.com/fvtt/nob/init.php")).text()
|
||||
}
|
||||
catch (err) {
|
||||
html = `<p>Night of Blood is the classic Warhammer Fantasy Roleplay scenario, and an excellent introduction to the game. The scenario was written in 1987 by Jim Bambra and has been republished officially and unofficially for 1st Edition, 2nd Edition and 4th Edition.</p>`;
|
||||
|
88
module.json
88
module.json
@ -1,41 +1,57 @@
|
||||
{
|
||||
"name": "wfrp4e-night-of-blood",
|
||||
"title": "Night of Blood (WFRP 4e)",
|
||||
"description": "The classic Warhammer Fantasy Roleplay adventure, perfect for introducing new players. Now updated to include multi-level scenes",
|
||||
"version": "3.0",
|
||||
"version": "3.1",
|
||||
"author": "Stuart Kerrigan",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "lib-wrapper"
|
||||
},
|
||||
{
|
||||
"name": "betterroofs"
|
||||
},
|
||||
{
|
||||
"name": "wall-height"
|
||||
},
|
||||
{
|
||||
"name": "levels"
|
||||
},
|
||||
{
|
||||
"name": "token-attacher"
|
||||
},
|
||||
{
|
||||
"name": "ambientdoors"
|
||||
},
|
||||
{
|
||||
"name": "tokenmagic"
|
||||
}
|
||||
],
|
||||
"esmodules": [],
|
||||
"scripts": [
|
||||
"init.js"
|
||||
],
|
||||
"relationships": {
|
||||
"systems": [
|
||||
"wfrp4e"
|
||||
{
|
||||
"id": "wfrp4e",
|
||||
"type": "system",
|
||||
"compatibility": {}
|
||||
}
|
||||
],
|
||||
"requires": [
|
||||
{
|
||||
"id": "babele",
|
||||
"type": "module",
|
||||
"compatibility": {}
|
||||
},
|
||||
{
|
||||
"id": "lib-wrapper",
|
||||
"type": "module"
|
||||
},
|
||||
{
|
||||
"id": "betterroofs",
|
||||
"type": "module"
|
||||
},
|
||||
{
|
||||
"id": "wall-height",
|
||||
"type": "module"
|
||||
},
|
||||
{
|
||||
"id": "levels",
|
||||
"type": "module"
|
||||
},
|
||||
{
|
||||
"id": "token-attacher",
|
||||
"type": "module"
|
||||
},
|
||||
{
|
||||
"id": "ambientdoors",
|
||||
"type": "module"
|
||||
},
|
||||
{
|
||||
"id": "tokenmagic",
|
||||
"type": "module"
|
||||
}
|
||||
]
|
||||
},
|
||||
"styles": [
|
||||
"./styles.css"
|
||||
],
|
||||
"packs": [
|
||||
{
|
||||
@ -68,13 +84,21 @@
|
||||
}
|
||||
],
|
||||
"flags": {
|
||||
"initializationPacks": ["wfrp4e-night-of-blood.NightOfBloodActors", "wfrp4e-night-of-blood.NightOfBloodScenes", "wfrp4e-night-of-blood.NightOfBloodJournal"]
|
||||
"initializationPacks": ["wfrp4e-night-of-blood.NightOfBloodActors", "wfrp4e-night-of-blood.NightOfBloodScenes", "wfrp4e-night-of-blood.NightOfBloodJournal"],
|
||||
"folder": {
|
||||
"name": "Night of Blood",
|
||||
"sorting": "m",
|
||||
"color": "#751515"
|
||||
}
|
||||
},
|
||||
"languages": [
|
||||
"en"
|
||||
],
|
||||
"minimumCoreVersion": "0.9",
|
||||
"manifest": "https://raw.githubusercontent.com/CStuartEKerrigan/WFRP-Night-of-Blood-4e-FVTT/master/module.json",
|
||||
"download": "https://github.com/CStuartEKerrigan/WFRP-Night-of-Blood-4e-FVTT/archive/master.zip",
|
||||
"id": "wfrp4e-night-of-blood",
|
||||
"compatibility": {
|
||||
"minimum": "11",
|
||||
"verified": "11"
|
||||
},
|
||||
"manifest": "https://www.uberwald.me/gitea/public/WFRP-Night-of-Blood-4e-FVTT/raw/master/module.json",
|
||||
"download": "https://www.uberwald.me/gitea/public/WFRP-Night-of-Blood-4e-FVTT/archive/WFRP-Night-of-Blood-4e-FVTT-v3.1.zip",
|
||||
"url": "https://github.com/CStuartEKerrigan/WFRP-Night-of-Blood-4e-FVTT/"
|
||||
}
|
BIN
packs/night-of-blood-actors/000005.ldb
Normal file
BIN
packs/night-of-blood-actors/000005.ldb
Normal file
Binary file not shown.
0
packs/night-of-blood-actors/000008.log
Normal file
0
packs/night-of-blood-actors/000008.log
Normal file
1
packs/night-of-blood-actors/CURRENT
Normal file
1
packs/night-of-blood-actors/CURRENT
Normal file
@ -0,0 +1 @@
|
||||
MANIFEST-000006
|
0
packs/night-of-blood-actors/LOCK
Normal file
0
packs/night-of-blood-actors/LOCK
Normal file
8
packs/night-of-blood-actors/LOG
Normal file
8
packs/night-of-blood-actors/LOG
Normal file
@ -0,0 +1,8 @@
|
||||
2024/02/21-20:37:10.060593 7fe93aa006c0 Recovering log #4
|
||||
2024/02/21-20:37:10.116671 7fe93aa006c0 Delete type=3 #2
|
||||
2024/02/21-20:37:10.116721 7fe93aa006c0 Delete type=0 #4
|
||||
2024/02/21-20:40:18.382429 7fe9336006c0 Level-0 table #9: started
|
||||
2024/02/21-20:40:18.382466 7fe9336006c0 Level-0 table #9: 0 bytes OK
|
||||
2024/02/21-20:40:18.408232 7fe9336006c0 Delete type=0 #7
|
||||
2024/02/21-20:40:18.408447 7fe9336006c0 Manual compaction at level-0 from '!actors!0c2PJoezfrYDnial' @ 72057594037927935 : 1 .. '!actors.items.effects!xsFW1owziB9narOa.xoQMNgLhXSetGxPs.CAcGBn8sq62mVUxJ' @ 0 : 0; will stop at (end)
|
||||
2024/02/21-20:40:18.408509 7fe9336006c0 Manual compaction at level-1 from '!actors!0c2PJoezfrYDnial' @ 72057594037927935 : 1 .. '!actors.items.effects!xsFW1owziB9narOa.xoQMNgLhXSetGxPs.CAcGBn8sq62mVUxJ' @ 0 : 0; will stop at (end)
|
5
packs/night-of-blood-actors/LOG.old
Normal file
5
packs/night-of-blood-actors/LOG.old
Normal file
@ -0,0 +1,5 @@
|
||||
2024/02/21-20:30:40.550895 7fe93be006c0 Delete type=3 #1
|
||||
2024/02/21-20:37:01.143314 7fe9336006c0 Level-0 table #5: started
|
||||
2024/02/21-20:37:01.158893 7fe9336006c0 Level-0 table #5: 46752 bytes OK
|
||||
2024/02/21-20:37:01.193250 7fe9336006c0 Delete type=0 #3
|
||||
2024/02/21-20:37:01.301173 7fe9336006c0 Manual compaction at level-0 from '!actors!0c2PJoezfrYDnial' @ 72057594037927935 : 1 .. '!actors.items.effects!xsFW1owziB9narOa.xoQMNgLhXSetGxPs.CAcGBn8sq62mVUxJ' @ 0 : 0; will stop at (end)
|
BIN
packs/night-of-blood-actors/MANIFEST-000006
Normal file
BIN
packs/night-of-blood-actors/MANIFEST-000006
Normal file
Binary file not shown.
BIN
packs/night-of-blood-journal/000005.ldb
Normal file
BIN
packs/night-of-blood-journal/000005.ldb
Normal file
Binary file not shown.
0
packs/night-of-blood-journal/000008.log
Normal file
0
packs/night-of-blood-journal/000008.log
Normal file
1
packs/night-of-blood-journal/CURRENT
Normal file
1
packs/night-of-blood-journal/CURRENT
Normal file
@ -0,0 +1 @@
|
||||
MANIFEST-000006
|
0
packs/night-of-blood-journal/LOCK
Normal file
0
packs/night-of-blood-journal/LOCK
Normal file
8
packs/night-of-blood-journal/LOG
Normal file
8
packs/night-of-blood-journal/LOG
Normal file
@ -0,0 +1,8 @@
|
||||
2024/02/21-20:37:10.175404 7fe93a0006c0 Recovering log #4
|
||||
2024/02/21-20:37:10.228554 7fe93a0006c0 Delete type=3 #2
|
||||
2024/02/21-20:37:10.228706 7fe93a0006c0 Delete type=0 #4
|
||||
2024/02/21-20:40:18.437459 7fe9336006c0 Level-0 table #9: started
|
||||
2024/02/21-20:40:18.437482 7fe9336006c0 Level-0 table #9: 0 bytes OK
|
||||
2024/02/21-20:40:18.465963 7fe9336006c0 Delete type=0 #7
|
||||
2024/02/21-20:40:18.523248 7fe9336006c0 Manual compaction at level-0 from '!journal!0REn6kpBB3CuQCCJ' @ 72057594037927935 : 1 .. '!journal!sC0T69oyBWtlWjVf' @ 0 : 0; will stop at (end)
|
||||
2024/02/21-20:40:18.523281 7fe9336006c0 Manual compaction at level-1 from '!journal!0REn6kpBB3CuQCCJ' @ 72057594037927935 : 1 .. '!journal!sC0T69oyBWtlWjVf' @ 0 : 0; will stop at (end)
|
5
packs/night-of-blood-journal/LOG.old
Normal file
5
packs/night-of-blood-journal/LOG.old
Normal file
@ -0,0 +1,5 @@
|
||||
2024/02/21-20:30:40.633795 7fe93be006c0 Delete type=3 #1
|
||||
2024/02/21-20:37:01.193408 7fe9336006c0 Level-0 table #5: started
|
||||
2024/02/21-20:37:01.212992 7fe9336006c0 Level-0 table #5: 17150 bytes OK
|
||||
2024/02/21-20:37:01.251540 7fe9336006c0 Delete type=0 #3
|
||||
2024/02/21-20:37:01.301199 7fe9336006c0 Manual compaction at level-0 from '!journal!0REn6kpBB3CuQCCJ' @ 72057594037927935 : 1 .. '!journal!sC0T69oyBWtlWjVf' @ 0 : 0; will stop at (end)
|
BIN
packs/night-of-blood-journal/MANIFEST-000006
Normal file
BIN
packs/night-of-blood-journal/MANIFEST-000006
Normal file
Binary file not shown.
BIN
packs/night-of-blood-scenes/000005.ldb
Normal file
BIN
packs/night-of-blood-scenes/000005.ldb
Normal file
Binary file not shown.
0
packs/night-of-blood-scenes/000008.log
Normal file
0
packs/night-of-blood-scenes/000008.log
Normal file
1
packs/night-of-blood-scenes/CURRENT
Normal file
1
packs/night-of-blood-scenes/CURRENT
Normal file
@ -0,0 +1 @@
|
||||
MANIFEST-000006
|
0
packs/night-of-blood-scenes/LOCK
Normal file
0
packs/night-of-blood-scenes/LOCK
Normal file
8
packs/night-of-blood-scenes/LOG
Normal file
8
packs/night-of-blood-scenes/LOG
Normal file
@ -0,0 +1,8 @@
|
||||
2024/02/21-20:37:10.119830 7fe93a0006c0 Recovering log #4
|
||||
2024/02/21-20:37:10.171783 7fe93a0006c0 Delete type=3 #2
|
||||
2024/02/21-20:37:10.171835 7fe93a0006c0 Delete type=0 #4
|
||||
2024/02/21-20:40:18.408658 7fe9336006c0 Level-0 table #9: started
|
||||
2024/02/21-20:40:18.408725 7fe9336006c0 Level-0 table #9: 0 bytes OK
|
||||
2024/02/21-20:40:18.437349 7fe9336006c0 Delete type=0 #7
|
||||
2024/02/21-20:40:18.523237 7fe9336006c0 Manual compaction at level-0 from '!scenes!3FUmiZQODgw6UpbH' @ 72057594037927935 : 1 .. '!scenes.walls!xbiWDHu8jQ0jLbmg.yUvIag40raDRcMOn' @ 0 : 0; will stop at (end)
|
||||
2024/02/21-20:40:18.523287 7fe9336006c0 Manual compaction at level-1 from '!scenes!3FUmiZQODgw6UpbH' @ 72057594037927935 : 1 .. '!scenes.walls!xbiWDHu8jQ0jLbmg.yUvIag40raDRcMOn' @ 0 : 0; will stop at (end)
|
5
packs/night-of-blood-scenes/LOG.old
Normal file
5
packs/night-of-blood-scenes/LOG.old
Normal file
@ -0,0 +1,5 @@
|
||||
2024/02/21-20:30:40.595310 7fe93be006c0 Delete type=3 #1
|
||||
2024/02/21-20:37:01.086021 7fe9336006c0 Level-0 table #5: started
|
||||
2024/02/21-20:37:01.104932 7fe9336006c0 Level-0 table #5: 30103 bytes OK
|
||||
2024/02/21-20:37:01.142993 7fe9336006c0 Delete type=0 #3
|
||||
2024/02/21-20:37:01.301133 7fe9336006c0 Manual compaction at level-0 from '!scenes!3FUmiZQODgw6UpbH' @ 72057594037927935 : 1 .. '!scenes.walls!xbiWDHu8jQ0jLbmg.yUvIag40raDRcMOn' @ 0 : 0; will stop at (end)
|
BIN
packs/night-of-blood-scenes/MANIFEST-000006
Normal file
BIN
packs/night-of-blood-scenes/MANIFEST-000006
Normal file
Binary file not shown.
BIN
packs/night-of-blood-sfx/000005.ldb
Normal file
BIN
packs/night-of-blood-sfx/000005.ldb
Normal file
Binary file not shown.
0
packs/night-of-blood-sfx/000008.log
Normal file
0
packs/night-of-blood-sfx/000008.log
Normal file
1
packs/night-of-blood-sfx/CURRENT
Normal file
1
packs/night-of-blood-sfx/CURRENT
Normal file
@ -0,0 +1 @@
|
||||
MANIFEST-000006
|
0
packs/night-of-blood-sfx/LOCK
Normal file
0
packs/night-of-blood-sfx/LOCK
Normal file
8
packs/night-of-blood-sfx/LOG
Normal file
8
packs/night-of-blood-sfx/LOG
Normal file
@ -0,0 +1,8 @@
|
||||
2024/02/21-20:37:10.231201 7fe93aa006c0 Recovering log #4
|
||||
2024/02/21-20:37:10.291159 7fe93aa006c0 Delete type=3 #2
|
||||
2024/02/21-20:37:10.291219 7fe93aa006c0 Delete type=0 #4
|
||||
2024/02/21-20:40:18.495177 7fe9336006c0 Level-0 table #9: started
|
||||
2024/02/21-20:40:18.495245 7fe9336006c0 Level-0 table #9: 0 bytes OK
|
||||
2024/02/21-20:40:18.523136 7fe9336006c0 Delete type=0 #7
|
||||
2024/02/21-20:40:18.523266 7fe9336006c0 Manual compaction at level-0 from '!playlists!L7ey4DX9iQut6N0T' @ 72057594037927935 : 1 .. '!playlists.sounds!UJg3CQ1Hh0ItcDpa.1eeMsC01CDTHLhEK' @ 0 : 0; will stop at (end)
|
||||
2024/02/21-20:40:18.523294 7fe9336006c0 Manual compaction at level-1 from '!playlists!L7ey4DX9iQut6N0T' @ 72057594037927935 : 1 .. '!playlists.sounds!UJg3CQ1Hh0ItcDpa.1eeMsC01CDTHLhEK' @ 0 : 0; will stop at (end)
|
5
packs/night-of-blood-sfx/LOG.old
Normal file
5
packs/night-of-blood-sfx/LOG.old
Normal file
@ -0,0 +1,5 @@
|
||||
2024/02/21-20:30:40.665492 7fe93aa006c0 Delete type=3 #1
|
||||
2024/02/21-20:37:01.301454 7fe9336006c0 Level-0 table #5: started
|
||||
2024/02/21-20:37:01.320654 7fe9336006c0 Level-0 table #5: 847 bytes OK
|
||||
2024/02/21-20:37:01.358354 7fe9336006c0 Delete type=0 #3
|
||||
2024/02/21-20:37:01.358569 7fe9336006c0 Manual compaction at level-0 from '!playlists!L7ey4DX9iQut6N0T' @ 72057594037927935 : 1 .. '!playlists.sounds!UJg3CQ1Hh0ItcDpa.1eeMsC01CDTHLhEK' @ 0 : 0; will stop at (end)
|
BIN
packs/night-of-blood-sfx/MANIFEST-000006
Normal file
BIN
packs/night-of-blood-sfx/MANIFEST-000006
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user