Initial commit

main
dmitry_k 2024-06-07 13:06:25 +00:00
commit 0076a2064d
15 changed files with 119 additions and 0 deletions

5
.drone.yml 100644
View File

@ -0,0 +1,5 @@
---
kind: template
load: new-release.yaml
data:
image: gitea.kdiva.ru/infrastructure/archiver:latest

3
.gitignore vendored 100644
View File

@ -0,0 +1,3 @@
temp
*.zip
resources

3
.gitmodules vendored 100644
View File

@ -0,0 +1,3 @@
[submodule "helper-scripts"]
path = helper-scripts
url = https://gitea.kdiva.ru/modules/helper-scripts.git

84
README.md 100644
View File

@ -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"
}
```

View File

@ -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": []
}

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

@ -0,0 +1 @@
// Module specific code goes here. See https://foundryvtt.com/article/module-development/ for help.