generated from modules/vtt-module-template
Initial commit
commit
4a6dbe33e1
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
kind: template
|
||||||
|
load: new-release.yaml
|
||||||
|
data:
|
||||||
|
image: gitea.kdiva.ru/infrastructure/archiver:latest
|
|
@ -0,0 +1,3 @@
|
||||||
|
temp
|
||||||
|
*.zip
|
||||||
|
resources
|
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "helper-scripts"]
|
||||||
|
path = helper-scripts
|
||||||
|
url = https://gitea.kdiva.ru/modules/helper-scripts.git
|
|
@ -0,0 +1,84 @@
|
||||||
|
# Файл шаблона для новых репозиториев
|
||||||
|
|
||||||
|
Для дальнейшей работы необходимо:
|
||||||
|
* добавить субмодуль со скриптами: git submodule add https://gitea.kdiva.ru/modules/helper-scripts.git
|
||||||
|
* заполнить поля в `module.json.template`
|
||||||
|
|
||||||
|
```json
|
||||||
|
"id": "",
|
||||||
|
"name": "",
|
||||||
|
"title": "",
|
||||||
|
"description": "",
|
||||||
|
...
|
||||||
|
"packs": []
|
||||||
|
```
|
||||||
|
`packs` может включать в себя следующие элементы:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"name": "actors",
|
||||||
|
"label": "new adventure template",
|
||||||
|
"path": "/packs/actors.db",
|
||||||
|
"entity": "Actor",
|
||||||
|
"type": "Actor",
|
||||||
|
"system": "dnd5e"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "adventure",
|
||||||
|
"label": "new adventure template",
|
||||||
|
"path": "/packs/adventure.db",
|
||||||
|
"entity": "Adventure",
|
||||||
|
"type": "Adventure",
|
||||||
|
"system": "dnd5e"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cards",
|
||||||
|
"label": "new adventure template",
|
||||||
|
"path": "/packs/cards.db",
|
||||||
|
"entity": "Cards",
|
||||||
|
"type": "Cards"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "items",
|
||||||
|
"label": "new adventure template",
|
||||||
|
"path": "/packs/items.db",
|
||||||
|
"entity": "Item",
|
||||||
|
"type": "Item",
|
||||||
|
"system": "dnd5e"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "journals",
|
||||||
|
"label": "new adventure template",
|
||||||
|
"path": "/packs/journals.db",
|
||||||
|
"entity": "JournalEntry",
|
||||||
|
"type": "JournalEntry"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "macros",
|
||||||
|
"label": "new adventure template",
|
||||||
|
"path": "/packs/macros.db",
|
||||||
|
"entity": "Macro",
|
||||||
|
"type": "Macro"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "maps",
|
||||||
|
"label": "new adventure template",
|
||||||
|
"path": "/packs/maps.db",
|
||||||
|
"entity": "Scene",
|
||||||
|
"type": "Scene"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "playlists",
|
||||||
|
"label": "new adventure template",
|
||||||
|
"path": "/packs/playlists.db",
|
||||||
|
"entity": "Playlist",
|
||||||
|
"type": "Playlist"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "rolltables",
|
||||||
|
"label": "new adventure template",
|
||||||
|
"path": "/packs/rolltables.db",
|
||||||
|
"entity": "RollTable",
|
||||||
|
"type": "RollTable"
|
||||||
|
}
|
||||||
|
```
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"id": "",
|
||||||
|
"name": "",
|
||||||
|
"title": "",
|
||||||
|
"description": "",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "leego neit"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": "$RELEASE_TAG",
|
||||||
|
"minimumCoreVersion": "9",
|
||||||
|
"compatibility": {
|
||||||
|
"minimum": "9",
|
||||||
|
"verified": "11",
|
||||||
|
"maximum": "11"
|
||||||
|
},
|
||||||
|
"url": "${DRONE_REPO_LINK}",
|
||||||
|
"manifest": "${DRONE_REPO_LINK}/releases/download/latest/module.json",
|
||||||
|
"download": "${DRONE_REPO_LINK}/releases/download/$RELEASE_TAG/module.zip",
|
||||||
|
"styles": [],
|
||||||
|
"packs": []
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
// Module specific code goes here. See https://foundryvtt.com/article/module-development/ for help.
|
Loading…
Reference in New Issue