Release v1.13.1 - Conditions & Fixes
This commit is contained in:
11
CHANGELOG.md
11
CHANGELOG.md
@@ -6,14 +6,17 @@ Date format : day/month/year
|
||||
> - `foundry-version`: Stick to the major version of FoundryVTT.
|
||||
> - `system-version`: System functionalities and Fixes.
|
||||
|
||||
## 1.13.1 - ??/09/2025 - Fixes
|
||||
## 1.13.1 - 21/09/2025 - Conditions & Fixes
|
||||
- Fix for Clicking on items doesn't show item window (#65 Thx to Litasa)
|
||||
- Fix for fade configuration (#66)
|
||||
- Added basic token conditions (Thanks to Putty)
|
||||
- Added compromised condition when strife goes beyond max (Thanks to Putty).
|
||||
- Added ability to remove condition from actor sheet and core journal on click.
|
||||
- Added some Tooltips loading optimizations (#62 Thanks to KitCat).
|
||||
- Added some Properties loading optimizations (#63 Thanks to KitCat).
|
||||
- Conditions changes :
|
||||
- Added basic token conditions (Thanks to Putty)
|
||||
- Added compromised condition when strife goes beyond max (Thanks to Putty).
|
||||
- Added apply incapacitated if character's fatigue goes beyond endurance (Thanks to Putty).
|
||||
- Added ability to remove condition from actor sheet and show core journal on click.
|
||||
- Added option to show all conditions (StatusEffect), default to false (show only l5R conditions).
|
||||
|
||||
## 1.13.0 - 24/08/2025 - Foundry v13 Compatibility (Thx to Litasa)
|
||||
__! Be certain to carefully back up any critical user data before installing this update !__
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
"SetTn1OnTypeChange": "Set TN to 1 on encounter change",
|
||||
"SetTn1OnTypeChangeHint": "Set the TN to 1 when the encounter type is selected (Intrigue, Duel, Skirmish or Mass battle)"
|
||||
},
|
||||
"ShowAllStatusEffects": {
|
||||
"Title": "Show all StatusEffects",
|
||||
"Hint": "If uncheck (default), only L5R conditions are shown."
|
||||
},
|
||||
"CustomTechniques": {
|
||||
"Title": "Use custom techniques",
|
||||
"Hint": "Add 'Specificity' technique type to serve as a catch-all."
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
"SetTn1OnTypeChange": "Poner el NO a 1 al seleccionar el tipo de encuentro",
|
||||
"SetTn1OnTypeChangeHint": "Poner el NO a 1 cuando se elige el tipo de encuentro (Intriga, Duelo, Escaramuza o Batalla a gran escala)"
|
||||
},
|
||||
"ShowAllStatusEffects": {
|
||||
"Title": "Show all StatusEffects",
|
||||
"Hint": "If uncheck (default), only L5R conditions are shown."
|
||||
},
|
||||
"CustomTechniques": {
|
||||
"Title": "Use custom techniques",
|
||||
"Hint": "Add 'Specificity' technique type to serve as a catch-all."
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
"SetTn1OnTypeChange": "ND 1 à la sélection du type de rencontre",
|
||||
"SetTn1OnTypeChangeHint": "Met le ND à 1 lorsqu'on modifie le type de rencontre (Intrigue, Duel, Escarmouche ou Bataille rangée)"
|
||||
},
|
||||
"ShowAllStatusEffects": {
|
||||
"Title": "Affiche tous les StatusEffects",
|
||||
"Hint": "Si décoché (défaut), uniquement les conditions de L5R sont affichées."
|
||||
},
|
||||
"CustomTechniques": {
|
||||
"Title": "Utiliser les techniques personnalisées",
|
||||
"Hint": "Ajoute un type de technique 'Particularités' pour servir de fourre-tout."
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
"SetTn1OnTypeChange": "Fissa la TN a 1 quando si cambia il conflitto",
|
||||
"SetTn1OnTypeChangeHint": "Fissa la TN a 1 quando si seleziona il tipo di conflitto (Intrigo, Duello, Schermaglia or Battaglia campale)"
|
||||
},
|
||||
"ShowAllStatusEffects": {
|
||||
"Title": "Show all StatusEffects",
|
||||
"Hint": "If uncheck (default), only L5R conditions are shown."
|
||||
},
|
||||
"CustomTechniques": {
|
||||
"Title": "Usa tecniche custom",
|
||||
"Hint": "Aggiunge il tipo 'Speciale' come termine generale."
|
||||
|
||||
@@ -14,7 +14,58 @@ export const L5R5E = {
|
||||
skillCostMultiplier: 2,
|
||||
techniqueCost: 3,
|
||||
},
|
||||
// For rings wound to be aligned, add them first
|
||||
conditions: [{
|
||||
id: "lightly_wounded_fire",
|
||||
name: "l5r5e.conditions.lightly_wounded_fire",
|
||||
img: "systems/l5r5e/assets/icons/conditions/fire-white.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "lightly_wounded_water",
|
||||
name: "l5r5e.conditions.lightly_wounded_water",
|
||||
img: "systems/l5r5e/assets/icons/conditions/water-white.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "lightly_wounded_air",
|
||||
name: "l5r5e.conditions.lightly_wounded_air",
|
||||
img: "systems/l5r5e/assets/icons/conditions/air-white.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "lightly_wounded_earth",
|
||||
name: "l5r5e.conditions.lightly_wounded_earth",
|
||||
img: "systems/l5r5e/assets/icons/conditions/earth-white.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "lightly_wounded_void",
|
||||
name: "l5r5e.conditions.lightly_wounded_void",
|
||||
img: "systems/l5r5e/assets/icons/conditions/void-white.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "severely_wounded_fire",
|
||||
name: "l5r5e.conditions.severely_wounded_fire",
|
||||
img: "systems/l5r5e/assets/icons/conditions/fire-black.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "severely_wounded_water",
|
||||
name: "l5r5e.conditions.severely_wounded_water",
|
||||
img: "systems/l5r5e/assets/icons/conditions/water-black.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "severely_wounded_air",
|
||||
name: "l5r5e.conditions.severely_wounded_air",
|
||||
img: "systems/l5r5e/assets/icons/conditions/air-black.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "severely_wounded_earth",
|
||||
name: "l5r5e.conditions.severely_wounded_earth",
|
||||
img: "systems/l5r5e/assets/icons/conditions/earth-black.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "severely_wounded_void",
|
||||
name: "l5r5e.conditions.severely_wounded_void",
|
||||
img: "systems/l5r5e/assets/icons/conditions/void-black.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "afflicted",
|
||||
name: "l5r5e.conditions.afflicted",
|
||||
img: "icons/magic/death/undead-ghost-scream-teal.webp",
|
||||
@@ -129,56 +180,6 @@ export const L5R5E = {
|
||||
name: "l5r5e.conditions.unconscious",
|
||||
img: "icons/magic/control/sleep-bubble-purple.webp",
|
||||
system: { id: "L5RCoreCon000015" }
|
||||
},{
|
||||
id: "lightly_wounded_fire",
|
||||
name: "l5r5e.conditions.lightly_wounded_fire",
|
||||
img: "systems/l5r5e/assets/icons/conditions/fire-white.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "lightly_wounded_water",
|
||||
name: "l5r5e.conditions.lightly_wounded_water",
|
||||
img: "systems/l5r5e/assets/icons/conditions/water-white.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "lightly_wounded_air",
|
||||
name: "l5r5e.conditions.lightly_wounded_air",
|
||||
img: "systems/l5r5e/assets/icons/conditions/air-white.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "lightly_wounded_earth",
|
||||
name: "l5r5e.conditions.lightly_wounded_earth",
|
||||
img: "systems/l5r5e/assets/icons/conditions/earth-white.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "lightly_wounded_void",
|
||||
name: "l5r5e.conditions.lightly_wounded_void",
|
||||
img: "systems/l5r5e/assets/icons/conditions/void-white.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "severely_wounded_fire",
|
||||
name: "l5r5e.conditions.severely_wounded_fire",
|
||||
img: "systems/l5r5e/assets/icons/conditions/fire-black.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "severely_wounded_water",
|
||||
name: "l5r5e.conditions.severely_wounded_water",
|
||||
img: "systems/l5r5e/assets/icons/conditions/water-black.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "severely_wounded_air",
|
||||
name: "l5r5e.conditions.severely_wounded_air",
|
||||
img: "systems/l5r5e/assets/icons/conditions/air-black.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "severely_wounded_earth",
|
||||
name: "l5r5e.conditions.severely_wounded_earth",
|
||||
img: "systems/l5r5e/assets/icons/conditions/earth-black.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
},{
|
||||
id: "severely_wounded_void",
|
||||
name: "l5r5e.conditions.severely_wounded_void",
|
||||
img: "systems/l5r5e/assets/icons/conditions/void-black.webp",
|
||||
system: { id: "L5RCoreCon000016" }
|
||||
}],
|
||||
regex: {
|
||||
techniqueDifficulty: /^@([TS]):([^|]+?)(?:\|(min|max)(?:\(([^)]+?)\))?)?$/,
|
||||
|
||||
@@ -5,8 +5,14 @@ export default class HooksL5r5e {
|
||||
* Do initialization
|
||||
*/
|
||||
static async init() {
|
||||
// Add L5R conditions to foundry conditions (don't restrict users)
|
||||
CONFIG.statusEffects.push(...CONFIG.l5r5e.conditions);
|
||||
// L5R conditions
|
||||
if (game.settings.get(CONFIG.l5r5e.namespace, "show-all-status-effects")) {
|
||||
// Add L5R conditions to foundry conditions (don't restrict users)
|
||||
CONFIG.statusEffects.push(...CONFIG.l5r5e.conditions);
|
||||
} else {
|
||||
// L5R conditions only
|
||||
CONFIG.statusEffects = CONFIG.l5r5e.conditions;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,6 +25,15 @@ export const RegisterSettings = function () {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
});
|
||||
game.settings.register(CONFIG.l5r5e.namespace, "show-all-status-effects", {
|
||||
name: "SETTINGS.ShowAllStatusEffects.Title",
|
||||
hint: "SETTINGS.ShowAllStatusEffects.Hint",
|
||||
scope: "world",
|
||||
config: true,
|
||||
type: Boolean,
|
||||
default: false,
|
||||
requiresReload: true,
|
||||
});
|
||||
game.settings.register(CONFIG.l5r5e.namespace, "techniques-customs", {
|
||||
name: "SETTINGS.CustomTechniques.Title",
|
||||
hint: "SETTINGS.CustomTechniques.Hint",
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
"changelog": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/CHANGELOG.md",
|
||||
"license": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/LICENSE.md",
|
||||
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json",
|
||||
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.13.0/raw/l5r5e.zip?job=build",
|
||||
"version": "1.13.0",
|
||||
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.13.1/raw/l5r5e.zip?job=build",
|
||||
"version": "1.13.1",
|
||||
"compatibility": {
|
||||
"minimum": "13",
|
||||
"verified": "13",
|
||||
|
||||
Reference in New Issue
Block a user