2020-11-08 01:03:50 +01:00
Hooks . on ( "init" , ( ) => {
game . settings . register ( "wfrp4e-night-of-blood" , "initialized" , {
name : "Initialization" ,
scope : "world" ,
config : false ,
default : false ,
type : Boolean
} ) ;
game . settings . registerMenu ( "wfrp4e-night-of-blood" , "init-dialog" , {
name : "WFRP4e Night of Blood Initialization" ,
label : "Initialize" ,
hint : "This will import content for the WFRP4e adventure Night of Blood Module" ,
2022-05-12 15:51:53 +02:00
type : WFRP4eNightOfBloodInitialization ,
2020-11-08 01:03:50 +01:00
restricted : true
} )
} )
Hooks . on ( "ready" , ( ) => {
if ( ! game . settings . get ( "wfrp4e-night-of-blood" , "initialized" ) && game . user . isGM )
{
new WFRP4eNightOfBloodInitialization ( ) . render ( true )
}
} )
2022-05-12 15:51:53 +02:00
class WFRP4eNightOfBloodInitialization extends FormApplication {
render ( ) {
let html = ` <p class="notes"><img src="modules/wfrp4e-night-of-blood/assets/icons/logo.png"
2020-11-08 23:11:31 +01:00
style = "display: block; margin-left: auto; margin-right: auto;" >
2020-11-08 21:57:25 +01:00
2020-11-08 23:11:31 +01:00
< /p><p class="notes">The PDF of Night of Blood is free from Cubicle 7 on <a href="https:/ / www . drivethrurpg . com / product / 259967 / WFRP - Old - World - Adventures -- Night - of - Blood " > DriveThruRPG < / a > a n d i s < s t r o n g > n e e d e d t o u s e t h i s F o u n d r y m o d u l e . < / s t r o n g > < b r / > < b r / >
2020-11-08 21:44:19 +01:00
2020-11-08 23:11:31 +01:00
Pressing Initialize will install Journals , Actors and Scenes into your world and place map pins on the maps . < br / > < br / >
2020-11-08 21:44:19 +01:00
2020-11-08 23:11:31 +01:00
Original Written by < b > Jim Bambra < /b><br/ >
Original 4 E Conversion by < b > Lindsay Law < /b><br/ >
Special thanks to : < b > Russell Thurman ( Moo Man ) < /b><br/ > < br / >
2020-11-08 21:44:19 +01:00
Foundry Edition by < b > Stuart Kerrigan < /b><br/ >
2022-05-12 15:51:53 +02:00
You can email us at < a href = "mailto:perilousrealmpodcast@gmail.com" > perilousrealmpodcast @ gmail . com < / a > 3
2020-11-08 23:11:31 +01:00
< p class = "notes" > < strong > Want to support us ? < /strong><br/ > < br / >
This module is freeware , and always will be , and other free WFRP modules are planned . As the WFRP content now requires payment to Cubicle 7 there are some running costs so if you want to donate then the link below is provided . < br / > < br / >
< a href = "https://paypal.me/perilousrealm?locale.x=en_GB" > < img src = "modules/wfrp4e-night-of-blood/paypal.png" style = "display: block; margin-left: auto; margin-right: auto;" alt = "paypal" / > < /a><br/ > < br / >
2022-05-12 15:51:53 +02:00
You can also listen to the < a href = "https://anchor.fm/peril" > Perilous Realm Podcast < /a><br/ > < br / > < a href = "https://anchor.fm/peril" > < img src = "modules/wfrp4e-night-of-blood/peril.png" style = "display: block; margin-left: auto; margin-right: auto;" alt = "peril logo" > < /a> <br/ > < br / > Lastly do share with us at < a href = "mailto:perilousrealmpodcast@gmail.com" > perilousrealmpodcast @ gmail . com < / a > a n y s t r e a m s o r a u d i o y o u h a v e o f y o u r a d v e n t u r e s i n t h e H o o d e d M a n I n n - i f a n y o n e i s l e f t t o t e l l t h e t a l e . < / p > `
new game . wfrp4e . apps . ModuleInitializer ( "wfrp4e-night-of-blood" , "WFRP4e Night of Blood Initialization" , html ) . render ( true ) ;
}
2020-11-08 01:03:50 +01:00
}