Automate project with gulp and transition to TypeScript.

Expand character data and sheet.
This commit is contained in:
mstein
2022-06-06 01:40:24 +02:00
parent 6a7d402395
commit e952dcb67a
62 changed files with 3271 additions and 410 deletions
@@ -0,0 +1,19 @@
{
"name": "Kritische Fehler beim Zaubern",
"permission": {
"default": 2,
"CBq5YXAqbO7HoJ03": 3
},
"type": "script",
"flags": {
"core": {
"sourceId": "Macro.e4KLlTBq8Z4Pt7In"
}
},
"scope": "global",
"command": "main()\nasync function main() {\n\n//Das richtige Pack (Kompendium) holen\n\nconst pack = game.packs.get(\"midgard5.tabellen-kritische-ereignisse\");\n\nawait pack.getIndex();\n\n// Richtige Tabelle aus dem Pack holen\n\nlet entry = pack.index.find(e => e.name === \"Kritische Fehler beim Zaubern\");\n\n\n// Zum Schluss drauf würfeln\n\npack.getEntity(entry._id).then(table => table.draw());\n\n}",
"author": "CBq5YXAqbO7HoJ03",
"img": "systems/midgard5/assets/icons/macro/kritfehlerzauber.svg",
"actorIds": [],
"_id": "XtzGuyYRyX8wVi1e"
}
@@ -0,0 +1,19 @@
{
"name": "Kritischer Erfolg bei der Abwehr",
"permission": {
"default": 2,
"CBq5YXAqbO7HoJ03": 3
},
"type": "script",
"flags": {
"core": {
"sourceId": "Macro.P6jQGko7PdG6Xlhe"
}
},
"scope": "global",
"command": "main()\nasync function main() {\n\n//Das richtige Pack (Kompendium) holen\n\nconst pack = game.packs.get(\"midgard5.tabellen-kritische-ereignisse\");\n\nawait pack.getIndex();\n\n// Richtige Tabelle aus dem Pack holen\n\nlet entry = pack.index.find(e => e.name === \"Kritischer Erfolg bei der Abwehr\");\n\n// Zum Schluss drauf würfeln\n\npack.getEntity(entry._id).then(table => table.draw());\n\n}",
"author": "CBq5YXAqbO7HoJ03",
"img": "systems/midgard5/assets/icons/macro/kriterfolgabwehr.svg",
"actorIds": [],
"_id": "qWyrwvh7g9CbTKg9"
}
@@ -0,0 +1,19 @@
{
"name": "Kritischer Fehler bei Angriffen",
"permission": {
"default": 2,
"CBq5YXAqbO7HoJ03": 3
},
"type": "script",
"flags": {
"core": {
"sourceId": "Macro.FZUermrYHSbrEluS"
}
},
"scope": "global",
"command": "main()\nasync function main() {\n\n//Das richtige Pack (Kompendium) holen\n\nconst pack = game.packs.get(\"midgard5.tabellen-kritische-ereignisse\");\n\nawait pack.getIndex();\n\n// Richtige Tabelle aus dem Pack holen\n\nlet entry = pack.index.find(e => e.name === \"Kritischer Fehler bei Angriffen\");\n\n// Zum Schluss drauf würfeln\n\npack.getEntity(entry._id).then(table => table.draw());\n\n}",
"author": "CBq5YXAqbO7HoJ03",
"img": "systems/midgard5/assets/icons/macro/kritfehlerangriff.svg",
"actorIds": [],
"_id": "798kmgnTkpfP89Z9"
}
@@ -0,0 +1,19 @@
{
"name": "Kritischer Fehler bei der Abwehr",
"permission": {
"default": 2,
"CBq5YXAqbO7HoJ03": 3
},
"type": "script",
"flags": {
"core": {
"sourceId": "Macro.k1tLp8Q2NY9twiZ6"
}
},
"scope": "global",
"command": "main()\nasync function main() {\n\n//Das richtige Pack (Kompendium) holen\n\nconst pack = game.packs.get(\"midgard5.tabellen-kritische-ereignisse\");\n\nawait pack.getIndex();\n\n// Richtige Tabelle aus dem Pack holen\n\nlet entry = pack.index.find(e => e.name === \"Kritischer Fehler bei der Abwehr\");\n\n// Zum Schluss drauf würfeln\n\npack.getEntity(entry._id).then(table => table.draw());\n\n}",
"author": "CBq5YXAqbO7HoJ03",
"img": "systems/midgard5/assets/icons/macro/kritfehlerabwehr.svg",
"actorIds": [],
"_id": "W7rYb00B6rtabV05"
}
@@ -0,0 +1,19 @@
{
"name": "Kritischer Schaden",
"permission": {
"default": 2,
"CBq5YXAqbO7HoJ03": 3
},
"type": "script",
"flags": {
"core": {
"sourceId": "Macro.QZlbT0tgD2aYW5YJ"
}
},
"scope": "global",
"command": "main()\nasync function main() {\n\n//Das richtige Pack (Kompendium) holen\n\nconst pack = game.packs.get(\"midgard5.tabellen-kritische-ereignisse\");\n\nawait pack.getIndex();\n\n// Richtige Tabelle aus dem Pack holen\n\nlet entry = pack.index.find(e => e.name === \"Kritischer Schaden\");\n\n// Zum Schluss drauf würfeln\n\npack.getEntity(entry._id).then(table => table.draw());\n\n}",
"author": "CBq5YXAqbO7HoJ03",
"img": "systems/midgard5/assets/icons/macro/kriterfolgangriff.svg",
"actorIds": [],
"_id": "48DUqxdpHDCGKOHp"
}