Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkinabout committed Dec 27, 2022
0 parents commit 19a2295
Show file tree
Hide file tree
Showing 25 changed files with 2,988 additions and 0 deletions.
Binary file added .github/readme/token-action-hud.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Release Creation

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# get part of the tag after the `v`
- name: Extract tag version number
id: get_version
uses: battila7/get-version-action@v2

# Substitute the Manifest and Download URLs in the module.json
- name: Substitute Manifest and Download Links For Versioned Ones
id: sub_manifest_link_version
uses: microsoft/variable-substitution@v1
with:
files: 'module.json'
env:
version: ${{steps.get_version.outputs.version-without-v}}
url: https://github.com/${{github.repository}}
manifest: https://github.com/${{github.repository}}/releases/latest/download/module.json
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip

# Create a zip file with all files required by the module to add to the release
- run: zip -r ./module.zip module.json readme.md LICENSE languages/ scripts/

# Create a release for this specific version
- name: Update Release with Files
id: create_version_release
uses: ncipollo/release-action@v1
with:
allowUpdates: true # Set this to false if you want to prevent updating existing releases
name: ${{ github.event.release.name }}
draft: ${{ github.event.release.unpublished }}
prerelease: ${{ github.event.release.prerelease }}
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: './module.json, ./module.zip'
tag: ${{ github.event.release.tag_name }}
body: ${{ github.event.release.body }}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/*
.eslintrc.js
.eslintrc.json
package-lock.json
package.json
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"githubPullRequests.ignoredPullRequestBranches": [
"master"
]
}
57 changes: 57 additions & 0 deletions languages/br.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"tokenActionHud": {
"dnd5e": {
"abilities": "Atributos",
"bonusActions": "Ações de bônus",
"checks": "Testes",
"conditions": "Condições",
"crewActions": "Ações da tripulação",
"lair": "Covil",
"lairActions": "Ações de covil",
"legendary": "Lendária",
"legendaryActions": "Ações Lendárias",
"otherActions": "Outras ações",
"rests": "Descansos",
"saves": "Salvaguarda",
"skills": "Pericias",
"settings": {
"abbreviateSkills": {
"hint": "Habilidades e atributos usarão uma abreviação de três caracteres.",
"name": "Abrevie nomes de habilidades e atributos"
},
"displaySpellInfo": {
"hint": "As informações do componente de magia, a concentração e o estatus ritual serão anotados ao lado do nome do feitiço.",
"name": "Exibir informação de magias"
},
"itemMacroReplace": {
"hint": "Select which of the items will be shown in the inventory.",
"name": "Item-Macro: item macro, original item, or both"
},
"showItemsWithoutActivationCosts": {
"hint": "If enabled, Items that have no activation information will be added to the Inventory list",
"name": "Show Items without Activation costs"
},
"showPassiveFeats": {
"hint": "Mostrar talentos passivos",
"name": "Mostrar talentos passivos"
},
"showSlowActions": {
"hint": "Mostrar ações que levam mais de uma rodada",
"name": "Mostrar ações lentas"
},
"showUnchargedItems": {
"hint": "If enabled, items are shown in the HUD even if they have no remaining charges.",
"name": "Show empty items (includes items and spells)"
},
"showUnequippedItems": {
"hint": "Todos os itens dos NPCs serão exibidos, não apenas itens equipados.",
"name": "Exibir todos os itens de NPCs"
},
"showUnpreparedSpells": {
"hint": "Se desativado, magias como cantrips, magias inatas, pactos e à vontade precisam ser 'preparadas' através dos detalhes da magia que serão mostrados no HUD. ",
"name": "Exibe todas as magias não preparadas"
},
}
}
}
}
56 changes: 56 additions & 0 deletions languages/cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"tokenActionHud": {
"dnd5e": {
"abilities": "属性",
"bonusActions": "獎勵行動",
"checks": "检定",
"conditions": "状态",
"crewActions": "船員行動",
"lair": "巢穴",
"lairActions": "巢穴行動",
"legendary": "传奇",
"legendaryActions": "傳奇動作",
"otherActions": "其他行為",
"rests": "休息",
"skills": "技能",
"settings": {
"abbreviateSkills": {
"name": "缩写技能和属性名",
"hint": "启用后,技能和属性都会用其三字母缩写。"
},
"displaySpellInfo": {
"name": "显示法术信息",
"hint": "启用后,法术构材信息、专注、仪式状态会在法术名旁标记出来。"
},
"itemMacroReplace": {
"name": "物品宏:覆盖原有物品",
"hint": "启用后,有宏的物品的物品宏将会覆盖原本的物品,否则两个都会显示。"
},
"showItemsWithoutActivationCosts": {
"hint": "If enabled, Items that have no activation information will be added to the Inventory list",
"name": "Show Items without Activation costs"
},
"showPassiveFeats": {
"name": "顯示被動功能",
"hint": "顯示被動功能"
},
"showSlowActions": {
"name": "顯示緩慢的動作",
"hint": "顯示超過一輪的動作"
},
"showUnchargedItems": {
"name": "显示空物品(包含物品和法术)",
"hint": "启用后,HUD上会显示没有剩余充能的物品。"
},
"showUnequippedItems": {
"name": "显示所有NPC物品",
"hint": "启用后,NPC的所有物品都会显示,而不仅仅是已装备的物品。"
},
"showUnpreparedSpells": {
"name": "显示所有未准备法术",
"hint": "禁用后,戏法、天生、契约和随意使用的法术需要在法术详情页设置为‘准备’状态才能显示在HUD上。"
}
}
}
}
}
57 changes: 57 additions & 0 deletions languages/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"tokenActionHud": {
"dnd5e": {
"abilities": "Abilities",
"bonusActions": "Bonus Actions",
"checks": "Checks",
"conditions": "Conditions",
"crewActions": "Crew Actions",
"lair": "Lair",
"lairActions": "Lair Actions",
"legendary": "Legendär",
"legendaryActions": "Legendary Actions",
"otherActions": "Other Actions",
"rests": "Rests",
"skills": "Skills",
"settings": {
"abbreviateSkills": {
"hint": "If enabled, skills and abilities will use a three-character abbreviation.",
"name": "Abbreviate Skill and Ability Names"
},
"displaySpellInfo": {
"hint": "If enabled, spell component information, concentration, and ritual status will be noted next to the spell name.",
"name": "Display spell information"
},
"itemMacroReplace": {
"hint": "Select which of the items will be shown in the inventory.",
"name": "Item-Macro: item macro, original item, or both"
},
"showItemsWithoutActivationCosts": {
"hint": "If enabled, Items that have no activation information will be added to the Inventory list",
"name": "Show Items without Activation costs"
},
"showPassiveFeats": {
"hint": "Show passive feats",
"name": "Show passive feats"
},
"showSlowActions": {
"hint": "Aktionen anzeigen, die länger als eine Runde dauern",
"name": "Langsame Aktionen anzeigen"
},
"showUnchargedItems": {
"hint": "If enabled, items are shown in the HUD even if they have no remaining charges.",
"name": "Show empty items (includes items and spells)"
},
"showUnequippedItems": {
"hint": "If enabled, all items are shown for NPCs, not just equipped items.",
"name": "Show all NPC items"
},
"showUnpreparedSpells": {
"hint": "If disabled, spells such as cantrips, innate, pact, and at-will spells need to be 'prepared' via the spell details to be shown on the HUD.",
"name": "Show all non-preparable spells"
}

}
}
}
}
56 changes: 56 additions & 0 deletions languages/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"tokenActionHud": {
"dnd5e": {
"abilities": "Abilities",
"bonusActions": "Bonus Actions",
"checks": "Checks",
"conditions": "Conditions",
"crewActions": "Crew Actions",
"lair": "Lair",
"lairActions": "Lair Actions",
"legendary": "Legendary",
"legendaryActions": "Legendary Actions",
"otherActions": "Other Actions",
"rests": "Rests",
"skills": "Skills",
"settings": {
"abbreviateSkills": {
"hint": "Display skill and ability names as a three-character abbreviation",
"name": "Abbreviate Skill and Ability Names"
},
"displaySpellInfo": {
"hint": "Display spell component information, concentration, and ritual status next to the spell's name",
"name": "Display Spell Information"
},
"itemMacroReplace": {
"hint": "Select which of the items will be shown in the inventory",
"name": "Item-Macro: item macro, original item, or both"
},
"showItemsWithoutActivationCosts": {
"hint": "Show items without an activation cost",
"name": "Show Items without Activation Costs"
},
"showPassiveFeats": {
"hint": "Show passive features",
"name": "Show Passive Features"
},
"showSlowActions": {
"hint": "Show actions that take longer than one round",
"name": "Show Slow Actions"
},
"showUnchargedItems": {
"hint": "Show items with no charges remaining",
"name": "Show Uncharged Items"
},
"showUnequippedItems": {
"hint": "Show unequipped items",
"name": "Show Unequipped Items"
},
"showUnpreparedSpells": {
"hint": "Show unprepared spells",
"name": "Show Unprepared Spells"
}
}
}
}
}
57 changes: 57 additions & 0 deletions languages/es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"tokenActionHud": {
"dnd5e": {
"abilities": "Características",
"bonusActions": "Acciones de bonificación",
"checks": "Pruebas",
"conditions": "Estados",
"crewActions": "Acciones de la tripulación",
"inventory": "Inventario",
"lair": "Guarida",
"lairActions": "Acciones de guarida",
"legendary": "Legendario",
"legendaryActions": "Acciones legendarias",
"otherActions": "Otras acciones",
"rests": "Descansos",
"skills": "Habilidades",
"settings": {
"abbreviateSkills": {
"hint": "Si se activa, las habilidades y características utilizarán una abreviatura de tres letras.",
"name": "Nombres de habilidades y características abreviados"
},
"displaySpellInfo": {
"hint": "Si se activa, la información de los componentes del conjuro, la concentración y el estado del ritual se indicarán junto al nombre del conjuro.",
"name": "Mostrar información del conjuro"
},
"itemMacroReplace": {
"hint": "Selecciona qué elementos se mostrarán en el inventario.",
"name": "Objeto-Macro: macro del objeto, objeto original, o ambos"
},
"showItemsWithoutActivationCosts": {
"hint": "If enabled, Items that have no activation information will be added to the Inventory list",
"name": "Show Items without Activation costs"
},
"showPassiveFeats": {
"hint": "Mostrar rasgos pasivos",
"name": "Mostrar rasgos pasivos"
},
"showSlowActions": {
"hint": "Mostrar acciones que toman más de una ronda",
"name": "Mostrar acciones lentas"
},
"showUnchargedItems": {
"hint": "Si se activa, los elementos se muestran en el HUD incluso si no tienen cargas restantes.",
"name": "Mostrar elementos sin carga (incluye objetos y conjuros)"
},
"showUnequippedItems": {
"hint": "Si se activa, se muestran todos los objetos de los PNJ, no sólo los equipados.",
"name": "Mostrar todos los objetos de los PNJ"
},
"showUnpreparedSpells": {
"hint": "Si se desactiva, los conjuros como los trucos, innatos, del pactos y los conjuros a voluntad, se deben 'preparar' a través de los detalles del conjuro para que se muestren en el HUD.",
"name": "Mostrar todos los conjuros no preparables"
}
}
}
}
}
Loading

0 comments on commit 19a2295

Please sign in to comment.