Compare commits
69 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
d5386fad8c | |
|
|
85403fbc0a | |
|
|
f4b4233dcb | |
|
|
b59be2e977 | |
|
|
e4779b14a2 | |
|
|
e79dad89a0 | |
|
|
1dd43451c2 | |
|
|
9dc95f7ff7 | |
|
|
8812557607 | |
|
|
6470018c90 | |
|
|
013967e066 | |
|
|
4b915d2e47 | |
|
|
029f6dd325 | |
|
|
efb9a415e4 | |
|
|
b459c96961 | |
|
|
c874943bbe | |
|
|
e4ae6a14b5 | |
|
|
3956cab508 | |
|
|
21df7378dc | |
|
|
759640c49b | |
|
|
51a6dc7c93 | |
|
|
ec0f808c7b | |
|
|
0528a31107 | |
|
|
3330bde5de | |
|
|
06c0a9b34c | |
|
|
0839bcd327 | |
|
|
0585c64c9a | |
|
|
5b6322aee2 | |
|
|
09fd35b994 | |
|
|
757070278b | |
|
|
3a93dbd723 | |
|
|
e639387848 | |
|
|
a58ee6d5b6 | |
|
|
bb2c87a3c2 | |
|
|
ba0f180df4 | |
|
|
e67094e1d0 | |
|
|
808f6880fd | |
|
|
e8682fdd1b | |
|
|
b0039b8642 | |
|
|
e8109b1f30 | |
|
|
eebf7f3fd7 | |
|
|
fd003075da | |
|
|
9d0dd4bfca | |
|
|
40126bc1ee | |
|
|
3f781a9ddc | |
|
|
c1c3840323 | |
|
|
0f6614c1bb | |
|
|
6dab51247e | |
|
|
afbd8ba2f6 | |
|
|
ecb244ea4b | |
|
|
1beee1d2ea | |
|
|
28bac4338b | |
|
|
27414cf6d7 | |
|
|
f0a7a8cf24 | |
|
|
77d929b04b | |
|
|
7a2aaf272b | |
|
|
2f3b5526eb | |
|
|
d6846e8c35 | |
|
|
c785a57666 | |
|
|
aaf0a4c374 | |
|
|
9b89a0bc08 | |
|
|
015c3919c8 | |
|
|
e4729bfc39 | |
|
|
650858c146 | |
|
|
a0c0e834d6 | |
|
|
35ffb94cfb | |
|
|
5b0396c24a | |
|
|
8fc80bc377 | |
|
|
6ebb6f3823 |
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="TypeScriptCompiler">
|
||||||
|
<option name="useServicePoweredTypesWasEnabledByExperiment" value="true" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="JavaScriptLibraryMappings">
|
||||||
|
<file url="PROJECT" libraries="{@types/jest}" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="MarkdownSettings">
|
||||||
|
<option name="previewPanelProviderInfo">
|
||||||
|
<ProviderInfo name="Compose (experimental)" className="com.intellij.markdown.compose.preview.ComposePanelProvider" />
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="Jest Default" type="JavaScriptTestRunnerJest">
|
||||||
|
<node-interpreter value="project" />
|
||||||
|
<node-options value="--experimental-vm-modules" />
|
||||||
|
<jest-package value="$PROJECT_DIR$/node_modules/jest" />
|
||||||
|
<working-dir value="$PROJECT_DIR$" />
|
||||||
|
<envs />
|
||||||
|
<scope-kind value="ALL" />
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
</component>
|
||||||
31
gulpfile.mjs
|
|
@ -1,7 +1,6 @@
|
||||||
import {dest, series, src} from 'gulp';
|
import {dest, series, src} from 'gulp';
|
||||||
import gulp from 'gulp';
|
import gulp from 'gulp';
|
||||||
import process from 'node:process';
|
import process from 'node:process';
|
||||||
import replace from 'gulp-replace';
|
|
||||||
import jsonModify from 'gulp-json-modify';
|
import jsonModify from 'gulp-json-modify';
|
||||||
import {subtle} from 'node:crypto';
|
import {subtle} from 'node:crypto';
|
||||||
import * as dartSass from 'sass';
|
import * as dartSass from 'sass';
|
||||||
|
|
@ -147,22 +146,36 @@ gulp.task('prepareDB', async function (done) {
|
||||||
}
|
}
|
||||||
|
|
||||||
await convert("./src/packs/_source/talente", "./src/packs/__source/talente", "Skill")
|
await convert("./src/packs/_source/talente", "./src/packs/__source/talente", "Skill")
|
||||||
await convert("./src/packs/_source/zauber-brw", "./src/packs/__source/zauber", "Spell")
|
await convert("./src/packs/_source/zauber", "./src/packs/__source/zauber", "Spell")
|
||||||
await convert("./src/packs/_source/vorteile", "./src/packs/__source/vorteile", "Advantage")
|
await convert("./src/packs/_source/vorteile", "./src/packs/__source/vorteile", "Advantage")
|
||||||
await convert("./src/packs/_source/nachteile", "./src/packs/__source/vorteile", "Advantage", false)
|
await convert("./src/packs/_source/nachteile", "./src/packs/__source/vorteile", "Advantage", false)
|
||||||
await convert("./src/packs/_source/sonderfertigkeiten", "./src/packs/__source/sonderfertigkeiten", "SpecialAbility")
|
await convert("./src/packs/_source/sonderfertigkeiten", "./src/packs/__source/sonderfertigkeiten", "SpecialAbility")
|
||||||
await convert("./src/packs/_source/waehrungen", "./src/packs/__source/waehrungen", "Equipment")
|
await convert("./src/packs/_source/waehrungen", "./src/packs/__source/waehrungen", "Equipment")
|
||||||
await convert("./src/packs/_source/Gegenstaende/Waffen", "./src/packs/__source/waffen", "Equipment")
|
|
||||||
await convert("./src/packs/_source/Gegenstaende/Munition", "./src/packs/__source/munition", "Equipment")
|
|
||||||
await convert("./src/packs/_source/Gegenstaende/Ruestzeug", "./src/packs/__source/ruestzeug", "Equipment")
|
|
||||||
await convert("./src/packs/_source/Gegenstaende/Behaelter", "./src/packs/__source/gegenstaende", "Equipment", false)
|
await convert("./src/packs/_source/Gegenstaende/Behaelter", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
await convert("./src/packs/_source/Gegenstaende/Bekleidung", "./src/packs/__source/gegenstaende", "Equipment", false)
|
|
||||||
await convert("./src/packs/_source/Gegenstaende/Beleuchtung", "./src/packs/__source/gegenstaende", "Equipment", false)
|
await convert("./src/packs/_source/Gegenstaende/Beleuchtung", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
await convert("./src/packs/_source/Gegenstaende/Buecher", "./src/packs/__source/gegenstaende", "Equipment", false)
|
await convert("./src/packs/_source/Gegenstaende/Buecher", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
await convert("./src/packs/_source/Gegenstaende/Essutensilien", "./src/packs/__source/gegenstaende", "Equipment", false)
|
await convert("./src/packs/_source/Gegenstaende/Essutensilien", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
await convert("./src/packs/_source/Gegenstaende/Sonstiges", "./src/packs/__source/gegenstaende", "Equipment", false)
|
await convert("./src/packs/_source/Gegenstaende/Fahrzeuge", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
await convert("./src/packs/_source/Gegenstaende/Werkzeug", "./src/packs/__source/gegenstaende", "Equipment", false)
|
await convert("./src/packs/_source/Gegenstaende/Feinmechanik", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Freizeitbedarf", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Gewuerze", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Gifte", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Heilkraeuter", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Kleidung", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Koerperpflege", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Munition", "./src/packs/__source/munition", "Equipment")
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Musikinstrumente", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Reisebedarf", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Ruestzeug", "./src/packs/__source/ruestzeug", "Equipment")
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Schmuck", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Schreibbedarf", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
await convert("./src/packs/_source/Gegenstaende/Seile", "./src/packs/__source/gegenstaende", "Equipment", false)
|
await convert("./src/packs/_source/Gegenstaende/Seile", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Tierbedarf", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Waffen", "./src/packs/__source/waffen", "Equipment")
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Waffenzubehoer", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
|
await convert("./src/packs/_source/Gegenstaende/Werkzeug", "./src/packs/__source/gegenstaende", "Equipment", false)
|
||||||
|
|
||||||
await convert("./src/packs/_source/liturgien-und-segnungen", "./src/packs/__source/liturgien", "Liturgy")
|
await convert("./src/packs/_source/liturgien-und-segnungen", "./src/packs/__source/liturgien", "Liturgy")
|
||||||
await convert("./src/packs/_source/wunden", "./src/packs/__source/wunden", "ActiveEffect")
|
await convert("./src/packs/_source/wunden", "./src/packs/__source/wunden", "ActiveEffect")
|
||||||
|
|
||||||
|
|
@ -182,7 +195,7 @@ gulp.task('buildDB', function (done) {
|
||||||
const PACK_SRC = "src/packs/__source"
|
const PACK_SRC = "src/packs/__source"
|
||||||
const PACK_DEST = "dist/packs/"
|
const PACK_DEST = "dist/packs/"
|
||||||
|
|
||||||
return new Promise(async (resolve, reject) => {
|
return new Promise(async (resolve) => {
|
||||||
const folders = readdirSync(PACK_SRC, {withFileTypes: true}).filter(file =>
|
const folders = readdirSync(PACK_SRC, {withFileTypes: true}).filter(file =>
|
||||||
file.isDirectory()
|
file.isDirectory()
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 948 B |
|
After Width: | Height: | Size: 884 B |
|
After Width: | Height: | Size: 858 B |
|
After Width: | Height: | Size: 694 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 978 B |
|
After Width: | Height: | Size: 801 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 727 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.2 KiB |