diff --git a/.eslintrc.js b/.eslintrc.js index 89f5541..885cc12 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -17,6 +17,7 @@ module.exports = { "import/extensions": "off", "class-methods-use-this": "off", // Personal Preference + // "operator-linebreak": ["error", "before"], // prettier bug "linebreak-style": "off", "no-mixed-operators": "off", "no-param-reassign": "off", @@ -419,7 +420,7 @@ module.exports = { filterObject: "readonly", flattenObject: "readonly", expandObject: "readonly", - isObjectEmpty: "readonly", + isEmpty: "readonly", mergeObject: "readonly", diffObject: "readonly", hasProperty: "readonly", @@ -438,6 +439,7 @@ module.exports = { saveDataToFile: "readonly", readTextFromFile: "readonly", fromUuid: "readonly", + fromUuidSync: "readonly", _handleMouseWheelInputChange: "readonly", getTemplate: "readonly", loadTemplates: "readonly", diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cef06f..7784dee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,7 +83,7 @@ Technique syntaxe "quick" explanation : - Or specific syntaxe "@`S`:`prop1`" or "@`T`:`prop1`|`max`" or "@`T`:`prop1`|`max`(`prop2`)" : - `@` fixed, trigger the parser - `T` or `S` : `T`arget or `S`elf, define the actor to get the value. - - `prop1` / `prop2` : Can be any property in `actor` or `actor.data.data`. Limitations: currently no `size`, `distance` (range) or computation (a+b). + - `prop1` / `prop2` : Can be any property in `actor` or `actor.system`. Limitations: currently no `size`, `distance` (range) or computation (a+b). - `|` separator, optional if no min/max. - `min` or `max` : Between the selected targets, search for the min/max of `prop2`. If no `prop2` provided, take `prop1` as `prop2` (irrelevant for `@S`). - `(prop2)` : define the property for the actor selection in multiple target, can be omitted if same as `prop1`. diff --git a/system/scripts/actor.js b/system/scripts/actor.js index 9fd18d9..9a339b2 100644 --- a/system/scripts/actor.js +++ b/system/scripts/actor.js @@ -16,12 +16,12 @@ export class ActorL5r5e extends Actor { data.img = `${CONFIG.l5r5e.paths.assets}icons/actors/${data.type}.svg`; } - // Some tweak on actors token - data.token = data.token || {}; + // Some tweak on actors prototypeToken + data.prototypeToken = data.prototypeToken || {}; switch (data.type) { case "character": foundry.utils.mergeObject( - data.token, + data.prototypeToken, { // vision: true, // dimSight: 30, @@ -41,7 +41,7 @@ export class ActorL5r5e extends Actor { case "npc": foundry.utils.mergeObject( - data.token, + data.prototypeToken, { actorLink: true, disposition: 0, // neutral @@ -58,7 +58,7 @@ export class ActorL5r5e extends Actor { case "army": foundry.utils.mergeObject( - data.token, + data.prototypeToken, { actorLink: true, disposition: 0, // neutral @@ -94,22 +94,25 @@ export class ActorL5r5e extends Actor { context.pack = this.pack; // NPC switch between types : Linked actor for Adversary, unlinked for Minion - if (!!data["data.type"] && this.data.type === "npc" && data["data.type"] !== this.data.data.type) { - data["token.actorLink"] = data["data.type"] === "adversary"; + if (!!data["system.type"] && this.type === "npc" && data["system.type"] !== this.system.type) { + data["prototypeToken.actorLink"] = data["system.type"] === "adversary"; } // Only on linked Actor - if (!!data["token.actorLink"] || (data["token.actorLink"] === undefined && this.data.token.actorLink)) { + if ( + !!data["prototypeToken.actorLink"] || + (data["prototypeToken.actorLink"] === undefined && this.prototypeToken?.actorLink) + ) { // Update the token name/image if the sheet name/image changed, but only if // they was previously the same, and token img was not set in same time - ["name", "img"].forEach((fieldName) => { + Object.entries({ name: "name", img: "texture.src" }).forEach(([dataProp, TknProp]) => { if ( - data[fieldName] && - !data["token." + fieldName] && - this.data[fieldName] === this.data.token[fieldName] && - this.data[fieldName] !== data[fieldName] + data[dataProp] && + !data["prototypeToken." + TknProp] && + this[dataProp] === foundry.utils.getProperty(this.prototypeToken, TknProp) && + this[dataProp] !== data[dataProp] ) { - data["token." + fieldName] = data[fieldName]; + data["prototypeToken." + TknProp] = data[dataProp]; } }); } @@ -128,36 +131,37 @@ export class ActorL5r5e extends Actor { super.prepareData(); if (this.isCharacter) { - const data = this.data.data; + const system = this.system; // No automation for npc as they cheat in stats - if (this.data.type === "character") { - ActorL5r5e.computeDerivedAttributes(data); + if (this.type === "character") { + ActorL5r5e.computeDerivedAttributes(system); } // Attributes bars - data.fatigue.max = data.endurance; - data.strife.max = data.composure; - data.void_points.max = data.rings.void; + system.fatigue.max = system.endurance; + system.strife.max = system.composure; + system.void_points.max = system.rings.void; // if compromise, vigilance = 1 - data.is_compromised = data.strife.value > data.strife.max; + system.is_compromised = system.strife.value > system.strife.max; // Make sure void points are never greater than max - if (data.void_points.value > data.void_points.max) { - data.void_points.value = data.void_points.max; + if (system.void_points.value > system.void_points.max) { + system.void_points.value = system.void_points.max; } } } /** * Set derived attributes (endurance, composure, focus, vigilance) from rings values + * @param {Object} system */ - static computeDerivedAttributes(data) { - data.endurance = (Number(data.rings.earth) + Number(data.rings.fire)) * 2; - data.composure = (Number(data.rings.earth) + Number(data.rings.water)) * 2; - data.focus = Number(data.rings.air) + Number(data.rings.fire); - data.vigilance = Math.ceil((Number(data.rings.air) + Number(data.rings.water)) / 2); + static computeDerivedAttributes(system) { + system.endurance = (Number(system.rings.earth) + Number(system.rings.fire)) * 2; + system.composure = (Number(system.rings.earth) + Number(system.rings.water)) * 2; + system.focus = Number(system.rings.air) + Number(system.rings.fire); + system.vigilance = Math.ceil((Number(system.rings.air) + Number(system.rings.water)) / 2); } /** @@ -187,8 +191,8 @@ export class ActorL5r5e extends Actor { */ async _updateActorFromAdvancement(item, isAdd) { if (item && item.type === "advancement") { - const actor = foundry.utils.duplicate(this.data.data); - const itemData = item.data.data; + const actor = foundry.utils.duplicate(this.system); + const itemData = item.system; if (itemData.advancement_type === "ring") { // Ring if (isAdd) { @@ -216,7 +220,7 @@ export class ActorL5r5e extends Actor { // Update Actor await this.update({ - data: foundry.utils.diffObject(this.data.data, actor), + system: foundry.utils.diffObject(this.system, actor), }); } } @@ -226,8 +230,8 @@ export class ActorL5r5e extends Actor { * @return {Promise} */ async renderTextTemplate() { - const data = (await this.sheet?.getData()) || this; - const tpl = await renderTemplate(`${CONFIG.l5r5e.paths.templates}actors/actor-text.html`, data); + const sheetData = (await this.sheet?.getData()) || this; + const tpl = await renderTemplate(`${CONFIG.l5r5e.paths.templates}actors/actor-text.html`, sheetData); if (!tpl) { return null; } @@ -239,7 +243,7 @@ export class ActorL5r5e extends Actor { * @return {boolean} */ get isCharacter() { - return ["character", "npc"].includes(this.data.type); + return ["character", "npc"].includes(this.type); } /** @@ -247,7 +251,7 @@ export class ActorL5r5e extends Actor { * @return {boolean} */ get haveWeaponEquipped() { - return this.items.some((e) => e.type === "weapon" && !!e.data.data.equipped); + return this.items.some((e) => e.type === "weapon" && !!e.system.equipped); } /** @@ -255,7 +259,7 @@ export class ActorL5r5e extends Actor { * @return {boolean} */ get haveWeaponReadied() { - return this.items.some((e) => e.type === "weapon" && !!e.data.data.equipped && !!e.data.data.readied); + return this.items.some((e) => e.type === "weapon" && !!e.system.equipped && !!e.system.readied); } /** @@ -263,7 +267,7 @@ export class ActorL5r5e extends Actor { * @return {boolean} */ get haveArmorEquipped() { - return this.items.some((e) => e.type === "armor" && !!e.data.data.equipped); + return this.items.some((e) => e.type === "armor" && !!e.system.equipped); } /** @@ -282,9 +286,9 @@ export class ActorL5r5e extends Actor { }; // Prepared is a boolean or if null we get the info in the actor - let isPrepared = this.data.type === "character" ? cfg.character : cfg[this.data.data.type]; + let isPrepared = this.type === "character" ? cfg.character : cfg[this.system.type]; if (isPrepared === "null") { - isPrepared = this.data.data.prepared ? "true" : "false"; + isPrepared = this.system.prepared ? "true" : "false"; } return isPrepared; @@ -298,7 +302,7 @@ export class ActorL5r5e extends Actor { if (!this.isCharacter) { return null; } - return Math.floor(this.data.data.social.status / 10); + return Math.floor(this.system.social.status / 10); } /** @@ -309,7 +313,7 @@ export class ActorL5r5e extends Actor { if (!this.isCharacter) { return null; } - return this.data.type === "npc" ? this.data.data.conflict_rank.social : this.data.data.identity.school_rank; + return this.type === "npc" ? this.system.conflict_rank.social : this.system.identity.school_rank; } /** @@ -320,6 +324,6 @@ export class ActorL5r5e extends Actor { if (!this.isCharacter) { return null; } - return this.data.type === "npc" ? this.data.data.conflict_rank.martial : this.data.data.identity.school_rank; + return this.type === "npc" ? this.system.conflict_rank.martial : this.system.identity.school_rank; } } diff --git a/system/scripts/actors/army-sheet.js b/system/scripts/actors/army-sheet.js index 8a55fb6..9c2c91d 100644 --- a/system/scripts/actors/army-sheet.js +++ b/system/scripts/actors/army-sheet.js @@ -28,7 +28,7 @@ export class ArmySheetL5r5e extends BaseSheetL5r5e { * @private */ _initialize() { - const data = this.object.data.data; + const data = this.object.system; // update linked actor datas if (data.commander_actor_id) { @@ -79,10 +79,13 @@ export class ArmySheetL5r5e extends BaseSheetL5r5e { */ activateEditor(name, options = {}, initialContent = "") { // Symbols Compatibility with old compendium modules (PRE l5r v1.7.2) - if (["data.army_abilities", "data.supplies_logistics", "data.past_battles"].includes(name) && initialContent) { + if ( + ["system.army_abilities", "system.supplies_logistics", "system.past_battles"].includes(name) && + initialContent + ) { initialContent = game.l5r5e.HelpersL5r5e.convertSymbols(initialContent, false); } - super.activateEditor(name, options, initialContent); + return super.activateEditor(name, options, initialContent); } /** @@ -100,7 +103,7 @@ export class ArmySheetL5r5e extends BaseSheetL5r5e { // Casualties/Panic +/- html.find(".addsub-control").on("click", this._modifyCasualtiesOrPanic.bind(this)); - if (this.actor.data.data.soft_locked) { + if (this.actor.system.soft_locked) { return; } @@ -109,12 +112,19 @@ export class ArmySheetL5r5e extends BaseSheetL5r5e { } /** @inheritdoc */ - getData(options = {}) { - const sheetData = super.getData(options); + async getData(options = {}) { + const sheetData = await super.getData(options); // Split Items by types sheetData.data.splitItemsList = this._splitItems(sheetData); + // Editors enrichment + for (const name of ["army_abilities", "supplies_logistics", "past_battles"]) { + sheetData.data.enrichedHtml[name] = await TextEditor.enrichHTML(sheetData.data.system[name], { + async: true, + }); + } + return sheetData; } @@ -143,15 +153,15 @@ export class ArmySheetL5r5e extends BaseSheetL5r5e { */ async _onDrop(event) { // *** Everything below here is only needed if the sheet is editable *** - if (!this.isEditable || this.actor.data.data.soft_locked) { + if (!this.isEditable || this.actor.system.soft_locked) { return; } const item = await game.l5r5e.HelpersL5r5e.getDragnDropTargetObject(event); - if (!item || item.documentName !== "Item" || !["army_cohort", "army_fortification"].includes(item.data.type)) { + if (!item || item.documentName !== "Item" || !["army_cohort", "army_fortification"].includes(item.type)) { // actor dual trigger... if (item?.documentName !== "Actor") { - console.warn("L5R5E | Characters items are not allowed", item?.data?.type, item); + console.warn("L5R5E | Characters items are not allowed", item?.type, item); } return; } @@ -162,7 +172,7 @@ export class ArmySheetL5r5e extends BaseSheetL5r5e { return; } - let itemData = item.data.toObject(true); + let itemData = item.toObject(true); // Finally, create the embed return this.actor.createEmbeddedDocuments("Item", [itemData]); @@ -175,7 +185,7 @@ export class ArmySheetL5r5e extends BaseSheetL5r5e { */ async _onDropActors(type, event) { // *** Everything below here is only needed if the sheet is editable *** - if (!this.isEditable || this.actor.data.data.soft_locked) { + if (!this.isEditable || this.actor.system.soft_locked) { return; } @@ -211,7 +221,7 @@ export class ArmySheetL5r5e extends BaseSheetL5r5e { */ async _updateLinkedActorData(type, actor, isInit = false) { if (!actor || actor.documentName !== "Actor" || !actor.isCharacter) { - console.warn("L5R5E | Wrong actor type", actor?.data?.type, actor); + console.warn("L5R5E | Wrong actor type", actor?.type, actor); return; } @@ -219,26 +229,26 @@ export class ArmySheetL5r5e extends BaseSheetL5r5e { const actorData = {}; switch (type) { case "commander": - actorData["data.commander"] = actor.data.name; - actorData["data.commander_actor_id"] = actor.data._id; - actorData["data.commander_standing.honor"] = actor.data.data.social.honor; - actorData["data.commander_standing.glory"] = actor.data.data.social.glory; - actorData["data.commander_standing.status"] = actor.data.data.social.status; + actorData["system.commander"] = actor.name; + actorData["system.commander_actor_id"] = actor._id; + actorData["system.commander_standing.honor"] = actor.system.social.honor; + actorData["system.commander_standing.glory"] = actor.system.social.glory; + actorData["system.commander_standing.status"] = actor.system.social.status; // Replace the image by commander's image if ( !isInit && - this.actor.data.img !== actor.data.img && - ![`${actorPath}character.svg`, `${actorPath}npc.svg`].includes(actor.data.img) + this.actor.img !== actor.img && + ![`${actorPath}character.svg`, `${actorPath}npc.svg`].includes(actor.img) ) { - actorData["img"] = actor.data.img; - actorData["token.img"] = actor.data.token.img; + actorData["img"] = actor.img; + actorData["prototypeToken.texture.src"] = actor.prototypeToken.texture.src; } break; case "warlord": - actorData["data.warlord"] = actor.data.name; - actorData["data.warlord_actor_id"] = actor.data._id; + actorData["system.warlord"] = actor.name; + actorData["system.warlord_actor_id"] = actor._id; break; default: @@ -269,7 +279,7 @@ export class ArmySheetL5r5e extends BaseSheetL5r5e { console.warn("L5R5E | Unknown type", type); return; } - return this.actor.update({ data: actorData }); + return this.actor.update({ system: actorData }); } /** @@ -290,13 +300,10 @@ export class ArmySheetL5r5e extends BaseSheetL5r5e { switch (type) { case "casualties": await this.actor.update({ - data: { + system: { battle_readiness: { casualties_strength: { - value: Math.max( - 0, - this.actor.data.data.battle_readiness.casualties_strength.value + mod - ), + value: Math.max(0, this.actor.system.battle_readiness.casualties_strength.value + mod), }, }, }, @@ -305,10 +312,10 @@ export class ArmySheetL5r5e extends BaseSheetL5r5e { case "panic": await this.actor.update({ - data: { + system: { battle_readiness: { panic_discipline: { - value: Math.max(0, this.actor.data.data.battle_readiness.panic_discipline.value + mod), + value: Math.max(0, this.actor.system.battle_readiness.panic_discipline.value + mod), }, }, }, diff --git a/system/scripts/actors/base-character-sheet.js b/system/scripts/actors/base-character-sheet.js index b622af9..21d28ee 100644 --- a/system/scripts/actors/base-character-sheet.js +++ b/system/scripts/actors/base-character-sheet.js @@ -19,8 +19,8 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e { } /** @inheritdoc */ - getData(options = {}) { - const sheetData = super.getData(options); + async getData(options = {}) { + const sheetData = await super.getData(options); sheetData.data.stances = CONFIG.l5r5e.stances; sheetData.data.techniquesList = game.l5r5e.HelpersL5r5e.getTechniquesList({ displayInTypes: true }); @@ -58,31 +58,31 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e { sheetData.items.forEach((item) => { switch (item.type) { case "technique": - if (!out[item.data.technique_type]) { + if (!out[item.system.technique_type]) { console.warn( - `L5R5E | Empty or unknown technique type[${item.data.technique_type}] forced to "kata" in item id[${item._id}], name[${item.name}]` + `L5R5E | Empty or unknown technique type[${item.system.technique_type}] forced to "kata" in item id[${item._id}], name[${item.name}]` ); - item.data.technique_type = "kata"; + item.system.technique_type = "kata"; } - out[item.data.technique_type].push(item); + out[item.system.technique_type].push(item); break; case "title": // Embed technique in titles - Array.from(item.data.items).forEach(([id, embedItem]) => { - if (embedItem.data.type === "technique") { - if (!out[embedItem.data.data.technique_type]) { + Array.from(item.system.items).forEach(([id, embedItem]) => { + if (embedItem.type === "technique") { + if (!out[embedItem.system.technique_type]) { console.warn( - `L5R5E | Empty or unknown technique type[${embedItem.data.data.technique_type}] forced to "kata" in item id[${id}], name[${embedItem.data.name}], parent: id[${item._id}], name[${item.name}]` + `L5R5E | Empty or unknown technique type[${embedItem.system.technique_type}] forced to "kata" in item id[${id}], name[${embedItem.name}], parent: id[${item._id}], name[${item.name}]` ); - embedItem.data.data.technique_type = "kata"; + embedItem.system.technique_type = "kata"; } - out[embedItem.data.data.technique_type].push(embedItem.data); + out[embedItem.system.technique_type].push(embedItem); } }); // If unlocked, add the "title_ability" as technique (or always displayed for npc) - if (item.data.xp_used >= item.data.xp_cost || this.document.type === "npc") { + if (item.system.xp_used >= item.system.xp_cost || this.document.type === "npc") { out["title_ability"].push(item); } break; @@ -91,17 +91,17 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e { // Remove unused techs Object.keys(out).forEach((tech) => { - if (out[tech].length < 1 && !sheetData.data.data.techniques[tech] && !schoolTechniques.includes(tech)) { + if (out[tech].length < 1 && !sheetData.data.system.techniques[tech] && !schoolTechniques.includes(tech)) { delete out[tech]; } }); // Manage school add button - sheetData.data.data.techniques["school_ability"] = out["school_ability"].length === 0; - sheetData.data.data.techniques["mastery_ability"] = out["mastery_ability"].length === 0; + sheetData.data.system.techniques["school_ability"] = out["school_ability"].length === 0; + sheetData.data.system.techniques["mastery_ability"] = out["mastery_ability"].length === 0; // Always display "school_ability", but display a empty "mastery_ability" field only if rank >= 5 - if (sheetData.data.data.identity?.school_rank < 5 && out["mastery_ability"].length === 0) { + if (sheetData.data.system.identity?.school_rank < 5 && out["mastery_ability"].length === 0) { delete out["mastery_ability"]; } @@ -134,56 +134,59 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e { */ async _onDrop(event) { // *** Everything below here is only needed if the sheet is editable *** - if (!this.isEditable || this.actor.data.data.soft_locked) { + if (!this.isEditable || this.actor.system.soft_locked) { + console.log("LR5E | Not editable"); return; } // Check item type and subtype const item = await game.l5r5e.HelpersL5r5e.getDragnDropTargetObject(event); - if (!item || !["Item", "JournalEntry"].includes(item.documentName) || item.data.type === "property") { + if (!item || !["Item", "JournalEntry"].includes(item.documentName) || item.type === "property") { + console.log(`LR5E | Wrong subtype ${item?.type}`, item); return; } // Specific curriculum journal drop if (item.documentName === "JournalEntry") { // npc does not have this - if (!this.actor.data.data.identity?.school_curriculum_journal) { + if (!this.actor.system.identity?.school_curriculum_journal) { + console.log("LR5E | NPC won't go to school :'("); return; } - this.actor.data.data.identity.school_curriculum_journal = { - id: item.data._id, - name: item.data.name, + this.actor.system.identity.school_curriculum_journal = { + id: item._id, + name: item.name, pack: item.pack || null, }; await this.actor.update({ - data: { + system: { identity: { - school_curriculum_journal: this.actor.data.data.identity.school_curriculum_journal, + school_curriculum_journal: this.actor.system.identity.school_curriculum_journal, }, }, }); return; } - // Dropped a item with same "id" as one owned - if (this.actor.data.items) { + // Dropped an item with same "id" as one owned + if (this.actor.items) { // Exit if we already owned exactly this id (drag a personal item on our own sheet) if ( - this.actor.data.items.some((embedItem) => { + this.actor.items.some((embedItem) => { // Search in children if (embedItem.items instanceof Map && embedItem.items.has(item.data._id)) { return true; } - return embedItem.data._id === item.data._id; + return embedItem._id === item._id; }) ) { return; } // Add quantity instead if they have (id is different so use type and name) - if (item.data.data.quantity) { - const tmpItem = this.actor.data.items.find( - (embedItem) => embedItem.name === item.data.name && embedItem.type === item.data.type + if (item.system.quantity) { + const tmpItem = this.actor.items.find( + (embedItem) => embedItem.name === item.name && embedItem.type === item.type ); if (tmpItem && this._modifyQuantity(tmpItem.id, 1)) { return; @@ -197,13 +200,13 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e { return; } - let itemData = item.data.toObject(true); + let itemData = item.toObject(true); // Item subtype specific switch (itemData.type) { case "army_cohort": case "army_fortification": - console.warn("L5R5E | Army items are not allowed", item?.data?.type, item); + console.warn("L5R5E | Army items are not allowed", item?.type, item); return; case "advancement": @@ -216,24 +219,22 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e { await item.generateNewIdsForAllEmbedItems(); // Add embed advancements bonus - for (let [embedId, embedItem] of item.data.data.items) { + for (let [embedId, embedItem] of item.system.items) { if (embedItem.data.type === "advancement") { await this.actor.addBonus(embedItem); } } // refresh data - itemData = item.data.toObject(true); + itemData = item.toObject(true); break; case "technique": // School_ability and mastery_ability, allow only 1 per type - if (CONFIG.l5r5e.techniques.get(itemData.data.technique_type)?.type === "school") { + if (CONFIG.l5r5e.techniques.get(itemData.system.technique_type)?.type === "school") { if ( Array.from(this.actor.items).some((e) => { - return ( - e.type === "technique" && e.data.data.technique_type === itemData.data.technique_type - ); + return e.type === "technique" && e.system.technique_type === itemData.system.technique_type; }) ) { ui.notifications.info(game.i18n.localize("l5r5e.techniques.only_one")); @@ -241,27 +242,27 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e { } // No cost for schools - itemData.data.xp_cost = 0; - itemData.data.xp_used = 0; - itemData.data.in_curriculum = true; + itemData.system.xp_cost = 0; + itemData.system.xp_used = 0; + itemData.system.in_curriculum = true; } else { // Check if technique is allowed for this character - if (!game.user.isGM && !this.actor.data.data.techniques[itemData.data.technique_type]) { + if (!game.user.isGM && !this.actor.system.techniques[itemData.system.technique_type]) { ui.notifications.info(game.i18n.localize("l5r5e.techniques.not_allowed")); return; } // Verify cost - itemData.data.xp_cost = - itemData.data.xp_cost > 0 ? itemData.data.xp_cost : CONFIG.l5r5e.xp.techniqueCost; - itemData.data.xp_used = itemData.data.xp_cost; + itemData.system.xp_cost = + itemData.system.xp_cost > 0 ? itemData.system.xp_cost : CONFIG.l5r5e.xp.techniqueCost; + itemData.system.xp_used = itemData.system.xp_cost; } break; } // Modify the bought at rank to the current actor rank - if (itemData.data.bought_at_rank !== undefined && this.actor.data.data.identity?.school_rank) { - itemData.data.bought_at_rank = this.actor.data.data.identity.school_rank; + if (itemData.system.bought_at_rank !== undefined && this.actor.system.identity?.school_rank) { + itemData.system.bought_at_rank = this.actor.system.identity.school_rank; } // Finally create the embed @@ -332,10 +333,10 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e { event.preventDefault(); event.stopPropagation(); - this.actor.data.data.prepared = !this.actor.data.data.prepared; + this.actor.system.prepared = !this.actor.system.prepared; this.actor.update({ - data: { - prepared: this.actor.data.data.prepared, + system: { + prepared: this.actor.system.prepared, }, }); this.render(false); @@ -367,26 +368,26 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e { const item = this.actor.items.get(created[0].id); // Assign current school rank to the new adv/tech - if (this.actor.data.data.identity?.school_rank) { - item.data.data.bought_at_rank = this.actor.data.data.identity.school_rank; - if (["advancement", "technique"].includes(item.data.type)) { - item.data.data.rank = this.actor.data.data.identity.school_rank; + if (this.actor.system.identity?.school_rank) { + item.system.bought_at_rank = this.actor.system.identity.school_rank; + if (["advancement", "technique"].includes(item.type)) { + item.system.rank = this.actor.system.identity.school_rank; } } - switch (item.data.type) { + switch (item.type) { case "item": // no break case "armor": // no break case "weapon": - item.data.data.equipped = isEquipped; + item.system.equipped = isEquipped; break; case "technique": { // If technique, select the current sub-type if (CONFIG.l5r5e.techniques.get(techniqueType)) { - item.data.name = game.i18n.localize(`l5r5e.techniques.${techniqueType}`); - item.data.img = `${CONFIG.l5r5e.paths.assets}icons/techs/${techniqueType}.svg`; - item.data.data.technique_type = techniqueType; + item.name = game.i18n.localize(`l5r5e.techniques.${techniqueType}`); + item.img = `${CONFIG.l5r5e.paths.assets}icons/techs/${techniqueType}.svg`; + item.system.technique_type = techniqueType; } break; } @@ -496,8 +497,8 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e { const item = this.actor.items.get(itemId); if (item.type !== "item") { item.update({ - data: { - in_curriculum: !item.data.data.in_curriculum, + system: { + in_curriculum: !item.system.in_curriculum, }, }); } @@ -510,10 +511,10 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e { _modifyQuantity(itemId, add) { const tmpItem = this.actor.items.get(itemId); if (tmpItem) { - tmpItem.data.data.quantity = Math.max(1, tmpItem.data.data.quantity + add); + tmpItem.system.quantity = Math.max(1, tmpItem.system.quantity + add); tmpItem.update({ - data: { - quantity: tmpItem.data.data.quantity, + system: { + quantity: tmpItem.system.quantity, }, }); return true; @@ -539,9 +540,9 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e { switch (type) { case "fatigue": await this.actor.update({ - data: { + system: { fatigue: { - value: Math.max(0, this.actor.data.data.fatigue.value + mod), + value: Math.max(0, this.actor.system.fatigue.value + mod), }, }, }); @@ -549,9 +550,9 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e { case "strife": await this.actor.update({ - data: { + system: { strife: { - value: Math.max(0, this.actor.data.data.strife.value + mod), + value: Math.max(0, this.actor.system.strife.value + mod), }, }, }); @@ -579,20 +580,20 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e { const itemId = $(event.currentTarget).data("item-id"); const tmpItem = this.actor.items.get(itemId); - if (!tmpItem || tmpItem.data.data[type] === undefined) { + if (!tmpItem || tmpItem.system[type] === undefined) { return; } - tmpItem.data.data[type] = !tmpItem.data.data[type]; + tmpItem.system[type] = !tmpItem.system[type]; const data = { - equipped: tmpItem.data.data.equipped, + equipped: tmpItem.system.equipped, }; // Only weapons - if (tmpItem.data.data.readied !== undefined) { - data.readied = tmpItem.data.data.readied; + if (tmpItem.system.readied !== undefined) { + data.readied = tmpItem.system.readied; } - tmpItem.update({ data }); + tmpItem.update({ system: data }); } /** diff --git a/system/scripts/actors/base-sheet.js b/system/scripts/actors/base-sheet.js index f326f0a..8a13372 100644 --- a/system/scripts/actors/base-sheet.js +++ b/system/scripts/actors/base-sheet.js @@ -29,16 +29,16 @@ export class BaseSheetL5r5e extends ActorSheet { if (this.isEditable && !this.actor.limited) { // Lock/Unlock buttons.unshift({ - label: `l5r5e.global.${this.actor.data.data.soft_locked ? "" : "un"}locked`, + label: `l5r5e.global.${this.actor.system.soft_locked ? "" : "un"}locked`, class: "l5r-softlock", - icon: this.actor.data.data.soft_locked ? "fas fa-lock" : "fas fa-unlock", + icon: this.actor.system.soft_locked ? "fas fa-lock" : "fas fa-unlock", onclick: () => game.l5r5e.HelpersL5r5e.debounce( "lock-" + this.object.id, () => { this.actor.update({ - data: { - soft_locked: !this.actor.data.data.soft_locked, + system: { + soft_locked: !this.actor.system.soft_locked, }, }); }, @@ -66,8 +66,8 @@ export class BaseSheetL5r5e extends ActorSheet { } /** @inheritdoc */ - getData(options = {}) { - const sheetData = super.getData(options); + async getData(options = {}) { + const sheetData = await super.getData(options); // System Header Buttons sheetData.l5rHeaderButtons = this._getL5rHeaderButtons(); @@ -79,8 +79,14 @@ export class BaseSheetL5r5e extends ActorSheet { return a.name.localeCompare(b.name); }); + // Editors enrichment + sheetData.data.enrichedHtml = { + description: await TextEditor.enrichHTML(sheetData.data.system.description, { async: true }), + notes: await TextEditor.enrichHTML(sheetData.data.system.notes, { async: true }), + }; + // Shortcut for some tests - sheetData.data.editable_not_soft_locked = sheetData.editable && !sheetData.data.data.soft_locked; + sheetData.data.editable_not_soft_locked = sheetData.editable && !sheetData.data.system.soft_locked; return sheetData; } @@ -105,10 +111,10 @@ export class BaseSheetL5r5e extends ActorSheet { */ activateEditor(name, options = {}, initialContent = "") { // Symbols Compatibility with old compendium modules (PRE l5r v1.7.2) - if (["data.notes", "data.description"].includes(name) && initialContent) { + if (["system.notes", "system.description"].includes(name) && initialContent) { initialContent = game.l5r5e.HelpersL5r5e.convertSymbols(initialContent, false); } - super.activateEditor(name, options, initialContent); + return super.activateEditor(name, options, initialContent); } /** diff --git a/system/scripts/actors/character-generator-dialog.js b/system/scripts/actors/character-generator-dialog.js index de189a8..58f945b 100644 --- a/system/scripts/actors/character-generator-dialog.js +++ b/system/scripts/actors/character-generator-dialog.js @@ -69,7 +69,7 @@ export class CharacterGeneratorDialog extends FormApplication { * Try to get values from actor to initialize the generator */ initializeFromActor() { - const actorDatas = this.actor.data.data; + const actorDatas = this.actor.system; // Identity this.object.clan = actorDatas.identity.clan || "random"; @@ -97,7 +97,7 @@ export class CharacterGeneratorDialog extends FormApplication { label: game.i18n.localize("l5r5e.clans." + e), })); return { - ...super.getData(options), + ...(await super.getData(options)), isNpc: this.actor.type === "npc", clanList: [{ id: "random", label: game.i18n.localize("l5r5e.global.random") }, ...clans], genderList: [ diff --git a/system/scripts/actors/character-generator.js b/system/scripts/actors/character-generator.js index 21e2388..bc7283f 100644 --- a/system/scripts/actors/character-generator.js +++ b/system/scripts/actors/character-generator.js @@ -291,7 +291,7 @@ export class CharacterGenerator { narrative: true, } ) { - const actorDatas = actor.data.data; + const actorDatas = actor.system; const isNpc = actor.type === "npc"; // Need to set some required values @@ -304,7 +304,7 @@ export class CharacterGenerator { actorDatas.identity.female = this.isFemale; // Name - let newName = actor.data.name; + let newName = actor.name; if (generate.name) { newName = this.data.family + @@ -325,9 +325,9 @@ export class CharacterGenerator { `${folder}/npc.svg`, `${folder}/traditional-japanese-man.svg`, `${folder}/traditional-japanese-woman.svg`, - ].includes(actor.data.img) + ].includes(actor.img) ? `${folder}/traditional-japanese-${this.isFemale ? "woman" : "man"}.svg` - : actor.data.img; + : actor.img; // Generate attributes & Social Standing if (generate.attributes) { @@ -453,7 +453,7 @@ export class CharacterGenerator { */ async _generatePeculiarities(actor, newItemsData) { // Clear actor peculiarities - const deleteIds = actor.data.items.filter((e) => e.type === "peculiarity").map((e) => e.id); + const deleteIds = actor.items.filter((e) => e.type === "peculiarity").map((e) => e.id); if (deleteIds.length > 0) { await actor.deleteEmbeddedDocuments("Item", deleteIds); } @@ -476,7 +476,7 @@ export class CharacterGenerator { */ async _generateItems(actor, newItemsData) { // Clear actor items - const deleteIds = actor.data.items.filter((e) => ["armor", "weapon", "item"].includes(e.type)).map((e) => e.id); + const deleteIds = actor.items.filter((e) => ["armor", "weapon", "item"].includes(e.type)).map((e) => e.id); if (deleteIds.length > 0) { await actor.deleteEmbeddedDocuments("Item", deleteIds); } @@ -521,7 +521,7 @@ export class CharacterGenerator { */ async _generateTechniques(actor, newItemsData) { // Clear actor items - const deleteIds = actor.data.items.filter((e) => e.type === "technique").map((e) => e.id); + const deleteIds = actor.items.filter((e) => e.type === "technique").map((e) => e.id); if (deleteIds.length > 0) { await actor.deleteEmbeddedDocuments("Item", deleteIds); } @@ -598,7 +598,7 @@ export class CharacterGenerator { const cfg = techCfg[pack]; // Minimum skill required (npc only for now) - if (!!cfg.skill && actor.data.data.skills[cfg.skill.grp_name] < cfg.skill.value_min) { + if (!!cfg.skill && actor.system.skills[cfg.skill.grp_name] < cfg.skill.value_min) { continue; } @@ -613,9 +613,10 @@ export class CharacterGenerator { let item; do { item = await CharacterGenerator._getItemFromPack(`l5r5e.core-techniques-${pack}`); - } while (item && item.data.data.rank > avgrv); + } while (item && item.system.rank > avgrv); if (item) { + console.log(item); //todo tmp check this! newItemsData.push(foundry.utils.duplicate(item.data)); } } // fr qty diff --git a/system/scripts/actors/character-sheet.js b/system/scripts/actors/character-sheet.js index 53552ef..2449360 100644 --- a/system/scripts/actors/character-sheet.js +++ b/system/scripts/actors/character-sheet.js @@ -41,14 +41,14 @@ export class CharacterSheetL5r5e extends BaseCharacterSheetL5r5e { /** * Commons datas */ - getData(options = {}) { - const sheetData = super.getData(options); + async getData(options = {}) { + const sheetData = await super.getData(options); // Min rank = 1 - this.actor.data.data.identity.school_rank = Math.max(1, this.actor.data.data.identity.school_rank); + this.actor.system.identity.school_rank = Math.max(1, this.actor.system.identity.school_rank); // Split Money - sheetData.data.data.money = this._zeniToMoney(this.actor.data.data.zeni); + sheetData.data.system.money = this._zeniToMoney(this.actor.system.zeni); // Split school advancements by rank, and calculate xp spent and add it to total this._prepareSchoolAdvancement(sheetData); @@ -57,8 +57,8 @@ export class CharacterSheetL5r5e extends BaseCharacterSheetL5r5e { this._prepareOthersAdvancement(sheetData); // Total - sheetData.data.data.xp_saved = Math.floor( - parseInt(sheetData.data.data.xp_total) - parseInt(sheetData.data.data.xp_spent) + sheetData.data.system.xp_saved = Math.floor( + parseInt(sheetData.data.system.xp_total) - parseInt(sheetData.data.system.xp_spent) ); return sheetData; @@ -87,7 +87,7 @@ export class CharacterSheetL5r5e extends BaseCharacterSheetL5r5e { "data.identity.family", CONFIG.l5r5e.families.get( Object.entries(game.i18n.translations.l5r5e.clans).find( - ([k, v]) => v === this.actor.data.data.identity.clan + ([k, v]) => v === this.actor.system.identity.clan )?.[0] ) ); @@ -118,7 +118,7 @@ export class CharacterSheetL5r5e extends BaseCharacterSheetL5r5e { // TODO class "Active" Bug on load, dunno why :/ this._tabs .find((e) => e._navSelector === ".advancements-tabs") - .activate("advancement_rank_" + (this.actor.data.data.identity.school_rank || 0)); + .activate("advancement_rank_" + (this.actor.system.identity.school_rank || 0)); } /** @@ -126,14 +126,14 @@ export class CharacterSheetL5r5e extends BaseCharacterSheetL5r5e { */ _prepareSchoolAdvancement(sheetData) { const adv = []; - sheetData.data.data.xp_spent = 0; + sheetData.data.system.xp_spent = 0; sheetData.items .filter((item) => ["peculiarity", "technique", "advancement"].includes(item.type)) .forEach((item) => { const { xp_used_total, xp_used } = game.l5r5e.HelpersL5r5e.getItemsXpCost(item); - sheetData.data.data.xp_spent += xp_used_total; + sheetData.data.system.xp_spent += xp_used_total; - const rank = Math.max(0, item.data.bought_at_rank); + const rank = Math.max(0, item.system.bought_at_rank); if (!adv[rank]) { adv[rank] = { rank: rank, @@ -162,16 +162,16 @@ export class CharacterSheetL5r5e extends BaseCharacterSheetL5r5e { ); // Sort by rank desc - sheetData.data.advancementsOthers.sort((a, b) => (b.data.rank || 0) - (a.data.rank || 0)); + sheetData.data.advancementsOthers.sort((a, b) => (b.system.rank || 0) - (a.system.rank || 0)); // Total xp spent in curriculum & total sheetData.data.advancementsOthersTotalXp = sheetData.data.advancementsOthers.reduce( - (acc, item) => acc + parseInt(item.data.xp_used_total || item.data.xp_used || 0), + (acc, item) => acc + parseInt(item.system.xp_used_total || item.system.xp_used || 0), 0 ); // Update the total spent - sheetData.data.data.xp_spent += sheetData.data.advancementsOthersTotalXp; + sheetData.data.system.xp_spent += sheetData.data.advancementsOthersTotalXp; } /** @@ -182,39 +182,39 @@ export class CharacterSheetL5r5e extends BaseCharacterSheetL5r5e { _updateObject(event, formData) { // Clan tag trim if autocomplete in school name if ( - formData["autoCompleteListName"] === "data.identity.school" && + formData["autoCompleteListName"] === "system.identity.school" && formData["autoCompleteListSelectedIndex"] >= 0 && - !!formData["data.identity.clan"] && - formData["data.identity.school"].indexOf(` [${formData["data.identity.clan"]}]`) !== -1 + !!formData["system.identity.clan"] && + formData["system.identity.school"].indexOf(` [${formData["system.identity.clan"]}]`) !== -1 ) { - formData["data.identity.school"] = formData["data.identity.school"].replace( - ` [${formData["data.identity.clan"]}]`, + formData["system.identity.school"] = formData["system.identity.school"].replace( + ` [${formData["system.identity.clan"]}]`, "" ); } // Store money in Zeni - if (formData["data.money.koku"] || formData["data.money.bu"] || formData["data.money.zeni"]) { - formData["data.zeni"] = this._moneyToZeni( - formData["data.money.koku"] || 0, - formData["data.money.bu"] || 0, - formData["data.money.zeni"] || 0 + if (formData["system.money.koku"] || formData["system.money.bu"] || formData["system.money.zeni"]) { + formData["system.zeni"] = this._moneyToZeni( + formData["system.money.koku"] || 0, + formData["system.money.bu"] || 0, + formData["system.money.zeni"] || 0 ); // Remove fake money object - delete formData["data.money.koku"]; - delete formData["data.money.bu"]; - delete formData["data.money.zeni"]; + delete formData["system.money.koku"]; + delete formData["system.money.bu"]; + delete formData["system.money.zeni"]; } // Save computed values - const currentData = this.object.data.data; - formData["data.focus"] = currentData.focus; - formData["data.vigilance"] = currentData.vigilance; - formData["data.endurance"] = currentData.endurance; - formData["data.composure"] = currentData.composure; - formData["data.fatigue.max"] = currentData.fatigue.max; - formData["data.strife.max"] = currentData.strife.max; - formData["data.void_points.max"] = currentData.void_points.max; + const currentData = this.object.system; + formData["system.focus"] = currentData.focus; + formData["system.vigilance"] = currentData.vigilance; + formData["system.endurance"] = currentData.endurance; + formData["system.composure"] = currentData.composure; + formData["system.fatigue.max"] = currentData.fatigue.max; + formData["system.strife.max"] = currentData.strife.max; + formData["system.void_points.max"] = currentData.void_points.max; return super._updateObject(event, formData); } @@ -276,10 +276,10 @@ export class CharacterSheetL5r5e extends BaseCharacterSheetL5r5e { mod = Math.floor(mod * CONFIG.l5r5e.money[type === "koku" ? 0 : 1]); } - this.actor.data.data.zeni = +this.actor.data.data.zeni + mod; + this.actor.system.zeni = +this.actor.system.zeni + mod; this.actor.update({ - data: { - zeni: this.actor.data.data.zeni, + system: { + zeni: this.actor.system.zeni, }, }); this.render(false); @@ -294,11 +294,11 @@ export class CharacterSheetL5r5e extends BaseCharacterSheetL5r5e { event.preventDefault(); event.stopPropagation(); - this.actor.data.data.identity.school_rank = this.actor.data.data.identity.school_rank + 1; + this.actor.system.identity.school_rank = this.actor.system.identity.school_rank + 1; await this.actor.update({ - data: { + system: { identity: { - school_rank: this.actor.data.data.identity.school_rank, + school_rank: this.actor.system.identity.school_rank, }, }, }); @@ -314,7 +314,7 @@ export class CharacterSheetL5r5e extends BaseCharacterSheetL5r5e { event.preventDefault(); event.stopPropagation(); - const actorJournal = this.actor.data.data.identity.school_curriculum_journal; + const actorJournal = this.actor.system.identity.school_curriculum_journal; if (!actorJournal.id) { return; } diff --git a/system/scripts/actors/npc-sheet.js b/system/scripts/actors/npc-sheet.js index 1569063..7fd116b 100644 --- a/system/scripts/actors/npc-sheet.js +++ b/system/scripts/actors/npc-sheet.js @@ -24,7 +24,7 @@ export class NpcSheetL5r5e extends BaseCharacterSheetL5r5e { */ _getL5rHeaderButtons() { const buttons = super._getL5rHeaderButtons(); - if (!this.isEditable || this.actor.limited || this.actor.data.data.soft_locked) { + if (!this.isEditable || this.actor.limited || this.actor.system.soft_locked) { return buttons; } @@ -41,11 +41,11 @@ export class NpcSheetL5r5e extends BaseCharacterSheetL5r5e { } /** @inheritdoc */ - getData(options = {}) { - const sheetData = super.getData(); + async getData(options = {}) { + const sheetData = await super.getData(); // NPC Subtypes - sheetData.data.data.types = NpcSheetL5r5e.types.map((e) => ({ + sheetData.data.types = NpcSheetL5r5e.types.map((e) => ({ id: e, label: game.i18n.localize("l5r5e.character_types." + e), })); diff --git a/system/scripts/actors/twenty-questions-dialog.js b/system/scripts/actors/twenty-questions-dialog.js index 6be79b5..2ff4e5e 100644 --- a/system/scripts/actors/twenty-questions-dialog.js +++ b/system/scripts/actors/twenty-questions-dialog.js @@ -145,7 +145,7 @@ export class TwentyQuestionsDialog extends FormApplication { const skillsListStep7 = this._getSkillZero(skillsList, skillsPoints, "step7.skill"); const skillsListStep17 = this._getSkillZero(skillsList, skillsPoints, "step17.skill"); return { - ...super.getData(options), + ...(await super.getData(options)), ringsList: game.l5r5e.HelpersL5r5e.getRingsList(), skillsList, skillsListStep7, @@ -260,20 +260,20 @@ export class TwentyQuestionsDialog extends FormApplication { // Get item const item = await game.l5r5e.HelpersL5r5e.getDragnDropTargetObject(event); if (item.documentName !== "Item" || !item) { - console.warn(`L5R5E | Forbidden item for this drop zone ${type} : ${item.data.type}`); + console.warn(`L5R5E | Forbidden item for this drop zone ${type} : ${item.type}`); return; } // Specific step18_heritage, all item/tech allowed if (stepKey === "step18.heritage_item") { - type = item.data.type; + type = item.type; } if ( - (type !== "item" && item.data.type !== type) || - (type === "item" && !["item", "weapon", "armor"].includes(item.data.type)) + (type !== "item" && item.type !== type) || + (type === "item" && !["item", "weapon", "armor"].includes(item.type)) ) { - console.warn(`L5R5E | Forbidden item for this drop zone ${type} : ${item.data.type}`); + console.warn(`L5R5E | Forbidden item for this drop zone ${type} : ${item.type}`); return; } @@ -284,13 +284,13 @@ export class TwentyQuestionsDialog extends FormApplication { case "technique": // School Ability if (stepKey === "step3.school_ability") { - if (item.data.data.technique_type !== "school_ability") { + if (item.system.technique_type !== "school_ability") { console.warn( - `L5R5E | This technique is not a school ability : ${item.data.data.technique_type}` + `L5R5E | This technique is not a school ability : ${item.system.technique_type}` ); return; } - } else if (!this.object.data.step3.allowed_techniques?.[item.data.data.technique_type]) { + } else if (!this.object.data.step3.allowed_techniques?.[item.system.technique_type]) { // Tech not allowed ui.notifications.info(game.i18n.localize("l5r5e.techniques.not_allowed")); return; @@ -300,38 +300,38 @@ export class TwentyQuestionsDialog extends FormApplication { case "peculiarity": switch (stepKey) { case "step9.distinction": - if (item.data.data.peculiarity_type !== "distinction") { - console.warn("L5R5E | Wrong type", item.data.data.peculiarity_type); + if (item.system.peculiarity_type !== "distinction") { + console.warn("L5R5E | Wrong type", item.system.peculiarity_type); return; } break; case "step10.adversity": - if (item.data.data.peculiarity_type !== "adversity") { - console.warn("L5R5E | Wrong type", item.data.data.peculiarity_type); + if (item.system.peculiarity_type !== "adversity") { + console.warn("L5R5E | Wrong type", item.system.peculiarity_type); return; } break; case "step11.passion": - if (item.data.data.peculiarity_type !== "passion") { - console.warn("L5R5E | Wrong type", item.data.data.peculiarity_type); + if (item.system.peculiarity_type !== "passion") { + console.warn("L5R5E | Wrong type", item.system.peculiarity_type); return; } break; case "step12.anxiety": - if (item.data.data.peculiarity_type !== "anxiety") { - console.warn("L5R5E | Wrong type", item.data.data.peculiarity_type); + if (item.system.peculiarity_type !== "anxiety") { + console.warn("L5R5E | Wrong type", item.system.peculiarity_type); return; } break; case "step13.advantage": - if (!["distinction", "passion"].includes(item.data.data.peculiarity_type)) { - console.warn("L5R5E | Wrong type", item.data.data.peculiarity_type); + if (!["distinction", "passion"].includes(item.system.peculiarity_type)) { + console.warn("L5R5E | Wrong type", item.system.peculiarity_type); return; } break; case "step13.disadvantage": - if (!["adversity", "anxiety"].includes(item.data.data.peculiarity_type)) { - console.warn("L5R5E | Wrong type", item.data.data.peculiarity_type); + if (!["adversity", "anxiety"].includes(item.system.peculiarity_type)) { + console.warn("L5R5E | Wrong type", item.system.peculiarity_type); return; } break; @@ -391,9 +391,9 @@ export class TwentyQuestionsDialog extends FormApplication { this.summary = this.object.validateForm(); // Store this form datas in actor - this.actor.data.data.twenty_questions = this.object.data; + this.actor.system.twenty_questions = this.object.data; await this.actor.update({ - data: { + system: { template: formData["template"], twenty_questions: this.object.data, }, diff --git a/system/scripts/actors/twenty-questions.js b/system/scripts/actors/twenty-questions.js index 40cefc9..ad677b9 100644 --- a/system/scripts/actors/twenty-questions.js +++ b/system/scripts/actors/twenty-questions.js @@ -191,10 +191,10 @@ export class TwentyQuestions { * Initialize data from a actor */ fromActor(actor) { - const actorDatas = actor.data.data; + const actorDatas = actor.system; // already 20q struct ? - if (!foundry.utils.isObjectEmpty(actorDatas.twenty_questions)) { + if (!foundry.utils.isEmpty(actorDatas.twenty_questions)) { this.data = { ...this.data, ...actorDatas.twenty_questions, @@ -220,14 +220,14 @@ export class TwentyQuestions { this.data.step6.social_ninjo = actorDatas.social.ninjo; this.data.step8.tenet_paramount = actorDatas.social.bushido_tenets.paramount; this.data.step8.tenet_less_significant = actorDatas.social.bushido_tenets.less_significant; - this.data.step19.firstname = actor.data.name.replace(/^(?:\w+\s+)?(.+)$/gi, "$1") || ""; + this.data.step19.firstname = actor.name.replace(/^(?:\w+\s+)?(.+)$/gi, "$1") || ""; } /** * Fill a actor data from this object */ async toActor(actor, itemsCache) { - const actorDatas = actor.data.data; + const actorDatas = actor.system; const formData = this.data; this.data.generated = true; @@ -304,7 +304,7 @@ export class TwentyQuestions { }); // Clear and add items to actor - const deleteIds = actor.data.items.map((e) => e.id); + const deleteIds = actor.items.map((e) => e.id); if (deleteIds.length > 0) { await actor.deleteEmbeddedDocuments("Item", deleteIds); } @@ -330,7 +330,7 @@ export class TwentyQuestions { // Update actor await actor.update({ name: ((formData.template !== "pow" ? formData.step2.family + " " : "") + formData.step19.firstname).trim(), - data: actorDatas, + system: actorDatas, }); } diff --git a/system/scripts/combat.js b/system/scripts/combat.js index f4441f3..2fe2201 100644 --- a/system/scripts/combat.js +++ b/system/scripts/combat.js @@ -54,10 +54,10 @@ export class CombatL5r5e extends Combat { } // Shortcut to data - const data = combatant.actor.data.data; + const data = combatant.actor.system; // Prepared is a boolean or if null we get the info in the actor sheet - const isPc = combatant.actor.data.type === "character"; + const isPc = combatant.actor.type === "character"; const isPrepared = combatant.actor.isPrepared; // A character’s initiative value is based on their state of preparedness when the conflict began. @@ -145,17 +145,15 @@ export class CombatL5r5e extends Combat { // if tie : sort by honor, less honorable first if (a.initiative === b.initiative) { // skip if no actor or if armies - if (!a.actor || !b.actor || a.actor.data.type === "army" || b.actor.data.type === "army") { + if (!a.actor || !b.actor || a.actor.type === "army" || b.actor.type === "army") { return 0; } // if tie again : Character > Adversary > Minion - if (a.actor.data.data.social.honor === b.actor.data.data.social.honor) { - return ( - CombatL5r5e._getWeightByActorType(a.actor.data) - CombatL5r5e._getWeightByActorType(b.actor.data) - ); + if (a.actor.system.social.honor === b.actor.system.social.honor) { + return CombatL5r5e._getWeightByActorType(a.actor) - CombatL5r5e._getWeightByActorType(b.actor); } - return a.actor.data.data.social.honor - b.actor.data.data.social.honor; + return a.actor.system.social.honor - b.actor.system.social.honor; } return b.initiative - a.initiative; } @@ -165,6 +163,6 @@ export class CombatL5r5e extends Combat { * @private */ static _getWeightByActorType(data) { - return data.type === "npc" ? (data.data.type === "minion" ? 3 : 2) : 1; + return data.type === "npc" ? (data.type === "minion" ? 3 : 2) : 1; } } diff --git a/system/scripts/dice/dice-picker-dialog.js b/system/scripts/dice/dice-picker-dialog.js index 4b21b29..259ffb3 100644 --- a/system/scripts/dice/dice-picker-dialog.js +++ b/system/scripts/dice/dice-picker-dialog.js @@ -180,7 +180,7 @@ export class DicePickerDialog extends FormApplication { return; } this._actor = actor; - this.ringId = this._actor.data.data.stance; + this.ringId = this._actor.system.stance; } /** @@ -190,8 +190,8 @@ export class DicePickerDialog extends FormApplication { set targetInfos(targetToken) { this.object.targetInfos = targetToken ? { - img: targetToken.data.img, - name: targetToken.data.name, + img: targetToken.img, + name: targetToken.name, } : null; } @@ -202,7 +202,7 @@ export class DicePickerDialog extends FormApplication { */ set ringId(ringId) { this.object.ring.id = CONFIG.l5r5e.stances.includes(ringId) ? ringId : "void"; - this.object.ring.value = this._actor.data.data.rings?.[this.object.ring.id] || 1; + this.object.ring.value = this._actor.system.rings?.[this.object.ring.id] || 1; } /** @@ -268,15 +268,15 @@ export class DicePickerDialog extends FormApplication { if (!this._actor) { return; } - switch (this._actor.data.type) { + switch (this._actor.type) { case "character": - this.object.skill.value = this._actor.data.data.skills[skillCatId]?.[this.object.skill.id] || 0; + this.object.skill.value = this._actor.system.skills[skillCatId]?.[this.object.skill.id] || 0; this.object.skill.defaultValue = this.object.skill.value; break; case "npc": // Skill value is in categories for npc - this.object.skill.value = this._actor.data.data.skills[skillCatId] || 0; + this.object.skill.value = this._actor.system.skills[skillCatId] || 0; this.object.skill.defaultValue = this.object.skill.value; break; } @@ -317,7 +317,7 @@ export class DicePickerDialog extends FormApplication { * @type {String} */ get title() { - return game.i18n.localize("l5r5e.dice.dicepicker.title") + (this._actor ? " - " + this._actor.data.name : ""); + return game.i18n.localize("l5r5e.dice.dicepicker.title") + (this._actor ? " - " + this._actor.name : ""); } /** @@ -325,7 +325,7 @@ export class DicePickerDialog extends FormApplication { * @return {boolean} */ get useCategory() { - return !!this._actor && this._actor.data?.type === "npc"; + return !!this._actor && this._actor.type === "npc"; } /** @@ -333,9 +333,9 @@ export class DicePickerDialog extends FormApplication { * @param options * @return {Object} */ - getData(options = null) { + async getData(options = null) { return { - ...super.getData(options), + ...(await super.getData(options)), ringsList: game.l5r5e.HelpersL5r5e.getRingsList(this._actor), data: this.object, actor: this._actor, @@ -343,7 +343,7 @@ export class DicePickerDialog extends FormApplication { canUseVoidPoint: this.object.difficulty.addVoidPoint || !this._actor || - (this._actor.isCharacter && this._actor.data.data.void_points.value > 0), + (this._actor.isCharacter && this._actor.system.void_points.value > 0), disableSubmit: this.object.skill.value < 1 && this.object.ring.value < 1, difficultyHiddenIsLock: this._difficultyHiddenIsLock.gm || this._difficultyHiddenIsLock.option, }; @@ -485,7 +485,7 @@ export class DicePickerDialog extends FormApplication { // Update Actor if (this._actor) { - const actorData = foundry.utils.duplicate(this._actor.data.data); + const actorData = foundry.utils.duplicate(this._actor.system); // Update the actor stance on initiative only if (this.object.isInitiativeRoll) { @@ -503,10 +503,10 @@ export class DicePickerDialog extends FormApplication { } // Update actor if needed - const updateDiff = foundry.utils.diffObject(this._actor.data.data, actorData); + const updateDiff = foundry.utils.diffObject(this._actor.system, actorData); if (Object.keys(updateDiff).length > 0) { await this._actor.update({ - data: foundry.utils.diffObject(this._actor.data.data, actorData), + system: updateDiff, }); } } @@ -588,7 +588,7 @@ export class DicePickerDialog extends FormApplication { this.object.useVoidPoint && !this.object.difficulty.addVoidPoint && !!this._actor && - this._actor.data.data.void_points.value < 1 + this._actor.system.void_points.value < 1 ) { this.object.useVoidPoint = false; this._quantityChange("ring", -1); @@ -619,7 +619,7 @@ export class DicePickerDialog extends FormApplication { let command = `new game.l5r5e.DicePickerDialog(${JSON.stringify(params)}).render(true);`; - let macro = game.macros.contents.find((m) => m.data.name === name && m.data.command === command); + let macro = game.macros.contents.find((m) => m.name === name && m.command === command); if (!macro) { macro = await Macro.create({ name: name, @@ -631,7 +631,7 @@ export class DicePickerDialog extends FormApplication { } // Search if already in player hotbar - if (Object.values(game.user.data.hotbar).includes(macro.id)) { + if (Object.values(game.user.hotbar).includes(macro.id)) { return; } @@ -663,7 +663,7 @@ export class DicePickerDialog extends FormApplication { return acc; } - const targetData = targetActor.data.data; + const targetData = targetActor.system; const value = targetActor[property] || targetData[property] || null; if (!value) { return acc; @@ -734,8 +734,8 @@ export class DicePickerDialog extends FormApplication { return false; } - // Check in actor. or actor.data.data. - difficulty = targetActor[infos[2]] || targetActor.data.data[infos[2]] || null; + // Check in actor. or actor.system. + difficulty = targetActor[infos[2]] || targetActor.system[infos[2]] || null; if (difficulty < 1) { console.log("L5R5E | Fail to parse difficulty from target"); return false; diff --git a/system/scripts/dice/roll-n-keep-dialog.js b/system/scripts/dice/roll-n-keep-dialog.js index dcce4a3..d57cf21 100644 --- a/system/scripts/dice/roll-n-keep-dialog.js +++ b/system/scripts/dice/roll-n-keep-dialog.js @@ -78,12 +78,20 @@ export class RollnKeepDialog extends FormApplication { return this._message; } + /** + * Current (first) Roll in ChatMessage + * @returns {RollL5r5e} + */ + get messageRoll() { + return this._message?.rolls?.[0] || null; + } + /** * Return true if this actor has right on this roll * @return {boolean} */ get isOwner() { - return this._message?.isAuthor || this._message?._roll.l5r5e.actor?.isOwner || this._message?.isOwner || false; + return this._message?.isAuthor || this.messageRoll.l5r5e.actor?.isOwner || this._message?.isOwner || false; } /** @@ -137,7 +145,7 @@ export class RollnKeepDialog extends FormApplication { } // Get the roll - this.roll = game.l5r5e.RollL5r5e.fromData(this._message._roll); + this.roll = game.l5r5e.RollL5r5e.fromData(this.messageRoll); // Already history if (Array.isArray(this.roll.l5r5e.history)) { @@ -223,7 +231,7 @@ export class RollnKeepDialog extends FormApplication { * @param options * @return {Object} */ - getData(options = null) { + async getData(options = null) { const rollData = this.roll.l5r5e; // Disable submit / edition @@ -239,7 +247,7 @@ export class RollnKeepDialog extends FormApplication { } return { - ...super.getData(options), + ...(await super.getData(options)), isGM: game.user.isGM, showChoices: options.editable && !rollData.rnkEnded, showStrifeBt: options.editable && rollData.summary.strife > 0 && rollData.actor?.isCharacter, @@ -707,9 +715,9 @@ export class RollnKeepDialog extends FormApplication { const actorMod = strifeApplied - this.roll.l5r5e.strifeApplied; if (actorMod !== 0 && this.roll.l5r5e.actor?.isCharacter) { await this.roll.l5r5e.actor.update({ - data: { + system: { strife: { - value: Math.max(0, this.roll.l5r5e.actor.data.data.strife.value + actorMod), + value: Math.max(0, this.roll.l5r5e.actor.system.strife.value + actorMod), }, }, }); diff --git a/system/scripts/dice/roll.js b/system/scripts/dice/roll.js index 7324c1f..b7b165f 100644 --- a/system/scripts/dice/roll.js +++ b/system/scripts/dice/roll.js @@ -74,8 +74,8 @@ export class RollL5r5e extends Roll { set targetInfos(targetToken) { this.l5r5e.targetInfos = targetToken ? { - img: targetToken.data.img, - name: targetToken.data.name, + img: targetToken.img, + name: targetToken.name, } : null; } @@ -378,7 +378,7 @@ export class RollL5r5e extends Roll { } else if (data.l5r5e.actor.uuid) { // Only uuid, get the object let actor; - let tmpItem = game.l5r5e.HelpersL5r5e.fromUuidNoPack(data.l5r5e.actor.uuid); + const tmpItem = fromUuidSync(data.l5r5e.actor.uuid); if (tmpItem instanceof Actor) { actor = tmpItem; } else if (tmpItem instanceof TokenDocument) { diff --git a/system/scripts/gm/gm-monitor.js b/system/scripts/gm/gm-monitor.js index d9a58c8..02ae4a2 100644 --- a/system/scripts/gm/gm-monitor.js +++ b/system/scripts/gm/gm-monitor.js @@ -91,7 +91,7 @@ export class GmMonitor extends FormApplication { actors = game.actors.filter((e) => ids.includes(e.id)); } else { // If empty add pc with owner - actors = game.actors.filter((actor) => actor.data.type === "character" && actor.hasPlayerOwner); + actors = game.actors.filter((actor) => actor.type === "character" && actor.hasPlayerOwner); this._saveActorsIds(); } @@ -120,9 +120,9 @@ export class GmMonitor extends FormApplication { * @return {Object} * @override */ - getData(options = null) { + async getData(options = null) { return { - ...super.getData(options), + ...(await super.getData(options)), data: { ...this.object, actors: this.object.actors.filter((e) => @@ -197,12 +197,13 @@ export class GmMonitor extends FormApplication { if (!json) { return; } + const data = JSON.parse(json); - if (!data || data.type !== "Actor" || !data.id || !!this.object.actors.find((e) => e.id === data.id)) { + if (!data || data.type !== "Actor" || !data.uuid || !!this.object.actors.find((a) => a.uuid === data.uuid)) { return; } - const actor = game.actors.find((e) => e.id === data.id); + const actor = game.actors.find((a) => a.uuid === data.uuid); if (!actor) { return; } @@ -275,8 +276,7 @@ export class GmMonitor extends FormApplication { const add = event.which === 2 ? -999 : event.which === 1 ? 1 : -1; // Stance - let stanceIdx = - CONFIG.l5r5e.stances.findIndex((s) => s === actor.data.data.stance) + (event.which === 1 ? 1 : -1); + let stanceIdx = CONFIG.l5r5e.stances.findIndex((s) => s === actor.system.stance) + (event.which === 1 ? 1 : -1); if (stanceIdx < 0) { stanceIdx = CONFIG.l5r5e.stances.length - 1; } else if (stanceIdx > CONFIG.l5r5e.stances.length - 1) { @@ -287,40 +287,40 @@ export class GmMonitor extends FormApplication { switch (type) { // *** Characters *** case "fatigue": - updateData["data.fatigue.value"] = Math.max(0, actor.data.data.fatigue.value + add); + updateData["system.fatigue.value"] = Math.max(0, actor.system.fatigue.value + add); break; case "strife": - updateData["data.strife.value"] = Math.max(0, actor.data.data.strife.value + add); + updateData["system.strife.value"] = Math.max(0, actor.system.strife.value + add); break; case "void_points": - updateData["data.void_points.value"] = Math.min( - actor.data.data.void_points.max, - Math.max(0, actor.data.data.void_points.value + add) + updateData["system.void_points.value"] = Math.min( + actor.system.void_points.max, + Math.max(0, actor.system.void_points.value + add) ); break; case "stance": - updateData["data.stance"] = CONFIG.l5r5e.stances[stanceIdx]; + updateData["system.stance"] = CONFIG.l5r5e.stances[stanceIdx]; break; case "prepared": - updateData["data.prepared"] = !actor.data.data.prepared; + updateData["system.prepared"] = !actor.system.prepared; break; // *** Armies *** case "casualties": - updateData["data.battle_readiness.casualties_strength.value"] = Math.max( + updateData["system.battle_readiness.casualties_strength.value"] = Math.max( 0, - actor.data.data.battle_readiness.casualties_strength.value + add + actor.system.battle_readiness.casualties_strength.value + add ); break; case "panic": - updateData["data.battle_readiness.panic_discipline.value"] = Math.max( + updateData["system.battle_readiness.panic_discipline.value"] = Math.max( 0, - actor.data.data.battle_readiness.panic_discipline.value + add + actor.system.battle_readiness.panic_discipline.value + add ); break; @@ -328,7 +328,7 @@ export class GmMonitor extends FormApplication { console.warn("L5R5E | Unsupported type", type); break; } - if (!foundry.utils.isObjectEmpty(updateData)) { + if (!foundry.utils.isEmpty(updateData)) { await actor.update(updateData); this.render(false); } @@ -336,52 +336,52 @@ export class GmMonitor extends FormApplication { /** * Get tooltips information for this character - * @param {BaseSheetL5r5e} actor + * @param {ActorL5r5e} actor * @return {string} * @private */ async _getTooltipGlobal(actor) { - const data = actor.data.data; + const actorData = (await actor.sheet?.getData()?.data) || actor; // Peculiarities const pec = actor.items.filter((e) => e.type === "peculiarity"); const adv = pec - .filter((e) => ["distinction", "passion"].includes(e.data.data.peculiarity_type)) + .filter((e) => ["distinction", "passion"].includes(e.system.peculiarity_type)) .map((e) => e.name) .join(", "); const dis = pec - .filter((e) => ["adversity", "anxiety"].includes(e.data.data.peculiarity_type)) + .filter((e) => ["adversity", "anxiety"].includes(e.system.peculiarity_type)) .map((e) => e.name) .join(", "); // *** Template *** return renderTemplate(`${CONFIG.l5r5e.paths.templates}gm/monitor-tooltips/global.html`, { - actorData: data, + actorData: actorData, advantages: adv, disadvantages: dis, - suffix: data.template === "pow" ? "_pow" : "", - actor_type: actor.data.type, + suffix: actorData.system.template === "pow" ? "_pow" : "", + actor_type: actor.type, }); } /** - * Get tooltips informations for this army - * @param {BaseSheetL5r5e} actor + * Get tooltips information for this army + * @param {ActorL5r5e} actor * @return {string} * @private */ async _getTooltipArmiesGlobal(actor) { - const actorData = (await actor.sheet?.getData()) || actor.data; + const actorData = (await actor.sheet?.getData()?.data) || actor; // *** Template *** return renderTemplate(`${CONFIG.l5r5e.paths.templates}gm/monitor-tooltips/global-armies.html`, { - actorData: actorData.data, + actorData: actorData, }); } /** - * Get weapons informations for this actor - * @param {BaseSheetL5r5e} actor + * Get weapons information for this actor + * @param {ActorL5r5e} actor * @return {string} * @private */ @@ -397,12 +397,12 @@ export class GmMonitor extends FormApplication { // Readied Weapons const readied = actor.items - .filter((e) => e.type === "weapon" && e.data.data.equipped && !!e.data.data.readied) + .filter((e) => e.type === "weapon" && e.system.equipped && !!e.system.readied) .map((e) => display(e)); // Equipped Weapons const sheathed = actor.items - .filter((e) => e.type === "weapon" && e.data.data.equipped && !e.data.data.readied) + .filter((e) => e.type === "weapon" && e.system.equipped && !e.system.readied) .map((e) => display(e)); // *** Template *** @@ -413,20 +413,20 @@ export class GmMonitor extends FormApplication { } /** - * Get armors informations for this actor - * @param {BaseSheetL5r5e} actor + * Get armors information for this actor + * @param {ActorL5r5e} actor * @return {string} * @private */ async _getTooltipArmors(actor) { // Equipped Armors const armors = actor.items - .filter((e) => e.type === "armor" && e.data.data.equipped) + .filter((e) => e.type === "armor" && e.system.equipped) .map( (e) => e.name + - ` (${e.data.data.armor.physical}` + - ` / ${e.data.data.armor.supernatural})` + ` (${e.system.armor.physical}` + + ` / ${e.system.armor.supernatural})` ); // *** Template *** diff --git a/system/scripts/gm/gm-toolbox.js b/system/scripts/gm/gm-toolbox.js index 708afae..2d4c14b 100644 --- a/system/scripts/gm/gm-toolbox.js +++ b/system/scripts/gm/gm-toolbox.js @@ -67,7 +67,7 @@ export class GmToolbox extends FormApplication { // TODO better implementation needed : see KeyboardManager._onEscape(event, up, modifiers) // This windows is always open, so esc key is stuck at step 2 : Object.keys(ui.windows).length > 0 // Case 3 (GM) - release controlled objects - if (canvas?.ready && game.user.isGM && Object.keys(canvas.activeLayer._controlled).length) { + if (canvas?.ready && game.user.isGM && Object.keys(canvas.activeLayer.controlled).length) { canvas.activeLayer.releaseAll(); } else { // Case 4 - toggle the main menu @@ -102,9 +102,9 @@ export class GmToolbox extends FormApplication { * @return {Object} * @override */ - getData(options = null) { + async getData(options = null) { return { - ...super.getData(options), + ...(await super.getData(options)), data: this.object, }; } @@ -201,46 +201,46 @@ export class GmToolbox extends FormApplication { } // Manage left/right button - if (!isAll && (actor.data.type !== "character" || !actor.hasPlayerOwner)) { + if (!isAll && (actor.type !== "character" || !actor.hasPlayerOwner)) { continue; } switch (type) { case "sleep": // Remove 'water x2' fatigue points - actor.data.data.fatigue.value = Math.max( + actor.system.fatigue.value = Math.max( 0, - actor.data.data.fatigue.value - Math.ceil(actor.data.data.rings.water * 2) + actor.system.fatigue.value - Math.ceil(actor.system.rings.water * 2) ); break; case "scene_end": // If more than half the value => roundup half conflit & fatigue - actor.data.data.fatigue.value = Math.min( - actor.data.data.fatigue.value, - Math.ceil(actor.data.data.fatigue.max / 2) + actor.system.fatigue.value = Math.min( + actor.system.fatigue.value, + Math.ceil(actor.system.fatigue.max / 2) ); - actor.data.data.strife.value = Math.min( - actor.data.data.strife.value, - Math.ceil(actor.data.data.strife.max / 2) + actor.system.strife.value = Math.min( + actor.system.strife.value, + Math.ceil(actor.system.strife.max / 2) ); break; case "reset_void": - actor.data.data.void_points.value = Math.ceil(actor.data.data.void_points.max / 2); + actor.system.void_points.value = Math.ceil(actor.system.void_points.max / 2); break; } await actor.update({ - data: { + system: { fatigue: { - value: actor.data.data.fatigue.value, + value: actor.system.fatigue.value, }, strife: { - value: actor.data.data.strife.value, + value: actor.system.strife.value, }, void_points: { - value: actor.data.data.void_points.value, + value: actor.system.void_points.value, }, }, }); diff --git a/system/scripts/handlebars.js b/system/scripts/handlebars.js index 6d6378a..c452496 100644 --- a/system/scripts/handlebars.js +++ b/system/scripts/handlebars.js @@ -66,6 +66,7 @@ export const RegisterHandlebars = function () { // enrichHTML Handlebars.registerHelper("enrichHTML", function (text, options = {}) { + options.async = false; return TextEditor.enrichHTML(text, options); }); diff --git a/system/scripts/help/help-dialog.js b/system/scripts/help/help-dialog.js index aca93c5..e252692 100644 --- a/system/scripts/help/help-dialog.js +++ b/system/scripts/help/help-dialog.js @@ -31,9 +31,9 @@ export class HelpDialog extends FormApplication { * @param options * @return {Object} */ - getData(options = null) { + async getData(options = null) { return { - ...super.getData(options), + ...(await super.getData(options)), }; } diff --git a/system/scripts/helpers.js b/system/scripts/helpers.js index a6e170b..b980d4d 100644 --- a/system/scripts/helpers.js +++ b/system/scripts/helpers.js @@ -11,7 +11,7 @@ export class HelpersL5r5e { return CONFIG.l5r5e.stances.map((e) => ({ id: e, label: game.i18n.localize(`l5r5e.rings.${e}`), - value: actor?.data?.data?.rings?.[e] || 1, + value: actor?.system?.rings?.[e] || 1, })); } @@ -109,36 +109,6 @@ export class HelpersL5r5e { return CONFIG.l5r5e.roles.map((e) => game.i18n.localize(`l5r5e.roles.${e}`)); } - /** - * Retrieve a Document by its Universally Unique Identifier (uuid). - * Exactly the same as fromUuid but without Compendium as it need async. - * @param {string} uuid The uuid of the Document to retrieve - * @return {Document|null} - */ - static fromUuidNoPack(uuid) { - let parts = uuid.split("."); - let doc; - - if (parts[0] === "Compendium") { - // Compendium Documents need asynchronous - return null; - } else { - // World Documents - const [docName, docId] = parts.slice(0, 2); - parts = parts.slice(2); - const collection = CONFIG[docName].collection.instance; - doc = collection.get(docId); - } - - // Embedded Documents - while (doc && parts.length > 1) { - const [embeddedName, embeddedId] = parts.slice(0, 2); - doc = doc.getEmbeddedDocument(embeddedName, embeddedId); - parts = parts.slice(2); - } - return doc || null; - } - /** * Return the target object on a drag n drop event, or null if not found * @param {DragEvent} event @@ -156,24 +126,31 @@ export class HelpersL5r5e { /** * Return the object from Game or Pack by his ID, or null if not found - * @param {string} id - * @param {string} type Type (Item, JournalEntry...) + * @param {string} uuid "Item.5qI6SU85VSFqji8W" + * @param {string} id "5qI6SU85VSFqji8W" + * @param {string} type Type ("Item", "JournalEntry"...) * @param {any[]|null} data Plain data * @param {string|null} pack Pack name * @param {string|null} parentId Used to avoid an infinite loop in properties if set * @return {Promise} */ - static async getObjectGameOrPack({ id, type, data = null, pack = null, parentId = null }) { + static async getObjectGameOrPack({ uuid, id, type, data = null, pack = null, parentId = null }) { let document = null; try { // Direct Object if (data?._id) { document = HelpersL5r5e.createDocumentFromCompendium({ type, data }); - } else if (!id || !type) { + } else if (!uuid && (!id || !type)) { return null; } + // UUID + if (!document && !!uuid) { + document = await fromUuid(uuid); + } + // TODO need to migrate to UUID + // Named pack if (!document) { // If no pack passed, but it's a core item, we know the pack to get it @@ -207,8 +184,8 @@ export class HelpersL5r5e { // Final if (document) { // Flag the source GUID - if (document.uuid && !document.getFlag("core", "sourceId")) { - document.data.update({ "flags.core.sourceId": document.uuid }); + if (document.uuid && !document.pack && !document.getFlag("core", "sourceId")) { + document.updateSource({ "flags.core.sourceId": document.uuid }); } // Care to infinite loop in properties @@ -263,13 +240,13 @@ export class HelpersL5r5e { * @return {Promise} */ static async refreshItemProperties(document) { - if (document.data?.data?.properties && typeof Babele !== "undefined") { - document.data.data.properties = await Promise.all( - document.data.data.properties.map(async (property) => { + if (document.system?.properties && typeof Babele !== "undefined") { + document.system.properties = await Promise.all( + document.system.properties.map(async (property) => { const gameProp = await HelpersL5r5e.getObjectGameOrPack({ id: property.id, type: "Item", - parentId: document.data?._id || 1, + parentId: document._id || 1, }); if (gameProp) { return { id: gameProp.id, name: gameProp.name }; @@ -279,7 +256,7 @@ export class HelpersL5r5e { return property; }) ); - document.data.update({ "data.properties": document.data.data.properties }); + document.updateSource({ "system.properties": document.system.properties }); } } @@ -447,13 +424,13 @@ export class HelpersL5r5e { } itemsList.forEach((item) => { - let xp = parseInt(item.data.xp_used_total || item.data.xp_used || 0); + let xp = parseInt(item.system.xp_used_total || item.system.xp_used || 0); // Full price xp_used_total += xp; // if not in curriculum, xp spent /2 for this item - if (!item.data.in_curriculum && xp > 0) { + if (!item.system.in_curriculum && xp > 0) { xp = Math.ceil(xp / 2); } @@ -626,8 +603,8 @@ export class HelpersL5r5e { // Create the link let link = null; - if (object.data.flags.core?.sourceId) { - link = object.data.flags.core?.sourceId.replace(/(\w+)\.(.+)/, "@$1[$2]"); + if (object.flags.core?.sourceId) { + link = object.flags.core?.sourceId.replace(/(\w+)\.(.+)/, "@$1[$2]"); if (!HelpersL5r5e.isLinkValid(link)) { link = null; } @@ -661,7 +638,7 @@ export class HelpersL5r5e { // Get a matched World document // "@Item[L5RCoreIte000042]{Amigasa}" - if (CONST.ENTITY_TYPES.includes(type)) { + if (CONST.DOCUMENT_TYPES.includes(type)) { const collection = game.collections.get(type); const document = /^[a-zA-Z0-9]{16}$/.test(target) ? collection.get(target) : collection.getName(target); return !!document; diff --git a/system/scripts/hooks.js b/system/scripts/hooks.js index 970ef92..b10c494 100644 --- a/system/scripts/hooks.js +++ b/system/scripts/hooks.js @@ -65,7 +65,7 @@ export default class HooksL5r5e { case "settings": // Add Changelog link html.find("#game-details .system").append( - `

Changelog

` + `

Changelog

` ); break; } @@ -198,13 +198,13 @@ export default class HooksL5r5e { if (["weapon", "armor", "item", "peculiarity", "technique", "peculiarity"].includes(document.type)) { html.find(`[data-document-id="${document.id}"]`).append( `` + - (document.data.data.rarity - ? `${game.i18n.localize("l5r5e.sheets.rarity")} ${document.data.data.rarity}` + (document.system.rarity + ? `${game.i18n.localize("l5r5e.sheets.rarity")} ${document.system.rarity}` : "") + - (document.data.data.rank - ? game.i18n.localize("l5r5e.sheets.rank") + " " + document.data.data.rank + (document.system.rank + ? game.i18n.localize("l5r5e.sheets.rank") + " " + document.system.rank : "") + `` ); diff --git a/system/scripts/item.js b/system/scripts/item.js index 873dbfd..a287eb2 100644 --- a/system/scripts/item.js +++ b/system/scripts/item.js @@ -4,7 +4,7 @@ export class ItemL5r5e extends Item { * @returns {Collection} */ get items() { - return this.data.data.items || new Map(); + return this.system.items || new Map(); } /** @@ -12,7 +12,7 @@ export class ItemL5r5e extends Item { * @return {Actor|null} */ get actor() { - return super.actor || game.actors.get(this.data.data.parent_id?.actor_id) || null; + return super.actor || game.actors.get(this.system.parent_id?.actor_id) || null; } /** @@ -29,13 +29,13 @@ export class ItemL5r5e extends Item { /** * Update this Document using incremental data, saving it to the database. * @see {@link Document.updateDocuments} - * @param {object} [data={}] Differential update data which modifies the existing values of this document data + * @param {object} [data={}] Differential update data which modifies the existing values of this document data * @param {DocumentModificationContext} [context={}] Additional context which customizes the update workflow - * @returns {Promise} The updated Document instance + * @returns {Promise} The updated Document instance */ async update(data = {}, context = {}) { // Regular - if (!this.data.data.parent_id) { + if (!this.system.parent_id) { return super.update(data, context); } @@ -47,19 +47,21 @@ export class ItemL5r5e extends Item { } // Merge (DocumentData cannot be set) - const result = foundry.utils.mergeObject(this.data, foundry.utils.expandObject(data)); + const result = foundry.utils.mergeObject(this, foundry.utils.expandObject(data)); + console.log(result); // TODO TMP + if (result.name) { - this.data.name = result.name; + this.name = result.name; } if (result.img) { - this.data.img = result.img; + this.img = result.img; } if (result.data) { - this.data.data = result.data; + this.data = result.data; // todo tmp check this! } // Update - await parentItem.updateEmbedItem(this.data.toObject(false)); + await parentItem.updateEmbedItem(this.toObject(false)); // Return new value for sheet return new Promise((resolve) => resolve(this)); @@ -70,9 +72,9 @@ export class ItemL5r5e extends Item { super.prepareData(); // Prepare Embed items - if (!(this.data.data.items instanceof Map)) { - const itemsData = Array.isArray(this.data.data.items) ? this.data.data.items : []; - this.data.data.items = new Map(); + if (!(this.system.items instanceof Map)) { + const itemsData = Array.isArray(this.system.items) ? this.system.items : []; + this.system.items = new Map(); itemsData.forEach((item) => { this.addEmbedItem(item, { save: false, newId: false, addBonusToActor: false }); @@ -80,16 +82,16 @@ export class ItemL5r5e extends Item { } // Sanitize some values - switch (this.data.type) { + switch (this.type) { case "armor": - this.data.data.armor.physical = this.data.data.armor.physical || 0; - this.data.data.armor.supernatural = this.data.data.armor.supernatural || 0; + this.system.armor.physical = this.system.armor.physical || 0; + this.system.armor.supernatural = this.system.armor.supernatural || 0; break; case "weapon": - this.data.data.range = this.data.data.range || 0; - this.data.data.damage = this.data.data.damage || 0; - this.data.data.deadliness = this.data.data.deadliness || 0; + this.system.range = this.system.range || 0; + this.system.damage = this.system.damage || 0; + this.system.deadliness = this.system.deadliness || 0; break; } } @@ -103,8 +105,8 @@ export class ItemL5r5e extends Item { const parent = { item_id: this.id, }; - if (this.actor?.data?._id) { - parent.actor_id = this.actor.data._id; + if (this.actor?._id) { + parent.actor_id = this.actor._id; } return parent; } @@ -114,7 +116,7 @@ export class ItemL5r5e extends Item { * @return {ItemL5r5e|null} */ getItemFromParentId() { - const parentIds = this.data.data.parent_id; + const parentIds = this.system.parent_id; let parentItem; if (parentIds?.actor_id) { @@ -134,12 +136,12 @@ export class ItemL5r5e extends Item { * @return {Promise} */ async renderTextTemplate() { - const data = (await this.sheet?.getData()) || this; - if (data instanceof ItemL5r5e) { + const sheetData = (await this.sheet?.getData()) || this; + if (sheetData instanceof ItemL5r5e) { await game.l5r5e.HelpersL5r5e.refreshItemProperties(this); } const type = this.type.replace("_", "-"); // ex: item_pattern - const tpl = await renderTemplate(`${CONFIG.l5r5e.paths.templates}items/${type}/${type}-text.html`, data); + const tpl = await renderTemplate(`${CONFIG.l5r5e.paths.templates}items/${type}/${type}-text.html`, sheetData); if (!tpl) { return null; } @@ -148,7 +150,7 @@ export class ItemL5r5e extends Item { // ***** Embedded items management ***** /** - * Shortcut for this.data.data.items.get + * Shortcut for this.items.get * @param id * @return {ItemL5r5e|null} */ @@ -176,17 +178,17 @@ export class ItemL5r5e extends Item { // New id if (newId) { - item.data._id = foundry.utils.randomID(); + item._id = foundry.utils.randomID(); } // Copy the parent permission to the sub item - item.data.permission = this.data.permission; + item.ownership = this.ownership; // Tag parent (flags won't work as we have no id in db) - item.data.data.parent_id = this.getParentsIds(); + item.system.parent_id = this.getParentsIds(); // Object - this.data.data.items.set(item.data._id, item); + this.system.items.set(item._id, item); // Add bonus to actor if (addBonusToActor) { @@ -199,7 +201,7 @@ export class ItemL5r5e extends Item { if (save) { await this.saveEmbedItems(); } - return item.data._id; + return item._id; } /** @@ -220,21 +222,21 @@ export class ItemL5r5e extends Item { * @return {Promise} */ async deleteEmbedItem(id, { save = true, removeBonusFromActor = true } = {}) { - if (!this.data.data.items.has(id)) { + if (!this.system.items.has(id)) { return; } // Remove bonus from actor if (removeBonusFromActor) { const actor = this.actor; - const item = this.data.data.items.get(id); + const item = this.system.items.get(id); if (item instanceof Item && actor instanceof Actor) { actor.removeBonus(item); } } // Remove the embed item - this.data.data.items.delete(id); + this.system.items.delete(id); if (save) { await this.saveEmbedItems(); @@ -247,8 +249,8 @@ export class ItemL5r5e extends Item { */ async generateNewIdsForAllEmbedItems() { // Clear olds ids - const oldItems = Array.from(this.data.data.items); - this.data.data.items = new Map(); + const oldItems = Array.from(this.system.items); + this.system.items = new Map(); // Re-add with new ids oldItems.forEach(([id, item]) => { @@ -264,7 +266,7 @@ export class ItemL5r5e extends Item { */ async saveEmbedItems() { await this.update({ - "data.items": Array.from(this.data.data.items).map(([id, item]) => item.data.toObject(false)), + "system.items": Array.from(this.system.items).map(([id, item]) => item.toObject(false)), }); this.sheet.render(false); } diff --git a/system/scripts/items/advancement-sheet.js b/system/scripts/items/advancement-sheet.js index e4c27a8..eaf47dd 100644 --- a/system/scripts/items/advancement-sheet.js +++ b/system/scripts/items/advancement-sheet.js @@ -41,9 +41,9 @@ export class AdvancementSheetL5r5e extends ItemSheetL5r5e { return; } - // const currentType = this.object.data.data.advancement_type; - const currentRing = this.object.data.data.ring; - const currentSkill = this.object.data.data.skill; + // const currentType = this.object.system.advancement_type; + const currentRing = this.object.system.ring; + const currentSkill = this.object.system.skill; html.find("#advancement_type").on("change", (event) => { $(event.target).prop("disabled", true); @@ -78,9 +78,9 @@ export class AdvancementSheetL5r5e extends ItemSheetL5r5e { * @private */ async _updateChoice(oldChoice, newChoice) { - let xp_used = this.object.data.data.xp_used; - let name = this.object.data.name; - let img = this.object.data.img; + let xp_used = this.object.system.xp_used; + let name = this.object.name; + let img = this.object.img; // Modify image to reflect choice if (newChoice.ring) { @@ -96,7 +96,7 @@ export class AdvancementSheetL5r5e extends ItemSheetL5r5e { // Object embed in actor ? const actor = this.document.actor; if (actor) { - const actorData = foundry.utils.duplicate(actor.data.data); + const actorData = foundry.utils.duplicate(actor.system); let skillCatId = null; // Old choices @@ -132,7 +132,7 @@ export class AdvancementSheetL5r5e extends ItemSheetL5r5e { // Update Actor await actor.update({ - data: foundry.utils.diffObject(actor.data.data, actorData), + system: foundry.utils.diffObject(actor.system, actorData), }); } @@ -140,7 +140,7 @@ export class AdvancementSheetL5r5e extends ItemSheetL5r5e { await this.object.update({ name: name, img: img, - data: { + system: { xp_used: xp_used, }, }); diff --git a/system/scripts/items/army-cohort-sheet.js b/system/scripts/items/army-cohort-sheet.js index 783a4fa..1d3cc11 100644 --- a/system/scripts/items/army-cohort-sheet.js +++ b/system/scripts/items/army-cohort-sheet.js @@ -27,7 +27,7 @@ export class ArmyCohortSheetL5r5e extends ItemSheetL5r5e { * @private */ _initialize() { - const data = this.object.data.data; + const data = this.object.system; // update linked actor datas if (data.leader_actor_id) { @@ -40,6 +40,20 @@ export class ArmyCohortSheetL5r5e extends ItemSheetL5r5e { } } + /** + * @return {Object|Promise} + */ + async getData(options = {}) { + const sheetData = await super.getData(options); + + // Editors enrichment + sheetData.data.enrichedHtml.abilities = await TextEditor.enrichHTML(sheetData.data.system.abilities, { + async: true, + }); + + return sheetData; + } + /** * Activate a named TinyMCE text editor * @param {string} name The named data field which the editor modifies. @@ -49,10 +63,10 @@ export class ArmyCohortSheetL5r5e extends ItemSheetL5r5e { */ activateEditor(name, options = {}, initialContent = "") { // Symbols Compatibility with old compendium modules (PRE l5r v1.7.2) - if (name === "data.abilities" && initialContent) { + if (name === "system.abilities" && initialContent) { initialContent = game.l5r5e.HelpersL5r5e.convertSymbols(initialContent, false); } - super.activateEditor(name, options, initialContent); + return super.activateEditor(name, options, initialContent); } /** @@ -100,15 +114,15 @@ export class ArmyCohortSheetL5r5e extends ItemSheetL5r5e { */ async _updateLinkedActorData(actor) { if (!actor || actor.documentName !== "Actor" || !actor.isCharacter) { - console.warn("L5R5E | Wrong actor type", actor?.data?.type, actor); + console.warn("L5R5E | Wrong actor type", actor?.type, actor); return; } return this.object.update({ - img: actor.data.img, - data: { - leader: actor.data.name, - leader_actor_id: actor.data._id, + img: actor.img, + system: { + leader: actor.name, + leader_actor_id: actor._id, }, }); } @@ -120,7 +134,7 @@ export class ArmyCohortSheetL5r5e extends ItemSheetL5r5e { */ async _removeLinkedActor() { return this.object.update({ - data: { + system: { leader_actor_id: null, }, }); diff --git a/system/scripts/items/base-item-sheet.js b/system/scripts/items/base-item-sheet.js index f1df150..3b44815 100644 --- a/system/scripts/items/base-item-sheet.js +++ b/system/scripts/items/base-item-sheet.js @@ -62,10 +62,10 @@ export class BaseItemSheetL5r5e extends ItemSheet { */ activateEditor(name, options = {}, initialContent = "") { // Symbols Compatibility with old compendium modules (PRE l5r v1.7.2) - if (name === "data.description" && initialContent) { + if (name === "system.description" && initialContent) { initialContent = game.l5r5e.HelpersL5r5e.convertSymbols(initialContent, false); } - super.activateEditor(name, options, initialContent); + return super.activateEditor(name, options, initialContent); } /** diff --git a/system/scripts/items/item-pattern-sheet.js b/system/scripts/items/item-pattern-sheet.js index d9d8444..d8b55d9 100644 --- a/system/scripts/items/item-pattern-sheet.js +++ b/system/scripts/items/item-pattern-sheet.js @@ -33,15 +33,15 @@ export class ItemPatternSheetL5r5e extends ItemSheetL5r5e { * @return {Promise} */ async getLinkedProperty(sheetData) { - if (sheetData.data.data.linked_property_id) { + if (sheetData.data.system.linked_property_id) { const linkedProperty = await game.l5r5e.HelpersL5r5e.getObjectGameOrPack({ - id: sheetData.data.data.linked_property_id, + id: sheetData.data.system.linked_property_id, type: "Item", }); if (linkedProperty) { return { - id: linkedProperty.data._id, - name: linkedProperty.data.name, + id: linkedProperty._id, + name: linkedProperty.name, }; } } @@ -77,15 +77,15 @@ export class ItemPatternSheetL5r5e extends ItemSheetL5r5e { // Only property allowed here let item = await game.l5r5e.HelpersL5r5e.getDragnDropTargetObject(event); - if (!item || item.documentName !== "Item" || item.data.type !== "property") { + if (!item || item.documentName !== "Item" || item.type !== "property") { return; } // Set the new property, and update - this.document.data.data.linked_property_id = item.id; + this.document.system.linked_property_id = item.id; this.document.update({ - data: { - linked_property_id: this.document.data.data.linked_property_id, + system: { + linked_property_id: this.document.system.linked_property_id, }, }); } @@ -102,18 +102,18 @@ export class ItemPatternSheetL5r5e extends ItemSheetL5r5e { let name; const linkedProperty = await game.l5r5e.HelpersL5r5e.getObjectGameOrPack({ - id: this.document.data.data.linked_property_id, + id: this.document.system.linked_property_id, type: "Item", }); if (linkedProperty) { - name = linkedProperty.data.name; + name = linkedProperty.name; } const callback = async () => { - this.document.data.data.linked_property_id = null; + this.document.system.linked_property_id = null; this.document.update({ - data: { - linked_property_id: this.document.data.data.linked_property_id, + system: { + linked_property_id: this.document.system.linked_property_id, }, }); }; diff --git a/system/scripts/items/item-sheet.js b/system/scripts/items/item-sheet.js index c1caa31..75d4ca9 100644 --- a/system/scripts/items/item-sheet.js +++ b/system/scripts/items/item-sheet.js @@ -27,6 +27,11 @@ export class ItemSheetL5r5e extends BaseItemSheetL5r5e { // Prepare Properties (id/name => object) await this._prepareProperties(sheetData); + // Editors enrichment + sheetData.data.enrichedHtml = { + description: await TextEditor.enrichHTML(sheetData.data.system.description, { async: true }), + }; + return sheetData; } @@ -37,9 +42,9 @@ export class ItemSheetL5r5e extends BaseItemSheetL5r5e { async _prepareProperties(sheetData) { sheetData.data.propertiesList = []; - if (Array.isArray(sheetData.data.data.properties)) { + if (Array.isArray(sheetData.data.system.properties)) { const props = []; - for (const property of sheetData.data.data.properties) { + for (const property of sheetData.data.system.properties) { const gameProp = await game.l5r5e.HelpersL5r5e.getObjectGameOrPack({ id: property.id, type: "Item" }); if (gameProp) { sheetData.data.propertiesList.push(gameProp); @@ -56,7 +61,7 @@ export class ItemSheetL5r5e extends BaseItemSheetL5r5e { }); } } - sheetData.data.data.properties = props; + sheetData.data.system.properties = props; } } @@ -114,15 +119,15 @@ export class ItemSheetL5r5e extends BaseItemSheetL5r5e { } // Specific ItemPattern's drop, get the associated props instead - if (item.data.type === "item_pattern" && item.data.data.linked_property_id) { + if (item.type === "item_pattern" && item.system.linked_property_id) { item = await game.l5r5e.HelpersL5r5e.getObjectGameOrPack({ - id: item.data.data.linked_property_id, + id: item.system.linked_property_id, type: "Item", }); } // Final object has to be a property - if (item.data.type !== "property") { + if (item.type !== "property") { return; } @@ -136,27 +141,27 @@ export class ItemSheetL5r5e extends BaseItemSheetL5r5e { * @private */ _addProperty(item) { - if (!Array.isArray(this.document.data.data.properties)) { - this.document.data.data.properties = []; + if (!Array.isArray(this.document.system.properties)) { + this.document.system.properties = []; } - if (this.document.data.data.properties.findIndex((p) => p.id === item.id) !== -1) { + if (this.document.system.properties.findIndex((p) => p.id === item.id) !== -1) { return; } - this.document.data.data.properties.push({ id: item.id, name: item.name }); + this.document.system.properties.push({ id: item.id, name: item.name }); // This props remove others ? - if (Array.isArray(item.data.data.properties) && item.data.data.properties.length > 0) { - const idsToRemove = item.data.data.properties.map((e) => e.id); - this.document.data.data.properties = this.document.data.data.properties.filter( + if (Array.isArray(item.system.properties) && item.system.properties.length > 0) { + const idsToRemove = item.system.properties.map((e) => e.id); + this.document.system.properties = this.document.system.properties.filter( (p) => !idsToRemove.includes(p.id) ); } this.document.update({ - data: { - properties: this.document.data.data.properties, + system: { + properties: this.document.system.properties, }, }); } @@ -171,21 +176,21 @@ export class ItemSheetL5r5e extends BaseItemSheetL5r5e { event.preventDefault(); event.stopPropagation(); - if (!Array.isArray(this.document.data.data.properties)) { + if (!Array.isArray(this.document.system.properties)) { return; } const id = $(event.currentTarget).parents(".property").data("propertyId"); - const tmpProps = this.document.data.data.properties.find((p) => p.id === id); + const tmpProps = this.document.system.properties.find((p) => p.id === id); if (!tmpProps) { return; } const callback = async () => { - this.document.data.data.properties = this.document.data.data.properties.filter((p) => p.id !== id); + this.document.system.properties = this.document.system.properties.filter((p) => p.id !== id); this.document.update({ - data: { - properties: this.document.data.data.properties, + system: { + properties: this.document.system.properties, }, }); }; diff --git a/system/scripts/items/technique-sheet.js b/system/scripts/items/technique-sheet.js index 97d83a7..fc044a4 100644 --- a/system/scripts/items/technique-sheet.js +++ b/system/scripts/items/technique-sheet.js @@ -27,9 +27,9 @@ export class TechniqueSheetL5r5e extends ItemSheetL5r5e { sheetData.data.techniquesList = game.l5r5e.HelpersL5r5e.getTechniquesList({ types }); // Sanitize Difficulty and Skill list - sheetData.data.data.difficulty = TechniqueSheetL5r5e.formatDifficulty(sheetData.data.data.difficulty); - sheetData.data.data.skill = TechniqueSheetL5r5e.translateSkillsList( - TechniqueSheetL5r5e.formatSkillList(sheetData.data.data.skill.split(",")), + sheetData.data.system.difficulty = TechniqueSheetL5r5e.formatDifficulty(sheetData.data.system.difficulty); + sheetData.data.system.skill = TechniqueSheetL5r5e.translateSkillsList( + TechniqueSheetL5r5e.formatSkillList(sheetData.data.system.skill.split(",")), false ).join(", "); @@ -46,16 +46,16 @@ export class TechniqueSheetL5r5e extends ItemSheetL5r5e { async _updateObject(event, formData) { // Change the image according to the type if this is already the case if ( - formData["data.technique_type"] && - formData.img === `${CONFIG.l5r5e.paths.assets}icons/techs/${this.object.data.data.technique_type}.svg` + formData["system.technique_type"] && + formData.img === `${CONFIG.l5r5e.paths.assets}icons/techs/${this.object.system.technique_type}.svg` ) { - formData.img = `${CONFIG.l5r5e.paths.assets}icons/techs/${formData["data.technique_type"]}.svg`; + formData.img = `${CONFIG.l5r5e.paths.assets}icons/techs/${formData["system.technique_type"]}.svg`; } // Sanitize Difficulty and Skill list - formData["data.difficulty"] = TechniqueSheetL5r5e.formatDifficulty(formData["data.difficulty"]); - formData["data.skill"] = TechniqueSheetL5r5e.formatSkillList( - TechniqueSheetL5r5e.translateSkillsList(formData["data.skill"].split(","), true) + formData["system.difficulty"] = TechniqueSheetL5r5e.formatDifficulty(formData["system.difficulty"]); + formData["system.skill"] = TechniqueSheetL5r5e.formatSkillList( + TechniqueSheetL5r5e.translateSkillsList(formData["system.skill"].split(","), true) ).join(","); return super._updateObject(event, formData); @@ -77,7 +77,7 @@ export class TechniqueSheetL5r5e extends ItemSheetL5r5e { // Autocomplete game.l5r5e.HelpersL5r5e.autocomplete( html, - "data.difficulty", + "system.difficulty", [ "@T:intrigueRank", "@T:focus", @@ -93,7 +93,7 @@ export class TechniqueSheetL5r5e extends ItemSheetL5r5e { ); game.l5r5e.HelpersL5r5e.autocomplete( html, - "data.skill", + "system.skill", Object.values(TechniqueSheetL5r5e.getSkillsTranslationMap(false)), "," ); diff --git a/system/scripts/items/title-sheet.js b/system/scripts/items/title-sheet.js index c496399..332089f 100644 --- a/system/scripts/items/title-sheet.js +++ b/system/scripts/items/title-sheet.js @@ -22,12 +22,12 @@ export class TitleSheetL5r5e extends ItemSheetL5r5e { const sheetData = await super.getData(options); // Prepare OwnedItems - sheetData.data.embedItemsList = this._prepareEmbedItems(sheetData.data.data.items); + sheetData.data.embedItemsList = this._prepareEmbedItems(sheetData.data.system.items); // Automatically compute the total xp cost (full price) and XP in title (cursus, some halved prices) const { xp_used_total, xp_used } = game.l5r5e.HelpersL5r5e.getItemsXpCost(sheetData.data.embedItemsList); - sheetData.data.data.xp_used_total = xp_used_total; - sheetData.data.data.xp_used = xp_used; + sheetData.data.system.xp_used_total = xp_used_total; + sheetData.data.system.xp_used = xp_used; return sheetData; } @@ -41,11 +41,11 @@ export class TitleSheetL5r5e extends ItemSheetL5r5e { _prepareEmbedItems(itemsMap) { let itemsList = itemsMap; if (itemsMap instanceof Map) { - itemsList = Array.from(itemsMap).map(([id, item]) => item.data); + itemsList = Array.from(itemsMap).map(([id, item]) => item); } // Sort by rank desc - itemsList.sort((a, b) => (b.data.rank || 0) - (a.data.rank || 0)); + itemsList.sort((a, b) => (b.system.rank || 0) - (a.system.rank || 0)); return itemsList; } @@ -63,16 +63,16 @@ export class TitleSheetL5r5e extends ItemSheetL5r5e { // Check item type and subtype let item = await game.l5r5e.HelpersL5r5e.getDragnDropTargetObject(event); - if (!item || item.documentName !== "Item" || !["technique", "advancement"].includes(item.data.type)) { + if (!item || item.documentName !== "Item" || !["technique", "advancement"].includes(item.type)) { return; } - const data = item.data.toObject(false); + const data = item.toObject(false); // Check xp for techs - if (item.data.type === "technique") { - data.data.xp_cost = data.data.xp_cost > 0 ? data.data.xp_cost : CONFIG.l5r5e.xp.techniqueCost; - data.data.xp_used = data.data.xp_cost; + if (item.type === "technique") { + data.system.xp_cost = data.system.xp_cost > 0 ? data.system.xp_cost : CONFIG.l5r5e.xp.techniqueCost; + data.system.xp_used = data.system.xp_cost; } this.document.addEmbedItem(data); @@ -146,7 +146,7 @@ export class TitleSheetL5r5e extends ItemSheetL5r5e { } // Switch the state and update - item.data.data.in_curriculum = !item.data.data.in_curriculum; + item.system.in_curriculum = !item.system.in_curriculum; return this.document.updateEmbedItem(item); } } diff --git a/system/scripts/journals/base-journal-sheet.js b/system/scripts/journals/base-journal-sheet.js index 9bcab14..44c7f6c 100644 --- a/system/scripts/journals/base-journal-sheet.js +++ b/system/scripts/journals/base-journal-sheet.js @@ -50,7 +50,7 @@ export class BaseJournalSheetL5r5e extends JournalSheet { if (initialContent) { initialContent = game.l5r5e.HelpersL5r5e.convertSymbols(initialContent, false); } - super.activateEditor(name, options, initialContent); + return super.activateEditor(name, options, initialContent); } /** diff --git a/system/scripts/main-l5r5e.js b/system/scripts/main-l5r5e.js index b1f6d50..1a9685c 100644 --- a/system/scripts/main-l5r5e.js +++ b/system/scripts/main-l5r5e.js @@ -202,8 +202,8 @@ Hooks.once("init", async () => { // Override enrichHTML for Symbol replacement const oldEnrichHTML = TextEditor.prototype.constructor.enrichHTML; - TextEditor.prototype.constructor.enrichHTML = function (content, options = {}) { - return HelpersL5r5e.convertSymbols(oldEnrichHTML.call(this, content, options), true); + TextEditor.prototype.constructor.enrichHTML = async function (content, options = {}) { + return HelpersL5r5e.convertSymbols(await oldEnrichHTML.call(this, content, options), true); }; // Override the default Token _drawBar function to allow fatigue bar reversing. @@ -223,7 +223,7 @@ Hooks.once("init", async () => { // Enlarge the bar for large tokens let h = Math.max(canvas.dimensions.size / 12, 8); - if (this.data.height >= 2) { + if (this.height >= 2) { h *= 1.6; } diff --git a/system/scripts/migration.js b/system/scripts/migration.js index bcb6ef1..722c688 100644 --- a/system/scripts/migration.js +++ b/system/scripts/migration.js @@ -42,8 +42,8 @@ export class MigrationL5r5e { // Migrate World Actors for (let actor of game.actors.contents) { try { - const updateData = MigrationL5r5e._migrateActorData(actor.data, options); - if (!foundry.utils.isObjectEmpty(updateData)) { + const updateData = MigrationL5r5e._migrateActorData(actor, options); + if (!foundry.utils.isEmpty(updateData)) { console.log(`L5R5E | Migrating Actor entity ${actor.name}`); await actor.update(updateData); } @@ -57,7 +57,7 @@ export class MigrationL5r5e { for (let item of game.items.contents) { try { const updateData = MigrationL5r5e._migrateItemData(item.data, options); - if (!foundry.utils.isObjectEmpty(updateData)) { + if (!foundry.utils.isEmpty(updateData)) { console.log(`L5R5E | Migrating Item entity ${item.name}`); await item.update(updateData); } @@ -71,7 +71,7 @@ export class MigrationL5r5e { for (let scene of game.scenes.contents) { try { const updateData = MigrationL5r5e._migrateSceneData(scene.data, options); - if (!foundry.utils.isObjectEmpty(updateData)) { + if (!foundry.utils.isEmpty(updateData)) { console.log(`L5R5E | Migrating Scene entity ${scene.name}`); await scene.update(updateData); // If we do not do this, then synthetic token actors remain in cache @@ -97,7 +97,7 @@ export class MigrationL5r5e { const updatedChatList = []; for (let message of game.collections.get("ChatMessage")) { const updateData = MigrationL5r5e._migrateChatMessage(message.data, options); - if (!foundry.utils.isObjectEmpty(updateData)) { + if (!foundry.utils.isEmpty(updateData)) { updateData["_id"] = message.data._id; updatedChatList.push(updateData); } @@ -156,7 +156,7 @@ export class MigrationL5r5e { updateData = MigrationL5r5e._migrateSceneData(ent.data); break; } - if (foundry.utils.isObjectEmpty(updateData)) { + if (foundry.utils.isEmpty(updateData)) { continue; } @@ -231,7 +231,7 @@ export class MigrationL5r5e { */ static _migrateActorData(actor, options = { force: false }) { const updateData = {}; - const actorData = actor.data; + const actorData = actor.system; // We need to be careful for unlinked tokens, only the diff is store in "data". // ex no diff : actor = {type: "npc"}, actorData = undefined @@ -243,16 +243,17 @@ export class MigrationL5r5e { if (options?.force || MigrationL5r5e.needUpdate("1.1.0")) { // Add "Prepared" in actor if (actorData.prepared === undefined) { - updateData["data.prepared"] = true; + updateData["system.prepared"] = true; } // NPC are now without autostats, we need to save the value if (actor.type === "npc") { if (actorData.endurance < 1) { - updateData["data.endurance"] = (Number(actorData.rings.earth) + Number(actorData.rings.fire)) * 2; - updateData["data.composure"] = (Number(actorData.rings.earth) + Number(actorData.rings.water)) * 2; - updateData["data.focus"] = Number(actorData.rings.air) + Number(actorData.rings.fire); - updateData["data.vigilance"] = Math.ceil( + updateData["system.endurance"] = (Number(actorData.rings.earth) + Number(actorData.rings.fire)) * 2; + updateData["system.composure"] = + (Number(actorData.rings.earth) + Number(actorData.rings.water)) * 2; + updateData["system.focus"] = Number(actorData.rings.air) + Number(actorData.rings.fire); + updateData["system.vigilance"] = Math.ceil( (Number(actorData.rings.air) + Number(actorData.rings.water)) / 2 ); } @@ -264,18 +265,18 @@ export class MigrationL5r5e { if (options?.force || MigrationL5r5e.needUpdate("1.3.0")) { // PC/NPC removed notes useless props "value" if (actorData.notes?.value) { - updateData["data.notes"] = actorData.notes.value; + updateData["system.notes"] = actorData.notes.value; } // NPC have now more thant a Strength and a Weakness if (actor.type === "npc" && actorData.rings_affinities?.strength) { const aff = actorData.rings_affinities; - updateData["data.rings_affinities." + aff.strength.ring] = aff.strength.value; - updateData["data.rings_affinities." + aff.weakness.ring] = aff.weakness.value; + updateData["system.rings_affinities." + aff.strength.ring] = aff.strength.value; + updateData["system.rings_affinities." + aff.weakness.ring] = aff.weakness.value; // Delete old keys - updateData["data.rings_affinities.-=strength"] = null; - updateData["data.rings_affinities.-=weakness"] = null; + updateData["system.rings_affinities.-=strength"] = null; + updateData["system.rings_affinities.-=weakness"] = null; } } // ***** End of 1.3.0 ***** diff --git a/system/styles/l5r5e.css b/system/styles/l5r5e.css index 80f5a8a..c39c32b 100644 --- a/system/styles/l5r5e.css +++ b/system/styles/l5r5e.css @@ -1 +1 @@ -body>*{scrollbar-width:thin}body:not(.background){background:url("../assets/imgs/bg-table.webp") no-repeat;background-size:cover}.toggle-hidden{display:none !important}.window-app .window-content{z-index:1;position:relative;background:#fffae6 url("../assets/imgs/bg-l5r.webp") no-repeat;background-size:cover;scrollbar-width:thin;padding:0}.window-app .window-content>form,.window-app .window-content>div{padding:0.5rem}.window-app .window-content .compendium,.window-app .window-content .help-dialog{background-position:top;background-size:100%;background:url("../assets/ui/bgSidebar.webp") no-repeat;border:1px solid #c3a582;border-radius:0;color:#fff}.window-app .window-content .compendium ol,.window-app .window-content .help-dialog ol{padding-right:0.25rem}.window-app .window-content .compendium ol li,.window-app .window-content .help-dialog ol li{border-bottom:1px solid rgba(255,255,255,0.25)}.window-app .window-content .compendium .directory-header,.window-app .window-content .help-dialog .directory-header{padding:0.25rem 0}.window-app .window-content .help-dialog{padding:0.5rem 1.5rem}.window-app .window-content .help-dialog button{cursor:default;color:#fff;background:linear-gradient(#5f2841, #411928, #5f2841);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.5rem;border-image-outset:0px}.window-app .window-content .help-dialog button:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}.window-app .window-content .compendium .item{position:relative}.window-app .window-content .compendium .item i{float:right;line-height:1rem;text-align:right;font-size:0.75rem;color:rgba(240,240,225,0.75);font-style:italic;flex:0 0 auto;position:absolute;right:0;text-shadow:0 0 0 rgba(255,255,255,0.1)}.window-app .window-content .compendium .item i:before{margin:0 0.25rem 0 0;font-style:normal}.window-app.sheet .window-content,.window-app.npc .window-content,.window-app.advancement .window-content,.window-app.armor .window-content,.window-app.item .window-content,.window-app.peculiarity .window-content,.window-app.property .window-content,.window-app.technique .window-content,.window-app.weapon .window-content,.window-app.twenty-questions-dialog .window-content{overflow-y:scroll}.window-app .window-resizable-handle{z-index:2;background:#000}.window-app.twenty-questions-dialog .window-content{background:#fffae6 url("../assets/imgs/bg-scroll.webp") no-repeat;background-size:cover}#l5r5e-twenty-questions-dialog{min-height:800px;min-width:600px}*{transition-property:background, color, border-color, text-shadow, box-shadow;transition-duration:0.5s;transition-timing-function:ease}input[type="text"]:focus,input[type="number"]:focus,input[type="password"]:focus,input[type="date"]:focus,input[type="time"]:focus{box-shadow:0 0 6px red}.tabs .item.active{text-shadow:0 0 10px red}#controls .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .control-tool:hover{box-shadow:0 0 10px red}#sidebar #settings button,#sidebar .sidebar-tab .action-buttons button{height:2rem;line-height:initial}button:hover{box-shadow:0 0 10px red}button:focus{box-shadow:0 0 10px red}option{font-size:1rem;line-height:1.5rem;padding:0.25rem;color:#000}ul,li{list-style-type:none;margin:0;padding:0}.item-list>li{padding:0.25rem;border:1px solid rgba(0,0,0,0.05);border-bottom:0 none}.item-list>li:nth-child(odd){background:rgba(186,187,177,0.2)}.item-list>li:nth-child(even){background:rgba(186,187,177,0.1)}.item-list>li:last-child{border-bottom:1px solid rgba(0,0,0,0.05)}fieldset{flex:1;flex-wrap:wrap;display:flex;margin:0 0.25rem;padding:0.5rem;border:1px solid rgba(186,187,177,0.5)}fieldset legend{color:#5a6e5a}fieldset .editor{height:100%}input[type="text"],input[type="number"],input[type="password"],input[type="date"],input[type="time"],textarea{padding:0.25rem;background:rgba(255,255,255,0.5);border:1px solid rgba(186,187,177,0.5);color:#764f40;resize:vertical;border-radius:0}input[type="text"][disabled],input[type="number"][disabled],input[type="password"][disabled],input[type="date"][disabled],input[type="time"][disabled],textarea[disabled]{background:rgba(255,255,255,0.25)}input[type="number"]{text-align:center}.editor,.editor-content{flex:1;height:100%}.earth{color:#699678}.air{color:#917896}.water{color:#5f919b}.fire{color:#9b7350}.void{color:#4b4641}table{background:transparent;border:1px solid rgba(186,187,177,0.5)}table thead{background:rgba(186,187,177,0.5);color:#5a6e5a;text-shadow:none;border-bottom:rgba(186,187,177,0.5)}table tr:nth-child(odd){background:rgba(186,187,177,0.2)}table tr:nth-child(even){background:rgba(186,187,177,0.1)}sub,sup{color:rgba(0,0,0,0.5)}.sheet nav.sheet-tabs{font-size:0.75rem}.editor-content ul,.item-description ul{margin:0.5rem 0}.editor-content ul li,.item-description ul li{list-style-type:initial;margin:0.5rem 0 0.5rem 1.5rem;padding:0}.prepared-character{color:#699678}.prepared-adversary{color:#9b7350}.prepared-minion{color:#5f919b}.prepared-icon{font-weight:900;font-family:"Font Awesome 5 Free";-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1;width:1.5rem}.prepared-icon-true:before{content:"\f06e"}.prepared-icon-false:before{content:"\f070"}.prepared-icon-null:before{content:"\f2a8"}a.compendium-link{background:#ddd;padding:1px 4px;border:1px solid #4b4a44;border-radius:2px;white-space:nowrap;word-break:break-all}#playlists .sound-control i.fas.fa-random,#playlists .sound-control i.far.fa-arrow-alt-circle-right,#playlists .sound-control i.fas.fa-compress-arrows-alt,#playlists .sound-control i.fas.fa-ban{color:#ff6400}#playlists .sound-control i.fas.fa-square{color:#dd0000}#playlists .sound-control i.fas.fa-play,#playlists .sound-control i.fas.fa-play-circle{color:#00dd00}#playlists .sound-control i.fas.fa-pause,#playlists .sound-control i.fas.fa-backward,#playlists .sound-control i.fas.fa-forward{color:#0096ff}.window-draggable-handle{z-index:20 !important}#forien-quest-log .window-content,#forien-quest-log-form .window-content,.window-app.forien-quest-preview .window-content{overflow:initial}#OneJournalShell:first-child>.window-header,#OneJournalShell.maximized>.window-header{z-index:20}@font-face{font-family:"LogotypeL5r";src:url("../fonts/LogotypeL5r.ttf") format("truetype")}@font-face{font-family:"BrushtipTexe";src:url("../fonts/BrushtipTexe.ttf") format("truetype")}@font-face{font-family:"PatrickHand";src:url("../fonts/PatrickHand.ttf") format("truetype")}@font-face{font-family:"Caballar";src:url("../fonts/Caballar.ttf") format("truetype")}@font-face{font-family:"ArchitectsDaughter";src:url("../fonts/ArchitectsDaughter.ttf") format("truetype")}body{font:16px "PatrickHand",sans-serif;letter-spacing:0.05rem}h1,h4{font-family:"BrushtipTexe",sans-serif}h1{font-size:2rem}h2{font-size:1.5rem}h3{font-size:1.25rem}h4{font-size:1.25rem}i.i_strife,i.i_success,i.i_explosive,i.i_opportunity,i.i_earth,i.i_water,i.i_fire,i.i_air,i.i_void,i.i_kiho,i.i_maho,i.i_ninjitsu,i.i_prerequisite_exemption,i.i_rituals,i.i_shuji,i.i_invocations,i.i_kata,i.i_inversion,i.i_mantra,i.i_imperial,i.i_ronin,i.i_crab,i.i_crane,i.i_dragon,i.i_lion,i.i_mantis,i.i_phoenix,i.i_scorpion,i.i_tortoise,i.i_unicorn,i.i_bushi,i.i_courtier,i.i_shugenja,i.i_ring,i.i_skill{font-family:"LogotypeL5r",sans-serif;line-height:1rem;font-size:1.25rem;font-style:normal;font-weight:normal;vertical-align:middle;text-shadow:0 0 0 rgba(0,0,0,0.5)}i.i_strife:before{content:"\E91E";color:#cd0000}i.i_success:before{content:"\E91F";color:#cd0000}i.i_explosive:before{content:"\E920";color:#cd0000}i.i_opportunity:before{content:"\E91D";color:#cd0000}i.i_earth:before{content:"\E90E";color:#699678}i.i_air:before{content:"\E90D";color:#917896}i.i_water:before{content:"\E90C";color:#5f919b}i.i_fire:before{content:"\E90A";color:#9b7350}i.i_void:before{content:"\E90B";color:#4b4641}i.i_invocations:before{content:"\E906";color:#ff6400}i.i_kata:before{content:"\E907";color:red}i.i_kiho:before{content:"\E900";color:#009632}i.i_maho:before{content:"\E901";color:#c83200}i.i_ninjitsu:before{content:"\E902";color:#343434}i.i_prerequisite_exemption:before{content:"\E903";color:#343434}i.i_rituals:before{content:"\E904";color:#0096ff}i.i_shuji:before{content:"\E905";color:#00ff96}i.i_inversion:before{content:"\E908";color:#4b4641}i.i_mantra:before{content:"\E909";color:#fa0}i.i_crab:before{content:"\E916";color:#82828c}i.i_crane:before{content:"\E917";color:#789191}i.i_dragon:before{content:"\E918";color:#55826e}i.i_lion:before{content:"\E910";color:#a08c50}i.i_mantis:before{content:"\E911";color:#2d551e}i.i_phoenix:before{content:"\E912";color:#91784b}i.i_scorpion:before{content:"\E913";color:#9b463c}i.i_tortoise:before{content:"\E914";color:#b4c82d}i.i_unicorn:before{content:"\E915";color:#785a87}i.i_imperial:before{content:"\E90F";color:#78ffb4}i.i_ronin:before{content:"\E919";color:#612001}i.i_bushi:before{content:"\E91A";color:#a55a5a}i.i_courtier:before{content:"\E91B";color:#6982a5}i.i_shugenja:before{content:"\E91C";color:#5aa582}i.i_ring{content:"";background:transparent url("../assets/dices/default/ring_blank.svg") no-repeat 0 center;background-size:1rem;display:inline-block;height:1rem;width:1rem}i.i_skill{content:"";background:transparent url("../assets/dices/default/skill_blank.svg") no-repeat 0 0;background-size:1rem;display:inline-block;height:1rem;width:1rem}.compendium .item i{font-family:"PatrickHand",sans-serif}.compendium .item i:before{font-family:"LogotypeL5r",sans-serif}body,#navigation #scene-list .scene.view,#navigation #scene-list .scene.context,#navigation #nav-toggle,#navigation #scene-list .scene.nav-item,#controls .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .control-tool:hover,#client-settings .window-content form .form-group>label,#client-settings .window-content form .form-group select,#client-settings .form-group input,.app.window-app .form-group label,#sidebar .sidebar-tab #chat-controls div.roll-type-select select,#sidebar .sidebar-tab #chat-controls div.roll-type-select i.fas{cursor:url("../assets/cursors/normal.webp"),default !important}a,#logo,#hotbar .macro,#playlists-popout .global-volume::-webkit-slider-thumb,#sidebar #playlists .global-volume::-webkit-slider-thumb,#playlists-popout li.playlist:not(:first-of-type) li.sound .sound-volume::-webkit-slider-thumb,#sidebar #playlists li.playlist:not(:first-of-type) li.sound .sound-volume::-webkit-slider-thumb,#sidebar #settings button,.app.window-app.sheet.wfrp4e.actor.character-sheet .tab.main.active .main-row .movement.row-section .move-value .auto-calc-toggle,.app.window-app.sheet.wfrp4e.actor.npc-sheet .main-row .movement.row-section .move-value .auto-calc-toggle,.app.window-app.sheet.wfrp4e.actor.creature-sheet .main-row .movement.row-section .move-value .auto-calc-toggle,.app.window-app .form-group input[type="range"]::-webkit-slider-thumb,.token-sheet .tab[data-tab="image"] input[type="range"]::-webkit-slider-thumb,#drawing-config .tab[data-tab="image"] input[type="range"]::-webkit-slider-thumb,.metacurrency-value,.overcast-button,.chargen-button,#controls .scene-control,#controls .control-tool,#effects-config .flex2::-webkit-slider-thumb,#client-settings section.content .submenu>button,#client-settings .window-content button label,form .form-group .form-fields button,.sidebar-tab .action-buttons button,.dialog .dialog-buttons button,.item-edit,.item-delete,.item-equip,.item-curriculum,.technique-edit,.technique-delete,.peculiarity-edit,.peculiarity-delete,.attribute-dtype,.equip-readied-control,form button,label{cursor:url("../assets/cursors/pointer.webp"),pointer !important}.draggable{cursor:url("../assets/cursors/drag.webp"),move !important}.dice-roll .dice-formula,.dice-roll .dice-total{background:rgba(255,255,255,0.1);border:rgba(255,255,255,0.75);text-align:center;margin:0.5rem 0;padding:0.25rem 0.5rem 0.25rem 0.25rem}.dice-roll .dice-formula-rnk,.dice-roll .dice-total-rnk{line-height:2rem}.dice-roll .dice-formula-rnk i,.dice-roll .dice-total-rnk i{margin-left:0.5rem}.dice-roll button.chat-dice-rnk{cursor:url("../assets/cursors/pointer.webp"),pointer;color:#fff;background:linear-gradient(#5f2841, #411928, #5f2841);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.5rem;border-image-outset:0px;margin:0.5rem 0 0}.dice-roll button.chat-dice-rnk:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}.dice-roll button.chat-dice-rnk-ended{background:linear-gradient(rgba(10,0,20,0.75), rgba(0,0,10,0.75), rgba(10,0,20,0.75))}.dice-roll .dice-result-rnk{background:rgba(0,0,255,0.1);border:1px solid rgba(55,55,155,0.75);padding:0.25rem;color:rgba(55,55,155,0.75);text-align:center;font-weight:bold;text-shadow:0 0 0 #000}.dice-roll .dice-result-rnk.success{background:rgba(0,255,0,0.1);border-color:rgba(55,155,55,0.75);color:rgba(55,155,55,0.75)}.dice-roll .dice-result-rnk.success i.i_success{font-size:1rem}.dice-roll .dice-result-rnk.unknown{background:rgba(121,121,121,0.1);border-color:rgba(124,124,124,0.75);color:rgba(91,91,91,0.75)}.dice-roll .dice-result-rnk.fail{background:rgba(255,0,0,0.1);border-color:rgba(155,55,55,0.75);color:rgba(155,55,55,0.75)}.dice-roll .target{display:flex;align-items:center;flex:0 0 100%;margin:0.5rem 0;padding:0.25rem 0.5rem 0.25rem 0.25rem;background:rgba(255,255,255,0.1);border:solid 1px rgba(100,0,0,0.75);border-radius:3px}.dice-roll .target .profile{flex:1;margin:0.25rem 0.25rem 0 0;position:relative}.dice-roll .target .profile .profile-img{position:relative;border:none}.dice-roll .target .name{flex:6;font-family:"BrushtipTexe", sans-serif}.dice-picker{cursor:url("../assets/cursors/pointer.webp"),pointer}.dice-picker-dialog{min-width:600px;min-height:auto}.dice-picker-dialog *{transition:none}.dice-picker-dialog input[type="text"]:focus,.dice-picker-dialog input[type="text"]:hover{box-shadow:none !important;border:none !important;text-shadow:none !important}.dice-picker-dialog select{text-align:center;width:134px;direction:rtl;-webkit-appearance:none;-moz-appearance:none;appearance:none}.dice-picker-dialog option{font-size:0.8rem}.dice-picker-dialog img{border:0}.dice-picker-dialog table{text-align:center;background:none;border:none;border:0 none;margin:0;padding:0}.dice-picker-dialog table tbody tr td{width:250px;padding:0 0.5rem}.dice-picker-dialog table tbody tr td:first-child,.dice-picker-dialog table tbody tr td:last-child{width:150px}.dice-picker-dialog table tbody tr:last-child td{width:100%;padding:0.5rem}.dice-picker-dialog .pointer-choice{cursor:url("../assets/cursors/pointer.webp"),pointer}.dice-picker-dialog .ring-selection.ring-selected i{text-shadow:0px 1px 1px red}.dice-picker-dialog .ring-selection.ring-selected strong{color:rgba(255,0,0,0.75)}.dice-picker-dialog .ring-selection.ring-selected input{border:2px solid rgba(255,0,0,0.75) !important}.dice-picker-dialog .quantity{font-size:xx-large}.dice-picker-dialog .third{display:inline-block;text-align:center;vertical-align:middle}.dice-picker-dialog .dice-container{position:relative;text-align:center}.dice-picker-dialog .dice-container>img{height:40px;width:40px}.dice-picker-dialog .dice-value{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.dice-picker-dialog .input-dice{width:20px;color:#0f0f0e;background:none;border:none;font-size:large}.dice-picker-dialog .input-dice-ring{color:#f0f0e0}.dice-picker-dialog .input-dice-skill{color:#0f0f0e}.roll-n-keep-dialog{min-width:600px;max-width:800px}.roll-n-keep-dialog.finalized{width:auto;min-width:400px}.roll-n-keep-dialog img{border:0}.roll-n-keep-dialog table{display:table;min-height:9rem;border:0 none;margin:0.25rem 0;padding:0}.roll-n-keep-dialog table tbody tr{background:transparent}.roll-n-keep-dialog table tbody tr td{margin:0;padding:0}.roll-n-keep-dialog .rnk-ct{margin:0;display:flex;flex-wrap:wrap;border-radius:0.25rem;background:rgba(0,0,0,0.05);border:1px solid rgba(255,255,255,0.5)}.roll-n-keep-dialog .rnk-ct .rnk-center{flex:350px;flex-wrap:wrap;display:flex}.roll-n-keep-dialog .rnk-ct .form-group{width:100%}.roll-n-keep-dialog .rnk-ct .form-group .form-fields{flex:1}.roll-n-keep-dialog .rnk-ct .form-group .form-fields:nth-child(2){flex:3}.roll-n-keep-dialog .rnk-ct .form-group .form-fields:nth-child(2) input{flex:3}.roll-n-keep-dialog .rnk-ct .form-group .form-fields:nth-child(2) i{flex:unset}.roll-n-keep-dialog .rnk-ct .form-group .range-value{width:2rem}.roll-n-keep-dialog .profil{border-bottom:1px solid rgba(0,0,0,0.1)}.roll-n-keep-dialog .dropbox{position:relative;min-height:7rem}.roll-n-keep-dialog .dropbox legend i:last-child{position:absolute;top:0;right:0;border-radius:0.15rem;padding:0 0.1rem 0 0.15rem;font-size:0.65rem;line-height:1rem;width:1rem;margin:0.25rem;text-align:center;color:white;background:#5a6e5a}.roll-n-keep-dialog .dropbox.faces-change{min-height:40px;margin:0.5rem auto}.roll-n-keep-dialog .dropbox.discards{border:1px solid gray}.roll-n-keep-dialog .dropbox.rerolls{border:1px solid orangered}.roll-n-keep-dialog .dropbox.keeps{flex:100%;border:1px solid green}.roll-n-keep-dialog .dropbox.swap{flex:0 0 calc(100px + 1rem);flex-direction:column;border:1px solid fuchsia}.roll-n-keep-dialog .dropbox.discards,.roll-n-keep-dialog .dropbox.rerolls{flex:0 0 calc(50% - 0.5rem);margin-bottom:0.5rem}.roll-n-keep-dialog .dice-ct{position:relative;padding:0.25rem}.roll-n-keep-dialog .dice-ct:before{content:"";position:absolute;height:0.5rem;width:2px;top:-0.3rem;right:calc(50% - 1px);background:rgba(0,0,0,0.25)}.roll-n-keep-dialog .dice-ct:after{content:"\f128";position:absolute;bottom:0;right:0;border-radius:0.15rem;padding:0 0.15rem;font-size:0.65rem;line-height:1rem;width:0.65rem;text-align:center;color:white;background:gray}.roll-n-keep-dialog .dice-ct.discard{filter:opacity(0.5)}.roll-n-keep-dialog .dice-ct.discard:after{content:"\f00d";background:gray}.roll-n-keep-dialog .dice-ct.reroll{filter:opacity(0.5)}.roll-n-keep-dialog .dice-ct.reroll:after{content:"\f2f9";background:orangered}.roll-n-keep-dialog .dice-ct.keep:after{content:"\f00c";background:green}.roll-n-keep-dialog .dice-ct.swap:after{content:"\f337";background:fuchsia}.roll-n-keep-dialog tr:first-child .dice-ct:before{display:none}.roll-n-keep-dialog .dice{height:40px;width:40px}.roll-n-keep-dialog .dice.discard{filter:opacity(0.5);border:0 none}.roll-n-keep-dialog .dice.reroll{filter:opacity(0.5);border:0 none}.roll-n-keep-dialog .dice.keep{border:0 none}.roll-n-keep-dialog .dice.swap{border:0 none}.roll-n-keep-dialog #finalize{width:100%;margin:0.5rem 0.25rem 0.25rem}.roll-n-keep-dialog .section-header i{font-size:0.75rem;margin:0 0.25rem}.roll-n-keep-dialog .fa-sign-in-alt{transform:rotate(90deg)}.roll-n-keep-dialog .chat-profil ul{display:flex;flex-direction:row}.roll-n-keep-dialog .chat-profil ul li:nth-child(1),.roll-n-keep-dialog .chat-profil ul li:nth-child(2){flex:0 0 4rem;padding:0 0.25rem 0.25rem}.roll-n-keep-dialog .chat-profil ul li:nth-child(4){flex:0 0 4rem;padding:0 0.25rem 0.25rem}.roll-n-keep-dialog .chat-profil ul .profile-img{width:4rem}.roll-n-keep-dialog .chat-profil ul .chat-profil-stance{font-size:3.5rem;line-height:3.5rem}.dice-picker-dialog button,.roll-n-keep-dialog button{cursor:default;color:#fff;background:linear-gradient(#5f2841, #411928, #5f2841);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.5rem;border-image-outset:0px;margin:0.5rem 0 0}.dice-picker-dialog button:hover,.roll-n-keep-dialog button:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}.dice-picker-dialog button[disabled],.roll-n-keep-dialog button[disabled]{opacity:0.25}.dice-picker-dialog button[disabled]:hover,.roll-n-keep-dialog button[disabled]:hover{box-shadow:none}.dice-picker-dialog #context-menu,.roll-n-keep-dialog #context-menu{max-width:none}.dice-picker-dialog .symbols-help,.roll-n-keep-dialog .symbols-help{font-style:italic;color:#666;font-size:0.8rem;line-height:1rem;margin:0.5rem auto 0}.dice-picker-dialog .symbols-help i,.roll-n-keep-dialog .symbols-help i{font-size:1rem;line-height:1rem}button{font-size:0.75rem;cursor:url("../assets/cursors/pointer.webp"),pointer}.pointer{cursor:url("../assets/cursors/pointer.webp"),pointer}#game-details .system{overflow:auto;border-bottom:1px solid var(--color-border-light-highlight)}#sidebar{padding:0.5rem 0.25rem 0.5rem 0.5rem;background-position:top;background-size:100%;background:url("../assets/ui/bgSidebar.webp") no-repeat;border:1px solid #c3a582;border-radius:0;overflow:initial;height:calc(100% - 1.1rem);top:0.2rem;width:320px;min-width:40px;letter-spacing:0.1rem;position:relative;margin-right:0.5rem}#sidebar:before{z-index:-1;content:"";position:absolute;height:calc(100% + 0.6rem);width:100%;border:1px solid #c3a582;border-radius:0;top:-0.35rem;left:0.25rem}#sidebar #sidebar-tabs{flex:0 0 2rem;box-sizing:border-box;margin:0 0 0.25rem;border-bottom:1px solid rgba(195,165,130,0.5);box-shadow:none;display:flex}#sidebar #sidebar-tabs i{flex:1;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:100%;border-radius:100%}#sidebar #sidebar-tabs i.fa-comments{background-image:url("../assets/ui/sidebar/chat.svg")}#sidebar #sidebar-tabs i.fa-comments:before{content:""}#sidebar #sidebar-tabs i.fa-fist-raised{background-image:url("../assets/ui/sidebar/combat-tracker.svg");background-size:85%}#sidebar #sidebar-tabs i.fa-fist-raised:before{content:""}#sidebar #sidebar-tabs i.fa-map{background-image:url("../assets/ui/sidebar/scenes.svg");background-size:80%}#sidebar #sidebar-tabs i.fa-map:before{content:""}#sidebar #sidebar-tabs i.fa-users{background-image:url("../assets/ui/sidebar/actors.svg");background-size:90%}#sidebar #sidebar-tabs i.fa-users:before{content:""}#sidebar #sidebar-tabs i.fa-suitcase{background-image:url("../assets/ui/sidebar/object.svg")}#sidebar #sidebar-tabs i.fa-suitcase:before{content:""}#sidebar #sidebar-tabs i.fa-book-open{background-image:url("../assets/ui/sidebar/journal.svg")}#sidebar #sidebar-tabs i.fa-book-open:before{content:""}#sidebar #sidebar-tabs i.fa-th-list{background-image:url("../assets/ui/sidebar/rolltable.svg");background-size:85%}#sidebar #sidebar-tabs i.fa-th-list:before{content:""}#sidebar #sidebar-tabs i.fa-id-badge{background-size:85%;color:black;padding-left:2px}#sidebar #sidebar-tabs i.fa-id-badge:before{content:"\f2c1"}#sidebar #sidebar-tabs i.fa-music{background-image:url("../assets/ui/sidebar/playlist.svg");background-size:80%}#sidebar #sidebar-tabs i.fa-music:before{content:""}#sidebar #sidebar-tabs i.fa-atlas{background-image:url("../assets/ui/sidebar/compendium.svg")}#sidebar #sidebar-tabs i.fa-atlas:before{content:""}#sidebar #sidebar-tabs i.fa-cogs{background-image:url("../assets/ui/sidebar/settings.svg");background-size:85%}#sidebar #sidebar-tabs i.fa-cogs:before{content:""}#sidebar #sidebar-tabs>.item{flex:0 0 1.5rem;height:1.5rem;line-height:1.5rem;margin:0.1rem;border-radius:100%;background:rgba(255,255,255,0.5)}#sidebar #sidebar-tabs>.item.active,#sidebar #sidebar-tabs>.item:hover{background:#fff;border:1px solid #c3a582;box-shadow:0 0 10px red}#sidebar #sidebar-tabs .collapse{position:relative;flex:0 0 0.85rem;line-height:1.75rem;color:#c3a582;text-align:center}#sidebar #sidebar-tabs .collapse i{background-color:transparent}#sidebar.collapsed #sidebar-tabs>.item.active{border:1px solid #c3a582;box-shadow:0 0 10px rgba(255,255,255,0.5);border-radius:100%}#sidebar.collapsed #sidebar-tabs .collapse{flex:0 0 1.5rem;margin:0.1rem}#sidebar .sidebar-tab .chat-control-icon{cursor:url("../assets/cursors/pointer.webp"),pointer}#sidebar .sidebar-tab .action-buttons button{cursor:default;color:#fff;background:linear-gradient(#5f2841, #411928, #5f2841);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.5rem;border-image-outset:0px}#sidebar .sidebar-tab .action-buttons button:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}#sidebar #settings button{cursor:default;color:#fff;background:linear-gradient(#5f2841, #411928, #5f2841);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.5rem;border-image-outset:0px}#sidebar #settings button:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}#sidebar #chat-form textarea{color:#000}#sidebar #chat-form textarea,#sidebar .chat-message,#sidebar .blind,#sidebar .whisper,#sidebar #chat-controls .roll-type-select,#sidebar .header-search input{background:transparent url("../assets/ui/chat-texture.webp") repeat-y}#sidebar #chat-form textarea:focus,#sidebar .chat-message:focus,#sidebar .blind:focus,#sidebar .whisper:focus,#sidebar #chat-controls .roll-type-select:focus,#sidebar .header-search input:focus{background:#f0f0e0 url("../assets/ui/chat-texture.webp") repeat-y}#sidebar .header-search input[name="search"]{background-color:rgba(225,215,200,0.25);color:rgba(0,0,0,0.5)}#sidebar .header-search input[name="search"]:focus{background-color:rgba(225,215,200,0.75)}#sidebar .chat-message .message-header{line-height:2rem;border-bottom:1px solid rgba(0,0,0,0.1);margin-bottom:0.25rem;border-radius:0}#sidebar #chat-log{margin:0 0 0.5rem;font-size:1rem}#sidebar #chat-log .message.whisper,#sidebar #chat-log .message.blind,#sidebar #chat-log .message.roll{position:relative}#sidebar #chat-log .message.whisper .message-header .message-metadata:before,#sidebar #chat-log .message.blind .message-header .message-metadata:before,#sidebar #chat-log .message.roll .message-header .message-metadata:before{position:absolute;top:-0.5rem;right:0.25rem;font-size:0.5rem;color:#963c41;height:0}#sidebar #chat-log .message.whisper{font-style:italic}#sidebar #chat-log .message.whisper .message-header .message-metadata:before{content:"(Private)"}#sidebar #chat-log .message.whisper.roll .message-header .message-metadata:before{content:"(Private Roll)"}#sidebar #chat-log .message.blind{font-style:italic}#sidebar #chat-log .message.blind .message-header .message-metadata:before{content:"(Blind)"}#sidebar #chat-log .message.blind.roll .message-header .message-metadata:before{content:"(Blind Roll)"}#sidebar #chat-log .message.roll .message-header .message-metadata:before{content:"(Roll)"}#sidebar .message-sender{color:#963c41;text-shadow:1px 1px 0px rgba(0,0,0,0.25)}#sidebar .message{background-color:rgba(225,215,200,0.25);color:#000}#sidebar .message ul li{padding:0.25rem;border:1px solid rgba(0,0,0,0.05);border-bottom:0 none}#sidebar .message ul li:nth-child(odd){background:rgba(186,187,177,0.2)}#sidebar .message ul li:nth-child(even){background:rgba(186,187,177,0.1)}#sidebar .message ul li:last-child{border-bottom:1px solid rgba(0,0,0,0.05)}#sidebar .message.roll{background-color:rgba(225,215,200,0.75)}#sidebar .message.blind{background-color:rgba(0,0,0,0)}#sidebar .message.whisper{background-color:rgba(225,200,225,0.75)}#hotbar #action-bar .macro{background-position:center;background-size:100%;background:linear-gradient(rgba(10,0,20,0.75), rgba(0,0,10,0.75), rgba(10,0,20,0.75));background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp");border-image:url("../assets/ui/macro-button.webp");border-image-slice:8 fill;border-image-width:0.25rem;border-image-outset:0;border-radius:0}#hotbar #action-bar .macro .macro-key{background:rgba(0,0,0,0.5)}#hotbar #action-bar .macro.active{background:linear-gradient(rgba(0,0,10,0.75), rgba(10,0,20,0.75), rgba(0,0,10,0.75));box-shadow:1px 1px 10px #000 inset;border:1px solid rgba(195,165,130,0.5)}#hotbar #action-bar #macro-list{background:transparent;margin:0;padding:0.05rem;border-radius:0;border:0 none;box-shadow:0.25rem 0.25rem 0.5rem #000}#hotbar .bar-controls{background-position:center;background-size:100%;background:linear-gradient(rgba(10,0,20,0.75), rgba(0,0,10,0.75), rgba(10,0,20,0.75));background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 15 repeat;border-image:url("../assets/ui/macro-button.webp") 15 repeat;border-image-width:0.5rem;border-image-outset:0px;box-shadow:0 0 0.25rem #000;border-radius:0;margin:0 0.5rem}#hotbar .bar-controls a.page-control,#hotbar .bar-controls span.page-number{font-size:1rem;line-height:0.95rem}#players{border-radius:0;background-position:center;background-size:100%;background:linear-gradient(rgba(10,0,20,0.75), rgba(0,0,10,0.75), rgba(10,0,20,0.75));background-origin:padding-box;border:1px solid #c3a582;background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 15 repeat;border-image:url("../assets/ui/macro-button.webp") 15 repeat;border-image-width:0.5rem;border-image-outset:0px;margin:0;padding:0;left:0.2rem;bottom:0.65rem;box-shadow:inset 0 0 0.5rem #000;position:relative}#players:before{z-index:-1;position:absolute;content:"";background:transparent url("../assets/ui/players-border.webp") no-repeat 0 0;background-size:100%;display:block;top:-12px;right:10%;left:10%;bottom:0}#logo{content:url("../assets/l5r-logo.webp");height:80px;width:88px;margin-left:0.5rem;opacity:0.8}#navigation{left:120px}#navigation:before{content:"";background:url("../assets/l5r-logo.webp") no-repeat 0 0;background-size:cover;height:80px;width:88px;opacity:0.65;position:absolute;left:-6.45rem}#navigation:before:hover{opacity:0.75}#navigation #nav-toggle,#navigation #scene-list .scene.nav-item{cursor:default;color:#fff;background:linear-gradient(rgba(10,0,20,0.75), rgba(0,0,10,0.75), rgba(10,0,20,0.75));background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px}#navigation #nav-toggle:hover,#navigation #scene-list .scene.nav-item:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}#navigation #scene-list .scene.nav-item.active{background:linear-gradient(rgba(65,20,15,0.75), rgba(35,10,5,0.75), rgba(65,20,15,0.75))}#navigation #scene-list .scene.nav-item.active:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}#navigation #scene-list .scene.view,#navigation #scene-list .scene.context{cursor:default;color:#fff;background:linear-gradient(rgba(65,20,15,0.75), rgba(35,10,5,0.75), rgba(65,20,15,0.75));background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px;box-shadow:0 0 20px red}#navigation #scene-list .scene.view:hover,#navigation #scene-list .scene.context:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}#controls{top:100px}#controls ol .scene-control.active,#controls ol .control-tool.active,#controls ol .scene-control:hover,#controls ol .control-tool:hover{background:linear-gradient(rgba(65,20,15,0.75), rgba(35,10,5,0.75), rgba(65,20,15,0.75));background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px;box-shadow:0 0 10px red}#controls ol .scene-control.active:hover,#controls ol .control-tool.active:hover,#controls ol .scene-control:hover:hover,#controls ol .control-tool:hover:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}#controls ol .scene-control,#controls ol .control-tool{color:#fff;background:linear-gradient(rgba(10,0,20,0.75), rgba(0,0,10,0.75), rgba(10,0,20,0.75));background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px}#controls ol .scene-control:hover,#controls ol .control-tool:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}#playlists .playlist .playlist-header h4{font:0.75rem "PatrickHand",sans-serif;text-transform:uppercase;text-align:right}#combat #combat-round .encounters h3{font-size:0.85rem}#combat #combat-round .encounters ul{display:flex;color:rgba(255,255,255,0.5)}#combat #combat-round .encounters ul.encounter{border-right:1px solid rgba(255,255,255,0.25)}#combat #combat-round .encounters ul li{flex:1;cursor:url("../assets/cursors/pointer.webp"),pointer}#combat #combat-round .encounters .encounter i{font-size:23px;vertical-align:middle}#combat #combat-round .encounters .encounter i:hover{text-shadow:0 0 8px red}#combat #combat-round .encounters .encounter .active{color:#c83200}#combat #combat-round .encounters .encounter .active:hover{text-shadow:none}#combat #combat-round .encounters .encounter-icon{font-weight:900;font-family:"Font Awesome 5 Free";-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}#combat #combat-round .encounters .encounter-icon-intrigue:before{content:"\f21b"}#combat #combat-round .encounters .encounter-icon-duel:before{content:"\f506"}#combat #combat-round .encounters .encounter-icon-skirmish:before{content:"\f505"}#combat #combat-round .encounters .encounter-icon-mass_battle:before{content:"\f447"}#pause img{content:url("../assets/icons/pause.svg")}.compendium-list .compendium-pack .pack-title{margin:0;line-height:1rem}.compendium-list .compendium-pack .compendium-footer{text-align:right;margin-right:2rem;font-size:0.75rem;color:rgba(240,240,225,0.75)}.l5r5e-tooltip{cursor:url("../assets/cursors/pointer.webp"),pointer}.l5r5e-tooltip .l5r5e-tooltip-ct,.l5r5e-tooltip.l5r5e-tooltip-ct{visibility:hidden;min-height:200px;width:600px;height:auto;max-height:100%;background:#3e3a30 url("../assets/imgs/bg-l5r.webp") no-repeat;color:#000;font-size:0.8rem;text-align:left;border:0 none;border-radius:0;padding:0.5rem 0.75rem;display:block;position:absolute;z-index:9999}.l5r5e-tooltip .l5r5e-tooltip-ct *,.l5r5e-tooltip.l5r5e-tooltip-ct *{color:#000}.l5r5e-tooltip .l5r5e-tooltip-ct section>ul,.l5r5e-tooltip.l5r5e-tooltip-ct section>ul{display:flex;flex-flow:row wrap;padding:0.25rem 0 0.25rem 1rem}.l5r5e-tooltip .l5r5e-tooltip-ct section>ul li,.l5r5e-tooltip.l5r5e-tooltip-ct section>ul li{flex:50%;padding:0;padding-right:1rem;margin:0;list-style-type:square}.l5r5e-tooltip .l5r5e-tooltip-ct:before,.l5r5e-tooltip.l5r5e-tooltip-ct:before{z-index:-2;content:"";position:absolute;height:calc(100% + 0.6rem);width:calc(100% - 0.65rem);border:1px solid #c3a582;border-radius:0;top:-0.35rem;left:0.25rem;background:#3e3a30 url("../assets/imgs/bg-l5r.webp") no-repeat}.l5r5e-tooltip .l5r5e-tooltip-ct:after,.l5r5e-tooltip.l5r5e-tooltip-ct:after{z-index:-1;content:"";position:absolute;height:calc(100%);width:calc(100%);border:1px solid #c3a582;border-radius:0;top:-1px;left:-1px}.l5r5e-tooltip .l5r5e-tooltip-ct .goodvalue,.l5r5e-tooltip.l5r5e-tooltip-ct .goodvalue{color:#4e8c69}.l5r5e-tooltip .l5r5e-tooltip-ct .badvalue,.l5r5e-tooltip.l5r5e-tooltip-ct .badvalue{color:#ab2a00}.l5r5e-tooltip .card-header img{display:inline-block;background:transparent;border:0 none;width:20px;margin:0;padding:0}.l5r5e-chat-item{color:#000;font-size:0.8rem}.l5r5e-chat-item *{color:#000}.l5r5e-chat-item h2{font-size:1.1rem}.l5r5e-chat-item section>ul{display:flex;flex-flow:row wrap;padding:0.25rem 0 0.25rem 1rem}.l5r5e-chat-item section>ul li{flex:100%;padding:1px !important;margin:0;border:0 none !important;list-style-type:square}.l5r5e-chat-item .card-header img{display:inline-block;background:transparent;border:0 none;width:20px;margin:0;padding:0}#l5r5e-gm-monitor{min-height:170px;min-width:240px}#l5r5e-gm-monitor .window-content form{padding:0 0.5rem}#l5r5e-gm-monitor .window-content thead tr>th{background:rgba(186,187,177,0.9);position:-webkit-sticky;position:sticky;z-index:2;top:0}#l5r5e-gm-monitor .window-content th,#l5r5e-gm-monitor .window-content td{border:1px solid #5a6e5a50;padding:0.25em}#l5r5e-gm-monitor .window-content img{border:none;min-width:24px;min-height:24px;max-width:32px;max-height:32px}#l5r5e-gm-monitor .window-content .goodvalue{color:#4e8c69}#l5r5e-gm-monitor .window-content .badvalue{color:#ab2a00}#l5r5e-gm-monitor .window-draggable-handle{display:none}#l5r5e-gm-toolbox{display:flex;background-position:center;background-size:100%;background:linear-gradient(rgba(10,0,20,0.75), rgba(0,0,10,0.75), rgba(10,0,20,0.75));background-origin:padding-box;border:1px solid #c3a582;background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.5rem;border-image-outset:0px;padding:0;margin:0.5rem}#l5r5e-gm-toolbox .window-header{text-align:center;border-bottom:1px solid #c3a582}#l5r5e-gm-toolbox .window-header h4{letter-spacing:0.25rem;line-height:2.25rem;color:rgba(255,255,255,0.65)}#l5r5e-gm-toolbox .window-content{text-align:center;vertical-align:middle;background:transparent;color:rgba(255,255,255,0.65)}#l5r5e-gm-toolbox .window-content form{padding:0}#l5r5e-gm-toolbox .window-content .gm-tools-container{display:flex;font-size:2rem;line-height:2rem;min-height:2rem;margin:0}#l5r5e-gm-toolbox .window-content .gm-tools-container li{flex:1;display:flex;margin:0;padding:0;border-right:1px solid #c3a582;cursor:url("../assets/cursors/pointer.webp"),pointer}#l5r5e-gm-toolbox .window-content .gm-tools-container li:last-child{margin:0;border:0 none}#l5r5e-gm-toolbox .window-content .gm-tools-container li :hover{text-shadow:0 0 red}#l5r5e-gm-toolbox .window-content .gm-tools-container .difficulty_hidden .fa{width:3rem}#l5r5e-gm-toolbox .window-content .gm-tools-container .difficulty_hidden .difficulty{flex:1rem;width:2rem;font-size:2rem;text-align:center;margin:0;padding:0.5rem}#l5r5e-gm-toolbox .window-content .gm-tools-container .fa{padding:0.5rem}#l5r5e-gm-toolbox .window-content .gm-tools-container .fa-bed,#l5r5e-gm-toolbox .window-content .gm-tools-container .fa-star-half-alt,#l5r5e-gm-toolbox .window-content .gm-tools-container .fa-table,#l5r5e-gm-toolbox .window-content .gm-tools-container .fa-podcast{width:100%;padding:0.5rem}#l5r5e-gm-toolbox .window-draggable-handle{display:none}.autocomplete-wrapper{position:relative;display:inline-block}.autocomplete-wrapper .autocomplete-list{position:absolute;border:1px solid #6e7e6b;border-bottom:none;border-top:none;z-index:99;top:100%;left:0;right:0}.autocomplete-wrapper .autocomplete-list div{padding:10px;cursor:pointer;background-color:#fff;border-bottom:1px solid #6e7e6b;text-align:left}.autocomplete-wrapper .autocomplete-list div:hover{background-color:#e9e9e9}.autocomplete-wrapper .autocomplete-active{background-color:DodgerBlue !important;color:#ffffff}.l5r5e .chat-dice{display:inline;position:relative;padding:0;margin:0}.l5r5e .chat-dice:after{content:"";position:absolute;bottom:0;right:0;border-radius:0.15rem;padding:0 0.225rem 0 0.15rem;font-size:0.75em;line-height:1rem;width:1em;text-align:center;color:white;background:transparent}.l5r5e .chat-dice:last-of-type:after,.l5r5e .chat-dice:nth-child(6):after,.l5r5e .chat-dice:nth-child(12):after,.l5r5e .chat-dice:nth-child(18):after{padding:0 0.175rem 0 0.15rem}.l5r5e .chat-dice.rerolled>img{border-bottom:0 none}.l5r5e .chat-dice.rerolled:after{content:"\f2f9";background:orangered}.l5r5e .chat-dice.swapped>img{border-bottom:0 none}.l5r5e .chat-dice.swapped:after{content:"\f337";background:fuchsia}.l5r5e .chat-dice>img{border:1px solid transparent;height:auto;width:calc(100% / 6 - 0.255rem);margin:auto}.l5r5e .chat-profil{text-align:center;vertical-align:middle}.l5r5e .chat-profil .profile-img{margin:0.25rem 0.25rem 0 0}.l5r5e .chat-profil-stance{font-size:2.5rem;line-height:2.5rem;margin:0.25rem;text-shadow:1px 1px 1px rgba(0,0,0,0.5)}.l5r5e .chat-profil-element{flex-wrap:wrap;flex-grow:1}.l5r5e .chat-profil-element-skill{flex-grow:3}.l5r5e .chat-profil-element:last-child{flex-grow:2}.l5r5e.sheet{min-width:600px}.l5r5e.sheet label:hover{text-shadow:0 0 2px red}.l5r5e.sheet .l5r-buttons-bar{display:flex;flex:0 0 100%;overflow:hidden;padding:0 8px;line-height:1.9rem;justify-content:flex-end;background:rgba(186,187,177,0.5);height:2rem}.l5r5e.sheet .l5r-buttons-bar a.l5r-header-button{flex:none;margin:0 0 0 8px}.l5r5e.sheet.actor .sheet-header{height:26rem}.l5r5e.sheet.actor .sheet-header h1{flex:auto;margin:0 0 0.25rem 0.5rem}.l5r5e.sheet.actor .sheet-body{height:calc(100% - 28rem)}.l5r5e.sheet.actor fieldset.advancement,.l5r5e.sheet.actor fieldset.items-wrapper{display:grid;flex:calc(100%)}.l5r5e.sheet.actor .advancements-tabs{height:2rem;line-height:2rem;font-size:1rem}.l5r5e.sheet form{display:flex;flex-wrap:wrap;align-content:flex-start}.l5r5e.sheet .sheet-body{flex:0 0 100%;align-items:flex-start}.l5r5e.sheet section.tab[data-tab],.l5r5e.sheet article.tab[data-tab]{display:none}.l5r5e.sheet section.tab[data-tab].active,.l5r5e.sheet article.tab[data-tab].active{display:flex}.l5r5e.sheet .sheet-header{flex:0 0 100%;align-items:flex-start}.l5r5e.sheet .sheet-header input{flex:0 0 3rem;font-size:1.5rem;height:2rem}.l5r5e.sheet .sheet-header h1{flex:0 0 calc(100% - 90px - 1.25rem);margin:0 0 0.25rem 1rem}.l5r5e.sheet .sheet-header h1 input{flex:0 0 100%;font-size:3rem;height:5rem;margin:0;width:100%;text-align:right;color:#963c41;text-shadow:0 0 1px #963c41;background:transparent;border:0 none;border-radius:0;border-bottom:1px solid rgba(90,110,90,0.25)}.l5r5e.sheet .sheet-header h1:before{content:"";position:absolute;background:url("../assets/imgs/brush.webp") no-repeat 0 0;background-size:contain;height:225px;width:100%;z-index:-1;top:-1rem;left:-0.25rem}.l5r5e.sheet .sheet-header img{flex:0 0 150px;height:150px;width:150px;margin-right:0;-o-object-fit:contain;object-fit:contain;background:rgba(255,255,255,0.25);border:1px solid rgba(186,187,177,0.25);--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)))}.l5r5e.sheet .sheet-header .compromised input{border:1px solid #963c41;box-shadow:0 1px 5px #963c41}.l5r5e.sheet .sheet-header .header-fields{position:relative;flex:0 0 100%}.l5r5e.sheet .sheet-header .header-fields h2{font-family:"BrushtipTexe",sans-serif;font-size:1rem;float:left;width:30%;padding:0.25rem 0.25rem 0;margin:1rem 20% 0 0;text-align:center;color:rgba(0,0,0,0.25);text-shadow:0 0 1px rgba(90,110,90,0.25);border-bottom:0 none;background:rgba(186,187,177,0.5);--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%))}.l5r5e.sheet .sheet-header .header-fields h2.right{margin:1rem 0 0 20%;-webkit-clip-path:polygon(0% 0, var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 100% 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));clip-path:polygon(0% 0, var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 100% 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)))}.l5r5e.sheet .sheet-header .header-fields h2:before{content:"";position:absolute;height:1px;width:100%}.l5r5e.sheet .sheet-header .identity-wrapper{display:flex;position:initial;flex-wrap:wrap;flex:0 0 calc(100% - 150px)}.l5r5e.sheet .sheet-header .identity-wrapper label{display:flex;color:#5a6e5a;text-transform:uppercase;font-size:0.75rem;line-height:2rem}.l5r5e.sheet .sheet-header .identity-wrapper label input{flex:1;font-size:1.25rem;height:1.75rem;margin:0 1rem 0 0.5rem;padding:0 0.25rem 0.25rem}.l5r5e.sheet .sheet-header .identity-wrapper label input[disabled]{border:1px solid rgba(186,187,177,0.5);background:rgba(255,255,255,0.25)}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content{flex:0 0 100%;display:flex;flex-wrap:wrap;margin:0;padding-top:0.25rem;padding-left:0.5rem}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li{flex:33%}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(1),.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(2){flex:calc(50% - 3rem);margin:0 0 0.25rem}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(3){flex:auto}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(3) input{width:1rem;padding:0;margin-right:0}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(4),.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(5){flex:60%}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(4) input,.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(5) input{font-size:1rem}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(5){flex:40%}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(5) input{margin-right:0}.l5r5e.sheet .sheet-header .rings{float:left;width:40%;padding:0;position:relative;top:-1.5rem}.l5r5e.sheet .sheet-header .social-content,.l5r5e.sheet .sheet-header .attributes-wrapper{flex:none;float:left;width:30%;flex-wrap:wrap;display:flex;padding:0.5rem 0 0 0.25rem;border-left:2px solid rgba(186,187,177,0.5)}.l5r5e.sheet .sheet-header .social-content li,.l5r5e.sheet .sheet-header .attributes-wrapper li{position:relative}.l5r5e.sheet .sheet-header .social-content li:before,.l5r5e.sheet .sheet-header .attributes-wrapper li:before{content:"";position:absolute;background:linear-gradient(rgba(186,187,177,0.5), rgba(186,187,177,0));height:2px;width:97%;top:-0.25rem;left:-0.25rem}.l5r5e.sheet .sheet-header .social-content li:nth-child(2):before,.l5r5e.sheet .sheet-header .attributes-wrapper li:nth-child(2):before{width:90%}.l5r5e.sheet .sheet-header .social-content li:nth-child(3):before,.l5r5e.sheet .sheet-header .attributes-wrapper li:nth-child(3):before{width:80%}.l5r5e.sheet .sheet-header .social-content li:nth-child(4):before,.l5r5e.sheet .sheet-header .attributes-wrapper li:nth-child(4):before{width:90%}.l5r5e.sheet .sheet-header .social-content label,.l5r5e.sheet .sheet-header .attributes-wrapper label{display:flex;color:#5a6e5a;text-transform:uppercase;font-size:0.75rem;height:2.5rem;margin:0.25rem 0;flex-direction:row-reverse}.l5r5e.sheet .sheet-header .social-content label strong,.l5r5e.sheet .sheet-header .attributes-wrapper label strong{flex:0 0 calc(100% - 3.5rem)}.l5r5e.sheet .sheet-header .social-content label input,.l5r5e.sheet .sheet-header .attributes-wrapper label input{flex:0 0 3rem;margin:0 0.25rem;height:2rem}.l5r5e.sheet .sheet-header .social-content label input[disabled],.l5r5e.sheet .sheet-header .attributes-wrapper label input[disabled]{background:rgba(255,255,255,0.25)}.l5r5e.sheet .sheet-header .social-content .affinities,.l5r5e.sheet .sheet-header .attributes-wrapper .affinities{padding-top:0.25rem}.l5r5e.sheet .sheet-header .social-content .affinities .ring,.l5r5e.sheet .sheet-header .attributes-wrapper .affinities .ring{display:flex;flex-wrap:wrap;flex-direction:unset;flex:3rem;height:1.5rem;margin:0}.l5r5e.sheet .sheet-header .social-content .affinities i,.l5r5e.sheet .sheet-header .attributes-wrapper .affinities i{flex:1rem;margin:0;text-align:center}.l5r5e.sheet .sheet-header .social-content .affinities input,.l5r5e.sheet .sheet-header .attributes-wrapper .affinities input{flex:1.25rem;height:1.25rem;margin:0}.l5r5e.sheet .sheet-header .focus-content,.l5r5e.sheet .sheet-header .vigilance-content{flex:0 0 50%;padding-bottom:0.5rem}.l5r5e.sheet .sheet-header .focus-content .attribute-label,.l5r5e.sheet .sheet-header .vigilance-content .attribute-label{flex-wrap:wrap;height:auto}.l5r5e.sheet .sheet-header .focus-content .attribute-label strong,.l5r5e.sheet .sheet-header .vigilance-content .attribute-label strong{flex:100%;text-align:center}.l5r5e.sheet .sheet-header .focus-content .attribute-label input,.l5r5e.sheet .sheet-header .vigilance-content .attribute-label input{flex:1 0 3rem}.l5r5e.sheet .sheet-header .focus-content .attribute-label:before,.l5r5e.sheet .sheet-header .vigilance-content .attribute-label:before{top:auto;bottom:0.1rem;height:calc(100% - 1.45rem);width:calc(100% - 0.4rem)}.l5r5e.sheet .sheet-header .attributes-wrapper{padding:0.5rem 0.25rem 0 0;border-left:0 none;border-right:2px solid rgba(186,187,177,0.5)}.l5r5e.sheet .sheet-header .attributes-wrapper li:before{left:auto;right:-0.25rem}.l5r5e.sheet .sheet-header .attributes-wrapper li.focus-content:before{width:0}.l5r5e.sheet .sheet-header .attributes-wrapper li.vigilance-content:before{width:160%}.l5r5e.sheet .sheet-header .attributes-wrapper li.void-content:before{width:90%}.l5r5e.sheet .sheet-header .attributes-wrapper label{flex-direction:row;width:100%}.l5r5e.sheet .sheet-header .attributes-wrapper label strong{text-align:right}.l5r5e.sheet .sheet-header .attributes-wrapper label:nth-child(2) strong{position:absolute;top:0;left:0;font-size:0.65rem;width:3rem;color:rgba(0,0,0,0.25)}.l5r5e.sheet .sheet-header .attributes-wrapper label:nth-child(2) input{font-size:1.25rem;padding-top:0.75rem}.l5r5e.sheet .sheet-header .attributes-wrapper .endurance-content label:nth-child(1) strong,.l5r5e.sheet .sheet-header .attributes-wrapper .composure-content label:nth-child(1) strong{flex:0 0 calc(100% - 6rem)}.l5r5e.sheet .sheet-header .attributes-wrapper .endurance-content label:nth-child(1) input,.l5r5e.sheet .sheet-header .attributes-wrapper .composure-content label:nth-child(1) input{flex:0 0 5.5rem;padding-right:3rem}.l5r5e.sheet .sheet-header .attributes-wrapper .endurance-content label:nth-child(2),.l5r5e.sheet .sheet-header .attributes-wrapper .composure-content label:nth-child(2){position:absolute;right:0;width:3.5rem}.l5r5e.sheet .sheet-header .attributes-wrapper .attributes-buttons{line-height:13px;position:relative;top:0.2rem}.l5r5e.sheet .sheet-header .attributes-wrapper .void-content{width:100%;padding-top:0.25rem}.l5r5e.sheet .sheet-header .attributes-wrapper .void-content label{margin:0}.l5r5e.sheet .sheet-header .attributes-wrapper .void-content label strong{flex:1 0 calc(100% - 5rem);padding:0 0.25rem}.l5r5e.sheet .sheet-header .attributes-wrapper .void-content label strong:after{content:"/";position:absolute;right:1.25rem;font-size:1rem;bottom:0.6rem;color:#764f40}.l5r5e.sheet .sheet-header .attributes-wrapper .void-content label input:nth-child(2){flex:3rem;padding-right:1.25rem}.l5r5e.sheet .sheet-header .attributes-wrapper .void-content label input:last-child{flex:1;border:0 none;font-size:1rem;text-align:right;padding-left:0.25rem;padding-top:0.75rem;position:absolute;right:0.25rem;width:1rem}.l5r5e.sheet .sheet-header .attributes-wrapper li{display:flex}.l5r5e.sheet .sheet-header .attributes-wrapper li p{display:none;z-index:2;position:absolute;background:rgba(0,0,0,0.5);color:#fff;line-height:1.5rem;text-align:center;width:100%;padding:0.25rem;bottom:-2.25rem;right:-0.25rem;--notchSize: 0.5rem;-webkit-clip-path:polygon(0% 0, 0 0%, 100% 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));clip-path:polygon(0% 0, 0 0%, 100% 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)))}.l5r5e.sheet .sheet-header .attributes-wrapper li:hover p{display:block;height:auto}.l5r5e.sheet .sheet-header .attributes-wrapper .focus-content p,.l5r5e.sheet .sheet-header .attributes-wrapper .vigilance-content p{bottom:-3.75rem}.l5r5e.sheet .sheet-header .attribute-label{position:relative}.l5r5e.sheet .sheet-header .attribute-label:before{z-index:-1;content:"";position:absolute;height:calc(100% - 0.85rem);width:3.1rem;border:1px solid rgba(186,187,177,0.5);border-radius:0;top:0.15rem;left:0.15rem}.l5r5e.sheet .sheet-header .identity-content .attribute-label:before{height:calc(100% - 0.6rem);width:calc(100% - 0.65rem);left:auto;top:0.15rem;right:0.85rem}.l5r5e.sheet .sheet-header .identity-content li:nth-child(3) .attribute-label:before,.l5r5e.sheet .sheet-header .identity-content li:nth-child(5) .attribute-label:before{height:calc(100% - 0.6rem);width:calc(100% + 0.25rem);left:auto;top:0.15rem;right:-0.15rem}.l5r5e.sheet .sheet-header .attributes-wrapper .attribute-label:nth-child(2):before{left:auto;right:3.15rem;width:2.6rem}.l5r5e.sheet .sheet-header .attributes-wrapper .attribute-label:before{left:auto;right:0.15rem}.l5r5e.sheet .sheet-header .void-content .attribute-label:before{width:3.85rem}.l5r5e.sheet article{background:rgba(255,255,255,0.5);padding:0.5rem;flex-wrap:wrap;min-height:calc(100% - 3.25rem)}.l5r5e.sheet article fieldset h3{font-size:1.25rem;width:100%;text-align:left;line-height:2rem;color:#764f40;border-bottom:1px solid}.l5r5e.sheet article fieldset h3 .item-control.item-add{float:right;font-size:0.75rem;line-height:0.75rem;border:1px solid;padding:0.25rem;margin:0.25rem;color:#fff;background:#764f40}.l5r5e.sheet article fieldset h3 .item-control.item-add:hover{opacity:0.75}.l5r5e.sheet article .narrative-content{flex:100%;display:flex}.l5r5e.sheet article .narrative-content fieldset{flex:0 0 calc(50% - 0.5rem)}.l5r5e.sheet article .narrative-content fieldset label{width:100%}.l5r5e.sheet article .narrative-list{flex:0 0 50%}.l5r5e.sheet article .narrative-list fieldset{flex:0 0 50%}.l5r5e.sheet article .narrative-list fieldset label{width:100%}.l5r5e.sheet article .narrative-fluff{flex:1;flex:0 0 50%}.l5r5e.sheet article .narrative-fluff .narrative-description{max-height:13rem;font-size:0.85rem;flex:1}.l5r5e.sheet article .narrative-fluff .narrative-note{font-size:0.85rem}.l5r5e.sheet article .narrative-fluff .editor-content{min-height:10rem}.l5r5e.sheet article .techniques-wrapper{padding-left:0.25rem}.l5r5e.sheet article .techniques-wrapper fieldset{margin:0 0 0 0.25rem}.l5r5e.sheet article .techniques-wrapper .dice-picker-tech:hover{text-shadow:0 0 2px red}.l5r5e.sheet article .techniques-wrapper .checklist{display:flex;flex-wrap:wrap;font-size:0.85rem;margin:0 0 0.25rem 0.25rem;padding:0.5rem;background:rgba(186,187,177,0.5);--notchSize: 0.25rem;-webkit-clip-path:polygon(0% 0, var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 100% 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));clip-path:polygon(0% 0, var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 100% 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)))}.l5r5e.sheet article .techniques-wrapper .checklist i{color:rgba(0,0,0,0.5);margin-right:0.5rem}.l5r5e.sheet article .techniques-wrapper .checklist label{flex:0 0 auto;margin:0 0.25rem 0.25rem;padding:0 0.5rem;color:#5a6e5a;background:rgba(255,255,255,0.5);border:1px solid #5a6e5a;border-radius:1rem}.l5r5e.sheet article .techniques-wrapper .checklist input{margin:0.25rem 0 0 0;height:0.65rem;width:0.65rem}.l5r5e.sheet article .stances-content{flex:100%;height:100%;align-self:flex-start}.l5r5e.sheet article .stances-content .item-list{position:relative;padding-top:2rem;margin:0}.l5r5e.sheet article .stances-content .stance-content{padding:0;margin:0}.l5r5e.sheet article .stances-content .stance-content label{display:block;position:absolute;top:0;left:0;width:20%;line-height:1.5rem;padding:0.25rem;color:#fff}.l5r5e.sheet article .stances-content .stance-content label.earth{background:#699678}.l5r5e.sheet article .stances-content .stance-content label.air{background:#917896;left:20%}.l5r5e.sheet article .stances-content .stance-content label.water{background:#5f919b;left:40%}.l5r5e.sheet article .stances-content .stance-content label.fire{background:#9b7350;left:60%}.l5r5e.sheet article .stances-content .stance-content label.void{background:#4b4641;left:80%}.l5r5e.sheet article .stances-content .stance-content label input{float:right;position:relative;top:0.3rem;right:0.25rem}.l5r5e.sheet article .weapons-content,.l5r5e.sheet article .armors-content{flex:0 0 calc(50% - 0.5rem)}.l5r5e.sheet .xp,.l5r5e.sheet .money-wrapper{flex:100%;flex-direction:row;color:#000}.l5r5e.sheet .xp label,.l5r5e.sheet .money-wrapper label{display:flex;flex:calc(100% / 3);padding:0.5rem;font-size:0.85rem}.l5r5e.sheet .xp label input,.l5r5e.sheet .money-wrapper label input{margin-left:0.5rem}.l5r5e.sheet .xp .money-buttons,.l5r5e.sheet .money-wrapper .money-buttons{line-height:13px}.l5r5e.sheet table{font-size:0.85rem;color:#000;text-align:left}.l5r5e.sheet table thead{font-family:"BrushtipTexe",sans-serif;font-weight:normal}.l5r5e.sheet table thead th{padding-left:0.5rem;padding-right:0.5rem;font-size:1rem}.l5r5e.sheet table thead th:first-child{flex:calc(100% - 16rem);padding-left:0.5rem;text-align:left}.l5r5e.sheet table thead th:nth-child(2){flex:0 0 2rem}.l5r5e.sheet table thead th:nth-child(3),.l5r5e.sheet table thead th:nth-child(4){flex:0 0 4rem}.l5r5e.sheet table tbody .curriculum{flex:0 0 2rem}.l5r5e.sheet table tbody .name{flex:calc(100% - 13rem);padding-left:0.5rem;text-align:left}.l5r5e.sheet table tbody .xp,.l5r5e.sheet table tbody .rank{flex:0 0 4rem}.l5r5e.sheet table tbody .actions{flex:0 0 3rem;font-size:0.75rem}.l5r5e.sheet table tbody .actions ul{display:flex;flex-direction:row}.l5r5e.sheet table tbody .actions ul li{flex:0 0 1rem}.l5r5e.sheet table tbody .actions ul li:hover{color:rgba(255,0,0,0.75)}.l5r5e.sheet table tbody .tfoot{padding:0.25 0.5rem;background:rgba(186,187,177,0.5);text-shadow:none;border-top:rgba(186,187,177,0.5);text-align:center}.l5r5e.sheet table tbody img{width:16px;height:16px;border:none}.l5r5e.sheet .inventory .items-wrapper h3{background:rgba(90,110,90,0.15);color:#5a6e5a;border-bottom:1px solid #fff;font-family:"Caballar",sans-serif;font-size:1rem;padding-left:0.5rem;margin:0}.l5r5e.sheet .inventory .items-wrapper .item-list{display:block}.l5r5e.sheet.actor .initiative-wrapper,.l5r5e.sheet.npc .initiative-wrapper{flex:100%;height:100%;align-self:flex-start;text-align:center;display:block}.l5r5e.sheet.actor .initiative button,.l5r5e.sheet.npc .initiative button{width:auto;min-width:20%;margin:0 0.25rem 0.25rem;padding:0 0.5rem;color:#5a6e5a;background:rgba(255,255,255,0.5);border:1px solid #5a6e5a;border-radius:1rem;line-height:1.5rem;height:1.5rem}.l5r5e.sheet.actor .initiative button:focus,.l5r5e.sheet.npc .initiative button:focus{box-shadow:none}.l5r5e.sheet.actor .limited h1,.l5r5e.sheet.npc .limited h1{margin:0.5rem 0}.l5r5e.sheet.actor .limited img.full,.l5r5e.sheet.npc .limited img.full{flex:initial;height:auto;width:-webkit-max-content;width:-moz-max-content;width:max-content;border:0 none;margin:0 auto}.l5r5e.sheet.actor .limited .sheet-header,.l5r5e.sheet.npc .limited .sheet-header{flex:none;height:auto;width:100%}.l5r5e.sheet.actor .limited ul,.l5r5e.sheet.npc .limited ul{display:flex;flex-wrap:wrap}.l5r5e.sheet.actor .limited ul li,.l5r5e.sheet.npc .limited ul li{flex:50%;padding:0.25rem 0}.l5r5e.sheet.actor .limited ul li input,.l5r5e.sheet.npc .limited ul li input{width:75%;float:right}.l5r5e.sheet.actor .limited ul li:nth-child(1),.l5r5e.sheet.actor .limited ul li:nth-child(2),.l5r5e.sheet.npc .limited ul li:nth-child(1),.l5r5e.sheet.npc .limited ul li:nth-child(2){flex:calc(50% - 5rem);margin-right:1rem}.l5r5e.sheet.actor .limited ul li:nth-child(3),.l5r5e.sheet.npc .limited ul li:nth-child(3){flex:auto}.l5r5e.sheet.actor .limited ul li:nth-child(3) input,.l5r5e.sheet.npc .limited ul li:nth-child(3) input{width:2rem}.l5r5e.sheet.actor .limited ul li:nth-child(4),.l5r5e.sheet.actor .limited ul li:nth-child(5),.l5r5e.sheet.npc .limited ul li:nth-child(4),.l5r5e.sheet.npc .limited ul li:nth-child(5){flex:calc(50% - 1rem);margin-right:1rem}.l5r5e.sheet.actor .limited ul li:nth-child(4) input,.l5r5e.sheet.actor .limited ul li:nth-child(5) input,.l5r5e.sheet.npc .limited ul li:nth-child(4) input,.l5r5e.sheet.npc .limited ul li:nth-child(5) input{font-size:1rem}.l5r5e.sheet nav.sheet-tabs{flex:100%}.l5r5e.sheet .editable[data-lang="Español"] .sheet-header .focus-content .attribute-label strong,.l5r5e.sheet .editable[data-lang="Español"] .sheet-header .vigilance-content .attribute-label strong{font-size:0.7rem;line-height:1.1rem}.l5r5e.npc .sheet-header h1:before{top:-3.75rem}.l5r5e.npc .sheet-header img{flex:0 0 90px;height:90px;width:90px}.l5r5e.npc .sheet-header fieldset{flex:1 1 100%;min-height:2rem;width:100%;margin:0}.l5r5e.npc .sheet-header .header-fields{padding:0}.l5r5e.npc .sheet-header .identity-wrapper{flex:1 1 100%}.l5r5e.npc .sheet-header .identity-wrapper h1{margin:0 0.25rem 1rem 1rem}.l5r5e.npc .sheet-header .identity-wrapper .identity-list{flex:0 0 100%;display:flex;margin:0.25rem 0 0.5rem}.l5r5e.npc .sheet-header .identity-wrapper .identity-list li{flex:1;flex-wrap:wrap;display:flex}.l5r5e.npc .sheet-header .identity-wrapper .identity-list li select{width:100%;background:rgba(255,255,255,0.5);border:0 none;text-transform:capitalize;color:#764f40;font-family:"PatrickHand",sans-serif;font-weight:bold;font-size:1rem;letter-spacing:0.15rem}.l5r5e.npc .sheet-header .identity-wrapper .identity-list li i,.l5r5e.npc .sheet-header .identity-wrapper .identity-list li input{font-size:1.25rem;height:1.5rem;line-height:1.5rem;width:7.25rem;margin:auto;text-align:center}.l5r5e.npc .sheet-header .affinities{display:flex;flex-wrap:wrap}.l5r5e.npc .sheet-header .affinities select{position:relative;background:transparent;border:0 none;margin:0;padding:0;text-align:left;font-weight:bold;margin:0 0 0.25rem 0;color:#5a6e5a}.l5r5e.npc .sheet-header .affinities input{flex:1rem;font-size:1rem;height:1.5rem}.l5r5e.npc .sheet-header .social-content{margin-bottom:0.5rem}.l5r5e.npc .sheet-header .social-content .attitude{height:1.5rem;padding-left:0.25rem}.l5r5e.npc .sheet-header .social-content .attitude input{height:1.5rem;flex:1;margin-right:0}.l5r5e.npc .sheet-body{padding:0}.l5r5e.npc .npc-skill{display:flex;width:100%;line-height:2rem;font-size:0.75rem;margin:0 0 0.5rem;text-align:center}.l5r5e.npc .npc-skill li{flex:1;padding:0.25rem;text-transform:uppercase;color:#fff}.l5r5e.npc .npc-skill li:nth-child(1){background:#4b4641}.l5r5e.npc .npc-skill li:nth-child(2){background:#699678}.l5r5e.npc .npc-skill li:nth-child(3){background:#9b7350}.l5r5e.npc .npc-skill li:nth-child(4){background:#917896}.l5r5e.npc .npc-skill li:nth-child(5){flex:1.25;background:#5f919b}.l5r5e.npc .npc-skill input[type="number"]{float:right;font-size:1.25rem;height:2rem;width:1rem;margin:0;padding:0;border:0 none;background:transparent;color:#fff}.l5r5e.npc article{min-height:auto}.l5r5e.npc article fieldset,.l5r5e.npc article .checklist{flex:0 0 calc(100% - 0.5rem)}.l5r5e.npc article .items-content{flex:0 0 calc(100% - 0.5rem);margin:1rem 0.25rem 0}.l5r5e.npc article .weapons-content{flex:1}.l5r5e.npc article .initiative-wrapper{margin-bottom:0.5rem}.l5r5e.npc article:last-child{padding-bottom:1rem}.l5r5e.npc article .techniques-wrapper{padding-left:0.5rem}.l5r5e.npc article .techniques-wrapper fieldset,.l5r5e.npc article .techniques-wrapper .checklist{flex:100%;margin:0}.l5r5e.npc .npc-note .editor{min-height:6rem;max-height:12rem}.l5r5e.npc .narrative-note{flex:0 0 calc(50% - 0.25rem)}.l5r5e.character-generator-dialog form .body{clear:both;display:flex;flex-direction:column;flex-wrap:wrap;margin:3px 0;align-items:start}.l5r5e.character-generator-dialog input[type="number"]{width:auto}.l5r5e.character-generator-dialog form .form-group{border-bottom:solid #8080803d 1px}.l5r5e.character-generator-dialog form .form-group.smaller>label{flex:10}.l5r5e.character-generator-dialog form .form-group.smaller .form-fields{flex:1}.l5r5e.sheet.army .sheet-header{height:9.5rem}.l5r5e.sheet.army .sheet-header h1{flex:1}.l5r5e.sheet.army .sheet-header .readiness{flex:0 0 100%;display:flex;flex-wrap:wrap;align-items:flex-start}.l5r5e.sheet.army .sheet-header .readiness ul{display:flex;position:relative;padding:0.25rem;height:4rem}.l5r5e.sheet.army .sheet-header .readiness ul li{flex:25%;display:inline-grid;position:relative}.l5r5e.sheet.army .sheet-header .readiness ul li .attributes-buttons{position:relative;line-height:13px;top:0.3rem;right:1.2rem;width:12px}.l5r5e.sheet.army .sheet-header .readiness ul li strong{color:#5a6e5a;text-align:center;text-transform:uppercase;font-size:0.75rem}.l5r5e.sheet.army .sheet-header .readiness ul li label{flex:100%}.l5r5e.sheet.army .sheet-header .readiness ul li input{background:transparent;border:0 none;text-align:center;margin:0.3rem 1.6rem 0 1.5rem}.l5r5e.sheet.army .sheet-header .readiness ul li:after{content:"";width:2rem;height:2rem;position:absolute;right:calc(50% - 0.9rem);top:0.1rem;background:transparent url("../assets/icons/circle.svg") no-repeat 0 0;background-size:contain;opacity:0.25;z-index:-1}.l5r5e.sheet.army .sheet-header .readiness ul li:nth-child(1) input{margin:0.3rem 1rem 0 1.5rem}.l5r5e.sheet.army .sheet-header .readiness ul li:nth-child(1):after{transform:rotate(0deg)}.l5r5e.sheet.army .sheet-header .readiness ul li:nth-child(2):after{transform:rotate(90deg)}.l5r5e.sheet.army .sheet-header .readiness ul li:nth-child(3) input{margin:0.3rem 1rem 0 1.5rem}.l5r5e.sheet.army .sheet-header .readiness ul li:nth-child(3):after{transform:rotate(180deg)}.l5r5e.sheet.army .sheet-header .readiness ul li:nth-child(4):after{transform:rotate(-90deg)}.l5r5e.sheet.army .sheet-header .readiness h2{flex:0 0 100%}.l5r5e.sheet.army .sheet-body{height:calc(100% - 11.5rem)}.l5r5e.sheet.army .sheet-body .tab{height:calc(100% - 3.5rem)}.l5r5e.sheet.army .sheet-body .tab.army .warlord,.l5r5e.sheet.army .sheet-body .tab.army .commander{display:flex;flex-wrap:wrap}.l5r5e.sheet.army .sheet-body .tab.army .warlord .fa-sign-in-alt,.l5r5e.sheet.army .sheet-body .tab.army .commander .fa-sign-in-alt{transform:rotate(90deg)}.l5r5e.sheet.army .sheet-body .tab.army .warlord fieldset,.l5r5e.sheet.army .sheet-body .tab.army .commander fieldset{margin-top:0.25rem;margin-bottom:0.25rem}.l5r5e.sheet.army .sheet-body .tab.army .warlord fieldset strong,.l5r5e.sheet.army .sheet-body .tab.army .commander fieldset strong{color:#5a6e5a}.l5r5e.sheet.army .sheet-body .tab.army .warlord fieldset label,.l5r5e.sheet.army .sheet-body .tab.army .commander fieldset label{flex:100%}.l5r5e.sheet.army .sheet-body .tab.army .warlord fieldset p,.l5r5e.sheet.army .sheet-body .tab.army .commander fieldset p{width:100%}.l5r5e.sheet.army .sheet-body .tab.army .warlord fieldset textarea,.l5r5e.sheet.army .sheet-body .tab.army .commander fieldset textarea{height:calc(100% - 22px)}.l5r5e.sheet.army .sheet-body .tab.army .warlord fieldset .actor-remove-control,.l5r5e.sheet.army .sheet-body .tab.army .commander fieldset .actor-remove-control{font-size:12px}.l5r5e.sheet.army .sheet-body .tab.army .standing{flex:0 0 100%;display:flex;flex-wrap:wrap}.l5r5e.sheet.army .sheet-body .tab.army .standing h2{flex:0 0 100%}.l5r5e.sheet.army .sheet-body .tab.army .standing ul{display:flex;position:relative}.l5r5e.sheet.army .sheet-body .tab.army .standing ul li{flex:33%;display:inline-grid;position:relative;padding:0.25rem;flex-direction:column-reverse}.l5r5e.sheet.army .sheet-body .tab.army .standing ul li strong{text-align:center}.l5r5e.sheet.army .sheet-body .tab.army .standing ul li input{background:transparent;border:0 none;text-align:center}.l5r5e.sheet.army .sheet-body .tab.army .standing ul li:after{content:"";width:2rem;height:2rem;position:absolute;right:calc(50% - 0.95rem);top:calc(50% - 0.2rem);background:transparent url("../assets/icons/circle.svg") no-repeat 0 0;background-size:contain;opacity:0.25;z-index:-1}.l5r5e.sheet.army .sheet-body .tab.army .standing ul li:nth-child(1):after{transform:rotate(0deg)}.l5r5e.sheet.army .sheet-body .tab.army .standing ul li:nth-child(2):after{transform:rotate(90deg)}.l5r5e.sheet.army .sheet-body .tab.army .standing ul li:nth-child(3):after{transform:rotate(180deg)}.l5r5e.sheet.army .sheet-body .tab.army .warlord-name{display:flex;flex:100%;flex-wrap:wrap;margin:0;padding:0.5rem 0.5rem 0;background:rgba(186,187,177,0.5);--notchSize: 0.25rem}.l5r5e.sheet.army .sheet-body .tab.army .warlord-name i{color:rgba(0,0,0,0.5);margin-right:0.5rem}.l5r5e.sheet.army .sheet-body .tab.army .warlord-name label{flex:0 0 auto !important;height:1.65rem;margin:0;padding:0 0.5rem;color:#5a6e5a;background:rgba(255,255,255,0.5);border:1px solid #5a6e5a;border-radius:1rem}.l5r5e.sheet.army .sheet-body .tab.others{flex-direction:column}.l5r5e.sheet.army .sheet-body .tab.others .editor-content{min-height:8rem;max-height:14rem}.l5r5e nav.sheet-tabs{height:3rem;line-height:2rem;font-family:"Caballar",sans-serif;letter-spacing:-0.05rem;font-size:1rem;border:0 none;border-bottom:1px solid rgba(186,187,177,0.5);margin-bottom:0;background:rgba(255,255,255,0.5);color:rgba(0,0,0,0.5);display:flex;flex-direction:row;--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100%) 100%, var(--notchSize) 100%, 0% calc(100%));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100%) 100%, var(--notchSize) 100%, 0% calc(100%))}.l5r5e nav .item{flex:1}.l5r5e nav .item:hover{background-color:#5a6e5a;color:rgba(255,255,255,0.65);text-shadow:none;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 0 100%, 0% 0%, 0% 100%);clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 0 100%, 0% 0%, 0% 100%)}.l5r5e nav .item.active{background-color:rgba(73,12,11,0.85);color:#fff;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 0 100%, 0% 0%, 0% 100%);clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 0 100%, 0% 0%, 0% 100%)}.l5r5e nav .item.active:hover{background-color:rgba(73,12,11,0.85);cursor:default}.l5r5e .rings{display:flex;flex-wrap:wrap;color:rgba(255,255,255,0.65)}.l5r5e .rings #earth,.l5r5e .rings #air,.l5r5e .rings #water,.l5r5e .rings #fire,.l5r5e .rings #void{position:relative;flex:1 1 50%;text-align:center}.l5r5e .rings #earth i.i_earth,.l5r5e .rings #earth i.i_water,.l5r5e .rings #earth i.i_fire,.l5r5e .rings #earth i.i_air,.l5r5e .rings #earth i.i_void,.l5r5e .rings #air i.i_earth,.l5r5e .rings #air i.i_water,.l5r5e .rings #air i.i_fire,.l5r5e .rings #air i.i_air,.l5r5e .rings #air i.i_void,.l5r5e .rings #water i.i_earth,.l5r5e .rings #water i.i_water,.l5r5e .rings #water i.i_fire,.l5r5e .rings #water i.i_air,.l5r5e .rings #water i.i_void,.l5r5e .rings #fire i.i_earth,.l5r5e .rings #fire i.i_water,.l5r5e .rings #fire i.i_fire,.l5r5e .rings #fire i.i_air,.l5r5e .rings #fire i.i_void,.l5r5e .rings #void i.i_earth,.l5r5e .rings #void i.i_water,.l5r5e .rings #void i.i_fire,.l5r5e .rings #void i.i_air,.l5r5e .rings #void i.i_void{font-size:5rem;line-height:4.75rem}.l5r5e .rings #earth label,.l5r5e .rings #air label,.l5r5e .rings #water label,.l5r5e .rings #fire label,.l5r5e .rings #void label{position:relative;width:5rem;line-height:0;float:right}.l5r5e .rings #earth input,.l5r5e .rings #air input,.l5r5e .rings #water input,.l5r5e .rings #fire input,.l5r5e .rings #void input{position:absolute;height:2rem;width:2rem;border-radius:100%;top:0;left:0;text-align:center;font-size:1rem;border:2px solid rgba(186,187,177,0.5);color:rgba(255,255,255,0.65)}.l5r5e .rings #earth input:hover,.l5r5e .rings #air input:hover,.l5r5e .rings #water input:hover,.l5r5e .rings #fire input:hover,.l5r5e .rings #void input:hover{border:2px solid rgba(255,0,0,0.75);text-shadow:0 0 3px red;box-shadow:0 0 3px inset red}.l5r5e .rings #earth{float:right;color:#699678}.l5r5e .rings #earth input{top:auto;right:0;bottom:-0.9rem;left:auto;background:#699678}.l5r5e .rings #earth label strong{position:absolute;bottom:0.75rem;left:-1.75rem}.l5r5e .rings #air{color:#917896}.l5r5e .rings #air input{top:auto;right:auto;bottom:-0.9rem;left:0;background:#917896}.l5r5e .rings #air label{float:left}.l5r5e .rings #air label strong{position:absolute;bottom:0.75rem;right:-1rem}.l5r5e .rings #water{float:right;color:#5f919b;padding-right:2rem}.l5r5e .rings #water input{top:17%;right:-1.25rem;bottom:auto;left:auto;background:#5f919b}.l5r5e .rings #water label strong{position:absolute;bottom:-0.75rem;right:2rem}.l5r5e .rings #fire{color:#9b7350;padding-left:2rem}.l5r5e .rings #fire input{top:17%;right:auto;bottom:auto;left:-1.25rem;background:#9b7350}.l5r5e .rings #fire label{float:left}.l5r5e .rings #fire label strong{position:absolute;bottom:-0.75rem;right:2rem}.l5r5e .rings #void{top:-2rem;margin:0 calc(50% - 2.5rem);color:#4b4641}.l5r5e .rings #void input{top:-1rem;right:auto;bottom:auto;left:30%;background:#4b4641}.l5r5e .rings #void label strong{position:absolute;bottom:-0.75rem;left:1.75rem}.l5r5e.sheet article .skills-wrapper,.l5r5e.sheet article .techniques-wrapper{flex:50%}.l5r5e.sheet article .skills-wrapper>li,.l5r5e.sheet article .techniques-wrapper>li{display:flex;flex-wrap:wrap;font-size:0.85rem;margin:0 0 1rem;border:1px solid rgba(186,187,177,0.5);--notchSize: 0.75rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, 100% 0, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 100%);clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, 100% 0, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 100%)}.l5r5e.sheet article .skills-wrapper>li h4,.l5r5e.sheet article .techniques-wrapper>li h4{flex:100%;margin:0;padding:0.5rem 0.5rem 0;text-align:center;background:rgba(186,187,177,0.5);color:#5a6e5a;--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%))}.l5r5e.sheet article .skills-wrapper>li ul,.l5r5e.sheet article .techniques-wrapper>li ul{flex:50%;padding:0.25rem 0.5rem 0.25rem 0}.l5r5e.sheet article .skills-wrapper>li ul li,.l5r5e.sheet article .techniques-wrapper>li ul li{text-align:left;line-height:2rem;margin:0.25rem 0}.l5r5e.sheet article .skills-wrapper>li ul li.skill,.l5r5e.sheet article .techniques-wrapper>li ul li.skill{text-align:right}.l5r5e.sheet article .skills-wrapper>li ul li.skill span,.l5r5e.sheet article .techniques-wrapper>li ul li.skill span{color:rgba(0,0,0,0.5)}.l5r5e.sheet article .skills-wrapper>li ul li.skill span[data-skill="melee"],.l5r5e.sheet article .skills-wrapper>li ul li.skill span[data-skill="ranged"],.l5r5e.sheet article .skills-wrapper>li ul li.skill span[data-skill="unarmed"],.l5r5e.sheet article .techniques-wrapper>li ul li.skill span[data-skill="melee"],.l5r5e.sheet article .techniques-wrapper>li ul li.skill span[data-skill="ranged"],.l5r5e.sheet article .techniques-wrapper>li ul li.skill span[data-skill="unarmed"]{float:left;line-height:1rem;width:calc(100% - 2rem)}.l5r5e.sheet article .skills-wrapper>li ul.skill-category-ring-actions,.l5r5e.sheet article .techniques-wrapper>li ul.skill-category-ring-actions{padding:0.25rem 0 0.25rem 0.5rem;border-left:1px solid rgba(186,187,177,0.5)}.l5r5e.sheet article .skills-wrapper>li input,.l5r5e.sheet article .techniques-wrapper>li input{width:1.75rem;height:1.75rem;text-align:center}.l5r5e.sheet article .skills-wrapper>li:last-child,.l5r5e.sheet article .techniques-wrapper>li:last-child{margin:0}.l5r5e .item-list{flex:100%}.l5r5e .item-list .tab[data-tab]{display:none}.l5r5e .item-list .item .item-header{display:flex}.l5r5e .item-list .item .item-header .item-img{flex:0 0 32px;padding-right:0.25rem}.l5r5e .item-list .item .item-header .item-img img{border:1px solid rgba(0,0,0,0.1)}.l5r5e .item-list .item .item-header .item-name{flex:1 1 auto;font-size:1rem;line-height:1rem;color:#764f40}.l5r5e .item-list .item .item-header .removed{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}.l5r5e .item-list .item .item-header .item-edit,.l5r5e .item-list .item .item-header .item-delete,.l5r5e .item-list .item .item-header .item-equip,.l5r5e .item-list .item .item-header .technique-edit,.l5r5e .item-list .item .item-header .technique-delete,.l5r5e .item-list .item .item-header .peculiarity-edit,.l5r5e .item-list .item .item-header .peculiarity-delete,.l5r5e .item-list .item .item-header .property-edit,.l5r5e .item-list .item .item-header .property-delete{line-height:1rem;font-size:0.75rem;flex:0 0 1rem;padding:0 0.1rem;color:#000}.l5r5e .item-list .item .item-header .icon-stat-container{line-height:1rem;font-size:0.75rem;padding:0 0.25rem;color:#000}.l5r5e .item-list .item .item-header .item-edit:hover,.l5r5e .item-list .item .item-header .item-delete:hover,.l5r5e .item-list .item .item-header .item-equip:hover,.l5r5e .item-list .item .item-header .technique-edit:hover,.l5r5e .item-list .item .item-header .technique-delete:hover,.l5r5e .item-list .item .item-header .peculiarity-edit:hover,.l5r5e .item-list .item .item-header .peculiarity-delete:hover,.l5r5e .item-list .item .item-header .property-edit:hover,.l5r5e .item-list .item .item-header .property-delete:hover{text-shadow:0 0 3px red;color:#000}.l5r5e .item-list .item .item-properties{display:flex;flex-direction:row}.l5r5e .item-list .item .item-properties>li{margin:0.25rem 0.1rem;padding:0.1rem 0.5rem;background-color:rgba(255,255,255,0.5);border:1px solid rgba(255,255,255,0.65);border-radius:1rem;width:auto;font-size:0.75rem;color:#000}.l5r5e .item-list .item .item-properties>li:first-child{margin-left:0}.l5r5e .item-list .item .item-properties>li:last-child{margin-right:0}.l5r5e .item-list .item .item-properties .equip-readied-control:hover{color:#963c41;background:#fff}.l5r5e .item-list .item p{font-size:0.85rem;margin:0;padding:0 0.5rem;max-width:100%}.l5r5e .item-list .item p:first-child{padding-top:0.5rem}.l5r5e .item-list .item p:last-child{padding-bottom:0.5rem}.l5r5e.advancement .sheet-header,.l5r5e.army-cohort .sheet-header,.l5r5e.army-fortification .sheet-header,.l5r5e.armor .sheet-header,.l5r5e.bond .sheet-header,.l5r5e.item .sheet-header,.l5r5e.item-pattern .sheet-header,.l5r5e.peculiarity .sheet-header,.l5r5e.property .sheet-header,.l5r5e.signature-scroll .sheet-header,.l5r5e.technique .sheet-header,.l5r5e.title .sheet-header,.l5r5e.weapon .sheet-header{margin-bottom:0.5rem}.l5r5e.advancement .sheet-header img,.l5r5e.army-cohort .sheet-header img,.l5r5e.army-fortification .sheet-header img,.l5r5e.armor .sheet-header img,.l5r5e.bond .sheet-header img,.l5r5e.item .sheet-header img,.l5r5e.item-pattern .sheet-header img,.l5r5e.peculiarity .sheet-header img,.l5r5e.property .sheet-header img,.l5r5e.signature-scroll .sheet-header img,.l5r5e.technique .sheet-header img,.l5r5e.title .sheet-header img,.l5r5e.weapon .sheet-header img{flex:0 0 90px;height:90px;width:90px;background:rgba(255,255,255,0.25)}.l5r5e.advancement .sheet-header h1 input,.l5r5e.army-cohort .sheet-header h1 input,.l5r5e.army-fortification .sheet-header h1 input,.l5r5e.armor .sheet-header h1 input,.l5r5e.bond .sheet-header h1 input,.l5r5e.item .sheet-header h1 input,.l5r5e.item-pattern .sheet-header h1 input,.l5r5e.peculiarity .sheet-header h1 input,.l5r5e.property .sheet-header h1 input,.l5r5e.signature-scroll .sheet-header h1 input,.l5r5e.technique .sheet-header h1 input,.l5r5e.title .sheet-header h1 input,.l5r5e.weapon .sheet-header h1 input{height:5.5rem}.l5r5e.advancement fieldset input[name="data.effects"],.l5r5e.army-cohort fieldset input[name="data.effects"],.l5r5e.army-fortification fieldset input[name="data.effects"],.l5r5e.armor fieldset input[name="data.effects"],.l5r5e.bond fieldset input[name="data.effects"],.l5r5e.item fieldset input[name="data.effects"],.l5r5e.item-pattern fieldset input[name="data.effects"],.l5r5e.peculiarity fieldset input[name="data.effects"],.l5r5e.property fieldset input[name="data.effects"],.l5r5e.signature-scroll fieldset input[name="data.effects"],.l5r5e.technique fieldset input[name="data.effects"],.l5r5e.title fieldset input[name="data.effects"],.l5r5e.weapon fieldset input[name="data.effects"]{text-align:left}.l5r5e.advancement .sheet-body,.l5r5e.army-cohort .sheet-body,.l5r5e.army-fortification .sheet-body,.l5r5e.armor .sheet-body,.l5r5e.bond .sheet-body,.l5r5e.item .sheet-body,.l5r5e.item-pattern .sheet-body,.l5r5e.peculiarity .sheet-body,.l5r5e.property .sheet-body,.l5r5e.signature-scroll .sheet-body,.l5r5e.technique .sheet-body,.l5r5e.title .sheet-body,.l5r5e.weapon .sheet-body{flex:100%;height:calc(100% - 90px - 0.25rem);align-self:stretch;display:flex;flex-wrap:wrap}.l5r5e.advancement article,.l5r5e.army-cohort article,.l5r5e.army-fortification article,.l5r5e.armor article,.l5r5e.bond article,.l5r5e.item article,.l5r5e.item-pattern article,.l5r5e.peculiarity article,.l5r5e.property article,.l5r5e.signature-scroll article,.l5r5e.technique article,.l5r5e.title article,.l5r5e.weapon article{display:flex;flex-wrap:wrap;min-height:auto}.l5r5e.advancement article label,.l5r5e.army-cohort article label,.l5r5e.army-fortification article label,.l5r5e.armor article label,.l5r5e.bond article label,.l5r5e.item article label,.l5r5e.item-pattern article label,.l5r5e.peculiarity article label,.l5r5e.property article label,.l5r5e.signature-scroll article label,.l5r5e.technique article label,.l5r5e.title article label,.l5r5e.weapon article label{color:#5a6e5a;margin:0.25rem;line-height:1.5rem}.l5r5e.advancement article.attributes,.l5r5e.army-cohort article.attributes,.l5r5e.army-fortification article.attributes,.l5r5e.armor article.attributes,.l5r5e.bond article.attributes,.l5r5e.item article.attributes,.l5r5e.item-pattern article.attributes,.l5r5e.peculiarity article.attributes,.l5r5e.property article.attributes,.l5r5e.signature-scroll article.attributes,.l5r5e.technique article.attributes,.l5r5e.title article.attributes,.l5r5e.weapon article.attributes{align-self:flex-start;width:100%;height:6.5rem}.l5r5e.advancement article.attributes #advancement_type,.l5r5e.advancement article.attributes #advancement_skill,.l5r5e.army-cohort article.attributes #advancement_type,.l5r5e.army-cohort article.attributes #advancement_skill,.l5r5e.army-fortification article.attributes #advancement_type,.l5r5e.army-fortification article.attributes #advancement_skill,.l5r5e.armor article.attributes #advancement_type,.l5r5e.armor article.attributes #advancement_skill,.l5r5e.bond article.attributes #advancement_type,.l5r5e.bond article.attributes #advancement_skill,.l5r5e.item article.attributes #advancement_type,.l5r5e.item article.attributes #advancement_skill,.l5r5e.item-pattern article.attributes #advancement_type,.l5r5e.item-pattern article.attributes #advancement_skill,.l5r5e.peculiarity article.attributes #advancement_type,.l5r5e.peculiarity article.attributes #advancement_skill,.l5r5e.property article.attributes #advancement_type,.l5r5e.property article.attributes #advancement_skill,.l5r5e.signature-scroll article.attributes #advancement_type,.l5r5e.signature-scroll article.attributes #advancement_skill,.l5r5e.technique article.attributes #advancement_type,.l5r5e.technique article.attributes #advancement_skill,.l5r5e.title article.attributes #advancement_type,.l5r5e.title article.attributes #advancement_skill,.l5r5e.weapon article.attributes #advancement_type,.l5r5e.weapon article.attributes #advancement_skill{flex:0 0 calc(40% - 2rem);margin:0.25rem}.l5r5e.advancement article.attributes select[name="data.skill"],.l5r5e.advancement article.attributes select[name="data.ring"],.l5r5e.advancement article.attributes select[name="data.peculiarity_type"],.l5r5e.advancement article.attributes select[name="data.technique_type"],.l5r5e.army-cohort article.attributes select[name="data.skill"],.l5r5e.army-cohort article.attributes select[name="data.ring"],.l5r5e.army-cohort article.attributes select[name="data.peculiarity_type"],.l5r5e.army-cohort article.attributes select[name="data.technique_type"],.l5r5e.army-fortification article.attributes select[name="data.skill"],.l5r5e.army-fortification article.attributes select[name="data.ring"],.l5r5e.army-fortification article.attributes select[name="data.peculiarity_type"],.l5r5e.army-fortification article.attributes select[name="data.technique_type"],.l5r5e.armor article.attributes select[name="data.skill"],.l5r5e.armor article.attributes select[name="data.ring"],.l5r5e.armor article.attributes select[name="data.peculiarity_type"],.l5r5e.armor article.attributes select[name="data.technique_type"],.l5r5e.bond article.attributes select[name="data.skill"],.l5r5e.bond article.attributes select[name="data.ring"],.l5r5e.bond article.attributes select[name="data.peculiarity_type"],.l5r5e.bond article.attributes select[name="data.technique_type"],.l5r5e.item article.attributes select[name="data.skill"],.l5r5e.item article.attributes select[name="data.ring"],.l5r5e.item article.attributes select[name="data.peculiarity_type"],.l5r5e.item article.attributes select[name="data.technique_type"],.l5r5e.item-pattern article.attributes select[name="data.skill"],.l5r5e.item-pattern article.attributes select[name="data.ring"],.l5r5e.item-pattern article.attributes select[name="data.peculiarity_type"],.l5r5e.item-pattern article.attributes select[name="data.technique_type"],.l5r5e.peculiarity article.attributes select[name="data.skill"],.l5r5e.peculiarity article.attributes select[name="data.ring"],.l5r5e.peculiarity article.attributes select[name="data.peculiarity_type"],.l5r5e.peculiarity article.attributes select[name="data.technique_type"],.l5r5e.property article.attributes select[name="data.skill"],.l5r5e.property article.attributes select[name="data.ring"],.l5r5e.property article.attributes select[name="data.peculiarity_type"],.l5r5e.property article.attributes select[name="data.technique_type"],.l5r5e.signature-scroll article.attributes select[name="data.skill"],.l5r5e.signature-scroll article.attributes select[name="data.ring"],.l5r5e.signature-scroll article.attributes select[name="data.peculiarity_type"],.l5r5e.signature-scroll article.attributes select[name="data.technique_type"],.l5r5e.technique article.attributes select[name="data.skill"],.l5r5e.technique article.attributes select[name="data.ring"],.l5r5e.technique article.attributes select[name="data.peculiarity_type"],.l5r5e.technique article.attributes select[name="data.technique_type"],.l5r5e.title article.attributes select[name="data.skill"],.l5r5e.title article.attributes select[name="data.ring"],.l5r5e.title article.attributes select[name="data.peculiarity_type"],.l5r5e.title article.attributes select[name="data.technique_type"],.l5r5e.weapon article.attributes select[name="data.skill"],.l5r5e.weapon article.attributes select[name="data.ring"],.l5r5e.weapon article.attributes select[name="data.peculiarity_type"],.l5r5e.weapon article.attributes select[name="data.technique_type"]{flex:0 0 calc(40% - 0.5rem);margin:0.25rem}.l5r5e.advancement article.attributes .attribute-value,.l5r5e.advancement article.attributes .attribute,.l5r5e.advancement article.attributes .value,.l5r5e.army-cohort article.attributes .attribute-value,.l5r5e.army-cohort article.attributes .attribute,.l5r5e.army-cohort article.attributes .value,.l5r5e.army-fortification article.attributes .attribute-value,.l5r5e.army-fortification article.attributes .attribute,.l5r5e.army-fortification article.attributes .value,.l5r5e.armor article.attributes .attribute-value,.l5r5e.armor article.attributes .attribute,.l5r5e.armor article.attributes .value,.l5r5e.bond article.attributes .attribute-value,.l5r5e.bond article.attributes .attribute,.l5r5e.bond article.attributes .value,.l5r5e.item article.attributes .attribute-value,.l5r5e.item article.attributes .attribute,.l5r5e.item article.attributes .value,.l5r5e.item-pattern article.attributes .attribute-value,.l5r5e.item-pattern article.attributes .attribute,.l5r5e.item-pattern article.attributes .value,.l5r5e.peculiarity article.attributes .attribute-value,.l5r5e.peculiarity article.attributes .attribute,.l5r5e.peculiarity article.attributes .value,.l5r5e.property article.attributes .attribute-value,.l5r5e.property article.attributes .attribute,.l5r5e.property article.attributes .value,.l5r5e.signature-scroll article.attributes .attribute-value,.l5r5e.signature-scroll article.attributes .attribute,.l5r5e.signature-scroll article.attributes .value,.l5r5e.technique article.attributes .attribute-value,.l5r5e.technique article.attributes .attribute,.l5r5e.technique article.attributes .value,.l5r5e.title article.attributes .attribute-value,.l5r5e.title article.attributes .attribute,.l5r5e.title article.attributes .value,.l5r5e.weapon article.attributes .attribute-value,.l5r5e.weapon article.attributes .attribute,.l5r5e.weapon article.attributes .value{flex:1 1 auto;margin:0.5rem 0.25rem 0.25rem}.l5r5e.advancement article.attributes select[name="data.advancement_type"],.l5r5e.advancement article.attributes select[name="data.skill"],.l5r5e.army-cohort article.attributes select[name="data.advancement_type"],.l5r5e.army-cohort article.attributes select[name="data.skill"],.l5r5e.army-fortification article.attributes select[name="data.advancement_type"],.l5r5e.army-fortification article.attributes select[name="data.skill"],.l5r5e.armor article.attributes select[name="data.advancement_type"],.l5r5e.armor article.attributes select[name="data.skill"],.l5r5e.bond article.attributes select[name="data.advancement_type"],.l5r5e.bond article.attributes select[name="data.skill"],.l5r5e.item article.attributes select[name="data.advancement_type"],.l5r5e.item article.attributes select[name="data.skill"],.l5r5e.item-pattern article.attributes select[name="data.advancement_type"],.l5r5e.item-pattern article.attributes select[name="data.skill"],.l5r5e.peculiarity article.attributes select[name="data.advancement_type"],.l5r5e.peculiarity article.attributes select[name="data.skill"],.l5r5e.property article.attributes select[name="data.advancement_type"],.l5r5e.property article.attributes select[name="data.skill"],.l5r5e.signature-scroll article.attributes select[name="data.advancement_type"],.l5r5e.signature-scroll article.attributes select[name="data.skill"],.l5r5e.technique article.attributes select[name="data.advancement_type"],.l5r5e.technique article.attributes select[name="data.skill"],.l5r5e.title article.attributes select[name="data.advancement_type"],.l5r5e.title article.attributes select[name="data.skill"],.l5r5e.weapon article.attributes select[name="data.advancement_type"],.l5r5e.weapon article.attributes select[name="data.skill"]{text-transform:capitalize}.l5r5e.advancement article.attributes .type,.l5r5e.army-cohort article.attributes .type,.l5r5e.army-fortification article.attributes .type,.l5r5e.armor article.attributes .type,.l5r5e.bond article.attributes .type,.l5r5e.item article.attributes .type,.l5r5e.item-pattern article.attributes .type,.l5r5e.peculiarity article.attributes .type,.l5r5e.property article.attributes .type,.l5r5e.signature-scroll article.attributes .type,.l5r5e.technique article.attributes .type,.l5r5e.title article.attributes .type,.l5r5e.weapon article.attributes .type{display:block}.l5r5e.advancement article.attributes .type label,.l5r5e.army-cohort article.attributes .type label,.l5r5e.army-fortification article.attributes .type label,.l5r5e.armor article.attributes .type label,.l5r5e.bond article.attributes .type label,.l5r5e.item article.attributes .type label,.l5r5e.item-pattern article.attributes .type label,.l5r5e.peculiarity article.attributes .type label,.l5r5e.property article.attributes .type label,.l5r5e.signature-scroll article.attributes .type label,.l5r5e.technique article.attributes .type label,.l5r5e.title article.attributes .type label,.l5r5e.weapon article.attributes .type label{width:calc(50% - 0.5rem);float:left}.l5r5e.advancement article.attributes .properties,.l5r5e.army-cohort article.attributes .properties,.l5r5e.army-fortification article.attributes .properties,.l5r5e.armor article.attributes .properties,.l5r5e.bond article.attributes .properties,.l5r5e.item article.attributes .properties,.l5r5e.item-pattern article.attributes .properties,.l5r5e.peculiarity article.attributes .properties,.l5r5e.property article.attributes .properties,.l5r5e.signature-scroll article.attributes .properties,.l5r5e.technique article.attributes .properties,.l5r5e.title article.attributes .properties,.l5r5e.weapon article.attributes .properties{flex:0 0 calc(50% - 0.5rem);margin:0.25rem}.l5r5e.advancement article.attributes .equipped,.l5r5e.army-cohort article.attributes .equipped,.l5r5e.army-fortification article.attributes .equipped,.l5r5e.armor article.attributes .equipped,.l5r5e.bond article.attributes .equipped,.l5r5e.item article.attributes .equipped,.l5r5e.item-pattern article.attributes .equipped,.l5r5e.peculiarity article.attributes .equipped,.l5r5e.property article.attributes .equipped,.l5r5e.signature-scroll article.attributes .equipped,.l5r5e.technique article.attributes .equipped,.l5r5e.title article.attributes .equipped,.l5r5e.weapon article.attributes .equipped{flex:100%;margin:0;text-align:right}.l5r5e.advancement article.attributes input[type="text"],.l5r5e.advancement article.attributes input[type="number"],.l5r5e.army-cohort article.attributes input[type="text"],.l5r5e.army-cohort article.attributes input[type="number"],.l5r5e.army-fortification article.attributes input[type="text"],.l5r5e.army-fortification article.attributes input[type="number"],.l5r5e.armor article.attributes input[type="text"],.l5r5e.armor article.attributes input[type="number"],.l5r5e.bond article.attributes input[type="text"],.l5r5e.bond article.attributes input[type="number"],.l5r5e.item article.attributes input[type="text"],.l5r5e.item article.attributes input[type="number"],.l5r5e.item-pattern article.attributes input[type="text"],.l5r5e.item-pattern article.attributes input[type="number"],.l5r5e.peculiarity article.attributes input[type="text"],.l5r5e.peculiarity article.attributes input[type="number"],.l5r5e.property article.attributes input[type="text"],.l5r5e.property article.attributes input[type="number"],.l5r5e.signature-scroll article.attributes input[type="text"],.l5r5e.signature-scroll article.attributes input[type="number"],.l5r5e.technique article.attributes input[type="text"],.l5r5e.technique article.attributes input[type="number"],.l5r5e.title article.attributes input[type="text"],.l5r5e.title article.attributes input[type="number"],.l5r5e.weapon article.attributes input[type="text"],.l5r5e.weapon article.attributes input[type="number"]{width:2rem}.l5r5e.advancement article.attributes input[type="text"].grip,.l5r5e.advancement article.attributes input[type="number"].grip,.l5r5e.army-cohort article.attributes input[type="text"].grip,.l5r5e.army-cohort article.attributes input[type="number"].grip,.l5r5e.army-fortification article.attributes input[type="text"].grip,.l5r5e.army-fortification article.attributes input[type="number"].grip,.l5r5e.armor article.attributes input[type="text"].grip,.l5r5e.armor article.attributes input[type="number"].grip,.l5r5e.bond article.attributes input[type="text"].grip,.l5r5e.bond article.attributes input[type="number"].grip,.l5r5e.item article.attributes input[type="text"].grip,.l5r5e.item article.attributes input[type="number"].grip,.l5r5e.item-pattern article.attributes input[type="text"].grip,.l5r5e.item-pattern article.attributes input[type="number"].grip,.l5r5e.peculiarity article.attributes input[type="text"].grip,.l5r5e.peculiarity article.attributes input[type="number"].grip,.l5r5e.property article.attributes input[type="text"].grip,.l5r5e.property article.attributes input[type="number"].grip,.l5r5e.signature-scroll article.attributes input[type="text"].grip,.l5r5e.signature-scroll article.attributes input[type="number"].grip,.l5r5e.technique article.attributes input[type="text"].grip,.l5r5e.technique article.attributes input[type="number"].grip,.l5r5e.title article.attributes input[type="text"].grip,.l5r5e.title article.attributes input[type="number"].grip,.l5r5e.weapon article.attributes input[type="text"].grip,.l5r5e.weapon article.attributes input[type="number"].grip{width:calc(100% - 4rem);margin-bottom:0.25rem}.l5r5e.advancement article.attributes input[name="data.zeni"],.l5r5e.army-cohort article.attributes input[name="data.zeni"],.l5r5e.army-fortification article.attributes input[name="data.zeni"],.l5r5e.armor article.attributes input[name="data.zeni"],.l5r5e.bond article.attributes input[name="data.zeni"],.l5r5e.item article.attributes input[name="data.zeni"],.l5r5e.item-pattern article.attributes input[name="data.zeni"],.l5r5e.peculiarity article.attributes input[name="data.zeni"],.l5r5e.property article.attributes input[name="data.zeni"],.l5r5e.signature-scroll article.attributes input[name="data.zeni"],.l5r5e.technique article.attributes input[name="data.zeni"],.l5r5e.title article.attributes input[name="data.zeni"],.l5r5e.weapon article.attributes input[name="data.zeni"]{width:7rem;float:right}.l5r5e.advancement article.attributes fieldset input[type="text"],.l5r5e.advancement article.attributes fieldset input[type="number"],.l5r5e.army-cohort article.attributes fieldset input[type="text"],.l5r5e.army-cohort article.attributes fieldset input[type="number"],.l5r5e.army-fortification article.attributes fieldset input[type="text"],.l5r5e.army-fortification article.attributes fieldset input[type="number"],.l5r5e.armor article.attributes fieldset input[type="text"],.l5r5e.armor article.attributes fieldset input[type="number"],.l5r5e.bond article.attributes fieldset input[type="text"],.l5r5e.bond article.attributes fieldset input[type="number"],.l5r5e.item article.attributes fieldset input[type="text"],.l5r5e.item article.attributes fieldset input[type="number"],.l5r5e.item-pattern article.attributes fieldset input[type="text"],.l5r5e.item-pattern article.attributes fieldset input[type="number"],.l5r5e.peculiarity article.attributes fieldset input[type="text"],.l5r5e.peculiarity article.attributes fieldset input[type="number"],.l5r5e.property article.attributes fieldset input[type="text"],.l5r5e.property article.attributes fieldset input[type="number"],.l5r5e.signature-scroll article.attributes fieldset input[type="text"],.l5r5e.signature-scroll article.attributes fieldset input[type="number"],.l5r5e.technique article.attributes fieldset input[type="text"],.l5r5e.technique article.attributes fieldset input[type="number"],.l5r5e.title article.attributes fieldset input[type="text"],.l5r5e.title article.attributes fieldset input[type="number"],.l5r5e.weapon article.attributes fieldset input[type="text"],.l5r5e.weapon article.attributes fieldset input[type="number"]{float:right}.l5r5e.advancement article.attributes .attribute.full,.l5r5e.army-cohort article.attributes .attribute.full,.l5r5e.army-fortification article.attributes .attribute.full,.l5r5e.armor article.attributes .attribute.full,.l5r5e.bond article.attributes .attribute.full,.l5r5e.item article.attributes .attribute.full,.l5r5e.item-pattern article.attributes .attribute.full,.l5r5e.peculiarity article.attributes .attribute.full,.l5r5e.property article.attributes .attribute.full,.l5r5e.signature-scroll article.attributes .attribute.full,.l5r5e.technique article.attributes .attribute.full,.l5r5e.title article.attributes .attribute.full,.l5r5e.weapon article.attributes .attribute.full{flex:100%}.l5r5e.advancement article.attributes .attribute.full input,.l5r5e.army-cohort article.attributes .attribute.full input,.l5r5e.army-fortification article.attributes .attribute.full input,.l5r5e.armor article.attributes .attribute.full input,.l5r5e.bond article.attributes .attribute.full input,.l5r5e.item article.attributes .attribute.full input,.l5r5e.item-pattern article.attributes .attribute.full input,.l5r5e.peculiarity article.attributes .attribute.full input,.l5r5e.property article.attributes .attribute.full input,.l5r5e.signature-scroll article.attributes .attribute.full input,.l5r5e.technique article.attributes .attribute.full input,.l5r5e.title article.attributes .attribute.full input,.l5r5e.weapon article.attributes .attribute.full input{float:right;width:70%}.l5r5e.advancement article.attributes .bonds-types,.l5r5e.army-cohort article.attributes .bonds-types,.l5r5e.army-fortification article.attributes .bonds-types,.l5r5e.armor article.attributes .bonds-types,.l5r5e.bond article.attributes .bonds-types,.l5r5e.item article.attributes .bonds-types,.l5r5e.item-pattern article.attributes .bonds-types,.l5r5e.peculiarity article.attributes .bonds-types,.l5r5e.property article.attributes .bonds-types,.l5r5e.signature-scroll article.attributes .bonds-types,.l5r5e.technique article.attributes .bonds-types,.l5r5e.title article.attributes .bonds-types,.l5r5e.weapon article.attributes .bonds-types{flex:100%}.l5r5e.advancement article.attributes .bonds-types input,.l5r5e.army-cohort article.attributes .bonds-types input,.l5r5e.army-fortification article.attributes .bonds-types input,.l5r5e.armor article.attributes .bonds-types input,.l5r5e.bond article.attributes .bonds-types input,.l5r5e.item article.attributes .bonds-types input,.l5r5e.item-pattern article.attributes .bonds-types input,.l5r5e.peculiarity article.attributes .bonds-types input,.l5r5e.property article.attributes .bonds-types input,.l5r5e.signature-scroll article.attributes .bonds-types input,.l5r5e.technique article.attributes .bonds-types input,.l5r5e.title article.attributes .bonds-types input,.l5r5e.weapon article.attributes .bonds-types input{width:75%;float:right}.l5r5e.advancement article.infos,.l5r5e.army-cohort article.infos,.l5r5e.army-fortification article.infos,.l5r5e.armor article.infos,.l5r5e.bond article.infos,.l5r5e.item article.infos,.l5r5e.item-pattern article.infos,.l5r5e.peculiarity article.infos,.l5r5e.property article.infos,.l5r5e.signature-scroll article.infos,.l5r5e.technique article.infos,.l5r5e.title article.infos,.l5r5e.weapon article.infos{display:flex;align-self:stretch;height:calc(100% - 7.5rem);width:100%;padding-bottom:1.25rem}.l5r5e.advancement article.infos .reference,.l5r5e.army-cohort article.infos .reference,.l5r5e.army-fortification article.infos .reference,.l5r5e.armor article.infos .reference,.l5r5e.bond article.infos .reference,.l5r5e.item article.infos .reference,.l5r5e.item-pattern article.infos .reference,.l5r5e.peculiarity article.infos .reference,.l5r5e.property article.infos .reference,.l5r5e.signature-scroll article.infos .reference,.l5r5e.technique article.infos .reference,.l5r5e.title article.infos .reference,.l5r5e.weapon article.infos .reference{flex:0 0 calc(100% - 0.5rem);margin:0.5rem 0.25rem}.l5r5e.advancement article.infos .reference input[name="data.book_reference"],.l5r5e.army-cohort article.infos .reference input[name="data.book_reference"],.l5r5e.army-fortification article.infos .reference input[name="data.book_reference"],.l5r5e.armor article.infos .reference input[name="data.book_reference"],.l5r5e.bond article.infos .reference input[name="data.book_reference"],.l5r5e.item article.infos .reference input[name="data.book_reference"],.l5r5e.item-pattern article.infos .reference input[name="data.book_reference"],.l5r5e.peculiarity article.infos .reference input[name="data.book_reference"],.l5r5e.property article.infos .reference input[name="data.book_reference"],.l5r5e.signature-scroll article.infos .reference input[name="data.book_reference"],.l5r5e.technique article.infos .reference input[name="data.book_reference"],.l5r5e.title article.infos .reference input[name="data.book_reference"],.l5r5e.weapon article.infos .reference input[name="data.book_reference"]{float:right;width:70%}.l5r5e.advancement article.infos fieldset,.l5r5e.army-cohort article.infos fieldset,.l5r5e.army-fortification article.infos fieldset,.l5r5e.armor article.infos fieldset,.l5r5e.bond article.infos fieldset,.l5r5e.item article.infos fieldset,.l5r5e.item-pattern article.infos fieldset,.l5r5e.peculiarity article.infos fieldset,.l5r5e.property article.infos fieldset,.l5r5e.signature-scroll article.infos fieldset,.l5r5e.technique article.infos fieldset,.l5r5e.title article.infos fieldset,.l5r5e.weapon article.infos fieldset{align-self:stretch;height:calc(100% - 2rem);box-sizing:content-box}.l5r5e.advancement article.properties fieldset,.l5r5e.army-cohort article.properties fieldset,.l5r5e.army-fortification article.properties fieldset,.l5r5e.armor article.properties fieldset,.l5r5e.bond article.properties fieldset,.l5r5e.item article.properties fieldset,.l5r5e.item-pattern article.properties fieldset,.l5r5e.peculiarity article.properties fieldset,.l5r5e.property article.properties fieldset,.l5r5e.signature-scroll article.properties fieldset,.l5r5e.technique article.properties fieldset,.l5r5e.title article.properties fieldset,.l5r5e.weapon article.properties fieldset{margin-bottom:0.5rem}.l5r5e.advancement article.attributes .attribute-value,.l5r5e.advancement article.attributes .attribute,.l5r5e.advancement article.attributes .value{flex:0 0 calc(33% - 0.5rem)}.l5r5e.advancement article.attributes .cursus{flex:0 0 calc(19% - 0.5rem);line-height:0.75rem;text-align:right;margin:0 0.25rem}.l5r5e.advancement article.attributes .cursus input{margin-top:0.25rem}.l5r5e.technique article.attributes{height:7.5rem}.l5r5e.technique article.attributes input[type="text"]{width:10rem}.l5r5e.technique article.attributes .cursus{flex:0 0 calc(20% - 0.5rem);line-height:0.75rem;text-align:right;margin:0 0.25rem}.l5r5e.technique article.attributes .cursus input{margin-top:0.25rem}.l5r5e.technique article.infos{height:calc(100% - 8.5rem)}.l5r5e.peculiarity article.attributes{height:8.5rem}.l5r5e.peculiarity article.attributes .cursus{flex:0 0 calc(20% - 0.5rem);line-height:0.75rem;text-align:right;margin:0 0.25rem}.l5r5e.peculiarity article.attributes .cursus input{margin-top:0.25rem}.l5r5e.peculiarity article.infos{height:calc(100% - 9.5rem)}.l5r5e.item article.attributes{height:4.5rem}.l5r5e.item article.attributes .properties{flex:100%}.l5r5e.item article.infos{flex:0 0 60%;height:calc(100% - 5.5rem)}.l5r5e.item article.properties{flex:0 0 40%;height:calc(100% - 5.5rem)}.l5r5e.property article.properties{width:100%}.l5r5e.property article.infos{height:calc(100% - 4.5rem)}.l5r5e.armor article.attributes{height:9.5rem}.l5r5e.armor article.infos{flex:0 0 60%;height:calc(100% - 10.5rem)}.l5r5e.armor article.properties{flex:0 0 40%;height:calc(100% - 10.5rem)}.l5r5e.weapon article.attributes{height:18.5rem}.l5r5e.weapon article.attributes .stats,.l5r5e.weapon article.attributes .attribute-value{flex:0 0 calc(50% - 0.5rem);flex-wrap:wrap;margin:0.25rem}.l5r5e.weapon article.attributes .stats label,.l5r5e.weapon article.attributes .attribute-value label{width:100%}.l5r5e.weapon article.attributes .stats input[type="text"]{text-align:center}.l5r5e.weapon article.attributes .value{flex:0 0 calc(25% - 0.5rem)}.l5r5e.weapon article.attributes .category,.l5r5e.weapon article.attributes .skillType{flex:0 0 calc(50% - 0.5rem)}.l5r5e.weapon article.attributes .category input,.l5r5e.weapon article.attributes .category .attribute-dtype,.l5r5e.weapon article.attributes .skillType input,.l5r5e.weapon article.attributes .skillType .attribute-dtype{width:100%;margin:0.25rem}.l5r5e.weapon article.infos{flex:0 0 60%;height:calc(100% - 19.5rem)}.l5r5e.weapon article.properties{flex:0 0 40%;height:calc(100% - 19.5rem)}.l5r5e.item-pattern .attribute.item{display:inline}.l5r5e.item-pattern .attribute.item .item-properties{display:inline}.l5r5e.item-pattern .attribute.item .item-properties li{display:inline}.l5r5e.title .sheet-body{height:calc(100% - 90px - 4.25rem)}.l5r5e.title article.infos{height:calc(100% - 3.5rem)}.l5r5e.title article.attributes{height:auto;background:transparent}.l5r5e.title article.experience{flex:100%;height:calc(100% - 4rem)}.l5r5e.army-cohort .sheet-body{height:calc(100% - 92px - 3.6rem)}.l5r5e.army-cohort article .fa-sign-in-alt{transform:rotate(90deg)}.l5r5e.army-cohort article.attributes{height:7rem}.l5r5e.army-cohort article.attributes input[type="text"]{width:100%}.l5r5e.army-cohort article.attributes .actor-remove-control{font-size:12px}.l5r5e.army-cohort article.attributes .flx50{flex:0 0 calc(50% - 0.5rem)}.l5r5e.army-cohort article.attributes .flx100{flex:0 0 calc(100% - 0.5rem)}.l5r5e.army-cohort article.attributes .editor-content{min-height:8rem;max-height:14rem}.l5r5e.army-cohort article.abilities{align-self:stretch;height:calc(100% - 8rem);width:100%;box-sizing:content-box}.l5r5e.army-fortification .sheet-body{height:calc(100% - 92px)}.l5r5e.army-fortification article.infos{height:calc(100% - 4.5rem)}.l5r5e.army-fortification article.attributes{height:3.5rem}.l5r5e .item-list>li .item-description{flex:unset;height:0;margin:0;padding:0;font-size:0.75rem;color:rgba(0,0,0,0.75);overflow:hidden;background:rgba(0,0,0,0.05);border:0 none;transition:height 0.25s ease-in}.l5r5e .item-list>li div.item-description{padding:0}.l5r5e .item-list>li div.item-description:hover,.l5r5e .item-list>li div.item-description:active{padding:0}.l5r5e .item-list>li:hover .item-description,.l5r5e .item-list>li:active .item-description{height:6rem;overflow-y:auto;scrollbar-width:thin;border:1px solid rgba(186,187,177,0.5)}.l5r5e .item-list>li:hover p .item-description,.l5r5e .item-list>li:active p .item-description{padding:0.25rem}.l5r5e .item-list .stance-content .item-description{display:none;height:auto}.l5r5e .item-list .stance-content .stance-active{display:block;height:auto;border:0 none}.l5r5e .item-list .stance-content:hover .item-description{height:auto;border:0 none}.l5r5e .item-list .stance-content:hover .stance-active{display:block}.l5r5e.twenty-questions-dialog .sheet-tabs{position:fixed;flex-direction:column;background:url("../assets/imgs/bg-20nav.webp") no-repeat;background-size:cover;width:4rem;height:41.58rem;margin:1%;line-height:5rem;padding:0.25rem;border-bottom:0 none}.l5r5e.twenty-questions-dialog .errors{position:-webkit-sticky;position:sticky;top:1rem;left:1rem;z-index:999;width:calc(100% - 1rem);background-color:#963c41;border:1px solid rgba(25,0,0,0.75);color:#fff;border-radius:1rem;text-align:center;line-height:2rem}.l5r5e.twenty-questions-dialog h3{font-size:1.25rem;color:#5a6e5a;text-shadow:0 0 rgba(0,0,0,0.25);margin:2rem 0 0.5rem 1rem}.l5r5e.twenty-questions-dialog nav .item{color:#000;font-size:2rem;font-weight:bold;background-color:rgba(255,255,255,0.25)}.l5r5e.twenty-questions-dialog nav .item.active,.l5r5e.twenty-questions-dialog nav .item:hover{color:#fff;background-color:rgba(73,12,11,0.85);--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)))}.l5r5e.twenty-questions-dialog nav .item:hover{background-color:#5a6e5a}.l5r5e.twenty-questions-dialog article{padding:2% 2% 2% 18%}.l5r5e.twenty-questions-dialog article label.full{display:block;width:100%;text-align:right;font-size:1rem}.l5r5e.twenty-questions-dialog article label.full input{display:inline;width:80%;float:right;text-align:left;margin-left:0.5rem}.l5r5e.twenty-questions-dialog article>label{font-size:1rem;padding:0 0 0 1rem;line-height:2rem}.l5r5e.twenty-questions-dialog article>label>*{line-height:1rem}.l5r5e.twenty-questions-dialog article table{width:100%;text-align:center}.l5r5e.twenty-questions-dialog article table tr th{color:#5a6e5a;font-weight:normal}.l5r5e.twenty-questions-dialog article table tr td{vertical-align:top;line-height:2rem;border:1px solid rgba(186,187,177,0.5);font-size:0.85rem;padding:0.25rem}.l5r5e.twenty-questions-dialog article table tr td>*{line-height:1rem}.l5r5e.twenty-questions-dialog article table tr td>ul li{line-height:2rem}.l5r5e.twenty-questions-dialog article table tr td>ul li>*{line-height:1rem}.l5r5e.twenty-questions-dialog article table tr td.done{border:1px solid #699678;box-shadow:0 1px 5px #699678}.l5r5e.twenty-questions-dialog article select{height:2rem;color:#764f40;background:rgba(255,255,255,0.25);border:1px solid rgba(255,255,255,0.5);border-radius:0.25rem;padding:0 0.25rem;margin:0.25rem;width:calc(100% - 0.5rem)}.l5r5e.twenty-questions-dialog article textarea{color:#764f40;background:rgba(255,255,255,0.25);border:1px solid rgba(255,255,255,0.5);margin:0 0.25rem 1rem}.l5r5e.twenty-questions-dialog article hr{border-top:1px solid rgba(0,0,0,0.25)}.l5r5e.twenty-questions-dialog article a.entity-link,.l5r5e.twenty-questions-dialog article a.inline-roll{color:#5a6e5a;background:rgba(255,255,255,0.25);border:1px solid rgba(0,0,0,0.25)}.l5r5e.twenty-questions-dialog article a.entity-link i,.l5r5e.twenty-questions-dialog article a.inline-roll i{color:#5a6e5a}.l5r5e.twenty-questions-dialog article .tq-drag-n-drop{border:0 none;padding:0}.l5r5e.twenty-questions-dialog article .third{width:230px}.l5r5e.twenty-questions-dialog article .fifty{width:49%}.l5r5e.twenty-questions-dialog article .or{width:100px}.l5r5e.twenty-questions-dialog article .dropbox{min-height:75px}.l5r5e.twenty-questions-dialog article .checklist{margin:0.25rem 0.25rem 1rem}.l5r5e.twenty-questions-dialog article .checklist strong{display:block;width:100%;color:#764f40}.l5r5e.twenty-questions-dialog article .checklist label{font-size:0.85rem;flex:0 0 auto;margin:0 0.25rem 0.25rem;padding:0 0.5rem;color:#5a6e5a;background:rgba(255,255,255,0.5);border:1px solid #5a6e5a;border-radius:1rem}.l5r5e.twenty-questions-dialog article .checklist label.technique{padding:0.25rem;margin:0.25rem;border-radius:0;display:inline-block}.l5r5e.twenty-questions-dialog article .checklist input{margin:0.25rem 0 0 0;height:0.65rem;width:0.65rem}.l5r5e.twenty-questions-dialog article #generchar_disclaimer{color:#963c41;font-weight:bold;font-size:1.25rem;text-align:center;flex:100%;padding:1rem 0}.l5r5e.twenty-questions-dialog article .next{margin:2rem 0 4rem}.l5r5e.twenty-questions-dialog article .autocomplete-wrapper{width:calc(100% - 2px)} +body>*{scrollbar-width:thin}body:not(.background){background:url("../assets/imgs/bg-table.webp") no-repeat;background-size:cover}.toggle-hidden{display:none !important}.window-app .window-content{z-index:1;position:relative;background:#fffae6 url("../assets/imgs/bg-l5r.webp") no-repeat;background-size:cover;scrollbar-width:thin;padding:0}.window-app .window-content>form,.window-app .window-content>div{padding:0.5rem}.window-app .window-content .compendium,.window-app .window-content .help-dialog{background-position:top;background-size:100%;background:url("../assets/ui/bgSidebar.webp") no-repeat;border:1px solid #c3a582;border-radius:0;color:#fff}.window-app .window-content .compendium ol,.window-app .window-content .help-dialog ol{padding-right:0.25rem}.window-app .window-content .compendium ol li,.window-app .window-content .help-dialog ol li{border-bottom:1px solid rgba(255,255,255,0.25)}.window-app .window-content .compendium .directory-header,.window-app .window-content .help-dialog .directory-header{padding:0.25rem 0}.window-app .window-content .help-dialog{padding:0.5rem 1.5rem}.window-app .window-content .help-dialog button{cursor:default;color:#fff;background:linear-gradient(#5f2841, #411928, #5f2841);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.5rem;border-image-outset:0px}.window-app .window-content .help-dialog button:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}.window-app .window-content .compendium .item{position:relative}.window-app .window-content .compendium .item i{float:right;line-height:1rem;text-align:right;font-size:0.75rem;color:rgba(240,240,225,0.75);font-style:italic;flex:0 0 auto;position:absolute;right:0;text-shadow:0 0 0 rgba(255,255,255,0.1)}.window-app .window-content .compendium .item i:before{margin:0 0.25rem 0 0;font-style:normal}.window-app.sheet .window-content,.window-app.npc .window-content,.window-app.advancement .window-content,.window-app.armor .window-content,.window-app.item .window-content,.window-app.peculiarity .window-content,.window-app.property .window-content,.window-app.technique .window-content,.window-app.weapon .window-content,.window-app.twenty-questions-dialog .window-content{overflow-y:scroll}.window-app .window-resizable-handle{z-index:2;background:#000}.window-app.twenty-questions-dialog .window-content{background:#fffae6 url("../assets/imgs/bg-scroll.webp") no-repeat;background-size:cover}#l5r5e-twenty-questions-dialog{min-height:800px;min-width:600px}*{transition-property:background, color, border-color, text-shadow, box-shadow;transition-duration:0.5s;transition-timing-function:ease}input[type="text"]:focus,input[type="number"]:focus,input[type="password"]:focus,input[type="date"]:focus,input[type="time"]:focus{box-shadow:0 0 6px red}.tabs .item.active{text-shadow:0 0 10px red}#controls .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .control-tool:hover{box-shadow:0 0 10px red}#sidebar #settings button,#sidebar .sidebar-tab .action-buttons button{height:2rem;line-height:initial}button:hover{box-shadow:0 0 10px red}button:focus{box-shadow:0 0 10px red}option{font-size:1rem;line-height:1.5rem;padding:0.25rem;color:#000}ul,li{list-style-type:none;margin:0;padding:0}.item-list>li{padding:0.25rem;border:1px solid rgba(0,0,0,0.05);border-bottom:0 none}.item-list>li:nth-child(odd){background:rgba(186,187,177,0.2)}.item-list>li:nth-child(even){background:rgba(186,187,177,0.1)}.item-list>li:last-child{border-bottom:1px solid rgba(0,0,0,0.05)}fieldset{flex:1;flex-wrap:wrap;display:flex;margin:0 0.25rem;padding:0.5rem;border:1px solid rgba(186,187,177,0.5)}fieldset legend{color:#5a6e5a}fieldset .editor{height:100%}input[type="text"],input[type="number"],input[type="password"],input[type="date"],input[type="time"],textarea{padding:0.25rem;background:rgba(255,255,255,0.5);border:1px solid rgba(186,187,177,0.5);color:#764f40;resize:vertical;border-radius:0}input[type="text"][disabled],input[type="number"][disabled],input[type="password"][disabled],input[type="date"][disabled],input[type="time"][disabled],textarea[disabled]{background:rgba(255,255,255,0.25)}input[type="number"]{text-align:center}.editor,.editor-content{flex:1;height:100%}.earth{color:#699678}.air{color:#917896}.water{color:#5f919b}.fire{color:#9b7350}.void{color:#4b4641}table{background:transparent;border:1px solid rgba(186,187,177,0.5)}table thead{background:rgba(186,187,177,0.5);color:#5a6e5a;text-shadow:none;border-bottom:rgba(186,187,177,0.5)}table tr:nth-child(odd){background:rgba(186,187,177,0.2)}table tr:nth-child(even){background:rgba(186,187,177,0.1)}sub,sup{color:rgba(0,0,0,0.5)}.sheet nav.sheet-tabs{font-size:0.75rem}.editor-content ul,.item-description ul{margin:0.5rem 0}.editor-content ul li,.item-description ul li{list-style-type:initial;margin:0.5rem 0 0.5rem 1.5rem;padding:0}.prepared-character{color:#699678}.prepared-adversary{color:#9b7350}.prepared-minion{color:#5f919b}.prepared-icon{font-weight:900;font-family:"Font Awesome 5 Free";-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1;width:1.5rem}.prepared-icon-true:before{content:"\f06e"}.prepared-icon-false:before{content:"\f070"}.prepared-icon-null:before{content:"\f2a8"}a.compendium-link{background:#ddd;padding:1px 4px;border:1px solid #4b4a44;border-radius:2px;white-space:nowrap;word-break:break-all}#playlists .sound-control i.fas.fa-random,#playlists .sound-control i.far.fa-arrow-alt-circle-right,#playlists .sound-control i.fas.fa-compress-arrows-alt,#playlists .sound-control i.fas.fa-ban{color:#ff6400}#playlists .sound-control i.fas.fa-square{color:#dd0000}#playlists .sound-control i.fas.fa-play,#playlists .sound-control i.fas.fa-play-circle{color:#00dd00}#playlists .sound-control i.fas.fa-pause,#playlists .sound-control i.fas.fa-backward,#playlists .sound-control i.fas.fa-forward{color:#0096ff}.window-draggable-handle{z-index:20 !important}#forien-quest-log .window-content,#forien-quest-log-form .window-content,.window-app.forien-quest-preview .window-content{overflow:initial}#OneJournalShell:first-child>.window-header,#OneJournalShell.maximized>.window-header{z-index:20}@font-face{font-family:"LogotypeL5r";src:url("../fonts/LogotypeL5r.ttf") format("truetype")}@font-face{font-family:"BrushtipTexe";src:url("../fonts/BrushtipTexe.ttf") format("truetype")}@font-face{font-family:"PatrickHand";src:url("../fonts/PatrickHand.ttf") format("truetype")}@font-face{font-family:"Caballar";src:url("../fonts/Caballar.ttf") format("truetype")}@font-face{font-family:"ArchitectsDaughter";src:url("../fonts/ArchitectsDaughter.ttf") format("truetype")}body{font:16px "PatrickHand",sans-serif;letter-spacing:0.05rem}h1,h4{font-family:"BrushtipTexe",sans-serif}h1{font-size:2rem}h2{font-size:1.5rem}h3{font-size:1.25rem}h4{font-size:1.25rem}i.i_strife,i.i_success,i.i_explosive,i.i_opportunity,i.i_earth,i.i_water,i.i_fire,i.i_air,i.i_void,i.i_kiho,i.i_maho,i.i_ninjitsu,i.i_prerequisite_exemption,i.i_rituals,i.i_shuji,i.i_invocations,i.i_kata,i.i_inversion,i.i_mantra,i.i_imperial,i.i_ronin,i.i_crab,i.i_crane,i.i_dragon,i.i_lion,i.i_mantis,i.i_phoenix,i.i_scorpion,i.i_tortoise,i.i_unicorn,i.i_bushi,i.i_courtier,i.i_shugenja,i.i_ring,i.i_skill{font-family:"LogotypeL5r",sans-serif;line-height:1rem;font-size:1.25rem;font-style:normal;font-weight:normal;vertical-align:middle;text-shadow:0 0 0 rgba(0,0,0,0.5)}i.i_strife:before{content:"\E91E";color:#cd0000}i.i_success:before{content:"\E91F";color:#cd0000}i.i_explosive:before{content:"\E920";color:#cd0000}i.i_opportunity:before{content:"\E91D";color:#cd0000}i.i_earth:before{content:"\E90E";color:#699678}i.i_air:before{content:"\E90D";color:#917896}i.i_water:before{content:"\E90C";color:#5f919b}i.i_fire:before{content:"\E90A";color:#9b7350}i.i_void:before{content:"\E90B";color:#4b4641}i.i_invocations:before{content:"\E906";color:#ff6400}i.i_kata:before{content:"\E907";color:red}i.i_kiho:before{content:"\E900";color:#009632}i.i_maho:before{content:"\E901";color:#c83200}i.i_ninjitsu:before{content:"\E902";color:#343434}i.i_prerequisite_exemption:before{content:"\E903";color:#343434}i.i_rituals:before{content:"\E904";color:#0096ff}i.i_shuji:before{content:"\E905";color:#00ff96}i.i_inversion:before{content:"\E908";color:#4b4641}i.i_mantra:before{content:"\E909";color:#fa0}i.i_crab:before{content:"\E916";color:#82828c}i.i_crane:before{content:"\E917";color:#789191}i.i_dragon:before{content:"\E918";color:#55826e}i.i_lion:before{content:"\E910";color:#a08c50}i.i_mantis:before{content:"\E911";color:#2d551e}i.i_phoenix:before{content:"\E912";color:#91784b}i.i_scorpion:before{content:"\E913";color:#9b463c}i.i_tortoise:before{content:"\E914";color:#b4c82d}i.i_unicorn:before{content:"\E915";color:#785a87}i.i_imperial:before{content:"\E90F";color:#78ffb4}i.i_ronin:before{content:"\E919";color:#612001}i.i_bushi:before{content:"\E91A";color:#a55a5a}i.i_courtier:before{content:"\E91B";color:#6982a5}i.i_shugenja:before{content:"\E91C";color:#5aa582}i.i_ring{content:"";background:transparent url("../assets/dices/default/ring_blank.svg") no-repeat 0 center;background-size:1rem;display:inline-block;height:1rem;width:1rem}i.i_skill{content:"";background:transparent url("../assets/dices/default/skill_blank.svg") no-repeat 0 0;background-size:1rem;display:inline-block;height:1rem;width:1rem}.compendium .item i{font-family:"PatrickHand",sans-serif}.compendium .item i:before{font-family:"LogotypeL5r",sans-serif}body,#navigation #scene-list .scene.view,#navigation #scene-list .scene.context,#navigation #nav-toggle,#navigation #scene-list .scene.nav-item,#controls .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .control-tool:hover,#client-settings .window-content form .form-group>label,#client-settings .window-content form .form-group select,#client-settings .form-group input,.app.window-app .form-group label,#sidebar .sidebar-tab #chat-controls div.roll-type-select select,#sidebar .sidebar-tab #chat-controls div.roll-type-select i.fas{cursor:url("../assets/cursors/normal.webp"),default !important}a,#logo,#hotbar .macro,#playlists-popout .global-volume::-webkit-slider-thumb,#sidebar #playlists .global-volume::-webkit-slider-thumb,#playlists-popout li.playlist:not(:first-of-type) li.sound .sound-volume::-webkit-slider-thumb,#sidebar #playlists li.playlist:not(:first-of-type) li.sound .sound-volume::-webkit-slider-thumb,#sidebar #settings button,.app.window-app.sheet.wfrp4e.actor.character-sheet .tab.main.active .main-row .movement.row-section .move-value .auto-calc-toggle,.app.window-app.sheet.wfrp4e.actor.npc-sheet .main-row .movement.row-section .move-value .auto-calc-toggle,.app.window-app.sheet.wfrp4e.actor.creature-sheet .main-row .movement.row-section .move-value .auto-calc-toggle,.app.window-app .form-group input[type="range"]::-webkit-slider-thumb,.token-sheet .tab[data-tab="image"] input[type="range"]::-webkit-slider-thumb,#drawing-config .tab[data-tab="image"] input[type="range"]::-webkit-slider-thumb,.metacurrency-value,.overcast-button,.chargen-button,#controls .scene-control,#controls .control-tool,#effects-config .flex2::-webkit-slider-thumb,#client-settings section.content .submenu>button,#client-settings .window-content button label,form .form-group .form-fields button,.sidebar-tab .action-buttons button,.dialog .dialog-buttons button,.item-edit,.item-delete,.item-equip,.item-curriculum,.technique-edit,.technique-delete,.peculiarity-edit,.peculiarity-delete,.attribute-dtype,.equip-readied-control,form button,label{cursor:url("../assets/cursors/pointer.webp"),pointer !important}.draggable{cursor:url("../assets/cursors/drag.webp"),move !important}.dice-roll .dice-formula,.dice-roll .dice-total{background:rgba(255,255,255,0.1);border:rgba(255,255,255,0.75);text-align:center;margin:0.5rem 0;padding:0.25rem 0.5rem 0.25rem 0.25rem}.dice-roll .dice-formula-rnk,.dice-roll .dice-total-rnk{line-height:2rem}.dice-roll .dice-formula-rnk i,.dice-roll .dice-total-rnk i{margin-left:0.5rem}.dice-roll button.chat-dice-rnk{cursor:url("../assets/cursors/pointer.webp"),pointer;color:#fff;background:linear-gradient(#5f2841, #411928, #5f2841);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.5rem;border-image-outset:0px;margin:0.5rem 0 0}.dice-roll button.chat-dice-rnk:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}.dice-roll button.chat-dice-rnk-ended{background:linear-gradient(rgba(10,0,20,0.75), rgba(0,0,10,0.75), rgba(10,0,20,0.75))}.dice-roll .dice-result-rnk{background:rgba(0,0,255,0.1);border:1px solid rgba(55,55,155,0.75);padding:0.25rem;color:rgba(55,55,155,0.75);text-align:center;font-weight:bold;text-shadow:0 0 0 #000}.dice-roll .dice-result-rnk.success{background:rgba(0,255,0,0.1);border-color:rgba(55,155,55,0.75);color:rgba(55,155,55,0.75)}.dice-roll .dice-result-rnk.success i.i_success{font-size:1rem}.dice-roll .dice-result-rnk.unknown{background:rgba(121,121,121,0.1);border-color:rgba(124,124,124,0.75);color:rgba(91,91,91,0.75)}.dice-roll .dice-result-rnk.fail{background:rgba(255,0,0,0.1);border-color:rgba(155,55,55,0.75);color:rgba(155,55,55,0.75)}.dice-roll .target{display:flex;align-items:center;flex:0 0 100%;margin:0.5rem 0;padding:0.25rem 0.5rem 0.25rem 0.25rem;background:rgba(255,255,255,0.1);border:solid 1px rgba(100,0,0,0.75);border-radius:3px}.dice-roll .target .profile{flex:1;margin:0.25rem 0.25rem 0 0;position:relative}.dice-roll .target .profile .profile-img{position:relative;border:none}.dice-roll .target .name{flex:6;font-family:"BrushtipTexe", sans-serif}.dice-picker{cursor:url("../assets/cursors/pointer.webp"),pointer}.dice-picker-dialog{min-width:600px;min-height:auto}.dice-picker-dialog *{transition:none}.dice-picker-dialog input[type="text"]:focus,.dice-picker-dialog input[type="text"]:hover{box-shadow:none !important;border:none !important;text-shadow:none !important}.dice-picker-dialog select{text-align:center;width:134px;direction:rtl;-webkit-appearance:none;-moz-appearance:none;appearance:none}.dice-picker-dialog option{font-size:0.8rem}.dice-picker-dialog img{border:0}.dice-picker-dialog table{text-align:center;background:none;border:none;border:0 none;margin:0;padding:0}.dice-picker-dialog table tbody tr td{width:250px;padding:0 0.5rem}.dice-picker-dialog table tbody tr td:first-child,.dice-picker-dialog table tbody tr td:last-child{width:150px}.dice-picker-dialog table tbody tr:last-child td{width:100%;padding:0.5rem}.dice-picker-dialog .pointer-choice{cursor:url("../assets/cursors/pointer.webp"),pointer}.dice-picker-dialog .ring-selection.ring-selected i{text-shadow:0px 1px 1px red}.dice-picker-dialog .ring-selection.ring-selected strong{color:rgba(255,0,0,0.75)}.dice-picker-dialog .ring-selection.ring-selected input{border:2px solid rgba(255,0,0,0.75) !important}.dice-picker-dialog .quantity{font-size:xx-large}.dice-picker-dialog .third{display:inline-block;text-align:center;vertical-align:middle}.dice-picker-dialog .dice-container{position:relative;text-align:center}.dice-picker-dialog .dice-container>img{height:40px;width:40px}.dice-picker-dialog .dice-value{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.dice-picker-dialog .input-dice{width:20px;color:#0f0f0e;background:none;border:none;font-size:large}.dice-picker-dialog .input-dice-ring{color:#f0f0e0}.dice-picker-dialog .input-dice-skill{color:#0f0f0e}.roll-n-keep-dialog{min-width:600px;max-width:800px}.roll-n-keep-dialog.finalized{width:auto;min-width:400px}.roll-n-keep-dialog img{border:0}.roll-n-keep-dialog table{display:table;min-height:9rem;border:0 none;margin:0.25rem 0;padding:0}.roll-n-keep-dialog table tbody tr{background:transparent}.roll-n-keep-dialog table tbody tr td{margin:0;padding:0}.roll-n-keep-dialog .rnk-ct{margin:0;display:flex;flex-wrap:wrap;border-radius:0.25rem;background:rgba(0,0,0,0.05);border:1px solid rgba(255,255,255,0.5)}.roll-n-keep-dialog .rnk-ct .rnk-center{flex:350px;flex-wrap:wrap;display:flex}.roll-n-keep-dialog .rnk-ct .form-group{width:100%}.roll-n-keep-dialog .rnk-ct .form-group .form-fields{flex:1}.roll-n-keep-dialog .rnk-ct .form-group .form-fields:nth-child(2){flex:3}.roll-n-keep-dialog .rnk-ct .form-group .form-fields:nth-child(2) input{flex:3}.roll-n-keep-dialog .rnk-ct .form-group .form-fields:nth-child(2) i{flex:unset}.roll-n-keep-dialog .rnk-ct .form-group .range-value{width:2rem}.roll-n-keep-dialog .profil{border-bottom:1px solid rgba(0,0,0,0.1)}.roll-n-keep-dialog .dropbox{position:relative;min-height:7rem}.roll-n-keep-dialog .dropbox legend i:last-child{position:absolute;top:0;right:0;border-radius:0.15rem;padding:0 0.1rem 0 0.15rem;font-size:0.65rem;line-height:1rem;width:1rem;margin:0.25rem;text-align:center;color:white;background:#5a6e5a}.roll-n-keep-dialog .dropbox.faces-change{min-height:40px;margin:0.5rem auto}.roll-n-keep-dialog .dropbox.discards{border:1px solid gray}.roll-n-keep-dialog .dropbox.rerolls{border:1px solid orangered}.roll-n-keep-dialog .dropbox.keeps{flex:100%;border:1px solid green}.roll-n-keep-dialog .dropbox.swap{flex:0 0 calc(100px + 1rem);flex-direction:column;border:1px solid fuchsia}.roll-n-keep-dialog .dropbox.discards,.roll-n-keep-dialog .dropbox.rerolls{flex:0 0 calc(50% - 0.5rem);margin-bottom:0.5rem}.roll-n-keep-dialog .dice-ct{position:relative;padding:0.25rem}.roll-n-keep-dialog .dice-ct:before{content:"";position:absolute;height:0.5rem;width:2px;top:-0.3rem;right:calc(50% - 1px);background:rgba(0,0,0,0.25)}.roll-n-keep-dialog .dice-ct:after{content:"\f128";position:absolute;bottom:0;right:0;border-radius:0.15rem;padding:0 0.15rem;font-size:0.65rem;line-height:1rem;width:0.65rem;text-align:center;color:white;background:gray}.roll-n-keep-dialog .dice-ct.discard{filter:opacity(0.5)}.roll-n-keep-dialog .dice-ct.discard:after{content:"\f00d";background:gray}.roll-n-keep-dialog .dice-ct.reroll{filter:opacity(0.5)}.roll-n-keep-dialog .dice-ct.reroll:after{content:"\f2f9";background:orangered}.roll-n-keep-dialog .dice-ct.keep:after{content:"\f00c";background:green}.roll-n-keep-dialog .dice-ct.swap:after{content:"\f337";background:fuchsia}.roll-n-keep-dialog tr:first-child .dice-ct:before{display:none}.roll-n-keep-dialog .dice{height:40px;width:40px}.roll-n-keep-dialog .dice.discard{filter:opacity(0.5);border:0 none}.roll-n-keep-dialog .dice.reroll{filter:opacity(0.5);border:0 none}.roll-n-keep-dialog .dice.keep{border:0 none}.roll-n-keep-dialog .dice.swap{border:0 none}.roll-n-keep-dialog #finalize{width:100%;margin:0.5rem 0.25rem 0.25rem}.roll-n-keep-dialog .section-header i{font-size:0.75rem;margin:0 0.25rem}.roll-n-keep-dialog .fa-sign-in-alt{transform:rotate(90deg)}.roll-n-keep-dialog .chat-profil ul{display:flex;flex-direction:row}.roll-n-keep-dialog .chat-profil ul li:nth-child(1),.roll-n-keep-dialog .chat-profil ul li:nth-child(2){flex:0 0 4rem;padding:0 0.25rem 0.25rem}.roll-n-keep-dialog .chat-profil ul li:nth-child(4){flex:0 0 4rem;padding:0 0.25rem 0.25rem}.roll-n-keep-dialog .chat-profil ul .profile-img{width:4rem}.roll-n-keep-dialog .chat-profil ul .chat-profil-stance{font-size:3.5rem;line-height:3.5rem}.dice-picker-dialog button,.roll-n-keep-dialog button{cursor:default;color:#fff;background:linear-gradient(#5f2841, #411928, #5f2841);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.5rem;border-image-outset:0px;margin:0.5rem 0 0}.dice-picker-dialog button:hover,.roll-n-keep-dialog button:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}.dice-picker-dialog button[disabled],.roll-n-keep-dialog button[disabled]{opacity:0.25}.dice-picker-dialog button[disabled]:hover,.roll-n-keep-dialog button[disabled]:hover{box-shadow:none}.dice-picker-dialog #context-menu,.roll-n-keep-dialog #context-menu{max-width:none}.dice-picker-dialog .symbols-help,.roll-n-keep-dialog .symbols-help{font-style:italic;color:#666;font-size:0.8rem;line-height:1rem;margin:0.5rem auto 0}.dice-picker-dialog .symbols-help i,.roll-n-keep-dialog .symbols-help i{font-size:1rem;line-height:1rem}button{font-size:0.75rem;cursor:url("../assets/cursors/pointer.webp"),pointer}.pointer{cursor:url("../assets/cursors/pointer.webp"),pointer}#game-details .system{overflow:auto;border-bottom:1px solid var(--color-border-light-highlight)}#sidebar{padding:0.5rem 0.25rem 0.5rem 0.5rem;background-position:top;background-size:100%;background:url("../assets/ui/bgSidebar.webp") no-repeat;border:1px solid #c3a582;border-radius:0;overflow:initial;height:calc(100% - 1.1rem);top:0.2rem;width:320px;min-width:40px;letter-spacing:0.1rem;position:relative;margin-right:0.5rem}#sidebar:before{z-index:-1;content:"";position:absolute;height:calc(100% + 0.6rem);width:100%;border:1px solid #c3a582;border-radius:0;top:-0.35rem;left:0.25rem}#sidebar #sidebar-tabs{flex:0 0 2rem;box-sizing:border-box;margin:0 0 0.25rem;border-bottom:1px solid rgba(195,165,130,0.5);box-shadow:none;display:flex}#sidebar #sidebar-tabs i{flex:1;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:100%;border-radius:100%;color:black}#sidebar #sidebar-tabs i.fa-comments{background-image:url("../assets/ui/sidebar/chat.svg")}#sidebar #sidebar-tabs i.fa-comments:before{content:""}#sidebar #sidebar-tabs i.fa-fist-raised{background-image:url("../assets/ui/sidebar/combat-tracker.svg");background-size:85%}#sidebar #sidebar-tabs i.fa-fist-raised:before{content:""}#sidebar #sidebar-tabs i.fa-map{background-image:url("../assets/ui/sidebar/scenes.svg");background-size:80%}#sidebar #sidebar-tabs i.fa-map:before{content:""}#sidebar #sidebar-tabs i.fa-users{background-image:url("../assets/ui/sidebar/actors.svg");background-size:90%}#sidebar #sidebar-tabs i.fa-users:before{content:""}#sidebar #sidebar-tabs i.fa-suitcase{background-image:url("../assets/ui/sidebar/object.svg")}#sidebar #sidebar-tabs i.fa-suitcase:before{content:""}#sidebar #sidebar-tabs i.fa-book-open{background-image:url("../assets/ui/sidebar/journal.svg")}#sidebar #sidebar-tabs i.fa-book-open:before{content:""}#sidebar #sidebar-tabs i.fa-th-list{background-image:url("../assets/ui/sidebar/rolltable.svg");background-size:85%}#sidebar #sidebar-tabs i.fa-th-list:before{content:""}#sidebar #sidebar-tabs i.fa-id-badge{background-size:85%;color:black;padding-left:2px}#sidebar #sidebar-tabs i.fa-id-badge:before{content:"\f2c1"}#sidebar #sidebar-tabs i.fa-music{background-image:url("../assets/ui/sidebar/playlist.svg");background-size:80%}#sidebar #sidebar-tabs i.fa-music:before{content:""}#sidebar #sidebar-tabs i.fa-atlas{background-image:url("../assets/ui/sidebar/compendium.svg")}#sidebar #sidebar-tabs i.fa-atlas:before{content:""}#sidebar #sidebar-tabs i.fa-cogs{background-image:url("../assets/ui/sidebar/settings.svg");background-size:85%}#sidebar #sidebar-tabs i.fa-cogs:before{content:""}#sidebar #sidebar-tabs>.item{flex:0 0 1.5rem;height:1.5rem;line-height:1.5rem;margin:0.1rem;border-radius:100%;background:rgba(255,255,255,0.5)}#sidebar #sidebar-tabs>.item.active,#sidebar #sidebar-tabs>.item:hover{background:#fff;border:1px solid #c3a582;box-shadow:0 0 10px red}#sidebar #sidebar-tabs .collapse{position:relative;flex:0 0 0.85rem;line-height:1.75rem;color:#c3a582;text-align:center}#sidebar #sidebar-tabs .collapse i{background-color:transparent}#sidebar.collapsed #sidebar-tabs>.item.active{border:1px solid #c3a582;box-shadow:0 0 10px rgba(255,255,255,0.5);border-radius:100%}#sidebar.collapsed #sidebar-tabs .collapse{flex:0 0 1.5rem;margin:0.1rem}#sidebar .sidebar-tab .chat-control-icon{cursor:url("../assets/cursors/pointer.webp"),pointer}#sidebar .sidebar-tab .action-buttons button{cursor:default;color:#fff;background:linear-gradient(#5f2841, #411928, #5f2841);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.5rem;border-image-outset:0px}#sidebar .sidebar-tab .action-buttons button:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}#sidebar #settings button{cursor:default;color:#fff;background:linear-gradient(#5f2841, #411928, #5f2841);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.5rem;border-image-outset:0px}#sidebar #settings button:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}#sidebar #chat-form textarea{color:#000}#sidebar #chat-form textarea,#sidebar .chat-message,#sidebar .blind,#sidebar .whisper,#sidebar #chat-controls .roll-type-select,#sidebar .header-search input{background:transparent url("../assets/ui/chat-texture.webp") repeat-y}#sidebar #chat-form textarea:focus,#sidebar .chat-message:focus,#sidebar .blind:focus,#sidebar .whisper:focus,#sidebar #chat-controls .roll-type-select:focus,#sidebar .header-search input:focus{background:#f0f0e0 url("../assets/ui/chat-texture.webp") repeat-y}#sidebar .header-search input[name="search"]{background-color:rgba(225,215,200,0.25);color:rgba(0,0,0,0.5)}#sidebar .header-search input[name="search"]:focus{background-color:rgba(225,215,200,0.75)}#sidebar .chat-message .message-header{line-height:2rem;border-bottom:1px solid rgba(0,0,0,0.1);margin-bottom:0.25rem;border-radius:0}#sidebar #chat-log{margin:0 0 0.5rem;font-size:1rem}#sidebar #chat-log .message.whisper,#sidebar #chat-log .message.blind,#sidebar #chat-log .message.roll{position:relative}#sidebar #chat-log .message.whisper .message-header .message-metadata:before,#sidebar #chat-log .message.blind .message-header .message-metadata:before,#sidebar #chat-log .message.roll .message-header .message-metadata:before{position:absolute;top:-0.5rem;right:0.25rem;font-size:0.5rem;color:#963c41;height:0}#sidebar #chat-log .message.whisper{font-style:italic}#sidebar #chat-log .message.whisper .message-header .message-metadata:before{content:"(Private)"}#sidebar #chat-log .message.whisper.roll .message-header .message-metadata:before{content:"(Private Roll)"}#sidebar #chat-log .message.blind{font-style:italic}#sidebar #chat-log .message.blind .message-header .message-metadata:before{content:"(Blind)"}#sidebar #chat-log .message.blind.roll .message-header .message-metadata:before{content:"(Blind Roll)"}#sidebar #chat-log .message.roll .message-header .message-metadata:before{content:"(Roll)"}#sidebar .message-sender{color:#963c41;text-shadow:1px 1px 0px rgba(0,0,0,0.25)}#sidebar .message{background-color:rgba(225,215,200,0.25);color:#000}#sidebar .message ul li{padding:0.25rem;border:1px solid rgba(0,0,0,0.05);border-bottom:0 none}#sidebar .message ul li:nth-child(odd){background:rgba(186,187,177,0.2)}#sidebar .message ul li:nth-child(even){background:rgba(186,187,177,0.1)}#sidebar .message ul li:last-child{border-bottom:1px solid rgba(0,0,0,0.05)}#sidebar .message.roll{background-color:rgba(225,215,200,0.75)}#sidebar .message.blind{background-color:rgba(0,0,0,0)}#sidebar .message.whisper{background-color:rgba(225,200,225,0.75)}#hotbar #action-bar .macro{background-position:center;background-size:100%;background:linear-gradient(rgba(10,0,20,0.75), rgba(0,0,10,0.75), rgba(10,0,20,0.75));background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp");border-image:url("../assets/ui/macro-button.webp");border-image-slice:8 fill;border-image-width:0.25rem;border-image-outset:0;border-radius:0}#hotbar #action-bar .macro .macro-key{background:rgba(0,0,0,0.5)}#hotbar #action-bar .macro.active{background:linear-gradient(rgba(0,0,10,0.75), rgba(10,0,20,0.75), rgba(0,0,10,0.75));box-shadow:1px 1px 10px #000 inset;border:1px solid rgba(195,165,130,0.5)}#hotbar #action-bar #macro-list{background:transparent;margin:0;padding:0.05rem;border-radius:0;border:0 none;box-shadow:0.25rem 0.25rem 0.5rem #000}#hotbar .bar-controls{background-position:center;background-size:100%;background:linear-gradient(rgba(10,0,20,0.75), rgba(0,0,10,0.75), rgba(10,0,20,0.75));background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 15 repeat;border-image:url("../assets/ui/macro-button.webp") 15 repeat;border-image-width:0.5rem;border-image-outset:0px;box-shadow:0 0 0.25rem #000;border-radius:0;margin:0 0.5rem}#hotbar .bar-controls a.page-control,#hotbar .bar-controls span.page-number{font-size:1rem;line-height:0.95rem}#players{border-radius:0;background-position:center;background-size:100%;background:linear-gradient(rgba(10,0,20,0.75), rgba(0,0,10,0.75), rgba(10,0,20,0.75));background-origin:padding-box;border:1px solid #c3a582;background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 15 repeat;border-image:url("../assets/ui/macro-button.webp") 15 repeat;border-image-width:0.5rem;border-image-outset:0px;margin:0;padding:0;left:0.2rem;bottom:0.65rem;box-shadow:inset 0 0 0.5rem #000;position:relative}#players:before{z-index:-1;position:absolute;content:"";background:transparent url("../assets/ui/players-border.webp") no-repeat 0 0;background-size:100%;display:block;top:-12px;right:10%;left:10%;bottom:0}#logo{content:url("../assets/l5r-logo.webp");height:80px;width:88px;margin-left:0.5rem;opacity:0.8}#navigation{left:120px}#navigation:before{content:"";background:url("../assets/l5r-logo.webp") no-repeat 0 0;background-size:cover;height:80px;width:88px;opacity:0.65;position:absolute;left:-6.45rem}#navigation:before:hover{opacity:0.75}#navigation #nav-toggle,#navigation #scene-list .scene.nav-item{cursor:default;color:#fff;background:linear-gradient(rgba(10,0,20,0.75), rgba(0,0,10,0.75), rgba(10,0,20,0.75));background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px}#navigation #nav-toggle:hover,#navigation #scene-list .scene.nav-item:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}#navigation #scene-list .scene.nav-item.active{background:linear-gradient(rgba(65,20,15,0.75), rgba(35,10,5,0.75), rgba(65,20,15,0.75))}#navigation #scene-list .scene.nav-item.active:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}#navigation #scene-list .scene.view,#navigation #scene-list .scene.context{cursor:default;color:#fff;background:linear-gradient(rgba(65,20,15,0.75), rgba(35,10,5,0.75), rgba(65,20,15,0.75));background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px;box-shadow:0 0 20px red}#navigation #scene-list .scene.view:hover,#navigation #scene-list .scene.context:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}#controls{top:100px}#controls ol .scene-control.active,#controls ol .control-tool.active,#controls ol .scene-control:hover,#controls ol .control-tool:hover{background:linear-gradient(rgba(65,20,15,0.75), rgba(35,10,5,0.75), rgba(65,20,15,0.75));background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px;box-shadow:0 0 10px red}#controls ol .scene-control.active:hover,#controls ol .control-tool.active:hover,#controls ol .scene-control:hover:hover,#controls ol .control-tool:hover:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}#controls ol .scene-control,#controls ol .control-tool{color:#fff;background:linear-gradient(rgba(10,0,20,0.75), rgba(0,0,10,0.75), rgba(10,0,20,0.75));background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px}#controls ol .scene-control:hover,#controls ol .control-tool:hover{background:linear-gradient(rgba(35,10,5,0.75), rgba(65,20,15,0.75), rgba(35,10,5,0.75))}#playlists .playlist .playlist-header h4{font:0.75rem "PatrickHand",sans-serif;text-transform:uppercase;text-align:right}#combat #combat-round .encounters h3{font-size:0.85rem}#combat #combat-round .encounters ul{display:flex;color:rgba(255,255,255,0.5)}#combat #combat-round .encounters ul.encounter{border-right:1px solid rgba(255,255,255,0.25)}#combat #combat-round .encounters ul li{flex:1;cursor:url("../assets/cursors/pointer.webp"),pointer}#combat #combat-round .encounters .encounter i{font-size:23px;vertical-align:middle}#combat #combat-round .encounters .encounter i:hover{text-shadow:0 0 8px red}#combat #combat-round .encounters .encounter .active{color:#c83200}#combat #combat-round .encounters .encounter .active:hover{text-shadow:none}#combat #combat-round .encounters .encounter-icon{font-weight:900;font-family:"Font Awesome 5 Free";-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}#combat #combat-round .encounters .encounter-icon-intrigue:before{content:"\f21b"}#combat #combat-round .encounters .encounter-icon-duel:before{content:"\f506"}#combat #combat-round .encounters .encounter-icon-skirmish:before{content:"\f505"}#combat #combat-round .encounters .encounter-icon-mass_battle:before{content:"\f447"}#pause img{content:url("../assets/icons/pause.svg")}.compendium-list .compendium-pack .pack-title{margin:0;line-height:1rem}.compendium-list .compendium-pack .compendium-footer{text-align:right;margin-right:2rem;font-size:0.75rem;color:rgba(240,240,225,0.75)}.l5r5e-tooltip{cursor:url("../assets/cursors/pointer.webp"),pointer}.l5r5e-tooltip .l5r5e-tooltip-ct,.l5r5e-tooltip.l5r5e-tooltip-ct{visibility:hidden;min-height:200px;width:600px;height:auto;max-height:100%;background:#3e3a30 url("../assets/imgs/bg-l5r.webp") no-repeat;color:#000;font-size:0.8rem;text-align:left;border:0 none;border-radius:0;padding:0.5rem 0.75rem;display:block;position:absolute;z-index:9999}.l5r5e-tooltip .l5r5e-tooltip-ct *,.l5r5e-tooltip.l5r5e-tooltip-ct *{color:#000}.l5r5e-tooltip .l5r5e-tooltip-ct section>ul,.l5r5e-tooltip.l5r5e-tooltip-ct section>ul{display:flex;flex-flow:row wrap;padding:0.25rem 0 0.25rem 1rem}.l5r5e-tooltip .l5r5e-tooltip-ct section>ul li,.l5r5e-tooltip.l5r5e-tooltip-ct section>ul li{flex:50%;padding:0;padding-right:1rem;margin:0;list-style-type:square}.l5r5e-tooltip .l5r5e-tooltip-ct:before,.l5r5e-tooltip.l5r5e-tooltip-ct:before{z-index:-2;content:"";position:absolute;height:calc(100% + 0.6rem);width:calc(100% - 0.65rem);border:1px solid #c3a582;border-radius:0;top:-0.35rem;left:0.25rem;background:#3e3a30 url("../assets/imgs/bg-l5r.webp") no-repeat}.l5r5e-tooltip .l5r5e-tooltip-ct:after,.l5r5e-tooltip.l5r5e-tooltip-ct:after{z-index:-1;content:"";position:absolute;height:calc(100%);width:calc(100%);border:1px solid #c3a582;border-radius:0;top:-1px;left:-1px}.l5r5e-tooltip .l5r5e-tooltip-ct .goodvalue,.l5r5e-tooltip.l5r5e-tooltip-ct .goodvalue{color:#4e8c69}.l5r5e-tooltip .l5r5e-tooltip-ct .badvalue,.l5r5e-tooltip.l5r5e-tooltip-ct .badvalue{color:#ab2a00}.l5r5e-tooltip .card-header img{display:inline-block;background:transparent;border:0 none;width:20px;margin:0;padding:0}.l5r5e-chat-item{color:#000;font-size:0.8rem}.l5r5e-chat-item *{color:#000}.l5r5e-chat-item h2{font-size:1.1rem}.l5r5e-chat-item section>ul{display:flex;flex-flow:row wrap;padding:0.25rem 0 0.25rem 1rem}.l5r5e-chat-item section>ul li{flex:100%;padding:1px !important;margin:0;border:0 none !important;list-style-type:square}.l5r5e-chat-item .card-header img{display:inline-block;background:transparent;border:0 none;width:20px;margin:0;padding:0}#l5r5e-gm-monitor{min-height:170px;min-width:240px}#l5r5e-gm-monitor .window-content form{padding:0 0.5rem}#l5r5e-gm-monitor .window-content thead tr>th{background:rgba(186,187,177,0.9);position:-webkit-sticky;position:sticky;z-index:2;top:0}#l5r5e-gm-monitor .window-content th,#l5r5e-gm-monitor .window-content td{border:1px solid #5a6e5a50;padding:0.25em}#l5r5e-gm-monitor .window-content img{border:none;min-width:24px;min-height:24px;max-width:32px;max-height:32px}#l5r5e-gm-monitor .window-content .goodvalue{color:#4e8c69}#l5r5e-gm-monitor .window-content .badvalue{color:#ab2a00}#l5r5e-gm-monitor .window-draggable-handle{display:none}#l5r5e-gm-toolbox{display:flex;background-position:center;background-size:100%;background:linear-gradient(rgba(10,0,20,0.75), rgba(0,0,10,0.75), rgba(10,0,20,0.75));background-origin:padding-box;border:1px solid #c3a582;background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.5rem;border-image-outset:0px;padding:0;margin:0.5rem}#l5r5e-gm-toolbox .window-header{text-align:center;border-bottom:1px solid #c3a582}#l5r5e-gm-toolbox .window-header h4{letter-spacing:0.25rem;line-height:2.25rem;color:rgba(255,255,255,0.65)}#l5r5e-gm-toolbox .window-content{text-align:center;vertical-align:middle;background:transparent;color:rgba(255,255,255,0.65)}#l5r5e-gm-toolbox .window-content form{padding:0}#l5r5e-gm-toolbox .window-content .gm-tools-container{display:flex;font-size:2rem;line-height:2rem;min-height:2rem;margin:0}#l5r5e-gm-toolbox .window-content .gm-tools-container li{flex:1;display:flex;margin:0;padding:0;border-right:1px solid #c3a582;cursor:url("../assets/cursors/pointer.webp"),pointer}#l5r5e-gm-toolbox .window-content .gm-tools-container li:last-child{margin:0;border:0 none}#l5r5e-gm-toolbox .window-content .gm-tools-container li :hover{text-shadow:0 0 red}#l5r5e-gm-toolbox .window-content .gm-tools-container .difficulty_hidden .fa{width:3rem}#l5r5e-gm-toolbox .window-content .gm-tools-container .difficulty_hidden .difficulty{flex:1rem;width:2rem;font-size:2rem;text-align:center;margin:0;padding:0.5rem}#l5r5e-gm-toolbox .window-content .gm-tools-container .fa{padding:0.5rem}#l5r5e-gm-toolbox .window-content .gm-tools-container .fa-bed,#l5r5e-gm-toolbox .window-content .gm-tools-container .fa-star-half-alt,#l5r5e-gm-toolbox .window-content .gm-tools-container .fa-table,#l5r5e-gm-toolbox .window-content .gm-tools-container .fa-podcast{width:100%;padding:0.5rem}#l5r5e-gm-toolbox .window-draggable-handle{display:none}.autocomplete-wrapper{position:relative;display:inline-block}.autocomplete-wrapper .autocomplete-list{position:absolute;border:1px solid #6e7e6b;border-bottom:none;border-top:none;z-index:99;top:100%;left:0;right:0}.autocomplete-wrapper .autocomplete-list div{padding:10px;cursor:pointer;background-color:#fff;border-bottom:1px solid #6e7e6b;text-align:left}.autocomplete-wrapper .autocomplete-list div:hover{background-color:#e9e9e9}.autocomplete-wrapper .autocomplete-active{background-color:DodgerBlue !important;color:#ffffff}.l5r5e .chat-dice{display:inline;position:relative;padding:0;margin:0}.l5r5e .chat-dice:after{content:"";position:absolute;bottom:0;right:0;border-radius:0.15rem;padding:0 0.225rem 0 0.15rem;font-size:0.75em;line-height:1rem;width:1em;text-align:center;color:white;background:transparent}.l5r5e .chat-dice:last-of-type:after,.l5r5e .chat-dice:nth-child(6):after,.l5r5e .chat-dice:nth-child(12):after,.l5r5e .chat-dice:nth-child(18):after{padding:0 0.175rem 0 0.15rem}.l5r5e .chat-dice.rerolled>img{border-bottom:0 none}.l5r5e .chat-dice.rerolled:after{content:"\f2f9";background:orangered}.l5r5e .chat-dice.swapped>img{border-bottom:0 none}.l5r5e .chat-dice.swapped:after{content:"\f337";background:fuchsia}.l5r5e .chat-dice>img{border:1px solid transparent;height:auto;width:calc(100% / 6 - 0.255rem);margin:auto}.l5r5e .chat-profil{text-align:center;vertical-align:middle}.l5r5e .chat-profil .profile-img{margin:0.25rem 0.25rem 0 0}.l5r5e .chat-profil-stance{font-size:2.5rem;line-height:2.5rem;margin:0.25rem;text-shadow:1px 1px 1px rgba(0,0,0,0.5)}.l5r5e .chat-profil-element{flex-wrap:wrap;flex-grow:1}.l5r5e .chat-profil-element-skill{flex-grow:3}.l5r5e .chat-profil-element:last-child{flex-grow:2}.l5r5e.sheet{min-width:600px}.l5r5e.sheet label:hover{text-shadow:0 0 2px red}.l5r5e.sheet .l5r-buttons-bar{display:flex;flex:0 0 100%;overflow:hidden;padding:0 8px;line-height:1.9rem;justify-content:flex-end;background:rgba(186,187,177,0.5);height:2rem}.l5r5e.sheet .l5r-buttons-bar a.l5r-header-button{flex:none;margin:0 0 0 8px}.l5r5e.sheet.actor .sheet-header{height:26rem}.l5r5e.sheet.actor .sheet-header h1{flex:auto;margin:0 0 0.25rem 0.5rem}.l5r5e.sheet.actor .sheet-body{height:calc(100% - 28rem)}.l5r5e.sheet.actor fieldset.advancement,.l5r5e.sheet.actor fieldset.items-wrapper{display:grid;flex:calc(100%)}.l5r5e.sheet.actor .advancements-tabs{height:2rem;line-height:2rem;font-size:1rem}.l5r5e.sheet form{display:flex;flex-wrap:wrap;align-content:flex-start}.l5r5e.sheet .sheet-body{flex:0 0 100%;align-items:flex-start}.l5r5e.sheet section.tab[data-tab],.l5r5e.sheet article.tab[data-tab]{display:none}.l5r5e.sheet section.tab[data-tab].active,.l5r5e.sheet article.tab[data-tab].active{display:flex}.l5r5e.sheet .sheet-header{flex:0 0 100%;align-items:flex-start}.l5r5e.sheet .sheet-header input{flex:0 0 3rem;font-size:1.5rem;height:2rem}.l5r5e.sheet .sheet-header h1{flex:0 0 calc(100% - 90px - 1.25rem);margin:0 0 0.25rem 1rem}.l5r5e.sheet .sheet-header h1 input{flex:0 0 100%;font-size:3rem;height:5rem;margin:0;width:100%;text-align:right;color:#963c41;text-shadow:0 0 1px #963c41;background:transparent;border:0 none;border-radius:0;border-bottom:1px solid rgba(90,110,90,0.25)}.l5r5e.sheet .sheet-header h1:before{content:"";position:absolute;background:url("../assets/imgs/brush.webp") no-repeat 0 0;background-size:contain;height:225px;width:100%;z-index:-1;top:-1rem;left:-0.25rem}.l5r5e.sheet .sheet-header img{flex:0 0 150px;height:150px;width:150px;margin-right:0;-o-object-fit:contain;object-fit:contain;background:rgba(255,255,255,0.25);border:1px solid rgba(186,187,177,0.25);--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)))}.l5r5e.sheet .sheet-header .compromised input{border:1px solid #963c41;box-shadow:0 1px 5px #963c41}.l5r5e.sheet .sheet-header .header-fields{position:relative;flex:0 0 100%}.l5r5e.sheet .sheet-header .header-fields h2{font-family:"BrushtipTexe",sans-serif;font-size:1rem;float:left;width:30%;padding:0.25rem 0.25rem 0;margin:1rem 20% 0 0;text-align:center;color:rgba(0,0,0,0.25);text-shadow:0 0 1px rgba(90,110,90,0.25);border-bottom:0 none;background:rgba(186,187,177,0.5);--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%))}.l5r5e.sheet .sheet-header .header-fields h2.right{margin:1rem 0 0 20%;-webkit-clip-path:polygon(0% 0, var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 100% 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));clip-path:polygon(0% 0, var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 100% 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)))}.l5r5e.sheet .sheet-header .header-fields h2:before{content:"";position:absolute;height:1px;width:100%}.l5r5e.sheet .sheet-header .identity-wrapper{display:flex;position:initial;flex-wrap:wrap;flex:0 0 calc(100% - 150px)}.l5r5e.sheet .sheet-header .identity-wrapper label{display:flex;color:#5a6e5a;text-transform:uppercase;font-size:0.75rem;line-height:2rem}.l5r5e.sheet .sheet-header .identity-wrapper label input{flex:1;font-size:1.25rem;height:1.75rem;margin:0 1rem 0 0.5rem;padding:0 0.25rem 0.25rem}.l5r5e.sheet .sheet-header .identity-wrapper label input[disabled]{border:1px solid rgba(186,187,177,0.5);background:rgba(255,255,255,0.25)}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content{flex:0 0 100%;display:flex;flex-wrap:wrap;margin:0;padding-top:0.25rem;padding-left:0.5rem}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li{flex:33%}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(1),.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(2){flex:calc(50% - 3rem);margin:0 0 0.25rem}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(3){flex:auto}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(3) input{width:1rem;padding:0;margin-right:0}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(4),.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(5){flex:60%}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(4) input,.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(5) input{font-size:1rem}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(5){flex:40%}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(5) input{margin-right:0}.l5r5e.sheet .sheet-header .rings{float:left;width:40%;padding:0;position:relative;top:-1.5rem}.l5r5e.sheet .sheet-header .social-content,.l5r5e.sheet .sheet-header .attributes-wrapper{flex:none;float:left;width:30%;flex-wrap:wrap;display:flex;padding:0.5rem 0 0 0.25rem;border-left:2px solid rgba(186,187,177,0.5)}.l5r5e.sheet .sheet-header .social-content li,.l5r5e.sheet .sheet-header .attributes-wrapper li{position:relative}.l5r5e.sheet .sheet-header .social-content li:before,.l5r5e.sheet .sheet-header .attributes-wrapper li:before{content:"";position:absolute;background:linear-gradient(rgba(186,187,177,0.5), rgba(186,187,177,0));height:2px;width:97%;top:-0.25rem;left:-0.25rem}.l5r5e.sheet .sheet-header .social-content li:nth-child(2):before,.l5r5e.sheet .sheet-header .attributes-wrapper li:nth-child(2):before{width:90%}.l5r5e.sheet .sheet-header .social-content li:nth-child(3):before,.l5r5e.sheet .sheet-header .attributes-wrapper li:nth-child(3):before{width:80%}.l5r5e.sheet .sheet-header .social-content li:nth-child(4):before,.l5r5e.sheet .sheet-header .attributes-wrapper li:nth-child(4):before{width:90%}.l5r5e.sheet .sheet-header .social-content label,.l5r5e.sheet .sheet-header .attributes-wrapper label{display:flex;color:#5a6e5a;text-transform:uppercase;font-size:0.75rem;height:2.5rem;margin:0.25rem 0;flex-direction:row-reverse}.l5r5e.sheet .sheet-header .social-content label strong,.l5r5e.sheet .sheet-header .attributes-wrapper label strong{flex:0 0 calc(100% - 3.5rem)}.l5r5e.sheet .sheet-header .social-content label input,.l5r5e.sheet .sheet-header .attributes-wrapper label input{flex:0 0 3rem;margin:0 0.25rem;height:2rem}.l5r5e.sheet .sheet-header .social-content label input[disabled],.l5r5e.sheet .sheet-header .attributes-wrapper label input[disabled]{background:rgba(255,255,255,0.25)}.l5r5e.sheet .sheet-header .social-content .affinities,.l5r5e.sheet .sheet-header .attributes-wrapper .affinities{padding-top:0.25rem}.l5r5e.sheet .sheet-header .social-content .affinities .ring,.l5r5e.sheet .sheet-header .attributes-wrapper .affinities .ring{display:flex;flex-wrap:wrap;flex-direction:unset;flex:3rem;height:1.5rem;margin:0}.l5r5e.sheet .sheet-header .social-content .affinities i,.l5r5e.sheet .sheet-header .attributes-wrapper .affinities i{flex:1rem;margin:0;text-align:center}.l5r5e.sheet .sheet-header .social-content .affinities input,.l5r5e.sheet .sheet-header .attributes-wrapper .affinities input{flex:1.25rem;height:1.25rem;margin:0}.l5r5e.sheet .sheet-header .focus-content,.l5r5e.sheet .sheet-header .vigilance-content{flex:0 0 50%;padding-bottom:0.5rem}.l5r5e.sheet .sheet-header .focus-content .attribute-label,.l5r5e.sheet .sheet-header .vigilance-content .attribute-label{flex-wrap:wrap;height:auto}.l5r5e.sheet .sheet-header .focus-content .attribute-label strong,.l5r5e.sheet .sheet-header .vigilance-content .attribute-label strong{flex:100%;text-align:center}.l5r5e.sheet .sheet-header .focus-content .attribute-label input,.l5r5e.sheet .sheet-header .vigilance-content .attribute-label input{flex:1 0 3rem}.l5r5e.sheet .sheet-header .focus-content .attribute-label:before,.l5r5e.sheet .sheet-header .vigilance-content .attribute-label:before{top:auto;bottom:0.1rem;height:calc(100% - 1.45rem);width:calc(100% - 0.4rem)}.l5r5e.sheet .sheet-header .attributes-wrapper{padding:0.5rem 0.25rem 0 0;border-left:0 none;border-right:2px solid rgba(186,187,177,0.5)}.l5r5e.sheet .sheet-header .attributes-wrapper li:before{left:auto;right:-0.25rem}.l5r5e.sheet .sheet-header .attributes-wrapper li.focus-content:before{width:0}.l5r5e.sheet .sheet-header .attributes-wrapper li.vigilance-content:before{width:160%}.l5r5e.sheet .sheet-header .attributes-wrapper li.void-content:before{width:90%}.l5r5e.sheet .sheet-header .attributes-wrapper label{flex-direction:row;width:100%}.l5r5e.sheet .sheet-header .attributes-wrapper label strong{text-align:right}.l5r5e.sheet .sheet-header .attributes-wrapper label:nth-child(2) strong{position:absolute;top:0;left:0;font-size:0.65rem;width:3rem;color:rgba(0,0,0,0.25)}.l5r5e.sheet .sheet-header .attributes-wrapper label:nth-child(2) input{font-size:1.25rem;padding-top:0.75rem}.l5r5e.sheet .sheet-header .attributes-wrapper .endurance-content label:nth-child(1) strong,.l5r5e.sheet .sheet-header .attributes-wrapper .composure-content label:nth-child(1) strong{flex:0 0 calc(100% - 6rem)}.l5r5e.sheet .sheet-header .attributes-wrapper .endurance-content label:nth-child(1) input,.l5r5e.sheet .sheet-header .attributes-wrapper .composure-content label:nth-child(1) input{flex:0 0 5.5rem;padding-right:3rem}.l5r5e.sheet .sheet-header .attributes-wrapper .endurance-content label:nth-child(2),.l5r5e.sheet .sheet-header .attributes-wrapper .composure-content label:nth-child(2){position:absolute;right:0;width:3.5rem}.l5r5e.sheet .sheet-header .attributes-wrapper .attributes-buttons{line-height:13px;position:relative;top:0.2rem}.l5r5e.sheet .sheet-header .attributes-wrapper .void-content{width:100%;padding-top:0.25rem}.l5r5e.sheet .sheet-header .attributes-wrapper .void-content label{margin:0}.l5r5e.sheet .sheet-header .attributes-wrapper .void-content label strong{flex:1 0 calc(100% - 5rem);padding:0 0.25rem}.l5r5e.sheet .sheet-header .attributes-wrapper .void-content label strong:after{content:"/";position:absolute;right:1.25rem;font-size:1rem;bottom:0.6rem;color:#764f40}.l5r5e.sheet .sheet-header .attributes-wrapper .void-content label input:nth-child(2){flex:3rem;padding-right:1.25rem}.l5r5e.sheet .sheet-header .attributes-wrapper .void-content label input:last-child{flex:1;border:0 none;font-size:1rem;text-align:right;padding-left:0.25rem;padding-top:0.75rem;position:absolute;right:0.25rem;width:1rem}.l5r5e.sheet .sheet-header .attributes-wrapper li{display:flex}.l5r5e.sheet .sheet-header .attributes-wrapper li p{display:none;z-index:2;position:absolute;background:rgba(0,0,0,0.5);color:#fff;line-height:1.5rem;text-align:center;width:100%;padding:0.25rem;bottom:-2.25rem;right:-0.25rem;--notchSize: 0.5rem;-webkit-clip-path:polygon(0% 0, 0 0%, 100% 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));clip-path:polygon(0% 0, 0 0%, 100% 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)))}.l5r5e.sheet .sheet-header .attributes-wrapper li:hover p{display:block;height:auto}.l5r5e.sheet .sheet-header .attributes-wrapper .focus-content p,.l5r5e.sheet .sheet-header .attributes-wrapper .vigilance-content p{bottom:-3.75rem}.l5r5e.sheet .sheet-header .attribute-label{position:relative}.l5r5e.sheet .sheet-header .attribute-label:before{z-index:-1;content:"";position:absolute;height:calc(100% - 0.85rem);width:3.1rem;border:1px solid rgba(186,187,177,0.5);border-radius:0;top:0.15rem;left:0.15rem}.l5r5e.sheet .sheet-header .identity-content .attribute-label:before{height:calc(100% - 0.6rem);width:calc(100% - 0.65rem);left:auto;top:0.15rem;right:0.85rem}.l5r5e.sheet .sheet-header .identity-content li:nth-child(3) .attribute-label:before,.l5r5e.sheet .sheet-header .identity-content li:nth-child(5) .attribute-label:before{height:calc(100% - 0.6rem);width:calc(100% + 0.25rem);left:auto;top:0.15rem;right:-0.15rem}.l5r5e.sheet .sheet-header .attributes-wrapper .attribute-label:nth-child(2):before{left:auto;right:3.15rem;width:2.6rem}.l5r5e.sheet .sheet-header .attributes-wrapper .attribute-label:before{left:auto;right:0.15rem}.l5r5e.sheet .sheet-header .void-content .attribute-label:before{width:3.85rem}.l5r5e.sheet article{background:rgba(255,255,255,0.5);padding:0.5rem;flex-wrap:wrap;min-height:calc(100% - 3.25rem)}.l5r5e.sheet article fieldset h3{font-size:1.25rem;width:100%;text-align:left;line-height:2rem;color:#764f40;border-bottom:1px solid}.l5r5e.sheet article fieldset h3 .item-control.item-add{float:right;font-size:0.75rem;line-height:0.75rem;border:1px solid;padding:0.25rem;margin:0.25rem;color:#fff;background:#764f40}.l5r5e.sheet article fieldset h3 .item-control.item-add:hover{opacity:0.75}.l5r5e.sheet article .narrative-content{flex:100%;display:flex}.l5r5e.sheet article .narrative-content fieldset{flex:0 0 calc(50% - 0.5rem)}.l5r5e.sheet article .narrative-content fieldset label{width:100%}.l5r5e.sheet article .narrative-list{flex:0 0 50%}.l5r5e.sheet article .narrative-list fieldset{flex:0 0 50%}.l5r5e.sheet article .narrative-list fieldset label{width:100%}.l5r5e.sheet article .narrative-fluff{flex:1;flex:0 0 50%}.l5r5e.sheet article .narrative-fluff .narrative-description{max-height:13rem;font-size:0.85rem;flex:1}.l5r5e.sheet article .narrative-fluff .narrative-note{font-size:0.85rem}.l5r5e.sheet article .narrative-fluff .editor-content{min-height:10rem}.l5r5e.sheet article .techniques-wrapper{padding-left:0.25rem}.l5r5e.sheet article .techniques-wrapper fieldset{margin:0 0 0 0.25rem}.l5r5e.sheet article .techniques-wrapper .dice-picker-tech:hover{text-shadow:0 0 2px red}.l5r5e.sheet article .techniques-wrapper .checklist{display:flex;flex-wrap:wrap;font-size:0.85rem;margin:0 0 0.25rem 0.25rem;padding:0.5rem;background:rgba(186,187,177,0.5);--notchSize: 0.25rem;-webkit-clip-path:polygon(0% 0, var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 100% 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));clip-path:polygon(0% 0, var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 100% 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)))}.l5r5e.sheet article .techniques-wrapper .checklist i{color:rgba(0,0,0,0.5);margin-right:0.5rem}.l5r5e.sheet article .techniques-wrapper .checklist label{flex:0 0 auto;margin:0 0.25rem 0.25rem;padding:0 0.5rem;color:#5a6e5a;background:rgba(255,255,255,0.5);border:1px solid #5a6e5a;border-radius:1rem}.l5r5e.sheet article .techniques-wrapper .checklist input{margin:0.25rem 0 0 0;height:0.65rem;width:0.65rem}.l5r5e.sheet article .stances-content{flex:100%;height:100%;align-self:flex-start}.l5r5e.sheet article .stances-content .item-list{position:relative;padding-top:2rem;margin:0}.l5r5e.sheet article .stances-content .stance-content{padding:0;margin:0}.l5r5e.sheet article .stances-content .stance-content label{display:block;position:absolute;top:0;left:0;width:20%;line-height:1.5rem;padding:0.25rem;color:#fff}.l5r5e.sheet article .stances-content .stance-content label.earth{background:#699678}.l5r5e.sheet article .stances-content .stance-content label.air{background:#917896;left:20%}.l5r5e.sheet article .stances-content .stance-content label.water{background:#5f919b;left:40%}.l5r5e.sheet article .stances-content .stance-content label.fire{background:#9b7350;left:60%}.l5r5e.sheet article .stances-content .stance-content label.void{background:#4b4641;left:80%}.l5r5e.sheet article .stances-content .stance-content label input{float:right;position:relative;top:0.3rem;right:0.25rem}.l5r5e.sheet article .weapons-content,.l5r5e.sheet article .armors-content{flex:0 0 calc(50% - 0.5rem)}.l5r5e.sheet .xp,.l5r5e.sheet .money-wrapper{flex:100%;flex-direction:row;color:#000}.l5r5e.sheet .xp label,.l5r5e.sheet .money-wrapper label{display:flex;flex:calc(100% / 3);padding:0.5rem;font-size:0.85rem}.l5r5e.sheet .xp label input,.l5r5e.sheet .money-wrapper label input{margin-left:0.5rem}.l5r5e.sheet .xp .money-buttons,.l5r5e.sheet .money-wrapper .money-buttons{line-height:13px}.l5r5e.sheet table{font-size:0.85rem;color:#000;text-align:left}.l5r5e.sheet table thead{font-family:"BrushtipTexe",sans-serif;font-weight:normal}.l5r5e.sheet table thead th{padding-left:0.5rem;padding-right:0.5rem;font-size:1rem}.l5r5e.sheet table thead th:first-child{flex:calc(100% - 16rem);padding-left:0.5rem;text-align:left}.l5r5e.sheet table thead th:nth-child(2){flex:0 0 2rem}.l5r5e.sheet table thead th:nth-child(3),.l5r5e.sheet table thead th:nth-child(4){flex:0 0 4rem}.l5r5e.sheet table tbody .curriculum{flex:0 0 2rem}.l5r5e.sheet table tbody .name{flex:calc(100% - 13rem);padding-left:0.5rem;text-align:left}.l5r5e.sheet table tbody .xp,.l5r5e.sheet table tbody .rank{flex:0 0 4rem}.l5r5e.sheet table tbody .actions{flex:0 0 3rem;font-size:0.75rem}.l5r5e.sheet table tbody .actions ul{display:flex;flex-direction:row}.l5r5e.sheet table tbody .actions ul li{flex:0 0 1rem}.l5r5e.sheet table tbody .actions ul li:hover{color:rgba(255,0,0,0.75)}.l5r5e.sheet table tbody .tfoot{padding:0.25 0.5rem;background:rgba(186,187,177,0.5);text-shadow:none;border-top:rgba(186,187,177,0.5);text-align:center}.l5r5e.sheet table tbody img{width:16px;height:16px;border:none}.l5r5e.sheet .inventory .items-wrapper h3{background:rgba(90,110,90,0.15);color:#5a6e5a;border-bottom:1px solid #fff;font-family:"Caballar",sans-serif;font-size:1rem;padding-left:0.5rem;margin:0}.l5r5e.sheet .inventory .items-wrapper .item-list{display:block}.l5r5e.sheet.actor .initiative-wrapper,.l5r5e.sheet.npc .initiative-wrapper{flex:100%;height:100%;align-self:flex-start;text-align:center;display:block}.l5r5e.sheet.actor .initiative button,.l5r5e.sheet.npc .initiative button{width:auto;min-width:20%;margin:0 0.25rem 0.25rem;padding:0 0.5rem;color:#5a6e5a;background:rgba(255,255,255,0.5);border:1px solid #5a6e5a;border-radius:1rem;line-height:1.5rem;height:1.5rem}.l5r5e.sheet.actor .initiative button:focus,.l5r5e.sheet.npc .initiative button:focus{box-shadow:none}.l5r5e.sheet.actor .limited h1,.l5r5e.sheet.npc .limited h1{margin:0.5rem 0}.l5r5e.sheet.actor .limited img.full,.l5r5e.sheet.npc .limited img.full{flex:initial;height:auto;width:-webkit-max-content;width:-moz-max-content;width:max-content;border:0 none;margin:0 auto}.l5r5e.sheet.actor .limited .sheet-header,.l5r5e.sheet.npc .limited .sheet-header{flex:none;height:auto;width:100%}.l5r5e.sheet.actor .limited ul,.l5r5e.sheet.npc .limited ul{display:flex;flex-wrap:wrap}.l5r5e.sheet.actor .limited ul li,.l5r5e.sheet.npc .limited ul li{flex:50%;padding:0.25rem 0}.l5r5e.sheet.actor .limited ul li input,.l5r5e.sheet.npc .limited ul li input{width:75%;float:right}.l5r5e.sheet.actor .limited ul li:nth-child(1),.l5r5e.sheet.actor .limited ul li:nth-child(2),.l5r5e.sheet.npc .limited ul li:nth-child(1),.l5r5e.sheet.npc .limited ul li:nth-child(2){flex:calc(50% - 5rem);margin-right:1rem}.l5r5e.sheet.actor .limited ul li:nth-child(3),.l5r5e.sheet.npc .limited ul li:nth-child(3){flex:auto}.l5r5e.sheet.actor .limited ul li:nth-child(3) input,.l5r5e.sheet.npc .limited ul li:nth-child(3) input{width:2rem}.l5r5e.sheet.actor .limited ul li:nth-child(4),.l5r5e.sheet.actor .limited ul li:nth-child(5),.l5r5e.sheet.npc .limited ul li:nth-child(4),.l5r5e.sheet.npc .limited ul li:nth-child(5){flex:calc(50% - 1rem);margin-right:1rem}.l5r5e.sheet.actor .limited ul li:nth-child(4) input,.l5r5e.sheet.actor .limited ul li:nth-child(5) input,.l5r5e.sheet.npc .limited ul li:nth-child(4) input,.l5r5e.sheet.npc .limited ul li:nth-child(5) input{font-size:1rem}.l5r5e.sheet nav.sheet-tabs{flex:100%}.l5r5e.sheet .editable[data-lang="Español"] .sheet-header .focus-content .attribute-label strong,.l5r5e.sheet .editable[data-lang="Español"] .sheet-header .vigilance-content .attribute-label strong{font-size:0.7rem;line-height:1.1rem}.l5r5e.npc .sheet-header h1:before{top:-3.75rem}.l5r5e.npc .sheet-header img{flex:0 0 90px;height:90px;width:90px}.l5r5e.npc .sheet-header fieldset{flex:1 1 100%;min-height:2rem;width:100%;margin:0}.l5r5e.npc .sheet-header .header-fields{padding:0}.l5r5e.npc .sheet-header .identity-wrapper{flex:1 1 100%}.l5r5e.npc .sheet-header .identity-wrapper h1{margin:0 0.25rem 1rem 1rem}.l5r5e.npc .sheet-header .identity-wrapper .identity-list{flex:0 0 100%;display:flex;margin:0.25rem 0 0.5rem}.l5r5e.npc .sheet-header .identity-wrapper .identity-list li{flex:1;flex-wrap:wrap;display:flex}.l5r5e.npc .sheet-header .identity-wrapper .identity-list li select{width:100%;background:rgba(255,255,255,0.5);border:0 none;text-transform:capitalize;color:#764f40;font-family:"PatrickHand",sans-serif;font-weight:bold;font-size:1rem;letter-spacing:0.15rem}.l5r5e.npc .sheet-header .identity-wrapper .identity-list li i,.l5r5e.npc .sheet-header .identity-wrapper .identity-list li input{font-size:1.25rem;height:1.5rem;line-height:1.5rem;width:7.25rem;margin:auto;text-align:center}.l5r5e.npc .sheet-header .affinities{display:flex;flex-wrap:wrap}.l5r5e.npc .sheet-header .affinities select{position:relative;background:transparent;border:0 none;margin:0;padding:0;text-align:left;font-weight:bold;margin:0 0 0.25rem 0;color:#5a6e5a}.l5r5e.npc .sheet-header .affinities input{flex:1rem;font-size:1rem;height:1.5rem}.l5r5e.npc .sheet-header .social-content{margin-bottom:0.5rem}.l5r5e.npc .sheet-header .social-content .attitude{height:1.5rem;padding-left:0.25rem}.l5r5e.npc .sheet-header .social-content .attitude input{height:1.5rem;flex:1;margin-right:0}.l5r5e.npc .sheet-body{padding:0}.l5r5e.npc .npc-skill{display:flex;width:100%;line-height:2rem;font-size:0.75rem;margin:0 0 0.5rem;text-align:center}.l5r5e.npc .npc-skill li{flex:1;padding:0.25rem;text-transform:uppercase;color:#fff}.l5r5e.npc .npc-skill li:nth-child(1){background:#4b4641}.l5r5e.npc .npc-skill li:nth-child(2){background:#699678}.l5r5e.npc .npc-skill li:nth-child(3){background:#9b7350}.l5r5e.npc .npc-skill li:nth-child(4){background:#917896}.l5r5e.npc .npc-skill li:nth-child(5){flex:1.25;background:#5f919b}.l5r5e.npc .npc-skill input[type="number"]{float:right;font-size:1.25rem;height:2rem;width:1rem;margin:0;padding:0;border:0 none;background:transparent;color:#fff}.l5r5e.npc article{min-height:auto}.l5r5e.npc article fieldset,.l5r5e.npc article .checklist{flex:0 0 calc(100% - 0.5rem)}.l5r5e.npc article .items-content{flex:0 0 calc(100% - 0.5rem);margin:1rem 0.25rem 0}.l5r5e.npc article .weapons-content{flex:1}.l5r5e.npc article .initiative-wrapper{margin-bottom:0.5rem}.l5r5e.npc article:last-child{padding-bottom:1rem}.l5r5e.npc article .techniques-wrapper{padding-left:0.5rem}.l5r5e.npc article .techniques-wrapper fieldset,.l5r5e.npc article .techniques-wrapper .checklist{flex:100%;margin:0}.l5r5e.npc .npc-note .editor{min-height:6rem;max-height:12rem}.l5r5e.npc .narrative-note{flex:0 0 calc(50% - 0.25rem)}.l5r5e.character-generator-dialog form .body{clear:both;display:flex;flex-direction:column;flex-wrap:wrap;margin:3px 0;align-items:start}.l5r5e.character-generator-dialog input[type="number"]{width:auto}.l5r5e.character-generator-dialog form .form-group{border-bottom:solid #8080803d 1px}.l5r5e.character-generator-dialog form .form-group.smaller>label{flex:10}.l5r5e.character-generator-dialog form .form-group.smaller .form-fields{flex:1}.l5r5e.sheet.army .sheet-header{height:9.5rem}.l5r5e.sheet.army .sheet-header h1{flex:1}.l5r5e.sheet.army .sheet-header .readiness{flex:0 0 100%;display:flex;flex-wrap:wrap;align-items:flex-start}.l5r5e.sheet.army .sheet-header .readiness ul{display:flex;position:relative;padding:0.25rem;height:4rem}.l5r5e.sheet.army .sheet-header .readiness ul li{flex:25%;display:inline-grid;position:relative}.l5r5e.sheet.army .sheet-header .readiness ul li .attributes-buttons{position:relative;line-height:13px;top:0.3rem;right:1.2rem;width:12px}.l5r5e.sheet.army .sheet-header .readiness ul li strong{color:#5a6e5a;text-align:center;text-transform:uppercase;font-size:0.75rem}.l5r5e.sheet.army .sheet-header .readiness ul li label{flex:100%}.l5r5e.sheet.army .sheet-header .readiness ul li input{background:transparent;border:0 none;text-align:center;margin:0.3rem 1.6rem 0 1.5rem}.l5r5e.sheet.army .sheet-header .readiness ul li:after{content:"";width:2rem;height:2rem;position:absolute;right:calc(50% - 0.9rem);top:0.1rem;background:transparent url("../assets/icons/circle.svg") no-repeat 0 0;background-size:contain;opacity:0.25;z-index:-1}.l5r5e.sheet.army .sheet-header .readiness ul li:nth-child(1) input{margin:0.3rem 1rem 0 1.5rem}.l5r5e.sheet.army .sheet-header .readiness ul li:nth-child(1):after{transform:rotate(0deg)}.l5r5e.sheet.army .sheet-header .readiness ul li:nth-child(2):after{transform:rotate(90deg)}.l5r5e.sheet.army .sheet-header .readiness ul li:nth-child(3) input{margin:0.3rem 1rem 0 1.5rem}.l5r5e.sheet.army .sheet-header .readiness ul li:nth-child(3):after{transform:rotate(180deg)}.l5r5e.sheet.army .sheet-header .readiness ul li:nth-child(4):after{transform:rotate(-90deg)}.l5r5e.sheet.army .sheet-header .readiness h2{flex:0 0 100%}.l5r5e.sheet.army .sheet-body{height:calc(100% - 11.5rem)}.l5r5e.sheet.army .sheet-body .tab{height:calc(100% - 3.5rem)}.l5r5e.sheet.army .sheet-body .tab.army .warlord,.l5r5e.sheet.army .sheet-body .tab.army .commander{display:flex;flex-wrap:wrap}.l5r5e.sheet.army .sheet-body .tab.army .warlord .fa-sign-in-alt,.l5r5e.sheet.army .sheet-body .tab.army .commander .fa-sign-in-alt{transform:rotate(90deg)}.l5r5e.sheet.army .sheet-body .tab.army .warlord fieldset,.l5r5e.sheet.army .sheet-body .tab.army .commander fieldset{margin-top:0.25rem;margin-bottom:0.25rem}.l5r5e.sheet.army .sheet-body .tab.army .warlord fieldset strong,.l5r5e.sheet.army .sheet-body .tab.army .commander fieldset strong{color:#5a6e5a}.l5r5e.sheet.army .sheet-body .tab.army .warlord fieldset label,.l5r5e.sheet.army .sheet-body .tab.army .commander fieldset label{flex:100%}.l5r5e.sheet.army .sheet-body .tab.army .warlord fieldset p,.l5r5e.sheet.army .sheet-body .tab.army .commander fieldset p{width:100%}.l5r5e.sheet.army .sheet-body .tab.army .warlord fieldset textarea,.l5r5e.sheet.army .sheet-body .tab.army .commander fieldset textarea{height:calc(100% - 22px)}.l5r5e.sheet.army .sheet-body .tab.army .warlord fieldset .actor-remove-control,.l5r5e.sheet.army .sheet-body .tab.army .commander fieldset .actor-remove-control{font-size:12px}.l5r5e.sheet.army .sheet-body .tab.army .standing{flex:0 0 100%;display:flex;flex-wrap:wrap}.l5r5e.sheet.army .sheet-body .tab.army .standing h2{flex:0 0 100%}.l5r5e.sheet.army .sheet-body .tab.army .standing ul{display:flex;position:relative}.l5r5e.sheet.army .sheet-body .tab.army .standing ul li{flex:33%;display:inline-grid;position:relative;padding:0.25rem;flex-direction:column-reverse}.l5r5e.sheet.army .sheet-body .tab.army .standing ul li strong{text-align:center}.l5r5e.sheet.army .sheet-body .tab.army .standing ul li input{background:transparent;border:0 none;text-align:center}.l5r5e.sheet.army .sheet-body .tab.army .standing ul li:after{content:"";width:2rem;height:2rem;position:absolute;right:calc(50% - 0.95rem);top:calc(50% - 0.2rem);background:transparent url("../assets/icons/circle.svg") no-repeat 0 0;background-size:contain;opacity:0.25;z-index:-1}.l5r5e.sheet.army .sheet-body .tab.army .standing ul li:nth-child(1):after{transform:rotate(0deg)}.l5r5e.sheet.army .sheet-body .tab.army .standing ul li:nth-child(2):after{transform:rotate(90deg)}.l5r5e.sheet.army .sheet-body .tab.army .standing ul li:nth-child(3):after{transform:rotate(180deg)}.l5r5e.sheet.army .sheet-body .tab.army .warlord-name{display:flex;flex:100%;flex-wrap:wrap;margin:0;padding:0.5rem 0.5rem 0;background:rgba(186,187,177,0.5);--notchSize: 0.25rem}.l5r5e.sheet.army .sheet-body .tab.army .warlord-name i{color:rgba(0,0,0,0.5);margin-right:0.5rem}.l5r5e.sheet.army .sheet-body .tab.army .warlord-name label{flex:0 0 auto !important;height:1.65rem;margin:0;padding:0 0.5rem;color:#5a6e5a;background:rgba(255,255,255,0.5);border:1px solid #5a6e5a;border-radius:1rem}.l5r5e.sheet.army .sheet-body .tab.others{flex-direction:column}.l5r5e.sheet.army .sheet-body .tab.others .editor-content{min-height:8rem;max-height:14rem}.l5r5e nav.sheet-tabs{height:3rem;line-height:2rem;font-family:"Caballar",sans-serif;letter-spacing:-0.05rem;font-size:1rem;border:0 none;border-bottom:1px solid rgba(186,187,177,0.5);margin-bottom:0;background:rgba(255,255,255,0.5);color:rgba(0,0,0,0.5);display:flex;flex-direction:row;--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100%) 100%, var(--notchSize) 100%, 0% calc(100%));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100%) 100%, var(--notchSize) 100%, 0% calc(100%))}.l5r5e nav .item{flex:1}.l5r5e nav .item:hover{background-color:#5a6e5a;color:rgba(255,255,255,0.65);text-shadow:none;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 0 100%, 0% 0%, 0% 100%);clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 0 100%, 0% 0%, 0% 100%)}.l5r5e nav .item.active{background-color:rgba(73,12,11,0.85);color:#fff;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 0 100%, 0% 0%, 0% 100%);clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 0 100%, 0% 0%, 0% 100%)}.l5r5e nav .item.active:hover{background-color:rgba(73,12,11,0.85);cursor:default}.l5r5e .rings{display:flex;flex-wrap:wrap;color:rgba(255,255,255,0.65)}.l5r5e .rings #earth,.l5r5e .rings #air,.l5r5e .rings #water,.l5r5e .rings #fire,.l5r5e .rings #void{position:relative;flex:1 1 50%;text-align:center}.l5r5e .rings #earth i.i_earth,.l5r5e .rings #earth i.i_water,.l5r5e .rings #earth i.i_fire,.l5r5e .rings #earth i.i_air,.l5r5e .rings #earth i.i_void,.l5r5e .rings #air i.i_earth,.l5r5e .rings #air i.i_water,.l5r5e .rings #air i.i_fire,.l5r5e .rings #air i.i_air,.l5r5e .rings #air i.i_void,.l5r5e .rings #water i.i_earth,.l5r5e .rings #water i.i_water,.l5r5e .rings #water i.i_fire,.l5r5e .rings #water i.i_air,.l5r5e .rings #water i.i_void,.l5r5e .rings #fire i.i_earth,.l5r5e .rings #fire i.i_water,.l5r5e .rings #fire i.i_fire,.l5r5e .rings #fire i.i_air,.l5r5e .rings #fire i.i_void,.l5r5e .rings #void i.i_earth,.l5r5e .rings #void i.i_water,.l5r5e .rings #void i.i_fire,.l5r5e .rings #void i.i_air,.l5r5e .rings #void i.i_void{font-size:5rem;line-height:4.75rem}.l5r5e .rings #earth label,.l5r5e .rings #air label,.l5r5e .rings #water label,.l5r5e .rings #fire label,.l5r5e .rings #void label{position:relative;width:5rem;line-height:0;float:right}.l5r5e .rings #earth input,.l5r5e .rings #air input,.l5r5e .rings #water input,.l5r5e .rings #fire input,.l5r5e .rings #void input{position:absolute;height:2rem;width:2rem;border-radius:100%;top:0;left:0;text-align:center;font-size:1rem;border:2px solid rgba(186,187,177,0.5);color:rgba(255,255,255,0.65)}.l5r5e .rings #earth input:hover,.l5r5e .rings #air input:hover,.l5r5e .rings #water input:hover,.l5r5e .rings #fire input:hover,.l5r5e .rings #void input:hover{border:2px solid rgba(255,0,0,0.75);text-shadow:0 0 3px red;box-shadow:0 0 3px inset red}.l5r5e .rings #earth{float:right;color:#699678}.l5r5e .rings #earth input{top:auto;right:0;bottom:-0.9rem;left:auto;background:#699678}.l5r5e .rings #earth label strong{position:absolute;bottom:0.75rem;left:-1.75rem}.l5r5e .rings #air{color:#917896}.l5r5e .rings #air input{top:auto;right:auto;bottom:-0.9rem;left:0;background:#917896}.l5r5e .rings #air label{float:left}.l5r5e .rings #air label strong{position:absolute;bottom:0.75rem;right:-1rem}.l5r5e .rings #water{float:right;color:#5f919b;padding-right:2rem}.l5r5e .rings #water input{top:17%;right:-1.25rem;bottom:auto;left:auto;background:#5f919b}.l5r5e .rings #water label strong{position:absolute;bottom:-0.75rem;right:2rem}.l5r5e .rings #fire{color:#9b7350;padding-left:2rem}.l5r5e .rings #fire input{top:17%;right:auto;bottom:auto;left:-1.25rem;background:#9b7350}.l5r5e .rings #fire label{float:left}.l5r5e .rings #fire label strong{position:absolute;bottom:-0.75rem;right:2rem}.l5r5e .rings #void{top:-2rem;margin:0 calc(50% - 2.5rem);color:#4b4641}.l5r5e .rings #void input{top:-1rem;right:auto;bottom:auto;left:30%;background:#4b4641}.l5r5e .rings #void label strong{position:absolute;bottom:-0.75rem;left:1.75rem}.l5r5e.sheet article .skills-wrapper,.l5r5e.sheet article .techniques-wrapper{flex:50%}.l5r5e.sheet article .skills-wrapper>li,.l5r5e.sheet article .techniques-wrapper>li{display:flex;flex-wrap:wrap;font-size:0.85rem;margin:0 0 1rem;border:1px solid rgba(186,187,177,0.5);--notchSize: 0.75rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, 100% 0, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 100%);clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, 100% 0, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 100%)}.l5r5e.sheet article .skills-wrapper>li h4,.l5r5e.sheet article .techniques-wrapper>li h4{flex:100%;margin:0;padding:0.5rem 0.5rem 0;text-align:center;background:rgba(186,187,177,0.5);color:#5a6e5a;--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%))}.l5r5e.sheet article .skills-wrapper>li ul,.l5r5e.sheet article .techniques-wrapper>li ul{flex:50%;padding:0.25rem 0.5rem 0.25rem 0}.l5r5e.sheet article .skills-wrapper>li ul li,.l5r5e.sheet article .techniques-wrapper>li ul li{text-align:left;line-height:2rem;margin:0.25rem 0}.l5r5e.sheet article .skills-wrapper>li ul li.skill,.l5r5e.sheet article .techniques-wrapper>li ul li.skill{text-align:right}.l5r5e.sheet article .skills-wrapper>li ul li.skill span,.l5r5e.sheet article .techniques-wrapper>li ul li.skill span{color:rgba(0,0,0,0.5)}.l5r5e.sheet article .skills-wrapper>li ul li.skill span[data-skill="melee"],.l5r5e.sheet article .skills-wrapper>li ul li.skill span[data-skill="ranged"],.l5r5e.sheet article .skills-wrapper>li ul li.skill span[data-skill="unarmed"],.l5r5e.sheet article .techniques-wrapper>li ul li.skill span[data-skill="melee"],.l5r5e.sheet article .techniques-wrapper>li ul li.skill span[data-skill="ranged"],.l5r5e.sheet article .techniques-wrapper>li ul li.skill span[data-skill="unarmed"]{float:left;line-height:1rem;width:calc(100% - 2rem)}.l5r5e.sheet article .skills-wrapper>li ul.skill-category-ring-actions,.l5r5e.sheet article .techniques-wrapper>li ul.skill-category-ring-actions{padding:0.25rem 0 0.25rem 0.5rem;border-left:1px solid rgba(186,187,177,0.5)}.l5r5e.sheet article .skills-wrapper>li input,.l5r5e.sheet article .techniques-wrapper>li input{width:1.75rem;height:1.75rem;text-align:center}.l5r5e.sheet article .skills-wrapper>li:last-child,.l5r5e.sheet article .techniques-wrapper>li:last-child{margin:0}.l5r5e .item-list{flex:100%}.l5r5e .item-list .tab[data-tab]{display:none}.l5r5e .item-list .item .item-header{display:flex}.l5r5e .item-list .item .item-header .item-img{flex:0 0 32px;padding-right:0.25rem}.l5r5e .item-list .item .item-header .item-img img{border:1px solid rgba(0,0,0,0.1)}.l5r5e .item-list .item .item-header .item-name{flex:1 1 auto;font-size:1rem;line-height:1rem;color:#764f40}.l5r5e .item-list .item .item-header .removed{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}.l5r5e .item-list .item .item-header .item-edit,.l5r5e .item-list .item .item-header .item-delete,.l5r5e .item-list .item .item-header .item-equip,.l5r5e .item-list .item .item-header .technique-edit,.l5r5e .item-list .item .item-header .technique-delete,.l5r5e .item-list .item .item-header .peculiarity-edit,.l5r5e .item-list .item .item-header .peculiarity-delete,.l5r5e .item-list .item .item-header .property-edit,.l5r5e .item-list .item .item-header .property-delete{line-height:1rem;font-size:0.75rem;flex:0 0 1rem;padding:0 0.1rem;color:#000}.l5r5e .item-list .item .item-header .icon-stat-container{line-height:1rem;font-size:0.75rem;padding:0 0.25rem;color:#000}.l5r5e .item-list .item .item-header .item-edit:hover,.l5r5e .item-list .item .item-header .item-delete:hover,.l5r5e .item-list .item .item-header .item-equip:hover,.l5r5e .item-list .item .item-header .technique-edit:hover,.l5r5e .item-list .item .item-header .technique-delete:hover,.l5r5e .item-list .item .item-header .peculiarity-edit:hover,.l5r5e .item-list .item .item-header .peculiarity-delete:hover,.l5r5e .item-list .item .item-header .property-edit:hover,.l5r5e .item-list .item .item-header .property-delete:hover{text-shadow:0 0 3px red;color:#000}.l5r5e .item-list .item .item-properties{display:flex;flex-direction:row}.l5r5e .item-list .item .item-properties>li{margin:0.25rem 0.1rem;padding:0.1rem 0.5rem;background-color:rgba(255,255,255,0.5);border:1px solid rgba(255,255,255,0.65);border-radius:1rem;width:auto;font-size:0.75rem;color:#000}.l5r5e .item-list .item .item-properties>li:first-child{margin-left:0}.l5r5e .item-list .item .item-properties>li:last-child{margin-right:0}.l5r5e .item-list .item .item-properties .equip-readied-control:hover{color:#963c41;background:#fff}.l5r5e .item-list .item p{font-size:0.85rem;margin:0;padding:0 0.5rem;max-width:100%}.l5r5e .item-list .item p:first-child{padding-top:0.5rem}.l5r5e .item-list .item p:last-child{padding-bottom:0.5rem}.l5r5e.advancement .sheet-header,.l5r5e.army-cohort .sheet-header,.l5r5e.army-fortification .sheet-header,.l5r5e.armor .sheet-header,.l5r5e.bond .sheet-header,.l5r5e.item .sheet-header,.l5r5e.item-pattern .sheet-header,.l5r5e.peculiarity .sheet-header,.l5r5e.property .sheet-header,.l5r5e.signature-scroll .sheet-header,.l5r5e.technique .sheet-header,.l5r5e.title .sheet-header,.l5r5e.weapon .sheet-header{margin-bottom:0.5rem}.l5r5e.advancement .sheet-header img,.l5r5e.army-cohort .sheet-header img,.l5r5e.army-fortification .sheet-header img,.l5r5e.armor .sheet-header img,.l5r5e.bond .sheet-header img,.l5r5e.item .sheet-header img,.l5r5e.item-pattern .sheet-header img,.l5r5e.peculiarity .sheet-header img,.l5r5e.property .sheet-header img,.l5r5e.signature-scroll .sheet-header img,.l5r5e.technique .sheet-header img,.l5r5e.title .sheet-header img,.l5r5e.weapon .sheet-header img{flex:0 0 90px;height:90px;width:90px;background:rgba(255,255,255,0.25)}.l5r5e.advancement .sheet-header h1 input,.l5r5e.army-cohort .sheet-header h1 input,.l5r5e.army-fortification .sheet-header h1 input,.l5r5e.armor .sheet-header h1 input,.l5r5e.bond .sheet-header h1 input,.l5r5e.item .sheet-header h1 input,.l5r5e.item-pattern .sheet-header h1 input,.l5r5e.peculiarity .sheet-header h1 input,.l5r5e.property .sheet-header h1 input,.l5r5e.signature-scroll .sheet-header h1 input,.l5r5e.technique .sheet-header h1 input,.l5r5e.title .sheet-header h1 input,.l5r5e.weapon .sheet-header h1 input{height:5.5rem}.l5r5e.advancement fieldset input[name="data.effects"],.l5r5e.army-cohort fieldset input[name="data.effects"],.l5r5e.army-fortification fieldset input[name="data.effects"],.l5r5e.armor fieldset input[name="data.effects"],.l5r5e.bond fieldset input[name="data.effects"],.l5r5e.item fieldset input[name="data.effects"],.l5r5e.item-pattern fieldset input[name="data.effects"],.l5r5e.peculiarity fieldset input[name="data.effects"],.l5r5e.property fieldset input[name="data.effects"],.l5r5e.signature-scroll fieldset input[name="data.effects"],.l5r5e.technique fieldset input[name="data.effects"],.l5r5e.title fieldset input[name="data.effects"],.l5r5e.weapon fieldset input[name="data.effects"]{text-align:left}.l5r5e.advancement .sheet-body,.l5r5e.army-cohort .sheet-body,.l5r5e.army-fortification .sheet-body,.l5r5e.armor .sheet-body,.l5r5e.bond .sheet-body,.l5r5e.item .sheet-body,.l5r5e.item-pattern .sheet-body,.l5r5e.peculiarity .sheet-body,.l5r5e.property .sheet-body,.l5r5e.signature-scroll .sheet-body,.l5r5e.technique .sheet-body,.l5r5e.title .sheet-body,.l5r5e.weapon .sheet-body{flex:100%;height:calc(100% - 90px - 0.25rem);align-self:stretch;display:flex;flex-wrap:wrap}.l5r5e.advancement article,.l5r5e.army-cohort article,.l5r5e.army-fortification article,.l5r5e.armor article,.l5r5e.bond article,.l5r5e.item article,.l5r5e.item-pattern article,.l5r5e.peculiarity article,.l5r5e.property article,.l5r5e.signature-scroll article,.l5r5e.technique article,.l5r5e.title article,.l5r5e.weapon article{display:flex;flex-wrap:wrap;min-height:auto}.l5r5e.advancement article label,.l5r5e.army-cohort article label,.l5r5e.army-fortification article label,.l5r5e.armor article label,.l5r5e.bond article label,.l5r5e.item article label,.l5r5e.item-pattern article label,.l5r5e.peculiarity article label,.l5r5e.property article label,.l5r5e.signature-scroll article label,.l5r5e.technique article label,.l5r5e.title article label,.l5r5e.weapon article label{color:#5a6e5a;margin:0.25rem;line-height:1.5rem}.l5r5e.advancement article.attributes,.l5r5e.army-cohort article.attributes,.l5r5e.army-fortification article.attributes,.l5r5e.armor article.attributes,.l5r5e.bond article.attributes,.l5r5e.item article.attributes,.l5r5e.item-pattern article.attributes,.l5r5e.peculiarity article.attributes,.l5r5e.property article.attributes,.l5r5e.signature-scroll article.attributes,.l5r5e.technique article.attributes,.l5r5e.title article.attributes,.l5r5e.weapon article.attributes{align-self:flex-start;width:100%;height:6.5rem}.l5r5e.advancement article.attributes #advancement_type,.l5r5e.advancement article.attributes #advancement_skill,.l5r5e.army-cohort article.attributes #advancement_type,.l5r5e.army-cohort article.attributes #advancement_skill,.l5r5e.army-fortification article.attributes #advancement_type,.l5r5e.army-fortification article.attributes #advancement_skill,.l5r5e.armor article.attributes #advancement_type,.l5r5e.armor article.attributes #advancement_skill,.l5r5e.bond article.attributes #advancement_type,.l5r5e.bond article.attributes #advancement_skill,.l5r5e.item article.attributes #advancement_type,.l5r5e.item article.attributes #advancement_skill,.l5r5e.item-pattern article.attributes #advancement_type,.l5r5e.item-pattern article.attributes #advancement_skill,.l5r5e.peculiarity article.attributes #advancement_type,.l5r5e.peculiarity article.attributes #advancement_skill,.l5r5e.property article.attributes #advancement_type,.l5r5e.property article.attributes #advancement_skill,.l5r5e.signature-scroll article.attributes #advancement_type,.l5r5e.signature-scroll article.attributes #advancement_skill,.l5r5e.technique article.attributes #advancement_type,.l5r5e.technique article.attributes #advancement_skill,.l5r5e.title article.attributes #advancement_type,.l5r5e.title article.attributes #advancement_skill,.l5r5e.weapon article.attributes #advancement_type,.l5r5e.weapon article.attributes #advancement_skill{flex:0 0 calc(40% - 2rem);margin:0.25rem}.l5r5e.advancement article.attributes select[name="data.skill"],.l5r5e.advancement article.attributes select[name="data.ring"],.l5r5e.advancement article.attributes select[name="data.peculiarity_type"],.l5r5e.advancement article.attributes select[name="data.technique_type"],.l5r5e.army-cohort article.attributes select[name="data.skill"],.l5r5e.army-cohort article.attributes select[name="data.ring"],.l5r5e.army-cohort article.attributes select[name="data.peculiarity_type"],.l5r5e.army-cohort article.attributes select[name="data.technique_type"],.l5r5e.army-fortification article.attributes select[name="data.skill"],.l5r5e.army-fortification article.attributes select[name="data.ring"],.l5r5e.army-fortification article.attributes select[name="data.peculiarity_type"],.l5r5e.army-fortification article.attributes select[name="data.technique_type"],.l5r5e.armor article.attributes select[name="data.skill"],.l5r5e.armor article.attributes select[name="data.ring"],.l5r5e.armor article.attributes select[name="data.peculiarity_type"],.l5r5e.armor article.attributes select[name="data.technique_type"],.l5r5e.bond article.attributes select[name="data.skill"],.l5r5e.bond article.attributes select[name="data.ring"],.l5r5e.bond article.attributes select[name="data.peculiarity_type"],.l5r5e.bond article.attributes select[name="data.technique_type"],.l5r5e.item article.attributes select[name="data.skill"],.l5r5e.item article.attributes select[name="data.ring"],.l5r5e.item article.attributes select[name="data.peculiarity_type"],.l5r5e.item article.attributes select[name="data.technique_type"],.l5r5e.item-pattern article.attributes select[name="data.skill"],.l5r5e.item-pattern article.attributes select[name="data.ring"],.l5r5e.item-pattern article.attributes select[name="data.peculiarity_type"],.l5r5e.item-pattern article.attributes select[name="data.technique_type"],.l5r5e.peculiarity article.attributes select[name="data.skill"],.l5r5e.peculiarity article.attributes select[name="data.ring"],.l5r5e.peculiarity article.attributes select[name="data.peculiarity_type"],.l5r5e.peculiarity article.attributes select[name="data.technique_type"],.l5r5e.property article.attributes select[name="data.skill"],.l5r5e.property article.attributes select[name="data.ring"],.l5r5e.property article.attributes select[name="data.peculiarity_type"],.l5r5e.property article.attributes select[name="data.technique_type"],.l5r5e.signature-scroll article.attributes select[name="data.skill"],.l5r5e.signature-scroll article.attributes select[name="data.ring"],.l5r5e.signature-scroll article.attributes select[name="data.peculiarity_type"],.l5r5e.signature-scroll article.attributes select[name="data.technique_type"],.l5r5e.technique article.attributes select[name="data.skill"],.l5r5e.technique article.attributes select[name="data.ring"],.l5r5e.technique article.attributes select[name="data.peculiarity_type"],.l5r5e.technique article.attributes select[name="data.technique_type"],.l5r5e.title article.attributes select[name="data.skill"],.l5r5e.title article.attributes select[name="data.ring"],.l5r5e.title article.attributes select[name="data.peculiarity_type"],.l5r5e.title article.attributes select[name="data.technique_type"],.l5r5e.weapon article.attributes select[name="data.skill"],.l5r5e.weapon article.attributes select[name="data.ring"],.l5r5e.weapon article.attributes select[name="data.peculiarity_type"],.l5r5e.weapon article.attributes select[name="data.technique_type"]{flex:0 0 calc(40% - 0.5rem);margin:0.25rem}.l5r5e.advancement article.attributes .attribute-value,.l5r5e.advancement article.attributes .attribute,.l5r5e.advancement article.attributes .value,.l5r5e.army-cohort article.attributes .attribute-value,.l5r5e.army-cohort article.attributes .attribute,.l5r5e.army-cohort article.attributes .value,.l5r5e.army-fortification article.attributes .attribute-value,.l5r5e.army-fortification article.attributes .attribute,.l5r5e.army-fortification article.attributes .value,.l5r5e.armor article.attributes .attribute-value,.l5r5e.armor article.attributes .attribute,.l5r5e.armor article.attributes .value,.l5r5e.bond article.attributes .attribute-value,.l5r5e.bond article.attributes .attribute,.l5r5e.bond article.attributes .value,.l5r5e.item article.attributes .attribute-value,.l5r5e.item article.attributes .attribute,.l5r5e.item article.attributes .value,.l5r5e.item-pattern article.attributes .attribute-value,.l5r5e.item-pattern article.attributes .attribute,.l5r5e.item-pattern article.attributes .value,.l5r5e.peculiarity article.attributes .attribute-value,.l5r5e.peculiarity article.attributes .attribute,.l5r5e.peculiarity article.attributes .value,.l5r5e.property article.attributes .attribute-value,.l5r5e.property article.attributes .attribute,.l5r5e.property article.attributes .value,.l5r5e.signature-scroll article.attributes .attribute-value,.l5r5e.signature-scroll article.attributes .attribute,.l5r5e.signature-scroll article.attributes .value,.l5r5e.technique article.attributes .attribute-value,.l5r5e.technique article.attributes .attribute,.l5r5e.technique article.attributes .value,.l5r5e.title article.attributes .attribute-value,.l5r5e.title article.attributes .attribute,.l5r5e.title article.attributes .value,.l5r5e.weapon article.attributes .attribute-value,.l5r5e.weapon article.attributes .attribute,.l5r5e.weapon article.attributes .value{flex:1 1 auto;margin:0.5rem 0.25rem 0.25rem}.l5r5e.advancement article.attributes select[name="data.advancement_type"],.l5r5e.advancement article.attributes select[name="data.skill"],.l5r5e.army-cohort article.attributes select[name="data.advancement_type"],.l5r5e.army-cohort article.attributes select[name="data.skill"],.l5r5e.army-fortification article.attributes select[name="data.advancement_type"],.l5r5e.army-fortification article.attributes select[name="data.skill"],.l5r5e.armor article.attributes select[name="data.advancement_type"],.l5r5e.armor article.attributes select[name="data.skill"],.l5r5e.bond article.attributes select[name="data.advancement_type"],.l5r5e.bond article.attributes select[name="data.skill"],.l5r5e.item article.attributes select[name="data.advancement_type"],.l5r5e.item article.attributes select[name="data.skill"],.l5r5e.item-pattern article.attributes select[name="data.advancement_type"],.l5r5e.item-pattern article.attributes select[name="data.skill"],.l5r5e.peculiarity article.attributes select[name="data.advancement_type"],.l5r5e.peculiarity article.attributes select[name="data.skill"],.l5r5e.property article.attributes select[name="data.advancement_type"],.l5r5e.property article.attributes select[name="data.skill"],.l5r5e.signature-scroll article.attributes select[name="data.advancement_type"],.l5r5e.signature-scroll article.attributes select[name="data.skill"],.l5r5e.technique article.attributes select[name="data.advancement_type"],.l5r5e.technique article.attributes select[name="data.skill"],.l5r5e.title article.attributes select[name="data.advancement_type"],.l5r5e.title article.attributes select[name="data.skill"],.l5r5e.weapon article.attributes select[name="data.advancement_type"],.l5r5e.weapon article.attributes select[name="data.skill"]{text-transform:capitalize}.l5r5e.advancement article.attributes .type,.l5r5e.army-cohort article.attributes .type,.l5r5e.army-fortification article.attributes .type,.l5r5e.armor article.attributes .type,.l5r5e.bond article.attributes .type,.l5r5e.item article.attributes .type,.l5r5e.item-pattern article.attributes .type,.l5r5e.peculiarity article.attributes .type,.l5r5e.property article.attributes .type,.l5r5e.signature-scroll article.attributes .type,.l5r5e.technique article.attributes .type,.l5r5e.title article.attributes .type,.l5r5e.weapon article.attributes .type{display:block}.l5r5e.advancement article.attributes .type label,.l5r5e.army-cohort article.attributes .type label,.l5r5e.army-fortification article.attributes .type label,.l5r5e.armor article.attributes .type label,.l5r5e.bond article.attributes .type label,.l5r5e.item article.attributes .type label,.l5r5e.item-pattern article.attributes .type label,.l5r5e.peculiarity article.attributes .type label,.l5r5e.property article.attributes .type label,.l5r5e.signature-scroll article.attributes .type label,.l5r5e.technique article.attributes .type label,.l5r5e.title article.attributes .type label,.l5r5e.weapon article.attributes .type label{width:calc(50% - 0.5rem);float:left}.l5r5e.advancement article.attributes .properties,.l5r5e.army-cohort article.attributes .properties,.l5r5e.army-fortification article.attributes .properties,.l5r5e.armor article.attributes .properties,.l5r5e.bond article.attributes .properties,.l5r5e.item article.attributes .properties,.l5r5e.item-pattern article.attributes .properties,.l5r5e.peculiarity article.attributes .properties,.l5r5e.property article.attributes .properties,.l5r5e.signature-scroll article.attributes .properties,.l5r5e.technique article.attributes .properties,.l5r5e.title article.attributes .properties,.l5r5e.weapon article.attributes .properties{flex:0 0 calc(50% - 0.5rem);margin:0.25rem}.l5r5e.advancement article.attributes .equipped,.l5r5e.army-cohort article.attributes .equipped,.l5r5e.army-fortification article.attributes .equipped,.l5r5e.armor article.attributes .equipped,.l5r5e.bond article.attributes .equipped,.l5r5e.item article.attributes .equipped,.l5r5e.item-pattern article.attributes .equipped,.l5r5e.peculiarity article.attributes .equipped,.l5r5e.property article.attributes .equipped,.l5r5e.signature-scroll article.attributes .equipped,.l5r5e.technique article.attributes .equipped,.l5r5e.title article.attributes .equipped,.l5r5e.weapon article.attributes .equipped{flex:100%;margin:0;text-align:right}.l5r5e.advancement article.attributes input[type="text"],.l5r5e.advancement article.attributes input[type="number"],.l5r5e.army-cohort article.attributes input[type="text"],.l5r5e.army-cohort article.attributes input[type="number"],.l5r5e.army-fortification article.attributes input[type="text"],.l5r5e.army-fortification article.attributes input[type="number"],.l5r5e.armor article.attributes input[type="text"],.l5r5e.armor article.attributes input[type="number"],.l5r5e.bond article.attributes input[type="text"],.l5r5e.bond article.attributes input[type="number"],.l5r5e.item article.attributes input[type="text"],.l5r5e.item article.attributes input[type="number"],.l5r5e.item-pattern article.attributes input[type="text"],.l5r5e.item-pattern article.attributes input[type="number"],.l5r5e.peculiarity article.attributes input[type="text"],.l5r5e.peculiarity article.attributes input[type="number"],.l5r5e.property article.attributes input[type="text"],.l5r5e.property article.attributes input[type="number"],.l5r5e.signature-scroll article.attributes input[type="text"],.l5r5e.signature-scroll article.attributes input[type="number"],.l5r5e.technique article.attributes input[type="text"],.l5r5e.technique article.attributes input[type="number"],.l5r5e.title article.attributes input[type="text"],.l5r5e.title article.attributes input[type="number"],.l5r5e.weapon article.attributes input[type="text"],.l5r5e.weapon article.attributes input[type="number"]{width:2rem}.l5r5e.advancement article.attributes input[type="text"].grip,.l5r5e.advancement article.attributes input[type="number"].grip,.l5r5e.army-cohort article.attributes input[type="text"].grip,.l5r5e.army-cohort article.attributes input[type="number"].grip,.l5r5e.army-fortification article.attributes input[type="text"].grip,.l5r5e.army-fortification article.attributes input[type="number"].grip,.l5r5e.armor article.attributes input[type="text"].grip,.l5r5e.armor article.attributes input[type="number"].grip,.l5r5e.bond article.attributes input[type="text"].grip,.l5r5e.bond article.attributes input[type="number"].grip,.l5r5e.item article.attributes input[type="text"].grip,.l5r5e.item article.attributes input[type="number"].grip,.l5r5e.item-pattern article.attributes input[type="text"].grip,.l5r5e.item-pattern article.attributes input[type="number"].grip,.l5r5e.peculiarity article.attributes input[type="text"].grip,.l5r5e.peculiarity article.attributes input[type="number"].grip,.l5r5e.property article.attributes input[type="text"].grip,.l5r5e.property article.attributes input[type="number"].grip,.l5r5e.signature-scroll article.attributes input[type="text"].grip,.l5r5e.signature-scroll article.attributes input[type="number"].grip,.l5r5e.technique article.attributes input[type="text"].grip,.l5r5e.technique article.attributes input[type="number"].grip,.l5r5e.title article.attributes input[type="text"].grip,.l5r5e.title article.attributes input[type="number"].grip,.l5r5e.weapon article.attributes input[type="text"].grip,.l5r5e.weapon article.attributes input[type="number"].grip{width:calc(100% - 4rem);margin-bottom:0.25rem}.l5r5e.advancement article.attributes input[name="data.zeni"],.l5r5e.army-cohort article.attributes input[name="data.zeni"],.l5r5e.army-fortification article.attributes input[name="data.zeni"],.l5r5e.armor article.attributes input[name="data.zeni"],.l5r5e.bond article.attributes input[name="data.zeni"],.l5r5e.item article.attributes input[name="data.zeni"],.l5r5e.item-pattern article.attributes input[name="data.zeni"],.l5r5e.peculiarity article.attributes input[name="data.zeni"],.l5r5e.property article.attributes input[name="data.zeni"],.l5r5e.signature-scroll article.attributes input[name="data.zeni"],.l5r5e.technique article.attributes input[name="data.zeni"],.l5r5e.title article.attributes input[name="data.zeni"],.l5r5e.weapon article.attributes input[name="data.zeni"]{width:7rem;float:right}.l5r5e.advancement article.attributes fieldset input[type="text"],.l5r5e.advancement article.attributes fieldset input[type="number"],.l5r5e.army-cohort article.attributes fieldset input[type="text"],.l5r5e.army-cohort article.attributes fieldset input[type="number"],.l5r5e.army-fortification article.attributes fieldset input[type="text"],.l5r5e.army-fortification article.attributes fieldset input[type="number"],.l5r5e.armor article.attributes fieldset input[type="text"],.l5r5e.armor article.attributes fieldset input[type="number"],.l5r5e.bond article.attributes fieldset input[type="text"],.l5r5e.bond article.attributes fieldset input[type="number"],.l5r5e.item article.attributes fieldset input[type="text"],.l5r5e.item article.attributes fieldset input[type="number"],.l5r5e.item-pattern article.attributes fieldset input[type="text"],.l5r5e.item-pattern article.attributes fieldset input[type="number"],.l5r5e.peculiarity article.attributes fieldset input[type="text"],.l5r5e.peculiarity article.attributes fieldset input[type="number"],.l5r5e.property article.attributes fieldset input[type="text"],.l5r5e.property article.attributes fieldset input[type="number"],.l5r5e.signature-scroll article.attributes fieldset input[type="text"],.l5r5e.signature-scroll article.attributes fieldset input[type="number"],.l5r5e.technique article.attributes fieldset input[type="text"],.l5r5e.technique article.attributes fieldset input[type="number"],.l5r5e.title article.attributes fieldset input[type="text"],.l5r5e.title article.attributes fieldset input[type="number"],.l5r5e.weapon article.attributes fieldset input[type="text"],.l5r5e.weapon article.attributes fieldset input[type="number"]{float:right}.l5r5e.advancement article.attributes .attribute.full,.l5r5e.army-cohort article.attributes .attribute.full,.l5r5e.army-fortification article.attributes .attribute.full,.l5r5e.armor article.attributes .attribute.full,.l5r5e.bond article.attributes .attribute.full,.l5r5e.item article.attributes .attribute.full,.l5r5e.item-pattern article.attributes .attribute.full,.l5r5e.peculiarity article.attributes .attribute.full,.l5r5e.property article.attributes .attribute.full,.l5r5e.signature-scroll article.attributes .attribute.full,.l5r5e.technique article.attributes .attribute.full,.l5r5e.title article.attributes .attribute.full,.l5r5e.weapon article.attributes .attribute.full{flex:100%}.l5r5e.advancement article.attributes .attribute.full input,.l5r5e.army-cohort article.attributes .attribute.full input,.l5r5e.army-fortification article.attributes .attribute.full input,.l5r5e.armor article.attributes .attribute.full input,.l5r5e.bond article.attributes .attribute.full input,.l5r5e.item article.attributes .attribute.full input,.l5r5e.item-pattern article.attributes .attribute.full input,.l5r5e.peculiarity article.attributes .attribute.full input,.l5r5e.property article.attributes .attribute.full input,.l5r5e.signature-scroll article.attributes .attribute.full input,.l5r5e.technique article.attributes .attribute.full input,.l5r5e.title article.attributes .attribute.full input,.l5r5e.weapon article.attributes .attribute.full input{float:right;width:70%}.l5r5e.advancement article.attributes .bonds-types,.l5r5e.army-cohort article.attributes .bonds-types,.l5r5e.army-fortification article.attributes .bonds-types,.l5r5e.armor article.attributes .bonds-types,.l5r5e.bond article.attributes .bonds-types,.l5r5e.item article.attributes .bonds-types,.l5r5e.item-pattern article.attributes .bonds-types,.l5r5e.peculiarity article.attributes .bonds-types,.l5r5e.property article.attributes .bonds-types,.l5r5e.signature-scroll article.attributes .bonds-types,.l5r5e.technique article.attributes .bonds-types,.l5r5e.title article.attributes .bonds-types,.l5r5e.weapon article.attributes .bonds-types{flex:100%}.l5r5e.advancement article.attributes .bonds-types input,.l5r5e.army-cohort article.attributes .bonds-types input,.l5r5e.army-fortification article.attributes .bonds-types input,.l5r5e.armor article.attributes .bonds-types input,.l5r5e.bond article.attributes .bonds-types input,.l5r5e.item article.attributes .bonds-types input,.l5r5e.item-pattern article.attributes .bonds-types input,.l5r5e.peculiarity article.attributes .bonds-types input,.l5r5e.property article.attributes .bonds-types input,.l5r5e.signature-scroll article.attributes .bonds-types input,.l5r5e.technique article.attributes .bonds-types input,.l5r5e.title article.attributes .bonds-types input,.l5r5e.weapon article.attributes .bonds-types input{width:75%;float:right}.l5r5e.advancement article.infos,.l5r5e.army-cohort article.infos,.l5r5e.army-fortification article.infos,.l5r5e.armor article.infos,.l5r5e.bond article.infos,.l5r5e.item article.infos,.l5r5e.item-pattern article.infos,.l5r5e.peculiarity article.infos,.l5r5e.property article.infos,.l5r5e.signature-scroll article.infos,.l5r5e.technique article.infos,.l5r5e.title article.infos,.l5r5e.weapon article.infos{display:flex;align-self:stretch;height:calc(100% - 7.5rem);width:100%;padding-bottom:1.25rem}.l5r5e.advancement article.infos .reference,.l5r5e.army-cohort article.infos .reference,.l5r5e.army-fortification article.infos .reference,.l5r5e.armor article.infos .reference,.l5r5e.bond article.infos .reference,.l5r5e.item article.infos .reference,.l5r5e.item-pattern article.infos .reference,.l5r5e.peculiarity article.infos .reference,.l5r5e.property article.infos .reference,.l5r5e.signature-scroll article.infos .reference,.l5r5e.technique article.infos .reference,.l5r5e.title article.infos .reference,.l5r5e.weapon article.infos .reference{flex:0 0 calc(100% - 0.5rem);margin:0.5rem 0.25rem}.l5r5e.advancement article.infos .reference input[name="data.book_reference"],.l5r5e.army-cohort article.infos .reference input[name="data.book_reference"],.l5r5e.army-fortification article.infos .reference input[name="data.book_reference"],.l5r5e.armor article.infos .reference input[name="data.book_reference"],.l5r5e.bond article.infos .reference input[name="data.book_reference"],.l5r5e.item article.infos .reference input[name="data.book_reference"],.l5r5e.item-pattern article.infos .reference input[name="data.book_reference"],.l5r5e.peculiarity article.infos .reference input[name="data.book_reference"],.l5r5e.property article.infos .reference input[name="data.book_reference"],.l5r5e.signature-scroll article.infos .reference input[name="data.book_reference"],.l5r5e.technique article.infos .reference input[name="data.book_reference"],.l5r5e.title article.infos .reference input[name="data.book_reference"],.l5r5e.weapon article.infos .reference input[name="data.book_reference"]{float:right;width:70%}.l5r5e.advancement article.infos fieldset,.l5r5e.army-cohort article.infos fieldset,.l5r5e.army-fortification article.infos fieldset,.l5r5e.armor article.infos fieldset,.l5r5e.bond article.infos fieldset,.l5r5e.item article.infos fieldset,.l5r5e.item-pattern article.infos fieldset,.l5r5e.peculiarity article.infos fieldset,.l5r5e.property article.infos fieldset,.l5r5e.signature-scroll article.infos fieldset,.l5r5e.technique article.infos fieldset,.l5r5e.title article.infos fieldset,.l5r5e.weapon article.infos fieldset{align-self:stretch;height:calc(100% - 2rem);box-sizing:content-box}.l5r5e.advancement article.properties fieldset,.l5r5e.army-cohort article.properties fieldset,.l5r5e.army-fortification article.properties fieldset,.l5r5e.armor article.properties fieldset,.l5r5e.bond article.properties fieldset,.l5r5e.item article.properties fieldset,.l5r5e.item-pattern article.properties fieldset,.l5r5e.peculiarity article.properties fieldset,.l5r5e.property article.properties fieldset,.l5r5e.signature-scroll article.properties fieldset,.l5r5e.technique article.properties fieldset,.l5r5e.title article.properties fieldset,.l5r5e.weapon article.properties fieldset{margin-bottom:0.5rem}.l5r5e.advancement article.attributes .attribute-value,.l5r5e.advancement article.attributes .attribute,.l5r5e.advancement article.attributes .value{flex:0 0 calc(33% - 0.5rem)}.l5r5e.advancement article.attributes .cursus{flex:0 0 calc(19% - 0.5rem);line-height:0.75rem;text-align:right;margin:0 0.25rem}.l5r5e.advancement article.attributes .cursus input{margin-top:0.25rem}.l5r5e.technique article.attributes{height:7.5rem}.l5r5e.technique article.attributes input[type="text"]{width:10rem}.l5r5e.technique article.attributes .cursus{flex:0 0 calc(20% - 0.5rem);line-height:0.75rem;text-align:right;margin:0 0.25rem}.l5r5e.technique article.attributes .cursus input{margin-top:0.25rem}.l5r5e.technique article.infos{height:calc(100% - 8.5rem)}.l5r5e.peculiarity article.attributes{height:8.5rem}.l5r5e.peculiarity article.attributes .cursus{flex:0 0 calc(20% - 0.5rem);line-height:0.75rem;text-align:right;margin:0 0.25rem}.l5r5e.peculiarity article.attributes .cursus input{margin-top:0.25rem}.l5r5e.peculiarity article.infos{height:calc(100% - 9.5rem)}.l5r5e.item article.attributes{height:4.5rem}.l5r5e.item article.attributes .properties{flex:100%}.l5r5e.item article.infos{flex:0 0 60%;height:calc(100% - 5.5rem)}.l5r5e.item article.properties{flex:0 0 40%;height:calc(100% - 5.5rem)}.l5r5e.property article.properties{width:100%}.l5r5e.property article.infos{height:calc(100% - 4.5rem)}.l5r5e.armor article.attributes{height:9.5rem}.l5r5e.armor article.infos{flex:0 0 60%;height:calc(100% - 10.5rem)}.l5r5e.armor article.properties{flex:0 0 40%;height:calc(100% - 10.5rem)}.l5r5e.weapon article.attributes{height:18.5rem}.l5r5e.weapon article.attributes .stats,.l5r5e.weapon article.attributes .attribute-value{flex:0 0 calc(50% - 0.5rem);flex-wrap:wrap;margin:0.25rem}.l5r5e.weapon article.attributes .stats label,.l5r5e.weapon article.attributes .attribute-value label{width:100%}.l5r5e.weapon article.attributes .stats input[type="text"]{text-align:center}.l5r5e.weapon article.attributes .value{flex:0 0 calc(25% - 0.5rem)}.l5r5e.weapon article.attributes .category,.l5r5e.weapon article.attributes .skillType{flex:0 0 calc(50% - 0.5rem)}.l5r5e.weapon article.attributes .category input,.l5r5e.weapon article.attributes .category .attribute-dtype,.l5r5e.weapon article.attributes .skillType input,.l5r5e.weapon article.attributes .skillType .attribute-dtype{width:100%;margin:0.25rem}.l5r5e.weapon article.infos{flex:0 0 60%;height:calc(100% - 19.5rem)}.l5r5e.weapon article.properties{flex:0 0 40%;height:calc(100% - 19.5rem)}.l5r5e.item-pattern .attribute.item{display:inline}.l5r5e.item-pattern .attribute.item .item-properties{display:inline}.l5r5e.item-pattern .attribute.item .item-properties li{display:inline}.l5r5e.title .sheet-body{height:calc(100% - 90px - 4.25rem)}.l5r5e.title article.infos{height:calc(100% - 3.5rem)}.l5r5e.title article.attributes{height:auto;background:transparent}.l5r5e.title article.experience{flex:100%;height:calc(100% - 4rem)}.l5r5e.army-cohort .sheet-body{height:calc(100% - 92px - 3.6rem)}.l5r5e.army-cohort article .fa-sign-in-alt{transform:rotate(90deg)}.l5r5e.army-cohort article.attributes{height:7rem}.l5r5e.army-cohort article.attributes input[type="text"]{width:100%}.l5r5e.army-cohort article.attributes .actor-remove-control{font-size:12px}.l5r5e.army-cohort article.attributes .flx50{flex:0 0 calc(50% - 0.5rem)}.l5r5e.army-cohort article.attributes .flx100{flex:0 0 calc(100% - 0.5rem)}.l5r5e.army-cohort article.attributes .editor-content{min-height:8rem;max-height:14rem}.l5r5e.army-cohort article.abilities{align-self:stretch;height:calc(100% - 8rem);width:100%;box-sizing:content-box}.l5r5e.army-fortification .sheet-body{height:calc(100% - 92px)}.l5r5e.army-fortification article.infos{height:calc(100% - 4.5rem)}.l5r5e.army-fortification article.attributes{height:3.5rem}.l5r5e .item-list>li .item-description{flex:unset;height:0;margin:0;padding:0;font-size:0.75rem;color:rgba(0,0,0,0.75);overflow:hidden;background:rgba(0,0,0,0.05);border:0 none;transition:height 0.25s ease-in}.l5r5e .item-list>li div.item-description{padding:0}.l5r5e .item-list>li div.item-description:hover,.l5r5e .item-list>li div.item-description:active{padding:0}.l5r5e .item-list>li:hover .item-description,.l5r5e .item-list>li:active .item-description{height:6rem;overflow-y:auto;scrollbar-width:thin;border:1px solid rgba(186,187,177,0.5)}.l5r5e .item-list>li:hover p .item-description,.l5r5e .item-list>li:active p .item-description{padding:0.25rem}.l5r5e .item-list .stance-content .item-description{display:none;height:auto}.l5r5e .item-list .stance-content .stance-active{display:block;height:auto;border:0 none}.l5r5e .item-list .stance-content:hover .item-description{height:auto;border:0 none}.l5r5e .item-list .stance-content:hover .stance-active{display:block}.l5r5e.twenty-questions-dialog .sheet-tabs{position:fixed;flex-direction:column;background:url("../assets/imgs/bg-20nav.webp") no-repeat;background-size:cover;width:4rem;height:41.58rem;margin:1%;line-height:5rem;padding:0.25rem;border-bottom:0 none}.l5r5e.twenty-questions-dialog .errors{position:-webkit-sticky;position:sticky;top:1rem;left:1rem;z-index:999;width:calc(100% - 1rem);background-color:#963c41;border:1px solid rgba(25,0,0,0.75);color:#fff;border-radius:1rem;text-align:center;line-height:2rem}.l5r5e.twenty-questions-dialog h3{font-size:1.25rem;color:#5a6e5a;text-shadow:0 0 rgba(0,0,0,0.25);margin:2rem 0 0.5rem 1rem}.l5r5e.twenty-questions-dialog nav .item{color:#000;font-size:2rem;font-weight:bold;background-color:rgba(255,255,255,0.25)}.l5r5e.twenty-questions-dialog nav .item.active,.l5r5e.twenty-questions-dialog nav .item:hover{color:#fff;background-color:rgba(73,12,11,0.85);--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)))}.l5r5e.twenty-questions-dialog nav .item:hover{background-color:#5a6e5a}.l5r5e.twenty-questions-dialog article{padding:2% 2% 2% 18%}.l5r5e.twenty-questions-dialog article label.full{display:block;width:100%;text-align:right;font-size:1rem}.l5r5e.twenty-questions-dialog article label.full input{display:inline;width:80%;float:right;text-align:left;margin-left:0.5rem}.l5r5e.twenty-questions-dialog article>label{font-size:1rem;padding:0 0 0 1rem;line-height:2rem}.l5r5e.twenty-questions-dialog article>label>*{line-height:1rem}.l5r5e.twenty-questions-dialog article table{width:100%;text-align:center}.l5r5e.twenty-questions-dialog article table tr th{color:#5a6e5a;font-weight:normal}.l5r5e.twenty-questions-dialog article table tr td{vertical-align:top;line-height:2rem;border:1px solid rgba(186,187,177,0.5);font-size:0.85rem;padding:0.25rem}.l5r5e.twenty-questions-dialog article table tr td>*{line-height:1rem}.l5r5e.twenty-questions-dialog article table tr td>ul li{line-height:2rem}.l5r5e.twenty-questions-dialog article table tr td>ul li>*{line-height:1rem}.l5r5e.twenty-questions-dialog article table tr td.done{border:1px solid #699678;box-shadow:0 1px 5px #699678}.l5r5e.twenty-questions-dialog article select{height:2rem;color:#764f40;background:rgba(255,255,255,0.25);border:1px solid rgba(255,255,255,0.5);border-radius:0.25rem;padding:0 0.25rem;margin:0.25rem;width:calc(100% - 0.5rem)}.l5r5e.twenty-questions-dialog article textarea{color:#764f40;background:rgba(255,255,255,0.25);border:1px solid rgba(255,255,255,0.5);margin:0 0.25rem 1rem}.l5r5e.twenty-questions-dialog article hr{border-top:1px solid rgba(0,0,0,0.25)}.l5r5e.twenty-questions-dialog article a.entity-link,.l5r5e.twenty-questions-dialog article a.inline-roll{color:#5a6e5a;background:rgba(255,255,255,0.25);border:1px solid rgba(0,0,0,0.25)}.l5r5e.twenty-questions-dialog article a.entity-link i,.l5r5e.twenty-questions-dialog article a.inline-roll i{color:#5a6e5a}.l5r5e.twenty-questions-dialog article .tq-drag-n-drop{border:0 none;padding:0}.l5r5e.twenty-questions-dialog article .third{width:230px}.l5r5e.twenty-questions-dialog article .fifty{width:49%}.l5r5e.twenty-questions-dialog article .or{width:100px}.l5r5e.twenty-questions-dialog article .dropbox{min-height:75px}.l5r5e.twenty-questions-dialog article .checklist{margin:0.25rem 0.25rem 1rem}.l5r5e.twenty-questions-dialog article .checklist strong{display:block;width:100%;color:#764f40}.l5r5e.twenty-questions-dialog article .checklist label{font-size:0.85rem;flex:0 0 auto;margin:0 0.25rem 0.25rem;padding:0 0.5rem;color:#5a6e5a;background:rgba(255,255,255,0.5);border:1px solid #5a6e5a;border-radius:1rem}.l5r5e.twenty-questions-dialog article .checklist label.technique{padding:0.25rem;margin:0.25rem;border-radius:0;display:inline-block}.l5r5e.twenty-questions-dialog article .checklist input{margin:0.25rem 0 0 0;height:0.65rem;width:0.65rem}.l5r5e.twenty-questions-dialog article #generchar_disclaimer{color:#963c41;font-weight:bold;font-size:1.25rem;text-align:center;flex:100%;padding:1rem 0}.l5r5e.twenty-questions-dialog article .next{margin:2rem 0 4rem}.l5r5e.twenty-questions-dialog article .autocomplete-wrapper{width:calc(100% - 2px)} diff --git a/system/styles/scss/ui.scss b/system/styles/scss/ui.scss index 1cbd1f4..d31a729 100644 --- a/system/styles/scss/ui.scss +++ b/system/styles/scss/ui.scss @@ -59,6 +59,8 @@ button { background-position: center; background-size: 100%; border-radius: 100%; + color: black; + &.fa-comments { background-image: url("../assets/ui/sidebar/chat.svg"); &:before { diff --git a/system/system.json b/system/system.json index e54c09c..b7db214 100644 --- a/system/system.json +++ b/system/system.json @@ -1,18 +1,20 @@ { - "name": "l5r5e", + "id": "l5r5e", "title": "Legend of the Five Rings (5th Edition)", "description": "This is an authorised multilingual game system En|Fr|Es, for Legend of the Five Rings (5th Edition) by Edge Studio

- Join the official Discord server: Official Discord

- Rejoignez la communauté Francophone: Francophone Discord

", "url": "https://gitlab.com/teaml5r/l5r5e", "readme": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/README.md", "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.9.0/raw/l5r5e.zip?job=build", "version": "1.9.0", - "minimumCoreVersion": "9", - "compatibleCoreVersion": "9", + "compatibility": { + "minimum": 10, + "verified": "10.273" + }, "manifestPlusVersion": "1.2.0", "socket": true, - "author": "Team L5R", "authors": [ { "name": "Vlyan", diff --git a/system/templates/actors/actor-export.html b/system/templates/actors/actor-export.html index 9f75ca5..1c98d44 100644 --- a/system/templates/actors/actor-export.html +++ b/system/templates/actors/actor-export.html @@ -145,10 +145,6 @@
    {{#each actor.items as |pattern|}} {{#ifCond pattern.data.type '==' 'item_pattern'}} - -{{!-- json pattern.data --}} -{{!-- voir pkoi : data.linkedProperty.name --}} -
  • {{> 'systems/l5r5e/templates/items/item-pattern/item-pattern-text.html' data=pattern.data editable=../options.editable}}
  • {{/ifCond}} {{/each}} diff --git a/system/templates/actors/actor-text.html b/system/templates/actors/actor-text.html index 989fbef..523297f 100644 --- a/system/templates/actors/actor-text.html +++ b/system/templates/actors/actor-text.html @@ -1,4 +1,4 @@ -
    +

    {{data.name}} @@ -6,6 +6,6 @@

    {{#if data.img}}

    {{/if}} - {{#if data.data.description}}

    {{{enrichHTML data.data.description}}}

    {{/if}} + {{#if data.enrichedHtml.description}}

    {{{data.enrichedHtml.description}}}

    {{/if}}
    diff --git a/system/templates/actors/army-sheet.html b/system/templates/actors/army-sheet.html index 1d74610..1de6001 100644 --- a/system/templates/actors/army-sheet.html +++ b/system/templates/actors/army-sheet.html @@ -14,7 +14,7 @@
    • {{localize 'l5r5e.army.battle_readiness.strength'}}
    • {{localize 'l5r5e.army.battle_readiness.discipline'}}
    • diff --git a/system/templates/actors/army/army.html b/system/templates/actors/army/army.html index ec23b69..a2e0725 100644 --- a/system/templates/actors/army/army.html +++ b/system/templates/actors/army/army.html @@ -1,35 +1,35 @@
      - {{#if data.editable_not_soft_locked}}{{^if data.data.warlord_actor_id}} {{/if}}{{/if}}{{localize 'l5r5e.army.warlord'}} + {{#if data.editable_not_soft_locked}}{{^if data.system.warlord_actor_id}} {{/if}}{{/if}}{{localize 'l5r5e.army.warlord'}}

      - {{#if data.data.warlord_actor_id}} + {{#if data.system.warlord_actor_id}} {{else}} - + {{/if}}

      {{localize 'l5r5e.army.allies_backers'}} - +

      {{localize 'l5r5e.army.purpose_mustering'}} - +

      - {{#if data.editable_not_soft_locked}}{{^if data.data.commander_actor_id}} {{/if}}{{/if}}{{localize 'l5r5e.army.commander'}} + {{#if data.editable_not_soft_locked}}{{^if data.system.commander_actor_id}} {{/if}}{{/if}}{{localize 'l5r5e.army.commander'}}
      - {{#if data.data.commander_actor_id}} + {{#if data.system.commander_actor_id}}
      {{localize 'l5r5e.army.army_abilities'}} - {{editor content=data.data.army_abilities target="data.army_abilities" button=true editable=options.editable}} + {{editor data.enrichedHtml.army_abilities target="system.army_abilities" button=true editable=options.editable}}
      \ No newline at end of file diff --git a/system/templates/actors/army/others.html b/system/templates/actors/army/others.html index 360d35f..3732352 100644 --- a/system/templates/actors/army/others.html +++ b/system/templates/actors/army/others.html @@ -1,23 +1,23 @@ {{!-- Supplies and Logistics --}}
      {{localize 'l5r5e.army.supplies_logistics'}} - {{editor content=data.data.supplies_logistics target="data.supplies_logistics" button=true editable=options.editable}} + {{editor data.enrichedHtml.supplies_logistics target="system.supplies_logistics" button=true editable=options.editable}}
      {{!-- Past Battles --}}
      {{localize 'l5r5e.army.past_battles'}} - {{editor content=data.data.past_battles target="data.past_battles" button=true editable=options.editable}} + {{editor data.enrichedHtml.past_battles target="system.past_battles" button=true editable=options.editable}}
      {{!-- Description (public) --}}
      {{localize 'l5r5e.sheets.description'}} - {{editor content=data.data.description target="data.description" button=true editable=options.editable}} + {{editor data.enrichedHtml.description target="system.description" button=true editable=options.editable}}
      {{!-- Notes (private) --}}
      {{localize 'l5r5e.sheets.notes'}} - {{editor content=data.data.notes target="data.notes" button=true editable=options.editable}} + {{editor data.enrichedHtml.notes target="system.notes" button=true editable=options.editable}}
      \ No newline at end of file diff --git a/system/templates/actors/character-sheet.html b/system/templates/actors/character-sheet.html index bc8d12e..eb74971 100644 --- a/system/templates/actors/character-sheet.html +++ b/system/templates/actors/character-sheet.html @@ -34,7 +34,7 @@ {{!-- Skills Tab --}}
        - {{#each data.data.skills as |category id|}} + {{#each data.system.skills as |category id|}} {{> 'systems/l5r5e/templates/actors/character/category.html' category=category categoryId=id data=../data}} {{/each}}
      diff --git a/system/templates/actors/character/advancement-others.html b/system/templates/actors/character/advancement-others.html index 542a302..ba935b0 100644 --- a/system/templates/actors/character/advancement-others.html +++ b/system/templates/actors/character/advancement-others.html @@ -1,8 +1,8 @@ - {{advancement.name}}{{#if advancement.data.bond_type}} ({{advancement.data.bond_type}}){{/if}} - {{#if show_curriculum_toggle}}{{#if advancement.data.in_curriculum}} {{/if}}{{/if}} - {{#if advancement.data.xp_used_total}}{{advancement.data.xp_used_total}}{{else}}{{advancement.data.xp_used}}{{/if}} - {{advancement.data.rank}} + {{advancement.name}}{{#if advancement.system.bond_type}} ({{advancement.system.bond_type}}){{/if}} + {{#if show_curriculum_toggle}}{{#if advancement.system.in_curriculum}} {{/if}}{{/if}} + {{#if advancement.system.xp_used_total}}{{advancement.system.xp_used_total}}{{else}}{{advancement.system.xp_used}}{{/if}} + {{advancement.system.rank}} {{#if editable}}
        diff --git a/system/templates/actors/character/advancement-school.html b/system/templates/actors/character/advancement-school.html index 4897cfc..e10ed1f 100644 --- a/system/templates/actors/character/advancement-school.html +++ b/system/templates/actors/character/advancement-school.html @@ -1,8 +1,8 @@ {{advancement.name}} - {{#if advancement.data.in_curriculum}} {{/if}} - {{advancement.data.xp_used}} - {{advancement.data.rank}} + {{#if advancement.system.in_curriculum}} {{/if}} + {{advancement.system.xp_used}} + {{advancement.system.rank}} {{#if editable}}
          diff --git a/system/templates/actors/character/attributes.html b/system/templates/actors/character/attributes.html index 4b3c99c..7d0db22 100644 --- a/system/templates/actors/character/attributes.html +++ b/system/templates/actors/character/attributes.html @@ -2,11 +2,11 @@
        • {{localize 'l5r5e.attributes.focustip'}}

        • -
        • +
        • {{localize 'l5r5e.attributes.vigilancetip'}}

          @@ -50,8 +50,8 @@
        \ No newline at end of file diff --git a/system/templates/actors/character/conflict.html b/system/templates/actors/character/conflict.html index 1085ad8..814855f 100644 --- a/system/templates/actors/character/conflict.html +++ b/system/templates/actors/character/conflict.html @@ -2,7 +2,7 @@ {{localize 'l5r5e.conflict.initiative.title'}} - + @@ -13,8 +13,8 @@
        {{localize 'l5r5e.conflict.stance'}}
          - {{#each data.data.rings as |ringValue ringId|}} - {{> 'systems/l5r5e/templates/actors/character/stance.html' stance=../data.data.stance ringId=ringId}} + {{#each data.system.rings as |ringValue ringId|}} + {{> 'systems/l5r5e/templates/actors/character/stance.html' stance=../data.system.stance ringId=ringId}} {{/each}}
        diff --git a/system/templates/actors/character/experience.html b/system/templates/actors/character/experience.html index e4360f8..cade9a3 100644 --- a/system/templates/actors/character/experience.html +++ b/system/templates/actors/character/experience.html @@ -2,22 +2,22 @@ {{localize 'l5r5e.sheets.experience'}} {{!-- School progession --}}
        - {{#if data.data.identity.school_curriculum_journal.id}} - {{data.data.identity.school_curriculum_journal.name}} + {{#if data.system.identity.school_curriculum_journal.id}} + {{data.system.identity.school_curriculum_journal.name}} {{else}} {{localize 'l5r5e.sheets.school'}} {{/if}} @@ -56,8 +56,8 @@ {{localize 'l5r5e.advancements.total_xp_spent'}} : {{rankObject.spent.total}} {{#if ../data.editable_not_soft_locked}} - {{#ifCond ../data.data.identity.school_rank '<' 6}} - {{#ifCond (ifCond ../data.data.identity.school_rank '==' rankObject.rank) '&&' (ifCond rankObject.spent.curriculum '>=' rankObject.goal)}} + {{#ifCond ../data.system.identity.school_rank '<' 6}} + {{#ifCond (ifCond ../data.system.identity.school_rank '==' rankObject.rank) '&&' (ifCond rankObject.spent.curriculum '>=' rankObject.goal)}}
        {{!-- Bushido Tenets --}} @@ -20,11 +20,11 @@ {{localize 'l5r5e.social.bushido_tenets.title'}}
    @@ -39,7 +39,7 @@
      {{#each actor.items as |item id|}} - {{#ifCond '["distinction","passion"]' 'includes' item.data.data.peculiarity_type}} + {{#ifCond '["distinction","passion"]' 'includes' item.system.peculiarity_type}} {{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../data.editable_not_soft_locked}} {{/ifCond}} {{/each}} @@ -55,7 +55,7 @@
        {{#each actor.items as |item id|}} - {{#ifCond '["adversity","anxiety"]' 'includes' item.data.data.peculiarity_type}} + {{#ifCond '["adversity","anxiety"]' 'includes' item.system.peculiarity_type}} {{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../data.editable_not_soft_locked}} {{/ifCond}} {{/each}} @@ -71,7 +71,7 @@
          {{#each actor.items as |bond id|}} - {{#ifCond bond.data.type '==' 'bond'}} + {{#ifCond bond.type '==' 'bond'}} {{> 'systems/l5r5e/templates/items/bond/bond-entry.html' bond=bond id=id editable=../data.editable_not_soft_locked}} {{/ifCond}} {{/each}} @@ -82,11 +82,11 @@ {{!-- Description (public) --}}
          {{localize 'l5r5e.sheets.description' }} - {{editor content=data.data.description target="data.description" button=true editable=options.editable}} + {{editor data.enrichedHtml.description target="system.description" button=true editable=options.editable}}
          {{!-- Notes (private) --}}
          {{localize 'l5r5e.sheets.notes' }} - {{editor content=data.data.notes target="data.notes" button=true editable=options.editable}} + {{editor data.enrichedHtml.notes target="system.notes" button=true editable=options.editable}}
          \ No newline at end of file diff --git a/system/templates/actors/character/rings.html b/system/templates/actors/character/rings.html index aa74a24..45f7991 100644 --- a/system/templates/actors/character/rings.html +++ b/system/templates/actors/character/rings.html @@ -3,35 +3,35 @@
        \ No newline at end of file diff --git a/system/templates/actors/character/skill.html b/system/templates/actors/character/skill.html index 1c276f1..df2a42a 100644 --- a/system/templates/actors/character/skill.html +++ b/system/templates/actors/character/skill.html @@ -4,7 +4,7 @@
      \ No newline at end of file diff --git a/system/templates/actors/character/stance.html b/system/templates/actors/character/stance.html index c666923..99fac62 100644 --- a/system/templates/actors/character/stance.html +++ b/system/templates/actors/character/stance.html @@ -1,7 +1,7 @@
    • {{localizeStanceTip ringId}}

    • \ No newline at end of file diff --git a/system/templates/actors/character/techniques.html b/system/templates/actors/character/techniques.html index 6747016..215c230 100644 --- a/system/templates/actors/character/techniques.html +++ b/system/templates/actors/character/techniques.html @@ -4,7 +4,7 @@ {{localize 'l5r5e.techniques.type'}} {{#each data.techniquesList as |technique|}} {{/each}} @@ -16,7 +16,7 @@ {{localize (localize 'l5r5e.techniques.{technique}' technique=technique)}} - {{#ifCond ../data.editable_not_soft_locked '&&' (lookup ../data.data.techniques technique)}} + {{#ifCond ../data.editable_not_soft_locked '&&' (lookup ../data.system.techniques technique)}} {{/ifCond}} @@ -37,7 +37,7 @@
        {{#each actor.items as |scroll id|}} - {{#ifCond scroll.data.type '==' 'signature_scroll'}} + {{#ifCond scroll.type '==' 'signature_scroll'}} {{> 'systems/l5r5e/templates/items/signature-scroll/signature-scroll-entry.html' scroll=scroll id=id editable=../data.editable_not_soft_locked}} {{/ifCond}} {{/each}} diff --git a/system/templates/actors/limited-sheet.html b/system/templates/actors/limited-sheet.html index 27bd2d0..8090f0b 100644 --- a/system/templates/actors/limited-sheet.html +++ b/system/templates/actors/limited-sheet.html @@ -3,6 +3,6 @@ {{!-- Sheet Header --}}

        - {{{data.data.description}}} + {{{data.enrichedHtml.description}}}
        diff --git a/system/templates/actors/npc/attributes.html b/system/templates/actors/npc/attributes.html index 8dca5c5..dec7eeb 100644 --- a/system/templates/actors/npc/attributes.html +++ b/system/templates/actors/npc/attributes.html @@ -2,11 +2,11 @@
      • {{localize 'l5r5e.attributes.focustip'}}

      • -
      • +
      • {{localize 'l5r5e.attributes.vigilancetip'}}

        @@ -50,8 +50,8 @@
      \ No newline at end of file diff --git a/system/templates/actors/npc/conflict.html b/system/templates/actors/npc/conflict.html index 2a8ed83..f09e004 100644 --- a/system/templates/actors/npc/conflict.html +++ b/system/templates/actors/npc/conflict.html @@ -2,7 +2,7 @@ {{localize 'l5r5e.conflict.initiative.title'}} - + @@ -13,8 +13,8 @@
      {{localize 'l5r5e.conflict.stance'}}
        - {{#each data.data.rings as |ringValue ringId|}} - {{> 'systems/l5r5e/templates/actors/character/stance.html' stance=../data.data.stance ringId=ringId}} + {{#each data.system.rings as |ringValue ringId|}} + {{> 'systems/l5r5e/templates/actors/character/stance.html' stance=../data.system.stance ringId=ringId}} {{/each}}
      diff --git a/system/templates/actors/npc/identity.html b/system/templates/actors/npc/identity.html index a89e050..11afb65 100644 --- a/system/templates/actors/npc/identity.html +++ b/system/templates/actors/npc/identity.html @@ -1,9 +1,9 @@
        {{!-- Npc Type (minion / adversary) --}}
      • - + {{#select data.system.type}} + {{#each data.types as |t|}} {{/each}} {{/select}} @@ -12,11 +12,11 @@ {{!-- Martial --}}
      • - +
      • {{!-- Social --}}
      • - +
      \ No newline at end of file diff --git a/system/templates/actors/npc/inventory.html b/system/templates/actors/npc/inventory.html index bdb9082..b7f006f 100644 --- a/system/templates/actors/npc/inventory.html +++ b/system/templates/actors/npc/inventory.html @@ -12,7 +12,7 @@
        {{#each actor.items as |pattern id|}} - {{#ifCond pattern.data.type '==' 'item_pattern'}} + {{#ifCond pattern.type '==' 'item_pattern'}} {{> 'systems/l5r5e/templates/items/item-pattern/item-pattern-entry.html' pattern=pattern id=id editable=../data.editable_not_soft_locked}} {{/ifCond}} {{/each}} diff --git a/system/templates/actors/npc/narrative.html b/system/templates/actors/npc/narrative.html index 022fa31..8680a49 100644 --- a/system/templates/actors/npc/narrative.html +++ b/system/templates/actors/npc/narrative.html @@ -4,11 +4,11 @@ {{localize 'l5r5e.social.title'}} {{!-- Bushido Tenets --}} @@ -16,11 +16,11 @@ {{localize 'l5r5e.social.bushido_tenets.title'}} @@ -35,7 +35,7 @@
          {{#each actor.items as |item id|}} - {{#ifCond '["distinction","passion"]' 'includes' item.data.data.peculiarity_type}} + {{#ifCond '["distinction","passion"]' 'includes' item.system.peculiarity_type}} {{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../data.editable_not_soft_locked}} {{/ifCond}} {{/each}} @@ -51,7 +51,7 @@
            {{#each actor.items as |item id|}} - {{#ifCond '["adversity","anxiety"]' 'includes' item.data.data.peculiarity_type}} + {{#ifCond '["adversity","anxiety"]' 'includes' item.system.peculiarity_type}} {{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../data.editable_not_soft_locked}} {{/ifCond}} {{/each}} @@ -67,7 +67,7 @@
              {{#each actor.items as |bond id|}} - {{#ifCond bond.data.type '==' 'bond'}} + {{#ifCond bond.type '==' 'bond'}} {{> 'systems/l5r5e/templates/items/bond/bond-entry.html' bond=bond id=id editable=../data.editable_not_soft_locked}} {{/ifCond}} {{/each}} @@ -78,11 +78,11 @@ {{!-- Description (public) --}}
              {{localize 'l5r5e.sheets.description' }} - {{editor content=data.data.description target="data.description" button=true editable=options.editable}} + {{editor data.enrichedHtml.description target="system.description" button=true editable=options.editable}}
              {{!-- Notes (private) --}}
              {{localize 'l5r5e.sheets.notes' }} - {{editor content=data.data.notes target="data.notes" button=true editable=options.editable}} + {{editor data.enrichedHtml.notes target="system.notes" button=true editable=options.editable}}
              \ No newline at end of file diff --git a/system/templates/actors/npc/rings.html b/system/templates/actors/npc/rings.html index aa74a24..45f7991 100644 --- a/system/templates/actors/npc/rings.html +++ b/system/templates/actors/npc/rings.html @@ -3,35 +3,35 @@
            \ No newline at end of file diff --git a/system/templates/actors/npc/skill.html b/system/templates/actors/npc/skill.html index 1273a46..07caa26 100644 --- a/system/templates/actors/npc/skill.html +++ b/system/templates/actors/npc/skill.html @@ -1,10 +1,10 @@
              - {{#each data.data.skills as |skillValue skillCatId|}} + {{#each data.system.skills as |skillValue skillCatId|}}
            • - +
            • {{/each}}
            \ No newline at end of file diff --git a/system/templates/actors/npc/social.html b/system/templates/actors/npc/social.html index a428e3d..cbb4ed0 100644 --- a/system/templates/actors/npc/social.html +++ b/system/templates/actors/npc/social.html @@ -2,32 +2,32 @@
          • {{!-- Attitude --}} {{!-- Strength & Weakness --}} {{#each data.stances as |stance|}} {{/each}}
          • diff --git a/system/templates/actors/npc/stance.html b/system/templates/actors/npc/stance.html index 209a0b9..c9ecc4d 100644 --- a/system/templates/actors/npc/stance.html +++ b/system/templates/actors/npc/stance.html @@ -1,7 +1,7 @@
          • {{localizeStanceTip ringId}}

          • \ No newline at end of file diff --git a/system/templates/actors/npc/techniques.html b/system/templates/actors/npc/techniques.html index b811955..ac00755 100644 --- a/system/templates/actors/npc/techniques.html +++ b/system/templates/actors/npc/techniques.html @@ -7,7 +7,7 @@ {{localize 'l5r5e.techniques.type'}} {{#each data.techniquesList as |technique|}} {{/each}} @@ -19,7 +19,7 @@ {{localize (localize 'l5r5e.techniques.{technique}' technique=technique)}} - {{#ifCond ../data.editable_not_soft_locked '&&' (lookup ../data.data.techniques technique)}} + {{#ifCond ../data.editable_not_soft_locked '&&' (lookup ../data.system.techniques technique)}} {{/ifCond}} @@ -40,7 +40,7 @@
              {{#each actor.items as |scroll id|}} - {{#ifCond scroll.data.type '==' 'signature_scroll'}} + {{#ifCond scroll.type '==' 'signature_scroll'}} {{> 'systems/l5r5e/templates/items/signature-scroll/signature-scroll-entry.html' scroll=scroll id=id editable=../data.editable_not_soft_locked}} {{/ifCond}} {{/each}} diff --git a/system/templates/gm/gm-monitor.html b/system/templates/gm/gm-monitor.html index ca1c7eb..f92211d 100644 --- a/system/templates/gm/gm-monitor.html +++ b/system/templates/gm/gm-monitor.html @@ -23,11 +23,11 @@ {{actor.name}} - {{#if actor.data.data.attitude}}

              ({{actor.data.data.attitude}})

              {{/if}} + {{#if actor.system.attitude}}

              ({{actor.system.attitude}})

              {{/if}} - + @@ -39,15 +39,15 @@ {{#if actor.haveArmorEquipped}}{{/if}}

              - {{#if actor.data.data.identity.school_rank}} - {{actor.data.data.identity.school_rank}} + {{#if actor.system.identity.school_rank}} + {{actor.system.identity.school_rank}} {{else}} - {{actor.data.data.conflict_rank.martial}} {{actor.data.data.conflict_rank.social}} + {{actor.system.conflict_rank.martial}} {{actor.system.conflict_rank.social}} {{/if}}

              - {{#if actor.data.data.rings_affinities}} - {{#each actor.data.data.rings_affinities as |ringValue ringId|}} + {{#if actor.system.rings_affinities}} + {{#each actor.system.rings_affinities as |ringValue ringId|}} {{#if ringValue}} {{ringValue}} {{/if}} @@ -57,24 +57,24 @@ - {{actor.data.data.fatigue.value}} - / {{actor.data.data.fatigue.max}} + {{actor.system.fatigue.value}} + / {{actor.system.fatigue.max}} - {{actor.data.data.strife.value}} - / {{actor.data.data.strife.max}} + {{actor.system.strife.value}} + / {{actor.system.strife.max}} - {{actor.data.data.focus}} - / {{#if actor.data.data.is_compromised}}1{{else}}{{actor.data.data.vigilance}}{{/if}} + {{actor.system.focus}} + / {{#if actor.system.is_compromised}}1{{else}}{{actor.system.vigilance}}{{/if}} - {{actor.data.data.void_points.value}} - / {{actor.data.data.void_points.max}} + {{actor.system.void_points.value}} + / {{actor.system.void_points.max}} @@ -102,34 +102,34 @@ {{actor.name}} - {{#if actor.data.data.warlord_actor_id}} - {{actor.data.data.warlord}} + {{#if actor.system.warlord_actor_id}} + {{actor.system.warlord}} {{else}} - {{actor.data.data.warlord}} + {{actor.system.warlord}} {{/if}} - {{actor.data.data.battle_readiness.casualties_strength.value}} - / {{actor.data.data.battle_readiness.casualties_strength.max}} + {{actor.system.battle_readiness.casualties_strength.value}} + / {{actor.system.battle_readiness.casualties_strength.max}} - {{actor.data.data.battle_readiness.panic_discipline.value}} - / {{actor.data.data.battle_readiness.panic_discipline.max}} + {{actor.system.battle_readiness.panic_discipline.value}} + / {{actor.system.battle_readiness.panic_discipline.max}} - {{#if actor.data.data.commander_actor_id}} - {{actor.data.data.commander}} + {{#if actor.system.commander_actor_id}} + {{actor.system.commander}} {{else}} - {{actor.data.data.commander}} + {{actor.system.commander}} {{/if}}
              - {{actor.data.data.commander_standing.honor}} - / {{actor.data.data.commander_standing.glory}} - / {{actor.data.data.commander_standing.status}} + {{actor.system.commander_standing.honor}} + / {{actor.system.commander_standing.glory}} + / {{actor.system.commander_standing.status}} diff --git a/system/templates/gm/monitor-tooltips/global-armies.html b/system/templates/gm/monitor-tooltips/global-armies.html index 16b7865..766c891 100644 --- a/system/templates/gm/monitor-tooltips/global-armies.html +++ b/system/templates/gm/monitor-tooltips/global-armies.html @@ -2,15 +2,15 @@

              {{localize 'ACTOR.TypeArmy'}}

                {{!-- warlord --}} -
              • {{localize 'l5r5e.army.allies_backers'}} : {{actorData.data.allies_backers}}
              • -
              • {{localize 'l5r5e.army.purpose_mustering'}} : {{actorData.data.purpose_mustering}}
              • +
              • {{localize 'l5r5e.army.allies_backers'}} : {{actorData.system.allies_backers}}
              • +
              • {{localize 'l5r5e.army.purpose_mustering'}} : {{actorData.system.purpose_mustering}}
              • {{!-- commander --}} -
              • {{localize 'l5r5e.army.commander_abilities'}} : {{actorData.data.commander_abilities}}
              • -
              • {{localize 'l5r5e.army.army_abilities'}} : {{{enrichHTML actorData.data.army_abilities}}}
              • +
              • {{localize 'l5r5e.army.commander_abilities'}} : {{actorData.system.commander_abilities}}
              • +
              • {{localize 'l5r5e.army.army_abilities'}} : {{{actorData.enrichedHtml.army_abilities}}}
              {{!-- description --}} -

              {{{enrichHTML actorData.data.description}}}

              +

              {{{actorData.enrichedHtml.description}}}

              {{!-- Cohorts --}} {{#if actorData.splitItemsList.army_cohort}} @@ -18,12 +18,12 @@
                {{#each actorData.splitItemsList.army_cohort as |cohort|}}
              • - {{cohort.name}} {{#if cohort.data.leader}}({{cohort.data.leader}}){{/if}} + {{cohort.name}} {{#if cohort.system.leader}}({{cohort.system.leader}}){{/if}}
                - {{cohort.data.battle_readiness.casualties_strength.value}} - {{cohort.data.battle_readiness.casualties_strength.max}} - {{cohort.data.battle_readiness.panic_discipline.value}} - {{cohort.data.battle_readiness.panic_discipline.max}} + {{cohort.system.battle_readiness.casualties_strength.value}} + {{cohort.system.battle_readiness.casualties_strength.max}} + {{cohort.system.battle_readiness.panic_discipline.value}} + {{cohort.system.battle_readiness.panic_discipline.max}}
              • {{/each}}
              @@ -36,8 +36,8 @@ {{#each actorData.splitItemsList.army_fortification as |fortification|}}
            • {{fortification.name}} - {{fortification.data.difficulty}} - {{fortification.data.attrition_reduction}} + {{fortification.system.difficulty}} + {{fortification.system.attrition_reduction}}
            • {{/each}}
            diff --git a/system/templates/gm/monitor-tooltips/global.html b/system/templates/gm/monitor-tooltips/global.html index 142ce28..3024937 100644 --- a/system/templates/gm/monitor-tooltips/global.html +++ b/system/templates/gm/monitor-tooltips/global.html @@ -1,29 +1,29 @@
              {{!-- Ninjo/Giri --}} -
            • {{localize 'l5r5e.social.ninjo'}} : {{actorData.social.ninjo}}
            • -
            • {{localize 'l5r5e.social.giri'}} : {{actorData.social.giri}}
            • +
            • {{localize 'l5r5e.social.ninjo'}} : {{actorData.system.social.ninjo}}
            • +
            • {{localize 'l5r5e.social.giri'}} : {{actorData.system.social.giri}}
            • {{!-- Bushido Tenet --}} -
            • {{localize 'l5r5e.social.bushido_tenets.paramount'}} : {{actorData.social.bushido_tenets.paramount}}
            • -
            • {{localize 'l5r5e.social.bushido_tenets.less_significant'}} : {{actorData.social.bushido_tenets.less_significant}}
            • +
            • {{localize 'l5r5e.social.bushido_tenets.paramount'}} : {{actorData.system.social.bushido_tenets.paramount}}
            • +
            • {{localize 'l5r5e.social.bushido_tenets.less_significant'}} : {{actorData.system.social.bushido_tenets.less_significant}}
            • {{!-- Peculiarities --}}
            • {{localize 'l5r5e.social.npc.advantages'}} : {{advantages}}
            • {{localize 'l5r5e.social.npc.disadvantages'}} : {{disadvantages}}
            • {{!-- Honor/Glory/Status --}} -
            • {{localize 'l5r5e.social.honor'}} : {{actorData.social.honor}}
            • -
            • {{localize 'l5r5e.social.glory'}} : {{actorData.social.glory}}
            • -
            • {{localize 'l5r5e.social.status'}} : {{actorData.social.status}}
            • +
            • {{localize 'l5r5e.social.honor'}} : {{actorData.system.social.honor}}
            • +
            • {{localize 'l5r5e.social.glory'}} : {{actorData.system.social.glory}}
            • +
            • {{localize 'l5r5e.social.status'}} : {{actorData.system.social.status}}
            {{#ifCond actor_type "==" "character"}} {{!-- 20Q --}}
              -
            • {{localize (localize 'l5r5e.twenty_questions.part5.q14{suffix}' suffix=suffix)}} : {{actorData.twenty_questions.step14.first_sight}}
            • -
            • {{localize (localize 'l5r5e.twenty_questions.part5.q15{suffix}' suffix=suffix)}} : {{actorData.twenty_questions.step15.stress}}
            • -
            • {{localize (localize 'l5r5e.twenty_questions.part7.q20{suffix}' suffix=suffix)}} : {{actorData.twenty_questions.step20.death}}
            • +
            • {{localize (localize 'l5r5e.twenty_questions.part5.q14{suffix}' suffix=suffix)}} : {{actorData.system.twenty_questions.step14.first_sight}}
            • +
            • {{localize (localize 'l5r5e.twenty_questions.part5.q15{suffix}' suffix=suffix)}} : {{actorData.system.twenty_questions.step15.stress}}
            • +
            • {{localize (localize 'l5r5e.twenty_questions.part7.q20{suffix}' suffix=suffix)}} : {{actorData.system.twenty_questions.step20.death}}
            {{/ifCond}} -

            {{{enrichHTML actorData.description}}}

            +

            {{{actorData.enrichedHtml.description}}}

            \ No newline at end of file diff --git a/system/templates/items/advancement/advancement-sheet.html b/system/templates/items/advancement/advancement-sheet.html index 3986bca..a38f38e 100644 --- a/system/templates/items/advancement/advancement-sheet.html +++ b/system/templates/items/advancement/advancement-sheet.html @@ -7,17 +7,17 @@
            {{!-- Attributes Tab --}}
            - + {{#select data.system.advancement_type}} {{#each data.subTypesList as |label type|}} {{/each}} {{/select}} - {{#ifCond data.data.advancement_type '==' 'ring'}} - + {{#select data.system.ring}} {{#each data.ringsList as |obj|}} {{/each}} @@ -25,10 +25,10 @@ {{/ifCond}} - {{#ifCond data.data.advancement_type '==' 'skill'}} - - {{#select data.data.skill}} + {{#select data.system.skill}} {{#each data.skillsList as |skills catId|}} {{#each skills as |obj|}} @@ -40,20 +40,20 @@ {{/ifCond}}
            {{> 'systems/l5r5e/templates/items/item/item-infos.html'}} diff --git a/system/templates/items/advancement/advancement-text.html b/system/templates/items/advancement/advancement-text.html index 5fc8bee..706c05d 100644 --- a/system/templates/items/advancement/advancement-text.html +++ b/system/templates/items/advancement/advancement-text.html @@ -1,23 +1,23 @@ -
            +

            {{data.name}}

            • - {{#ifCond data.data.advancement_type '==' 'ring' }} - {{localize 'l5r5e.rings.label'}} : {{localizeRing data.data.ring}} + {{#ifCond data.system.advancement_type '==' 'ring' }} + {{localize 'l5r5e.rings.label'}} : {{localizeRing data.system.ring}} {{else}} - {{localize 'l5r5e.skills.label'}} : {{localizeSkillId data.data.skill}} + {{localize 'l5r5e.skills.label'}} : {{localizeSkillId data.system.skill}} {{/ifCond}}
            • -
            • {{localize 'l5r5e.advancements.curriculum'}} : {{localizeYesNo data.data.in_curriculum}}
            • -
            • {{localize 'l5r5e.advancements.spent'}} : {{data.data.xp_used}}
            • -
            • {{localize 'l5r5e.sheets.rank'}} : {{data.data.rank}}
            • -
            • {{localize 'l5r5e.sheets.bought_at_rank'}} : {{data.data.bought_at_rank}}
            • +
            • {{localize 'l5r5e.advancements.curriculum'}} : {{localizeYesNo data.system.in_curriculum}}
            • +
            • {{localize 'l5r5e.advancements.spent'}} : {{data.system.xp_used}}
            • +
            • {{localize 'l5r5e.sheets.rank'}} : {{data.system.rank}}
            • +
            • {{localize 'l5r5e.sheets.bought_at_rank'}} : {{data.system.bought_at_rank}}
            {{!--item-infos--}} -

            {{localize 'l5r5e.sheets.description'}} : {{{enrichHTML data.data.description}}}

            -

            {{localize 'l5r5e.sheets.book_reference'}} : {{data.data.book_reference}}

            +

            {{localize 'l5r5e.sheets.description'}} : {{{data.enrichedHtml.description}}}

            +

            {{localize 'l5r5e.sheets.book_reference'}} : {{data.system.book_reference}}

            diff --git a/system/templates/items/armor/armor-entry.html b/system/templates/items/armor/armor-entry.html index 68432da..0cb138f 100644 --- a/system/templates/items/armor/armor-entry.html +++ b/system/templates/items/armor/armor-entry.html @@ -3,8 +3,8 @@
          • {{armor.name}}
          • - {{armor.data.data.armor.physical}} - {{armor.data.data.armor.supernatural}} + {{armor.system.armor.physical}} + {{armor.system.armor.supernatural}}
          • {{#if editable}}
          • @@ -12,7 +12,7 @@ {{/if}}
            - {{#each armor.data.data.properties as |property id|}} + {{#each armor.system.properties as |property id|}}
          • {{{property.name}}}
          • {{/each}}
          diff --git a/system/templates/items/armor/armor-sheet.html b/system/templates/items/armor/armor-sheet.html index c3f947c..eaab740 100644 --- a/system/templates/items/armor/armor-sheet.html +++ b/system/templates/items/armor/armor-sheet.html @@ -8,7 +8,7 @@ {{!-- attributes --}}
          {{> 'systems/l5r5e/templates/items/item/item-value.html' }} @@ -16,11 +16,11 @@ {{localize 'l5r5e.armors.type'}}
          diff --git a/system/templates/items/armor/armor-text.html b/system/templates/items/armor/armor-text.html index 27c9892..cbcc816 100644 --- a/system/templates/items/armor/armor-text.html +++ b/system/templates/items/armor/armor-text.html @@ -1,42 +1,42 @@ -
          +

          {{data.name}}

          • - {{localize 'l5r5e.weapons.sheathed'}} : {{localizeYesNo data.data.equipped}} + {{localize 'l5r5e.weapons.sheathed'}} : {{localizeYesNo data.system.equipped}}
          • - {{localize 'l5r5e.weapons.readied'}} : {{localizeYesNo data.data.readied}} + {{localize 'l5r5e.weapons.readied'}} : {{localizeYesNo data.system.readied}}
          • {{!--item-value--}}
          • - {{localize 'l5r5e.sheets.quantity'}} : {{data.data.quantity}} + {{localize 'l5r5e.sheets.quantity'}} : {{data.system.quantity}}
          • - {{localize 'l5r5e.sheets.weight'}} : {{data.data.weight}} + {{localize 'l5r5e.sheets.weight'}} : {{data.system.weight}}
          • - {{localize 'l5r5e.sheets.rarity'}} : {{data.data.rarity}} + {{localize 'l5r5e.sheets.rarity'}} : {{data.system.rarity}}
          • - {{localize 'l5r5e.sheets.value'}} : {{data.data.zeni}} + {{localize 'l5r5e.sheets.value'}} : {{data.system.zeni}}
          • - {{localize 'l5r5e.armors.physical'}} : {{data.data.armor.physical}} + {{localize 'l5r5e.armors.physical'}} : {{data.system.armor.physical}}
          • - {{localize 'l5r5e.armors.supernatural'}} : {{data.data.armor.supernatural}} + {{localize 'l5r5e.armors.supernatural'}} : {{data.system.armor.supernatural}}
          {{!--properties--}}

          {{localize 'l5r5e.sheets.properties'}} : - {{#each data.data.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}} + {{#each data.system.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}

          {{!--item-infos--}} -

          {{localize 'l5r5e.sheets.description'}} : {{{enrichHTML data.data.description}}}

          -

          {{localize 'l5r5e.sheets.book_reference'}} : {{data.data.book_reference}}

          +

          {{localize 'l5r5e.sheets.description'}} : {{{data.enrichedHtml.description}}}

          +

          {{localize 'l5r5e.sheets.book_reference'}} : {{data.system.book_reference}}

          diff --git a/system/templates/items/armor/armors.html b/system/templates/items/armor/armors.html index 7b61431..73cfb25 100644 --- a/system/templates/items/armor/armors.html +++ b/system/templates/items/armor/armors.html @@ -7,7 +7,7 @@
            {{#each actor.items as |item id|}} - {{#ifCond (ifCond item.type '==' 'armor') '&&' (ifCond item.data.data.equipped '==' true)}} + {{#ifCond (ifCond item.type '==' 'armor') '&&' (ifCond item.system.equipped '==' true)}} {{> 'systems/l5r5e/templates/items/armor/armor-entry.html' armor=item id=id editable=../data.editable_not_soft_locked }} {{/ifCond}} {{/each}} diff --git a/system/templates/items/army-cohort/army-cohort-entry.html b/system/templates/items/army-cohort/army-cohort-entry.html index 9460053..6b7ef17 100644 --- a/system/templates/items/army-cohort/army-cohort-entry.html +++ b/system/templates/items/army-cohort/army-cohort-entry.html @@ -1,12 +1,12 @@
            • -
            • +
            • {{cohort.name}}
            • - {{cohort.data.battle_readiness.casualties_strength.value}} - {{cohort.data.battle_readiness.casualties_strength.max}} - {{cohort.data.battle_readiness.panic_discipline.value}} - {{cohort.data.battle_readiness.panic_discipline.max}} + {{cohort.system.battle_readiness.casualties_strength.value}} + {{cohort.system.battle_readiness.casualties_strength.max}} + {{cohort.system.battle_readiness.panic_discipline.value}} + {{cohort.system.battle_readiness.panic_discipline.max}}
            • {{#if editable}}
            • @@ -14,7 +14,7 @@ {{/if}}
              - {{#if cohort.data.leader}}
            • {{localize 'l5r5e.army.cohort.leader'}} : {{#if cohort.data.leader_actor_id}}{{cohort.data.leader}}{{else}}{{cohort.data.leader}}{{/if}}
            • {{/if}} - {{#if cohort.data.equipment}}
            • {{localize 'l5r5e.sheets.equipment'}} : {{cohort.data.equipment}}
            • {{/if}} + {{#if cohort.system.leader}}
            • {{localize 'l5r5e.army.cohort.leader'}} : {{#if cohort.system.leader_actor_id}}{{cohort.system.leader}}{{else}}{{cohort.system.leader}}{{/if}}
            • {{/if}} + {{#if cohort.system.equipment}}
            • {{localize 'l5r5e.sheets.equipment'}} : {{cohort.system.equipment}}
            • {{/if}}
          • diff --git a/system/templates/items/army-cohort/army-cohort-sheet.html b/system/templates/items/army-cohort/army-cohort-sheet.html index ed4c5a7..aa928f2 100644 --- a/system/templates/items/army-cohort/army-cohort-sheet.html +++ b/system/templates/items/army-cohort/army-cohort-sheet.html @@ -10,35 +10,35 @@ {{!-- battle readiness --}} @@ -52,7 +52,7 @@
            {{localize 'l5r5e.army.cohort.abilities'}} - {{editor content=data.data.abilities target="data.abilities" button=true owner=owner editable=editable}} + {{editor data.enrichedHtml.abilities target="system.abilities" button=true owner=owner editable=editable}}
            diff --git a/system/templates/items/army-cohort/army-cohort-text.html b/system/templates/items/army-cohort/army-cohort-text.html index d25b061..bba5629 100644 --- a/system/templates/items/army-cohort/army-cohort-text.html +++ b/system/templates/items/army-cohort/army-cohort-text.html @@ -1,21 +1,21 @@ -
            +

            {{data.name}}

              -
            • {{localize 'l5r5e.army.cohort.leader'}} : {{data.data.leader}}
            • -
            • {{localize 'l5r5e.sheets.equipment'}} : {{data.data.equipment}}
            • +
            • {{localize 'l5r5e.army.cohort.leader'}} : {{data.system.leader}}
            • +
            • {{localize 'l5r5e.sheets.equipment'}} : {{data.system.equipment}}
            • {{!-- battle readiness --}} -
            • {{localize 'l5r5e.army.battle_readiness.casualties'}} : {{data.data.battle_readiness.casualties_strength.value}}
            • -
            • {{localize 'l5r5e.army.battle_readiness.strength'}} : {{data.data.battle_readiness.casualties_strength.max}}
            • -
            • {{localize 'l5r5e.army.battle_readiness.panic'}} : {{data.data.battle_readiness.panic_discipline.value}}
            • -
            • {{localize 'l5r5e.army.battle_readiness.discipline'}} : {{data.data.battle_readiness.panic_discipline.max}}
            • +
            • {{localize 'l5r5e.army.battle_readiness.casualties'}} : {{data.system.battle_readiness.casualties_strength.value}}
            • +
            • {{localize 'l5r5e.army.battle_readiness.strength'}} : {{data.system.battle_readiness.casualties_strength.max}}
            • +
            • {{localize 'l5r5e.army.battle_readiness.panic'}} : {{data.system.battle_readiness.panic_discipline.value}}
            • +
            • {{localize 'l5r5e.army.battle_readiness.discipline'}} : {{data.system.battle_readiness.panic_discipline.max}}
            {{!-- abilities --}} -

            {{localize 'l5r5e.army.cohort.abilities'}} : {{{enrichHTML data.data.abilities}}}

            +

            {{localize 'l5r5e.army.cohort.abilities'}} : {{{data.enrichedHtml.abilities}}}

            {{!--item-infos--}} -

            {{localize 'l5r5e.sheets.description'}} : {{{enrichHTML data.data.description}}}

            -

            {{localize 'l5r5e.sheets.book_reference'}} : {{data.data.book_reference}}

            +

            {{localize 'l5r5e.sheets.description'}} : {{{data.enrichedHtml.description}}}

            +

            {{localize 'l5r5e.sheets.book_reference'}} : {{data.system.book_reference}}

            \ No newline at end of file diff --git a/system/templates/items/army-fortification/army-fortification-entry.html b/system/templates/items/army-fortification/army-fortification-entry.html index 322fdb5..d16b298 100644 --- a/system/templates/items/army-fortification/army-fortification-entry.html +++ b/system/templates/items/army-fortification/army-fortification-entry.html @@ -3,8 +3,8 @@
          • {{fortification.name}}
          • - {{fortification.data.difficulty}} - {{fortification.data.attrition_reduction}} + {{fortification.system.difficulty}} + {{fortification.system.attrition_reduction}}
          • {{#if editable}}
          • diff --git a/system/templates/items/army-fortification/army-fortification-sheet.html b/system/templates/items/army-fortification/army-fortification-sheet.html index 4fb00f9..47014ae 100644 --- a/system/templates/items/army-fortification/army-fortification-sheet.html +++ b/system/templates/items/army-fortification/army-fortification-sheet.html @@ -9,12 +9,12 @@
            {{> 'systems/l5r5e/templates/items/item/item-infos.html'}} diff --git a/system/templates/items/army-fortification/army-fortification-text.html b/system/templates/items/army-fortification/army-fortification-text.html index 2afcc75..ff7609f 100644 --- a/system/templates/items/army-fortification/army-fortification-text.html +++ b/system/templates/items/army-fortification/army-fortification-text.html @@ -1,14 +1,14 @@ -
            +

            {{data.name}}

              -
            • {{localize 'l5r5e.army.fortification.difficulty'}} : {{data.data.difficulty}}
            • -
            • {{localize 'l5r5e.army.fortification.attrition_reduction'}} : {{data.data.attrition_reduction}}
            • +
            • {{localize 'l5r5e.army.fortification.difficulty'}} : {{data.system.difficulty}}
            • +
            • {{localize 'l5r5e.army.fortification.attrition_reduction'}} : {{data.system.attrition_reduction}}
            {{!--item-infos--}} -

            {{localize 'l5r5e.sheets.description'}} : {{{enrichHTML data.data.description}}}

            -

            {{localize 'l5r5e.sheets.book_reference'}} : {{data.data.book_reference}}

            +

            {{localize 'l5r5e.sheets.description'}} : {{{data.enrichedHtml.description}}}

            +

            {{localize 'l5r5e.sheets.book_reference'}} : {{data.system.book_reference}}

            \ No newline at end of file diff --git a/system/templates/items/bond/bond-entry.html b/system/templates/items/bond/bond-entry.html index ebf1f41..5b65bb6 100644 --- a/system/templates/items/bond/bond-entry.html +++ b/system/templates/items/bond/bond-entry.html @@ -7,9 +7,9 @@
          • {{/if}}
          - {{#if bond.data.data.bond_type}} + {{#if bond.system.bond_type}}
            -
          • {{bond.data.data.bond_type}} {{bond.data.data.rank}}
          • +
          • {{bond.system.bond_type}} {{bond.system.rank}}
          {{/if}} \ No newline at end of file diff --git a/system/templates/items/bond/bond-sheet.html b/system/templates/items/bond/bond-sheet.html index af81dd6..21b62db 100644 --- a/system/templates/items/bond/bond-sheet.html +++ b/system/templates/items/bond/bond-sheet.html @@ -9,23 +9,23 @@
          {{> 'systems/l5r5e/templates/items/item/item-infos.html'}} diff --git a/system/templates/items/bond/bond-text.html b/system/templates/items/bond/bond-text.html index 7e02e98..50c470c 100644 --- a/system/templates/items/bond/bond-text.html +++ b/system/templates/items/bond/bond-text.html @@ -1,32 +1,32 @@ -
          +

          {{data.name}}

          • - {{localize 'l5r5e.sheets.types'}} : {{data.data.bond_type}} + {{localize 'l5r5e.sheets.types'}} : {{data.system.bond_type}}
          • - {{localize 'l5r5e.advancements.cost'}} : {{data.data.xp_cost}} + {{localize 'l5r5e.advancements.cost'}} : {{data.system.xp_cost}}
          • - {{localize 'l5r5e.advancements.spent'}} : {{data.data.xp_used}} + {{localize 'l5r5e.advancements.spent'}} : {{data.system.xp_used}}
          • - {{localize 'l5r5e.sheets.rank'}} : {{data.data.rank}} + {{localize 'l5r5e.sheets.rank'}} : {{data.system.rank}}
          • - {{localize 'l5r5e.sheets.bought_at_rank'}} : {{data.data.bought_at_rank}} + {{localize 'l5r5e.sheets.bought_at_rank'}} : {{data.system.bought_at_rank}}
          {{!--properties--}}

          {{localize 'l5r5e.sheets.properties'}} : - {{#each data.data.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}} + {{#each data.system.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}

          {{!--item-infos--}} -

          {{localize 'l5r5e.sheets.description'}} : {{{enrichHTML data.data.description}}}

          -

          {{localize 'l5r5e.sheets.book_reference'}} : {{data.data.book_reference}}

          +

          {{localize 'l5r5e.sheets.description'}} : {{{data.enrichedHtml.description}}}

          +

          {{localize 'l5r5e.sheets.book_reference'}} : {{data.system.book_reference}}

          diff --git a/system/templates/items/item-pattern/item-pattern-sheet.html b/system/templates/items/item-pattern/item-pattern-sheet.html index bffaabe..4099b44 100644 --- a/system/templates/items/item-pattern/item-pattern-sheet.html +++ b/system/templates/items/item-pattern/item-pattern-sheet.html @@ -9,23 +9,23 @@
        - {{#if peculiarity.data.data.types}} + {{#if peculiarity.system.types}}
          -
        • {{peculiarity.data.data.types}}
        • +
        • {{peculiarity.system.types}}
        {{/if}} \ No newline at end of file diff --git a/system/templates/items/peculiarity/peculiarity-sheet.html b/system/templates/items/peculiarity/peculiarity-sheet.html index 4417378..af9385b 100644 --- a/system/templates/items/peculiarity/peculiarity-sheet.html +++ b/system/templates/items/peculiarity/peculiarity-sheet.html @@ -7,39 +7,39 @@
        {{!-- Attributes Tab --}}
        - + {{#select data.system.ring}} {{#each data.ringsList as |obj|}} {{/each}} {{/select}} - + {{#select data.system.peculiarity_type}} {{#each data.subTypesList as |type|}} {{/each}} {{/select}}
        {{> 'systems/l5r5e/templates/items/item/item-infos.html'}} diff --git a/system/templates/items/peculiarity/peculiarity-text.html b/system/templates/items/peculiarity/peculiarity-text.html index 780f3f1..7a1e7f9 100644 --- a/system/templates/items/peculiarity/peculiarity-text.html +++ b/system/templates/items/peculiarity/peculiarity-text.html @@ -1,33 +1,33 @@ -
        +

        {{data.name}}

        • - {{localize 'l5r5e.rings.label'}} : {{localizeRing data.data.ring}} + {{localize 'l5r5e.rings.label'}} : {{localizeRing data.system.ring}}
        • - {{localize 'l5r5e.sheets.types'}} : {{localize (localize 'l5r5e.peculiarities.types.{type}' type=data.data.peculiarity_type)}} + {{localize 'l5r5e.sheets.types'}} : {{localize (localize 'l5r5e.peculiarities.types.{type}' type=data.system.peculiarity_type)}}
        • - {{localize 'l5r5e.advancements.curriculum'}} : {{localizeYesNo data.data.in_curriculum}} + {{localize 'l5r5e.advancements.curriculum'}} : {{localizeYesNo data.system.in_curriculum}}
        • - {{localize 'l5r5e.advancements.spent'}} : {{data.data.xp_used}} + {{localize 'l5r5e.advancements.spent'}} : {{data.system.xp_used}}
        • - {{localize 'l5r5e.sheets.rank'}} : {{data.data.rank}} + {{localize 'l5r5e.sheets.rank'}} : {{data.system.rank}}
        • - {{localize 'l5r5e.sheets.bought_at_rank'}} : {{data.data.bought_at_rank}} + {{localize 'l5r5e.sheets.bought_at_rank'}} : {{data.system.bought_at_rank}}
        • - {{localize 'l5r5e.sheets.types'}} : {{data.data.types}} + {{localize 'l5r5e.sheets.types'}} : {{data.system.types}}
        {{!--item-infos--}} -

        {{localize 'l5r5e.sheets.description'}} : {{{enrichHTML data.data.description}}}

        -

        {{localize 'l5r5e.sheets.book_reference'}} : {{data.data.book_reference}}

        +

        {{localize 'l5r5e.sheets.description'}} : {{{data.enrichedHtml.description}}}

        +

        {{localize 'l5r5e.sheets.book_reference'}} : {{data.system.book_reference}}

        diff --git a/system/templates/items/property/property-text.html b/system/templates/items/property/property-text.html index 5b2d2ca..df8c81e 100644 --- a/system/templates/items/property/property-text.html +++ b/system/templates/items/property/property-text.html @@ -1,4 +1,4 @@ -
        +

        {{data.name}}

        @@ -7,11 +7,11 @@ {{!--cancelled properties--}}
      • {{localize 'l5r5e.sheets.removed_properties'}} : - {{#each data.data.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}} + {{#each data.system.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}
      {{!--item-infos--}} -

      {{localize 'l5r5e.sheets.description'}} : {{{enrichHTML data.data.description}}}

      -

      {{localize 'l5r5e.sheets.book_reference'}} : {{data.data.book_reference}}

      +

      {{localize 'l5r5e.sheets.description'}} : {{{data.enrichedHtml.description}}}

      +

      {{localize 'l5r5e.sheets.book_reference'}} : {{data.system.book_reference}}

      diff --git a/system/templates/items/signature-scroll/signature-scroll-sheet.html b/system/templates/items/signature-scroll/signature-scroll-sheet.html index df90655..4f50d0b 100644 --- a/system/templates/items/signature-scroll/signature-scroll-sheet.html +++ b/system/templates/items/signature-scroll/signature-scroll-sheet.html @@ -9,19 +9,19 @@
      {{> 'systems/l5r5e/templates/items/item/item-infos.html'}} diff --git a/system/templates/items/signature-scroll/signature-scroll-text.html b/system/templates/items/signature-scroll/signature-scroll-text.html index 21460c5..70e010f 100644 --- a/system/templates/items/signature-scroll/signature-scroll-text.html +++ b/system/templates/items/signature-scroll/signature-scroll-text.html @@ -1,24 +1,24 @@ -
      +

      {{data.name}}

      • - {{localize 'l5r5e.advancements.cost'}} : {{data.data.xp_cost}} + {{localize 'l5r5e.advancements.cost'}} : {{data.system.xp_cost}}
      • - {{localize 'l5r5e.advancements.spent'}} : {{data.data.xp_used}} + {{localize 'l5r5e.advancements.spent'}} : {{data.system.xp_used}}
      • - {{localize 'l5r5e.sheets.rank'}} : {{data.data.rank}} + {{localize 'l5r5e.sheets.rank'}} : {{data.system.rank}}
      • - {{localize 'l5r5e.sheets.bought_at_rank'}} : {{data.data.bought_at_rank}} + {{localize 'l5r5e.sheets.bought_at_rank'}} : {{data.system.bought_at_rank}}
      {{!--item-infos--}} -

      {{localize 'l5r5e.sheets.description'}} : {{{enrichHTML data.data.description}}}

      -

      {{localize 'l5r5e.sheets.book_reference'}} : {{data.data.book_reference}}

      +

      {{localize 'l5r5e.sheets.description'}} : {{{data.enrichedHtml.description}}}

      +

      {{localize 'l5r5e.sheets.book_reference'}} : {{data.system.book_reference}}

      diff --git a/system/templates/items/technique/technique-entry.html b/system/templates/items/technique/technique-entry.html index a67192e..ea165d4 100644 --- a/system/templates/items/technique/technique-entry.html +++ b/system/templates/items/technique/technique-entry.html @@ -1,10 +1,10 @@ -
    • +
      • -
      • {{technique.name}}
      • +
      • {{technique.name}}
      • {{#if editable}} -
      • - {{^if technique.data.parent_id.item_id}} +
      • + {{^if technique.system.parent_id.item_id}}
      • {{/if}} {{/if}} diff --git a/system/templates/items/technique/technique-sheet.html b/system/templates/items/technique/technique-sheet.html index 30a3e5b..0c5669d 100644 --- a/system/templates/items/technique/technique-sheet.html +++ b/system/templates/items/technique/technique-sheet.html @@ -7,48 +7,48 @@
        {{!-- Attributes Tab --}}
        - + {{#select data.system.ring}} {{#each data.ringsList as |obj|}} {{/each}} {{/select}} - + {{#select data.system.technique_type}} {{#each data.techniquesList as |obj|}} {{/each}} {{/select}}
        {{> 'systems/l5r5e/templates/items/item/item-infos.html'}} diff --git a/system/templates/items/technique/technique-text.html b/system/templates/items/technique/technique-text.html index 707f9a4..3c1eb51 100644 --- a/system/templates/items/technique/technique-text.html +++ b/system/templates/items/technique/technique-text.html @@ -1,39 +1,39 @@ -
        +

        {{data.name}}

        • - {{localize 'l5r5e.rings.label'}} : {{localizeRing data.data.ring}} + {{localize 'l5r5e.rings.label'}} : {{localizeRing data.system.ring}}
        • - {{localize 'l5r5e.sheets.types'}} : {{localizeTechnique data.data.technique_type}} + {{localize 'l5r5e.sheets.types'}} : {{localizeTechnique data.system.technique_type}}
        • - {{localize 'l5r5e.skills.title'}} : {{data.data.skill}} + {{localize 'l5r5e.skills.title'}} : {{data.system.skill}}
        • - {{localize 'l5r5e.dice.dicepicker.difficulty_title'}} : {{data.data.difficulty}} + {{localize 'l5r5e.dice.dicepicker.difficulty_title'}} : {{data.system.difficulty}}
        • - {{localize 'l5r5e.advancements.curriculum'}} : {{localizeYesNo data.data.in_curriculum}} + {{localize 'l5r5e.advancements.curriculum'}} : {{localizeYesNo data.system.in_curriculum}}
        • - {{localize 'l5r5e.advancements.cost'}} : {{data.data.xp_cost}} + {{localize 'l5r5e.advancements.cost'}} : {{data.system.xp_cost}}
        • - {{localize 'l5r5e.advancements.spent'}} : {{data.data.xp_used}} + {{localize 'l5r5e.advancements.spent'}} : {{data.system.xp_used}}
        • - {{localize 'l5r5e.sheets.rank'}} : {{data.data.rank}} + {{localize 'l5r5e.sheets.rank'}} : {{data.system.rank}}
        • - {{localize 'l5r5e.sheets.bought_at_rank'}} : {{data.data.bought_at_rank}} + {{localize 'l5r5e.sheets.bought_at_rank'}} : {{data.system.bought_at_rank}}
        {{!--item-infos--}} -

        {{localize 'l5r5e.sheets.description'}} : {{{enrichHTML data.data.description}}}

        -

        {{localize 'l5r5e.sheets.book_reference'}} : {{data.data.book_reference}}

        +

        {{localize 'l5r5e.sheets.description'}} : {{{data.enrichedHtml.description}}}

        +

        {{localize 'l5r5e.sheets.book_reference'}} : {{data.system.book_reference}}

        diff --git a/system/templates/items/title/title-sheet.html b/system/templates/items/title/title-sheet.html index d54153c..d17c3ce 100644 --- a/system/templates/items/title/title-sheet.html +++ b/system/templates/items/title/title-sheet.html @@ -1,6 +1,6 @@
        - - + +

        @@ -8,15 +8,15 @@
        @@ -56,10 +56,10 @@ - {{localize 'l5r5e.advancements.total_xp_curriculum'}} : {{data.data.xp_used}} / {{data.data.xp_cost}} + {{localize 'l5r5e.advancements.total_xp_curriculum'}} : {{data.system.xp_used}} / {{data.system.xp_cost}} - {{localize 'l5r5e.advancements.total_xp_spent'}} : {{data.data.xp_used_total}} + {{localize 'l5r5e.advancements.total_xp_spent'}} : {{data.system.xp_used_total}} diff --git a/system/templates/items/title/title-text.html b/system/templates/items/title/title-text.html index 57b22a3..a782ec7 100644 --- a/system/templates/items/title/title-text.html +++ b/system/templates/items/title/title-text.html @@ -1,23 +1,23 @@ -
        +

        {{data.name}}

        • - {{localize 'l5r5e.advancements.cost'}} : {{data.data.xp_cost}} + {{localize 'l5r5e.advancements.cost'}} : {{data.system.xp_cost}}
        • - {{localize 'l5r5e.sheets.rank'}} : {{data.data.rank}} + {{localize 'l5r5e.sheets.rank'}} : {{data.system.rank}}
        • - {{localize 'l5r5e.sheets.bought_at_rank'}} : {{data.data.bought_at_rank}} + {{localize 'l5r5e.sheets.bought_at_rank'}} : {{data.system.bought_at_rank}}
        • - {{localize 'l5r5e.advancements.total_xp_curriculum'}} : {{data.data.xp_used}} / {{data.data.xp_cost}} + {{localize 'l5r5e.advancements.total_xp_curriculum'}} : {{data.system.xp_used}} / {{data.system.xp_cost}}
        • - {{localize 'l5r5e.advancements.total_xp_spent'}} : {{data.data.xp_used_total}} + {{localize 'l5r5e.advancements.total_xp_spent'}} : {{data.system.xp_used_total}}
        {{!--advancements--}} @@ -25,12 +25,12 @@

        {{localize 'l5r5e.advancements.title'}}

          - {{#each data.embedItemsList as |advancement|}}
        • {{advancement.name}} ({{advancement.data.xp_used}})
        • {{/each}} + {{#each data.embedItemsList as |advancement|}}
        • {{advancement.name}} ({{advancement.system.xp_used}})
        • {{/each}}

        {{/if}} {{!--item-infos--}} -

        {{localize 'l5r5e.sheets.description'}} : {{{enrichHTML data.data.description}}}

        -

        {{localize 'l5r5e.sheets.book_reference'}} : {{data.data.book_reference}}

        +

        {{localize 'l5r5e.sheets.description'}} : {{{data.enrichedHtml.description}}}

        +

        {{localize 'l5r5e.sheets.book_reference'}} : {{data.system.book_reference}}

        diff --git a/system/templates/items/weapon/weapon-entry.html b/system/templates/items/weapon/weapon-entry.html index 92101a2..581a1a8 100644 --- a/system/templates/items/weapon/weapon-entry.html +++ b/system/templates/items/weapon/weapon-entry.html @@ -3,9 +3,9 @@
      • {{weapon.name}}
      • - {{weapon.data.data.range}} - {{weapon.data.data.damage}} - {{weapon.data.data.deadliness}} + {{weapon.system.range}} + {{weapon.system.damage}} + {{weapon.system.deadliness}}
      • {{#if editable}}
      • @@ -14,9 +14,9 @@
      • - +
      • - {{#each weapon.data.data.properties as |property|}} + {{#each weapon.system.properties as |property|}}
      • {{{property.name}}}
      • {{/each}}
      diff --git a/system/templates/items/weapon/weapon-sheet.html b/system/templates/items/weapon/weapon-sheet.html index 1a001f1..842e92d 100644 --- a/system/templates/items/weapon/weapon-sheet.html +++ b/system/templates/items/weapon/weapon-sheet.html @@ -8,22 +8,22 @@ {{!-- attributes--}}
      {{> 'systems/l5r5e/templates/items/item/item-value.html'}}
      diff --git a/system/templates/items/weapon/weapon-text.html b/system/templates/items/weapon/weapon-text.html index 4d7f691..7c90e2b 100644 --- a/system/templates/items/weapon/weapon-text.html +++ b/system/templates/items/weapon/weapon-text.html @@ -1,58 +1,58 @@ -
      +

      {{data.name}}

      • - {{localize 'l5r5e.weapons.sheathed'}} : {{localizeYesNo data.data.equipped}} + {{localize 'l5r5e.weapons.sheathed'}} : {{localizeYesNo data.system.equipped}}
      • - {{localize 'l5r5e.weapons.readied'}} : {{localizeYesNo data.data.readied}} + {{localize 'l5r5e.weapons.readied'}} : {{localizeYesNo data.system.readied}}
      • {{!--item-value--}}
      • - {{localize 'l5r5e.sheets.quantity'}} : {{data.data.quantity}} + {{localize 'l5r5e.sheets.quantity'}} : {{data.system.quantity}}
      • - {{localize 'l5r5e.sheets.weight'}} : {{data.data.weight}} + {{localize 'l5r5e.sheets.weight'}} : {{data.system.weight}}
      • - {{localize 'l5r5e.sheets.rarity'}} : {{data.data.rarity}} + {{localize 'l5r5e.sheets.rarity'}} : {{data.system.rarity}}
      • - {{localize 'l5r5e.sheets.value'}} : {{data.data.zeni}} + {{localize 'l5r5e.sheets.value'}} : {{data.system.zeni}}
      • - {{localize 'l5r5e.weapons.category'}} : {{data.data.category}} + {{localize 'l5r5e.weapons.category'}} : {{data.system.category}}
      • - {{localize 'l5r5e.skills.label'}} : {{localizeSkillId data.data.skill}} + {{localize 'l5r5e.skills.label'}} : {{localizeSkillId data.system.skill}}
      • - {{localize 'l5r5e.weapons.range'}} : {{data.data.range}} + {{localize 'l5r5e.weapons.range'}} : {{data.system.range}}
      • - {{localize 'l5r5e.weapons.damage'}} : {{data.data.damage}} + {{localize 'l5r5e.weapons.damage'}} : {{data.system.damage}}
      • - {{localize 'l5r5e.weapons.deadliness'}} : {{data.data.deadliness}} + {{localize 'l5r5e.weapons.deadliness'}} : {{data.system.deadliness}}
      • - {{localize 'l5r5e.weapons.1hand'}} : {{data.data.grip_1}} + {{localize 'l5r5e.weapons.1hand'}} : {{data.system.grip_1}}
      • - {{localize 'l5r5e.weapons.2hand'}} : {{data.data.grip_2}} + {{localize 'l5r5e.weapons.2hand'}} : {{data.system.grip_2}}
      {{!--properties--}}

      {{localize 'l5r5e.sheets.properties'}} : - {{#each data.data.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}} + {{#each data.system.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}

      {{!--item-infos--}} -

      {{localize 'l5r5e.sheets.description'}} : {{{enrichHTML data.data.description}}}

      -

      {{localize 'l5r5e.sheets.book_reference'}} : {{data.data.book_reference}}

      +

      {{localize 'l5r5e.sheets.description'}} : {{{data.enrichedHtml.description}}}

      +

      {{localize 'l5r5e.sheets.book_reference'}} : {{data.system.book_reference}}

      diff --git a/system/templates/items/weapon/weapons.html b/system/templates/items/weapon/weapons.html index 99c71e5..deedd1c 100644 --- a/system/templates/items/weapon/weapons.html +++ b/system/templates/items/weapon/weapons.html @@ -7,7 +7,7 @@
        {{#each actor.items as |item id|}} - {{#ifCond (ifCond item.type '==' 'weapon') '&&' (ifCond item.data.data.equipped '==' true)}} + {{#ifCond (ifCond item.type '==' 'weapon') '&&' (ifCond item.system.equipped '==' true)}} {{> 'systems/l5r5e/templates/items/weapon/weapon-entry.html' weapon=item id=id editable=../data.editable_not_soft_locked}} {{/ifCond}} {{/each}} diff --git a/system/templates/journal/journal-text.html b/system/templates/journal/journal-text.html index a9e8094..b9c8494 100644 --- a/system/templates/journal/journal-text.html +++ b/system/templates/journal/journal-text.html @@ -1,4 +1,4 @@ -
        +

        {{#ifCond data.img '&&' data.content}}{{/ifCond}} {{data.name}} @@ -7,7 +7,7 @@

        {{#if data.content}} - {{{enrichHTML data.content}}} + {{{data.content}}} {{else}} {{#if data.img}}{{/if}} {{/if}}