zischenstand
This commit is contained in:
21
src/modules/ckl-advanced-templates-pf1/LICENSE
Normal file
21
src/modules/ckl-advanced-templates-pf1/LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 TyphonJS-FVTT-Demo
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -0,0 +1,2 @@
|
||||
.tjs-glass-pane.svelte-ckl-hqedxf,.tjs-glass-pane-background.svelte-ckl-hqedxf,.tjs-glass-pane-container.svelte-ckl-hqedxf{position:absolute;overflow:hidden;height:100%;width:100%;max-height:100%;max-width:100%}a.svelte-ckl-166l8wd{padding:var(--tjs-app-header-button-padding, 0 3px)}a.svelte-ckl-166l8wd i{padding:var(--tjs-app-header-button-icon-padding, 0)}a.svelte-ckl-166l8wd:hover{text-shadow:var(--tjs-app-header-button-text-shadow-hover, var(--tjs-default-text-shadow-focus-hover, inherit))}a.svelte-ckl-166l8wd:focus-visible{box-shadow:var(--tjs-app-header-button-box-shadow-focus-visible, var(--tjs-default-box-shadow-focus-visible));outline:var(--tjs-app-header-button-outline-focus-visible, var(--tjs-default-outline-focus-visible, revert));transition:var(--tjs-app-header-button-transition-focus-visible, var(--tjs-default-transition-focus-visible));text-shadow:var(--tjs-app-header-button-text-shadow-focus-visible, var(--tjs-default-text-shadow-focus-hover, inherit))}span.svelte-ckl-166l8wd{padding:var(--tjs-app-header-button-label-padding, 0)}span.has-icon.svelte-ckl-166l8wd{padding:var(--tjs-app-header-button-label-padding, 0 0 0 3px)}.tjs-window-header-spacer.svelte-ckl-1wviwl9.svelte-ckl-1wviwl9{flex:0;margin-left:calc(-1 * var(--tjs-app-header-gap, 5px));margin-right:auto}.window-header.svelte-ckl-1wviwl9.svelte-ckl-1wviwl9{flex:var(--tjs-app-header-flex, 0 0 30px);gap:var(--tjs-app-header-gap, 5px);padding:var(--tjs-app-header-padding, 0 4px)}.window-header.svelte-ckl-1wviwl9 .tjs-app-icon.svelte-ckl-1wviwl9{align-self:center;border-radius:var(--tjs-app-header-icon-border-radius, 4px);flex:0 0 var(--tjs-app-header-icon-width, 24px);height:var(--tjs-app-header-icon-height, 24px)}.window-title.svelte-ckl-1wviwl9.svelte-ckl-1wviwl9{gap:var(--tjs-app-header-gap, 5px);max-width:fit-content;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}div.svelte-ckl-kjcljd{width:0;height:0;flex:0}div.svelte-ckl-kjcljd:focus{outline:none}.window-resizable-handle.svelte-ckl-14lnpz8{display:block;position:absolute;width:var(--tjs-app-resizable-handle-width, 20px);height:var(--tjs-app-resizable-handle-height, 20px);top:var(--tjs-app-resizable-handle-top, unset);bottom:var(--tjs-app-resizable-handle-bottom, -1px);right:var(--tjs-app-resizable-handle-right, 0);left:var(--tjs-app-resizable-handle-left, unset);background:var(--tjs-app-resizable-handle-background, #444);border:var(--tjs-app-resizable-handle-border, 1px solid #111);border-radius:var(--tjs-app-resizable-handle-border-radius, 4px 0 0 0);padding:var(--tjs-app-resizable-handle-padding, 2px)}.fa-arrows-alt-h.svelte-ckl-14lnpz8{color:var(--tjs-app-resizable-handle-icon-color, #f0f0e0);transform:var(--tjs-app-resizable-handle-icon-transform, rotate(45deg))}.window-app.svelte-ckl-oz81f7{overflow:var(--tjs-app-overflow, hidden)}.window-app.svelte-ckl-oz81f7:focus-visible{outline:var(--tjs-app-outline-focus-visible, var(--tjs-default-a11y-outline-focus-visible, 2px solid transparent))}.window-content.svelte-ckl-oz81f7:focus-visible{outline:var(--tjs-app-content-outline-focus-visible, var(--tjs-default-a11y-outline-focus-visible, 2px solid transparent))}.window-app.svelte-ckl-oz81f7 .window-header a{flex:none;margin:0}.window-app.svelte-ckl-oz81f7 .window-header i[class^=fa]{margin:0
|
||||
}.dialog-buttons.svelte-ckl-1ez4adq{padding-top:8px}.tjs-dialog-button.svelte-ckl-1ez4adq:hover{box-shadow:var(--tjs-dialog-button-box-shadow-focus-hover, var(--tjs-default-box-shadow-focus-hover));outline:var(--tjs-dialog-button-outline-focus-hover, var(--tjs-default-outline-focus-hover, revert));transition:var(--tjs-dialog-button-transition-focus-hover, var(--tjs-default-transition-focus-hover));text-shadow:var(--tjs-dialog-button-text-shadow-focus-hover, var(--tjs-default-text-shadow-focus-hover, inherit))}.tjs-dialog-button.svelte-ckl-1ez4adq:focus-visible{box-shadow:var(--tjs-dialog-button-box-shadow-focus-visible, var(--tjs-default-box-shadow-focus-visible));outline:var(--tjs-dialog-button-outline-focus-visible, var(--tjs-default-outline-focus-visible, revert));transition:var(--tjs-dialog-button-transition-focus-visible, var(--tjs-default-transition-focus-visible));text-shadow:var(--tjs-dialog-button-text-shadow-focus-visible, var(--tjs-default-text-shadow-focus-hover, inherit))}main.svelte-ckl-9lusmr{text-align:center;display:flex;flex-direction:column}.form-group.svelte-ckl-133lhu6 label.top-label.svelte-ckl-133lhu6{margin-bottom:auto}.form-group.radio-col-2.svelte-ckl-133lhu6 .form-fields.svelte-ckl-133lhu6{display:grid;grid-template-columns:1fr 1fr}.form-group.radio-col-3.svelte-ckl-133lhu6 .form-fields.svelte-ckl-133lhu6{display:grid;grid-template-columns:1fr 1fr 1fr}.no-border.svelte-ckl-133lhu6.svelte-ckl-133lhu6{border:2px solid transparent;padding:0 0.5rem}.form-group.radio-col-3.svelte-ckl-1y9e05u .form-fields.svelte-ckl-1y9e05u{display:grid;grid-template-columns:1fr 1fr 1fr}.optional-border.svelte-ckl-1y9e05u.svelte-ckl-1y9e05u{border:2px solid rgb(127, 143, 153);border-radius:6px;flex:0;padding:0 0.5rem}input[type=color][data-edit].svelte-ckl-133jd0p.svelte-ckl-133jd0p{margin:unset}.form-group.radio-col-3.svelte-ckl-133jd0p .form-fields.svelte-ckl-133jd0p{display:grid;grid-template-columns:1fr 1fr 1fr}.file-picker-button.svelte-ckl-133jd0p.svelte-ckl-133jd0p{max-width:fit-content}.color-input-border.svelte-ckl-133jd0p.svelte-ckl-133jd0p{box-sizing:border-box;border:1px solid #7a7971}.color-input-border.svelte-ckl-133jd0p>.svelte-ckl-133jd0p{background-color:transparent;border:unset !important;width:100%}.optional-border.svelte-ckl-133jd0p.svelte-ckl-133jd0p{border:2px solid rgb(127, 143, 153);border-radius:6px;flex:0;padding:0 0.5rem}.no-border.svelte-ckl-133jd0p.svelte-ckl-133jd0p{border:2px solid transparent;padding:0 0.5rem}input.svelte-ckl-133jd0p.svelte-ckl-133jd0p:disabled:not([type=range]),input.svelte-ckl-133jd0p.svelte-ckl-133jd0p:disabled:hover:not([type=range]){border:1px solid #7a7971;box-shadow:none !important;color:#7a7971}input[type=range].svelte-ckl-133jd0p.svelte-ckl-133jd0p:disabled:hover{cursor:default !important}button.svelte-ckl-133jd0p.svelte-ckl-133jd0p{width:fit-content}
|
||||
23461
src/modules/ckl-advanced-templates-pf1/ckl-advanced-templates-pf1.js
Normal file
23461
src/modules/ckl-advanced-templates-pf1/ckl-advanced-templates-pf1.js
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
102
src/modules/ckl-advanced-templates-pf1/lang/en.json
Normal file
102
src/modules/ckl-advanced-templates-pf1/lang/en.json
Normal file
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"ckl-advanced-templates-pf1": {
|
||||
"advanced-templates": "Advanced Templates",
|
||||
"cone": "Cone",
|
||||
"line": "Line",
|
||||
"rotation": "Rotation",
|
||||
"hints": {
|
||||
"chooseStart": "Left click to choose starting point.",
|
||||
"mouseWheelRotate": "Left click to submit. Use mouse wheel to rotate.",
|
||||
"restart": "Left click to submit. Right click to re-choose starting point."
|
||||
},
|
||||
"settings": {
|
||||
"cone15Alternate": {
|
||||
"name": "Allow 15' Alternate Cone",
|
||||
"hint": "If enabled, your players can use 15' cones that originate from a grid intersection when orienting the cone left/right/up/down instead of only the standard 15' cone grid outlines (as described by normal cone placement rules but not shown as any options in the 15' diagrams)."
|
||||
},
|
||||
"coneRotation": {
|
||||
"name": "Allow Non-Standard Cone Rotations",
|
||||
"hint": "Set this number to allow your players to rotate cones with the mouse wheel. The number determins each incremental rotation. 0 means the cone will always be pointed \"away from the caster\". For best results, set this to 45 or lower and it should be a divisor of 45 (e.g. 45, 22.5, 9, 5, etc.). This will result in some very weird \"cones\" but will give you more freedom in how you want to place them."
|
||||
},
|
||||
"debug": {
|
||||
"name": "Enable Debug Logging",
|
||||
"hint": "If enabled, then various log messages are logged to the console to help with debugging. Only useful when something is not working as expected."
|
||||
},
|
||||
"defaultLineWidth": {
|
||||
"name": "Default Line Width",
|
||||
"hint": "Default width for line templates. This is mostly aesthetic but if you're using Automated Animations, then I suggest leaving it at 5 so the line animations aren't squished within a narrow template."
|
||||
},
|
||||
"disableHints": {
|
||||
"name": "Disable Template Placement Hints",
|
||||
"hint": "If disabled, Hints for rotation, re-selecting starting position, and final template placement will not show."
|
||||
},
|
||||
"reExpand": {
|
||||
"name": "Re-expand Collapsed Sheets",
|
||||
"hint": "If enabled, any sheets that were collapsed to allow for template placement will be re-expanded after the template has been placed."
|
||||
},
|
||||
"target": {
|
||||
"name": "Target Tokens in Template",
|
||||
"hint": "If enabled, then your targeted tokens will update as you place the template."
|
||||
}
|
||||
},
|
||||
"templates": {
|
||||
"circle": {
|
||||
"placement": {
|
||||
"grid.label": "Grid Intersection",
|
||||
"self.label": "Centered on Token",
|
||||
"splash.label": "Splash Weapon",
|
||||
"type": {
|
||||
"label": "Effect type",
|
||||
"burst": "Burst",
|
||||
"spread": "Spread",
|
||||
"emanation": "Emanation"
|
||||
},
|
||||
"attachToToken": "Attach to Token"
|
||||
}
|
||||
},
|
||||
"cone": {
|
||||
"placement": {
|
||||
"self.label": "Originate from Caster",
|
||||
"selectTargetSquare.label": "Originate from Selection"
|
||||
}
|
||||
},
|
||||
"line": {
|
||||
"default": "Default Width",
|
||||
"overrideWidth": "Override Width",
|
||||
"uses same labels as cone": "",
|
||||
"widthLabel": "Width Settings",
|
||||
"widthOverride": "Width Override"
|
||||
},
|
||||
"rect": {
|
||||
"placement": {
|
||||
"centered.label": "Centered on cursor"
|
||||
}
|
||||
},
|
||||
"deletion": {
|
||||
"label": "When to Delete",
|
||||
"doNotDelete": "Do not delete",
|
||||
"endOfTurn": "End of turn",
|
||||
"timespan": "Duration"
|
||||
},
|
||||
"chooseOptions": "Choose Options",
|
||||
"colorGroupLabel": "Fill Settings",
|
||||
"colorAlpha.label": "Color Alpha",
|
||||
"hideOutline.label": "Hide Outline",
|
||||
"ignoreRange": "Ignore Range Restriction",
|
||||
"modalTitle": "{itemName} Template",
|
||||
"placement.selection.label": "Targeting Method",
|
||||
"placement.useSystem.label": "Use System Default",
|
||||
"textureGroupLabel": "Texture Settings",
|
||||
"textureAlpha.label": "Texture Alpha",
|
||||
"textureScale.label": "Texture Scale"
|
||||
},
|
||||
"cancel": "Cancel",
|
||||
"coneStart": "Cone Start",
|
||||
"lineStart": "Line Start",
|
||||
"ok": "Ok",
|
||||
"range": "{range} {unit}",
|
||||
"errors": {
|
||||
"outOfRange": "Target is out of range."
|
||||
}
|
||||
}
|
||||
}
|
||||
101
src/modules/ckl-advanced-templates-pf1/lang/es.json
Normal file
101
src/modules/ckl-advanced-templates-pf1/lang/es.json
Normal file
@@ -0,0 +1,101 @@
|
||||
{
|
||||
"ckl-advanced-templates-pf1": {
|
||||
"cone": "Cono",
|
||||
"line": "Línea",
|
||||
"rotation": "Rotación",
|
||||
"hints": {
|
||||
"chooseStart": "Click izquierdo para elegir el punto de partida.",
|
||||
"mouseWheelRotate": "Click izquierdo para confirmar. Usa la rueda del ratón para rotar.",
|
||||
"restart": "Click izquierdo para confirmar. Click derecho para volver a elegir un punto de partida."
|
||||
},
|
||||
"settings": {
|
||||
"cone15Alternate": {
|
||||
"name": "Permitir cono alternativo de 15 pies (4,5 m)",
|
||||
"hint": "Si se activa, los jugadores pueden usar conos de 15 pies (4,5 m) que se originan desde una intersección de cuadrículas cuando el cono se orienta hacia la izquierda/la derecha/arriba/abajo en lugar de los esquemas estándar de cono de 15 pies (4,5 m) (tal como se describe en las reglas al colocar un cono normal pero no se muestra como una opción en los diagramas de 15 pies [4,5 m])."
|
||||
},
|
||||
"coneRotation": {
|
||||
"name": "Permitir rotaciones de conos no estándar",
|
||||
"hint": "Indica este número para permitir a tus jugadores rotar conos con la rueda del ratón. El número determina cada incremento de la rotación. Poner 0 significa que el cono siempre apuntará \"alejado del lanzador\". Para mejores resultados, pon 45 o más bajo, siendo divisor de 45 (ej: 45, 22.5, 9, 5, etc.). Esto resultará en algunos \"conos\" ratos pero les darás más libertad a los jugadores en cuanto a cómo quieren colocarlos."
|
||||
},
|
||||
"debug": {
|
||||
"name": "Activar los registros de pruebas (Debug Logging)",
|
||||
"hint": "Si se activa, varios registros son mostrados en la consola para ayudar a la búsqueda y solución de errores (debugging). Solo es útil si algo no está funcionando como se espera."
|
||||
},
|
||||
"defaultLineWidth": {
|
||||
"name": "Ancho de la línea por defecto",
|
||||
"hint": "El ancho por defecto para las plantillas de líneas. Esta configuración es mayormente estética pero si estás usando Automated Animations, sugiero dejarlo en 5 para que las animaciones de las líneas no sean aplastadas en una plantilla estrecha."
|
||||
},
|
||||
"disableHints": {
|
||||
"name": "Desactivar ayudas para la colocación de plantillas",
|
||||
"hint": "Si se desactiva, no se mostrarán las ayudas para rotar, volver a seleccionar el punto de partida y la posición final de la plantilla."
|
||||
},
|
||||
"reExpand": {
|
||||
"name": "Volver a expandir las fichas colapsadas",
|
||||
"hint": "Si se activa, cualquier ficha que hubiese sido colapsada para permitir el posicionamiento de las plantillas volverá a ser expandida una vez la plantilla sea colocada."
|
||||
},
|
||||
"target": {
|
||||
"name": "Señalar como objetivos a las fichas (tokens) dentro de la plantilla",
|
||||
"hint": "Si se activa, tus objetivos seleccionados se actualizarán cuando coloques la plantilla."
|
||||
}
|
||||
},
|
||||
"advanced-templates": "Plantillas avanzadas (Advanced Templates)",
|
||||
"templates": {
|
||||
"circle": {
|
||||
"placement": {
|
||||
"grid.label": "Intersección de cuadrículas",
|
||||
"self.label": "Centrada en la ficha (token)",
|
||||
"type": {
|
||||
"label": "Tipo de efecto",
|
||||
"burst": "Explosión",
|
||||
"spread": "Expansión",
|
||||
"emanation": "Emanación"
|
||||
},
|
||||
"splash.label": "Arma de dispersión",
|
||||
"attachToToken": "Unido a la ficha (token)"
|
||||
}
|
||||
},
|
||||
"cone": {
|
||||
"placement": {
|
||||
"self.label": "Originar desde el lanzador",
|
||||
"selectTargetSquare.label": "Originar desde la selección"
|
||||
}
|
||||
},
|
||||
"line": {
|
||||
"default": "Ancho por defecto",
|
||||
"overrideWidth": "Sobrescribir ancho",
|
||||
"widthLabel": "Configuración del ancho",
|
||||
"widthOverride": "Ancho sobrescrito"
|
||||
},
|
||||
"rect": {
|
||||
"placement": {
|
||||
"centered.label": "Centrada en el cursor"
|
||||
}
|
||||
},
|
||||
"deletion": {
|
||||
"label": "Cuándo borrar",
|
||||
"timespan": "Duración",
|
||||
"doNotDelete": "No borrar",
|
||||
"endOfTurn": "Al final del turno"
|
||||
},
|
||||
"chooseOptions": "Elegir opciones",
|
||||
"colorAlpha.label": "Alpha (transparencia) del color",
|
||||
"hideOutline.label": "Esconder contorno",
|
||||
"ignoreRange": "Ignorar restricción de rango",
|
||||
"placement.selection.label": "Método para marcar objetivos",
|
||||
"textureGroupLabel": "Configuración de textura",
|
||||
"textureAlpha.label": "Alpha (transparencia) de la textura",
|
||||
"textureScale.label": "Escala de la textura",
|
||||
"modalTitle": "Plantilla de {itemName}",
|
||||
"colorGroupLabel": "Ajustes del relleno",
|
||||
"placement.useSystem.label": "Utilizar valores predeterminados del sistema"
|
||||
},
|
||||
"cancel": "Cancelar",
|
||||
"coneStart": "Inicio del cono",
|
||||
"lineStart": "Inicio de la línea",
|
||||
"ok": "Confirmar",
|
||||
"range": "{range} {unit}",
|
||||
"errors": {
|
||||
"outOfRange": "El objetivo está fuera del rango."
|
||||
}
|
||||
}
|
||||
}
|
||||
86
src/modules/ckl-advanced-templates-pf1/module.json
Normal file
86
src/modules/ckl-advanced-templates-pf1/module.json
Normal file
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"id": "ckl-advanced-templates-pf1",
|
||||
"name": "ckl-advanced-templates-pf1",
|
||||
"title": "Advanced Templates Pf1",
|
||||
"description": "Better, rules-based templates for Pf1",
|
||||
"version": "2.3.1",
|
||||
"url": "https://github.com/dmrickey/ckl-advanced-templates-pf1",
|
||||
"manifest": "https://github.com/dmrickey/ckl-advanced-templates-pf1/releases/latest/download/module.json",
|
||||
"download": "https://github.com/dmrickey/ckl-advanced-templates-pf1/releases/download/2.3.1/module.zip",
|
||||
"author": "David Rickey",
|
||||
"authors": [
|
||||
{
|
||||
"name": "David Rickey",
|
||||
"discord": "claudekennilol"
|
||||
}
|
||||
],
|
||||
"compatibility": {
|
||||
"minimum": "11",
|
||||
"verified": "11"
|
||||
},
|
||||
"scripts": [],
|
||||
"esmodules": [
|
||||
"ckl-advanced-templates-pf1.js"
|
||||
],
|
||||
"styles": [
|
||||
"ckl-advanced-templates-pf1.css"
|
||||
],
|
||||
"flags": {
|
||||
"hotReload": {
|
||||
"extensions": [
|
||||
"json"
|
||||
],
|
||||
"paths": [
|
||||
"lang"
|
||||
]
|
||||
}
|
||||
},
|
||||
"packs": [],
|
||||
"relationships": {
|
||||
"systems": [
|
||||
{
|
||||
"id": "pf1",
|
||||
"type": "system",
|
||||
"manifest": "https://gitlab.com/foundryvtt_pathfinder1e/foundryvtt-pathfinder1/-/releases/permalink/latest/downloads/system.json",
|
||||
"compatibility": {
|
||||
"minimum": "9",
|
||||
"verified": "9.5"
|
||||
}
|
||||
}
|
||||
],
|
||||
"requires": [
|
||||
{
|
||||
"id": "lib-wrapper",
|
||||
"type": "module",
|
||||
"manifest": "https://github.com/ruipin/fvtt-lib-wrapper/releases/latest/download/module.json",
|
||||
"compatibility": {
|
||||
"verified": "1.12.11.0"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"languages": [
|
||||
{
|
||||
"lang": "en",
|
||||
"name": "English",
|
||||
"path": "lang/en.json"
|
||||
},
|
||||
{
|
||||
"lang": "es",
|
||||
"name": "Español",
|
||||
"path": "lang/es.json"
|
||||
}
|
||||
],
|
||||
"socket": false,
|
||||
"license": "",
|
||||
"readme": "https://github.com/dmrickey/ckl-advanced-templates-pf1/blob/master/README.md",
|
||||
"bugs": "https://github.com/dmrickey/ckl-advanced-templates-pf1/issues",
|
||||
"changelog": "https://github.com/dmrickey/ckl-advanced-templates-pf1/blob/master/changelog.md",
|
||||
"system": [
|
||||
"pf1"
|
||||
],
|
||||
"minimumSystemVersion": "9.5",
|
||||
"library": false,
|
||||
"protected": false,
|
||||
"coreTranslation": false
|
||||
}
|
||||
Reference in New Issue
Block a user