From cda02bd8c75f0a6147b4972e901f143dd22d625d Mon Sep 17 00:00:00 2001 From: Vlyan Date: Sun, 9 May 2021 14:43:46 +0200 Subject: [PATCH] Working on 0.8.x - NPC with all ring on strengths/weaknesses (CSS TODO). - Removed Custom tech "Links" as they are in fact "Bonds" and need more work. - Added Bonds, SignatureScroll, ItemPatterns and working on titles --- CHANGELOG.md | 11 +- system/assets/icons/items/bond.svg | 70 +++ system/assets/icons/items/item_pattern.svg | 16 + .../assets/icons/items/signature_scroll.svg | 541 ++++++++++++++++++ system/assets/icons/items/title.svg | 2 + system/babele/fr-fr/l5r5e.core-bonds.json | 73 +++ .../fr-fr/l5r5e.core-item-patterns.json | 39 ++ .../babele/fr-fr/l5r5e.core-properties.json | 30 + .../fr-fr/l5r5e.core-signature-scrolls.json | 27 + system/babele/fr-fr/l5r5e.core-titles.json | 69 +++ system/babele/fr-fr/l5r5e.core-weapons.json | 2 +- system/lang/en-en.json | 22 +- system/lang/es-es.json | 22 +- system/lang/fr-fr.json | 21 +- system/packs/core-bonds.db | 9 + system/packs/core-item-patterns.db | 5 + system/packs/core-properties.db | 5 + system/packs/core-signature-scrolls.db | 3 + system/packs/core-titles.db | 10 + system/packs/core-weapons.db | 2 +- system/scripts/actors/base-sheet.js | 75 +-- system/scripts/actors/character-sheet.js | 79 ++- .../scripts/actors/twenty-questions-dialog.js | 2 +- system/scripts/config.js | 23 +- system/scripts/dice/dietype/ability-die.js | 2 +- system/scripts/dice/dietype/l5r-base-die.js | 23 +- system/scripts/dice/dietype/ring-die.js | 2 +- system/scripts/dice/roll.js | 20 +- system/scripts/helpers.js | 42 +- system/scripts/hooks.js | 12 +- system/scripts/items/advancement-sheet.js | 40 +- system/scripts/items/bond-sheet.js | 17 + system/scripts/items/item-pattern-sheet.js | 17 + system/scripts/items/item-sheet.js | 7 +- system/scripts/items/peculiarity-sheet.js | 4 +- .../scripts/items/signature-scroll-sheet.js | 17 + system/scripts/items/technique-sheet.js | 20 +- system/scripts/items/title-sheet.js | 17 + system/scripts/items/weapon-sheet.js | 4 +- system/scripts/main-l5r5e.js | 15 +- system/scripts/preloadTemplates.js | 39 +- system/styles/l5r5e.css | 2 +- system/styles/scss/items.scss | 4 + system/system.json | 28 + system/template.json | 32 +- .../actors/character/advancement-others.html | 13 + ...vancement.html => advancement-school.html} | 2 +- .../actors/character/experience.html | 27 +- .../templates/actors/character/narrative.html | 48 ++ system/templates/actors/npc-sheet.html | 11 +- system/templates/actors/npc/narrative.html | 48 ++ .../items/advancement/advancement-entry.html | 3 +- .../items/advancement/advancements.html | 10 - system/templates/items/bond/bond-entry.html | 18 + system/templates/items/bond/bond-sheet.html | 33 ++ .../item-pattern/item-pattern-entry.html | 13 + .../item-pattern/item-pattern-sheet.html | 33 ++ .../items/peculiarity/peculiarities.html | 10 - .../signature-scroll-entry.html | 13 + .../signature-scroll-sheet.html | 29 + system/templates/items/title/title-entry.html | 13 + system/templates/items/title/title-sheet.html | 34 ++ 62 files changed, 1658 insertions(+), 222 deletions(-) create mode 100644 system/assets/icons/items/bond.svg create mode 100644 system/assets/icons/items/item_pattern.svg create mode 100644 system/assets/icons/items/signature_scroll.svg create mode 100644 system/assets/icons/items/title.svg create mode 100644 system/babele/fr-fr/l5r5e.core-bonds.json create mode 100644 system/babele/fr-fr/l5r5e.core-item-patterns.json create mode 100644 system/babele/fr-fr/l5r5e.core-signature-scrolls.json create mode 100644 system/babele/fr-fr/l5r5e.core-titles.json create mode 100644 system/packs/core-bonds.db create mode 100644 system/packs/core-item-patterns.db create mode 100644 system/packs/core-signature-scrolls.db create mode 100644 system/packs/core-titles.db create mode 100644 system/scripts/items/bond-sheet.js create mode 100644 system/scripts/items/item-pattern-sheet.js create mode 100644 system/scripts/items/signature-scroll-sheet.js create mode 100644 system/scripts/items/title-sheet.js create mode 100644 system/templates/actors/character/advancement-others.html rename system/templates/actors/character/{advancement.html => advancement-school.html} (90%) delete mode 100644 system/templates/items/advancement/advancements.html create mode 100644 system/templates/items/bond/bond-entry.html create mode 100644 system/templates/items/bond/bond-sheet.html create mode 100644 system/templates/items/item-pattern/item-pattern-entry.html create mode 100644 system/templates/items/item-pattern/item-pattern-sheet.html delete mode 100644 system/templates/items/peculiarity/peculiarities.html create mode 100644 system/templates/items/signature-scroll/signature-scroll-entry.html create mode 100644 system/templates/items/signature-scroll/signature-scroll-sheet.html create mode 100644 system/templates/items/title/title-entry.html create mode 100644 system/templates/items/title/title-sheet.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 12888c2..2b88cfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,17 @@ ## 1.3.0 - Foundry 0.8.x compatibility - Updated the System to the new version of Foundry VTT (a lot of things broke). -- RnK button is now black in chat if no actions left in roll. - NPC can now have strengths/weaknesses with all rings. +- Added "Title, Bond, Signature Scroll and Item Pattern": + - The item types. + - Theirs compendiums entries. + - A new list in experience tab to not mess with school cursus. - Added an optional "Specificity" technique type to serve as a catch-all (by request). -- Fix rnkMessage not passing on actor object for NPCs (thanks to Bragma). - Added Mantis Clan compendium entries -- Fixed the "Crescent Moon Style" technique rank from 4 to 2 +- Fix : rnkMessage not passing on actor object for NPCs (thanks to Bragma). +- Fix : The "Crescent Moon Style" technique rank from 4 to 2 +- QoL : RnK button is now black in chat if no actions are left in roll. +- QoL : Added "(x Max)" display in RnK picker for max number of dice to keep (thanks to Bragma). ## 1.2.1 - Praised be Firefox - Fix dice swap on firefox that overflowed on the top and bottom of the RnK dialog diff --git a/system/assets/icons/items/bond.svg b/system/assets/icons/items/bond.svg new file mode 100644 index 0000000..1d32979 --- /dev/null +++ b/system/assets/icons/items/bond.svg @@ -0,0 +1,70 @@ + + + + + + + + + diff --git a/system/assets/icons/items/item_pattern.svg b/system/assets/icons/items/item_pattern.svg new file mode 100644 index 0000000..02ceef3 --- /dev/null +++ b/system/assets/icons/items/item_pattern.svg @@ -0,0 +1,16 @@ + + + + + + + + diff --git a/system/assets/icons/items/signature_scroll.svg b/system/assets/icons/items/signature_scroll.svg new file mode 100644 index 0000000..dfac9e3 --- /dev/null +++ b/system/assets/icons/items/signature_scroll.svg @@ -0,0 +1,541 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/system/assets/icons/items/title.svg b/system/assets/icons/items/title.svg new file mode 100644 index 0000000..839f72e --- /dev/null +++ b/system/assets/icons/items/title.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/system/babele/fr-fr/l5r5e.core-bonds.json b/system/babele/fr-fr/l5r5e.core-bonds.json new file mode 100644 index 0000000..a9dff4c --- /dev/null +++ b/system/babele/fr-fr/l5r5e.core-bonds.json @@ -0,0 +1,73 @@ +{ + "label": "Liens", + "mapping": { + "description": "data.description", + "book_reference": "data.book_reference", + "bond_type": "data.bond_type" + }, + "entries": [ + { + "id": "Family", + "name": "Familial", + "description": "", + "book_reference": "Les Cours de Pierre p.136", + "bond_type": "Familial" + }, + { + "id": "Comrade", + "name": "Amitié", + "description": "", + "book_reference": "Les Cours de Pierre p.137", + "bond_type": "Amitié" + }, + { + "id": "Lover", + "name": "Amoureux", + "description": "", + "book_reference": "Les Cours de Pierre p.137", + "bond_type": "Amoureux" + }, + { + "id": "Rival", + "name": "Rivalité", + "description": "", + "book_reference": "Les Cours de Pierre p.138", + "bond_type": "Rivalité" + }, + { + "id": "Nemesis", + "name": "Haine", + "description": "", + "book_reference": "Les Cours de Pierre p.138", + "bond_type": "Haine" + }, + { + "id": "Old Flame", + "name": "Ancien amour", + "description": "", + "book_reference": "La Voie des Vagues", + "bond_type": "Ancien amour" + }, + { + "id": "Partner", + "name": "Partenaire", + "description": "", + "book_reference": "La Voie des Vagues", + "bond_type": "Partenaire" + }, + { + "id": "Protector and Ward", + "name": "Protecteur et Gardien", + "description": "", + "book_reference": "La Voie des Vagues", + "bond_type": "Protecteur et Gardien" + }, + { + "id": "Wanderers Fellowship", + "name": "Fraternité des vagabonds", + "description": "", + "book_reference": "La Voie des Vagues", + "bond_type": "Fraternité des vagabonds" + } + ] +} diff --git a/system/babele/fr-fr/l5r5e.core-item-patterns.json b/system/babele/fr-fr/l5r5e.core-item-patterns.json new file mode 100644 index 0000000..ca8b82c --- /dev/null +++ b/system/babele/fr-fr/l5r5e.core-item-patterns.json @@ -0,0 +1,39 @@ +{ + "label": "Procédés de fabrication", + "mapping": { + "description": "data.description", + "book_reference": "data.book_reference" + }, + "entries": [ + { + "id": "Kakita Pattern", + "name": "Procédé Kakita", + "description": "", + "book_reference": "L’Outremonde p.109" + }, + { + "id": "Kenzō Blade", + "name": "Lame Kenzō", + "description": "", + "book_reference": "L’Outremonde p.109" + }, + { + "id": "Shirogane Jade Inlay", + "name": "Incrustation de Jade de Shirogane", + "description": "", + "book_reference": "L’Outremonde p.109" + }, + { + "id": "Uchema’s Technique", + "name": "Technique d’Uchema", + "description": "", + "book_reference": "L’Outremonde p.109" + }, + { + "id": "Yasunori Steel", + "name": "Acier de Yasunori", + "description": "", + "book_reference": "L’Outremonde p.109" + } + ] +} diff --git a/system/babele/fr-fr/l5r5e.core-properties.json b/system/babele/fr-fr/l5r5e.core-properties.json index 844a774..5022117 100644 --- a/system/babele/fr-fr/l5r5e.core-properties.json +++ b/system/babele/fr-fr/l5r5e.core-properties.json @@ -100,6 +100,36 @@ "name": "Subtil", "description": "", "book_reference": "Livre de Règles p.241" + }, + { + "id": "Kakita Pattern", + "name": "Procédé Kakita", + "description": "", + "book_reference": "L’Outremonde p.109" + }, + { + "id": "Kenzō Blade", + "name": "Lame Kenzō", + "description": "", + "book_reference": "L’Outremonde p.109" + }, + { + "id": "Shirogane Jade Inlay", + "name": "Incrustation de Jade de Shirogane", + "description": "", + "book_reference": "L’Outremonde p.109" + }, + { + "id": "Uchema’s Technique", + "name": "Technique d’Uchema", + "description": "", + "book_reference": "L’Outremonde p.109" + }, + { + "id": "Yasunori Steel", + "name": "Acier de Yasunori", + "description": "", + "book_reference": "L’Outremonde p.109" } ] } diff --git a/system/babele/fr-fr/l5r5e.core-signature-scrolls.json b/system/babele/fr-fr/l5r5e.core-signature-scrolls.json new file mode 100644 index 0000000..bf588f6 --- /dev/null +++ b/system/babele/fr-fr/l5r5e.core-signature-scrolls.json @@ -0,0 +1,27 @@ +{ + "label": "Rouleaux de marque", + "mapping": { + "description": "data.description", + "book_reference": "data.book_reference" + }, + "entries": [ + { + "id": "Ichi’s Second Sight", + "name": "La seconde vision d’Ichi", + "description": "", + "book_reference": "L’Outremonde p.108" + }, + { + "id": "Hasegawa’s Denial", + "name": "Le refus d’Hasegawa", + "description": "", + "book_reference": "L’Outremonde p.108" + }, + { + "id": "Maikara’s Rebuke", + "name": "La mercuriale de Maikara", + "description": "", + "book_reference": "L’Outremonde p.108" + } + ] +} diff --git a/system/babele/fr-fr/l5r5e.core-titles.json b/system/babele/fr-fr/l5r5e.core-titles.json new file mode 100644 index 0000000..a5a278d --- /dev/null +++ b/system/babele/fr-fr/l5r5e.core-titles.json @@ -0,0 +1,69 @@ +{ + "label": "Titres", + "mapping": { + "description": "data.description", + "book_reference": "data.book_reference" + }, + "entries": [ + { + "id": "Emerald Magistrate", + "name": "Magistrat d’Émeraude", + "description": "", + "book_reference": "Livre de Règles p.305" + }, + { + "id": "Castellan", + "name": "Châtelain", + "description": "", + "book_reference": "Les Cours de Pierre p.128" + }, + { + "id": "Covert Agent", + "name": "Agent infiltré", + "description": "", + "book_reference": "Les Cours de Pierre p.128" + }, + { + "id": "Dreaded Enforcer", + "name": "Homme de main redouté", + "description": "", + "book_reference": "Les Cours de Pierre p.129" + }, + { + "id": "Esteemed Negotiator", + "name": "Négociateur estimé", + "description": "", + "book_reference": "Les Cours de Pierre p.129" + }, + { + "id": "Kenshinzen", + "name": "Kenshinzen", + "description": "", + "book_reference": "Les Cours de Pierre p.130" + }, + { + "id": "Kyuden Asako Shieldbearer", + "name": "Porteur de bouclier de Kyūden Asako", + "description": "", + "book_reference": "Les Cours de Pierre p.130" + }, + { + "id": "Master Artisan", + "name": "Maître artisan", + "description": "", + "book_reference": "Les Cours de Pierre p.130" + }, + { + "id": "Winter Court Champion", + "name": "Champion de la Cour d'Hiver", + "description": "", + "book_reference": "Les Cours de Pierre p.131" + }, + { + "id": "Seven fold Palace Acolyte", + "name": "Etudiant au palais des Sept Plis", + "description": "", + "book_reference": "Les Cours de Pierre p.131" + } + ] +} diff --git a/system/babele/fr-fr/l5r5e.core-weapons.json b/system/babele/fr-fr/l5r5e.core-weapons.json index 96f87cf..d903def 100644 --- a/system/babele/fr-fr/l5r5e.core-weapons.json +++ b/system/babele/fr-fr/l5r5e.core-weapons.json @@ -342,7 +342,7 @@ "book_reference": "Livre de Règles p.237" }, { - "id": "BIte", + "id": "Bite", "name": "Morsure", "category": "Attaques à mains nues", "grip_1": "", diff --git a/system/lang/en-en.json b/system/lang/en-en.json index 7b37f32..61acead 100644 --- a/system/lang/en-en.json +++ b/system/lang/en-en.json @@ -30,7 +30,11 @@ "TypeTechnique": "Technique", "TypeProperty": "Property", "TypePeculiarity": "Peculiarity", - "TypeAdvancement": "Advancement" + "TypeAdvancement": "Advancement", + "TypeTitle": "Title", + "TypeBond": "Bond", + "TypeSignature_scroll": "Signature Scroll", + "TypeItem_pattern": "Item Pattern" }, "l5r5e": { "global": { @@ -136,7 +140,6 @@ "properties": "Properties", "weapons": { "title": "Weapons", - "title_new": "New Weapon", "damage": "Damage", "range": "Range", "stats": "Stats", @@ -148,20 +151,17 @@ }, "armors": { "title": "Armors", - "title_new": "New Armor", "type": "Resistances", "physical": "physical", "supernatural": "supernatural", "equipped": "Equipped" }, "items": { - "title": "Items", - "title_new": "New Item" + "title": "Items" }, "feats": "Feats", "techniques": { "title": "Techniques", - "title_new": "New Technique", "not_allowed": "Your character does not use this type of technique.", "only_one": "Your character can possess only one of theses technique.", "type": "Allowed Techniques", @@ -175,11 +175,10 @@ "ninjutsu": "Ninjutsu", "school_ability": "School Ability", "mastery_ability": "Mastery Ability", - "link": "Links", + "title_ability": "Title Ability", "specificity": "Specificities" }, "peculiarities": { - "title_new": "New peculiarity", "types": { "distinction": "Distinction", "passion": "Passion", @@ -212,6 +211,7 @@ "attitude": "Demeanor:", "advantages": "Distinctions and Passions", "disadvantages": "Adversities and Anxieties", + "bonds": "Bonds", "npc": { "advantages": "Advantages", "disadvantages": "Disadvantages" @@ -322,7 +322,6 @@ }, "advancements": { "title": "Advancements", - "title_new": "New advancement", "school_rank": "School rank", "school_rank_0": "Bg", "total": "Total", @@ -331,7 +330,10 @@ "saved": "Saved", "total_xp_rank": "Xp spent", "curriculum": "In curriculum", - "curriculum_validate": "Complete this rank" + "curriculum_validate": "Complete this rank", + "rarity_modifier": "Rarity modifier", + "item_pattern": "Item Patterns", + "signature_scroll": "Signature Scrolls" }, "character_types": { "character": "Player Character", diff --git a/system/lang/es-es.json b/system/lang/es-es.json index a701fc5..a2f99a2 100644 --- a/system/lang/es-es.json +++ b/system/lang/es-es.json @@ -30,7 +30,11 @@ "TypeTechnique": "Técnica", "TypeProperty": "Propiedad", "TypePeculiarity": "Peculiaridad", - "TypeAdvancement": "Mejora" + "TypeAdvancement": "Mejora", + "TypeTitle": "Title", + "TypeBond": "Bond", + "TypeSignatureScroll": "Signature Scroll", + "TypeItemPattern": "Item Pattern" }, "l5r5e": { "global": { @@ -136,7 +140,6 @@ "properties": "Propiedades", "weapons": { "title": "Armas", - "title_new": "Nueva arma", "damage": "Daño", "range": "Alcance", "stats": "Estadísticas", @@ -148,15 +151,13 @@ }, "armors": { "title": "Armaduras", - "title_new": "Nueva Armadura", "type": "Defensa", "physical": "física", "supernatural": "sobrenatural", "equipped": "Equipado" }, "items": { - "title": "Objetos", - "title_new": "Nuevo objeto" + "title": "Objetos" }, "feats": "Logros", "techniques": { @@ -164,7 +165,6 @@ "type": "Técnicas permitidas", "not_allowed": "Tu personaje no puede utilizar este tipo de técnica.", "only_one": "Tu personaje sólo puede poseer una de estas técnicas.", - "title_new": "Nueva Técnica", "kata": "Kata", "kiho": "Kihõ", "inversion": "Inversion", @@ -175,11 +175,10 @@ "ninjutsu": "Ninjutsu", "school_ability": "Capacidad de escuela", "mastery_ability": "Habilidad de maestría", - "link": "Links", + "title_ability": "Title Ability", "specificity": "Specificities" }, "peculiarities": { - "title_new": "Nueva peculiaridad", "types": { "distinction": "Distinción", "passion": "Pasión", @@ -212,6 +211,7 @@ "attitude": "Actitud:", "advantages": "Distinciones y pasiones", "disadvantages": "Adversidades y ansiedades", + "bonds": "Bonds", "npc": { "advantages": "Ventajas", "disadvantages": "Desventajas" @@ -322,7 +322,6 @@ }, "advancements": { "title": "Avances", - "title_new": "Nuevo avance", "school_rank": "Rango de la escuela", "school_rank_0": "Bg", "total": "Total", @@ -331,7 +330,10 @@ "saved": "Guardado", "total_xp_rank": "PE gastados", "curriculum": "En programa de estudio", - "curriculum_validate": "Completar este rango" + "curriculum_validate": "Completar este rango", + "rarity_modifier": "Rarity modifier", + "item_pattern": "Item patterns", + "signature_scroll": "Signature scrolls" }, "character_types": { "character": "Personaje jugador", diff --git a/system/lang/fr-fr.json b/system/lang/fr-fr.json index 38ef052..7457b4a 100644 --- a/system/lang/fr-fr.json +++ b/system/lang/fr-fr.json @@ -30,7 +30,11 @@ "TypeTechnique": "Technique", "TypeProperty": "Propriété", "TypePeculiarity": "Particularité", - "TypeAdvancement": "Progression" + "TypeAdvancement": "Progression", + "TypeTitle": "Titre", + "TypeBond": "Lien", + "TypeSignature_scroll": "Rouleau de marque", + "TypeItem_pattern": "Procédé de fabrication" }, "l5r5e": { "global": { @@ -136,7 +140,6 @@ "properties": "Propriétés", "weapons": { "title": "Armement", - "title_new": "Nouvelle Arme", "damage": "Dégâts de base (DDB)", "range": "Portée (PRT)", "stats": "Attributs", @@ -148,20 +151,17 @@ }, "armors": { "title": "Armures", - "title_new": "Nouvelle Armure", "type": "Défense", "physical": "Physique", "supernatural": "Spirituelle", "equipped": "Équipé" }, "items": { - "title": "Objets", - "title_new": "Nouvel Objet" + "title": "Objets" }, "feats": "Prouesses", "techniques": { "title": "Techniques", - "title_new": "Nouvelle Technique", "not_allowed": "Votre personnage n'utilise pas ce type de technique.", "only_one": "Votre personnage ne peut avoir qu'une seule de ces technique.", "type": "Type accessible", @@ -175,10 +175,10 @@ "ninjutsu": "Ninjutsu", "school_ability": "Capacité d'école", "mastery_ability": "Capacité de maîtrise", + "title_ability": "Capacité de Titre", "specificity": "Particularités" }, "peculiarities": { - "title_new": "Nouvelle particularité", "types": { "distinction": "Aptitude", "passion": "Passion", @@ -211,6 +211,7 @@ "attitude": "attitude :", "advantages": "Aptitudes et Passions", "disadvantages": "Coups du sort et défaillances", + "bonds": "Liens", "npc": { "advantages": "Avantages", "disadvantages": "Désavantages" @@ -321,7 +322,6 @@ }, "advancements": { "title": "Progressions", - "title_new": "Nouvelle progression", "school_rank": "Rang d'école", "school_rank_0": "Bg", "total": "Totale", @@ -330,7 +330,10 @@ "saved": "Restante", "total_xp_rank": "Xp dépensée", "curriculum": "Inclus dans le cursus", - "curriculum_validate": "Valider la progression" + "curriculum_validate": "Valider la progression", + "rarity_modifier": "Modificateur de rareté", + "item_pattern": "Procédés de fabrication", + "signature_scroll": "Rouleaux de marque" }, "character_types": { "character": "Personnage Joueur", diff --git a/system/packs/core-bonds.db b/system/packs/core-bonds.db new file mode 100644 index 0000000..e53c421 --- /dev/null +++ b/system/packs/core-bonds.db @@ -0,0 +1,9 @@ +{"_id":"L5RCoreBon000001","name":"Family","permission":{"default":0},"type":"bond","data":{"bond_type":"Family","in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":3,"description":"","book_reference":"Court of Stones p.136"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/bond.svg","effects":[]} +{"_id":"L5RCoreBon000002","name":"Comrade","permission":{"default":0},"type":"bond","data":{"bond_type":"Comrade","in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":3,"description":"","book_reference":"Court of Stones p.137"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/bond.svg","effects":[]} +{"_id":"L5RCoreBon000003","name":"Lover","permission":{"default":0},"type":"bond","data":{"bond_type":"Lover","in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":3,"description":"","book_reference":"Court of Stones p.137"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/bond.svg","effects":[]} +{"_id":"L5RCoreBon000004","name":"Rival","permission":{"default":0},"type":"bond","data":{"bond_type":"Rival","in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":3,"description":"","book_reference":"Court of Stones p.138"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/bond.svg","effects":[]} +{"_id":"L5RCoreBon000005","name":"Nemesis","permission":{"default":0},"type":"bond","data":{"bond_type":"Nemesis","in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":3,"description":"","book_reference":"Court of Stones p.138"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/bond.svg","effects":[]} +{"_id":"L5RCoreBon000006","name":"Old Flame","permission":{"default":0},"type":"bond","data":{"bond_type":"Old Flame","in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":3,"description":"","book_reference":"Path of Waves p.188"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/bond.svg","effects":[]} +{"_id":"L5RCoreBon000007","name":"Partner","permission":{"default":0},"type":"bond","data":{"bond_type":"Partner","in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":3,"description":"","book_reference":"Path of Waves p.189"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/bond.svg","effects":[]} +{"_id":"L5RCoreBon000008","name":"Protector and Ward","permission":{"default":0},"type":"bond","data":{"bond_type":"Protector and Ward","in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":3,"description":"","book_reference":"Path of Waves p.189"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/bond.svg","effects":[]} +{"_id":"L5RCoreBon000009","name":"Wanderers Fellowship","permission":{"default":0},"type":"bond","data":{"bond_type":"Wanderers Fellowship","in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":3,"description":"","book_reference":"Path of Waves p.191"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/bond.svg","effects":[]} diff --git a/system/packs/core-item-patterns.db b/system/packs/core-item-patterns.db new file mode 100644 index 0000000..c467b61 --- /dev/null +++ b/system/packs/core-item-patterns.db @@ -0,0 +1,5 @@ +{"_id":"L5RCoreItp000001","name":"Kakita Pattern","permission":{"default":0},"type":"item_pattern","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"6","rarity_modifier":"4","description":"","book_reference":"Shadowlands p.109"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/item_pattern.svg","effects":[]} +{"_id":"L5RCoreItp000002","name":"Kenzō Blade","permission":{"default":0},"type":"item_pattern","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"8","rarity_modifier":"5","description":"","book_reference":"Shadowlands p.109"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/item_pattern.svg","effects":[]} +{"_id":"L5RCoreItp000003","name":"Shirogane Jade Inlay","permission":{"default":0},"type":"item_pattern","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"3","rarity_modifier":"2","description":"","book_reference":"Shadowlands p.109"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/item_pattern.svg","effects":[]} +{"_id":"L5RCoreItp000004","name":"Uchema’s Technique","permission":{"default":0},"type":"item_pattern","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"4","rarity_modifier":"3","description":"","book_reference":"Shadowlands p.109"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/item_pattern.svg","effects":[]} +{"_id":"L5RCoreItp000005","name":"Yasunori Steel","permission":{"default":0},"type":"item_pattern","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"5","rarity_modifier":"4","description":"","book_reference":"Shadowlands p.109"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/item_pattern.svg","effects":[]} diff --git a/system/packs/core-properties.db b/system/packs/core-properties.db index c3a2e9b..86b27b6 100644 --- a/system/packs/core-properties.db +++ b/system/packs/core-properties.db @@ -14,3 +14,8 @@ {"_id":"L5RCorePro000014","name":"Sacred","permission":{"default":0},"type":"property","data":{"description":"","book_reference":"Core Rulebook p.241"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/property.svg","effects":[]} {"_id":"L5RCorePro000015","name":"Durable","permission":{"default":0},"type":"property","data":{"description":"","book_reference":"Core Rulebook p.240"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/property.svg","effects":[]} {"_id":"L5RCorePro000016","name":"Subtle","permission":{"default":0},"type":"property","data":{"description":"","book_reference":"Core Rulebook p.241"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/property.svg","effects":[]} +{"_id":"L5RCorePro000017","name":"Kakita Pattern","permission":{"default":0},"type":"property","data":{"description":"","book_reference":"Shadowlands p.109"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/property.svg","effects":[]} +{"_id":"L5RCorePro000018","name":"Kenzō Blade","permission":{"default":0},"type":"property","data":{"description":"","book_reference":"Shadowlands p.109"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/property.svg","effects":[]} +{"_id":"L5RCorePro000019","name":"Shirogane Jade Inlay","permission":{"default":0},"type":"property","data":{"description":"","book_reference":"Shadowlands p.109"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/property.svg","effects":[]} +{"_id":"L5RCorePro000020","name":"Uchema’s Technique","permission":{"default":0},"type":"property","data":{"description":"","book_reference":"Shadowlands p.109"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/property.svg","effects":[]} +{"_id":"L5RCorePro000021","name":"Yasunori Steel","permission":{"default":0},"type":"property","data":{"description":"","book_reference":"Shadowlands p.109"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/property.svg","effects":[]} diff --git a/system/packs/core-signature-scrolls.db b/system/packs/core-signature-scrolls.db new file mode 100644 index 0000000..dbf17b1 --- /dev/null +++ b/system/packs/core-signature-scrolls.db @@ -0,0 +1,3 @@ +{"_id":"L5RCoreSig000001","name":"Ichi’s Second Sight","permission":{"default":0},"type":"signature_scroll","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"3","description":"","book_reference":"Shadowlands p.108"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/signature_scroll.svg","effects":[]} +{"_id":"L5RCoreSig000002","name":"Hasegawa’s Denial","permission":{"default":0},"type":"signature_scroll","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"3","description":"","book_reference":"Shadowlands p.108"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/signature_scroll.svg","effects":[]} +{"_id":"L5RCoreSig000003","name":"Maikara’s Rebuke","permission":{"default":0},"type":"signature_scroll","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"3","description":"","book_reference":"Shadowlands p.108"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/signature_scroll.svg","effects":[]} diff --git a/system/packs/core-titles.db b/system/packs/core-titles.db new file mode 100644 index 0000000..3f5fbc6 --- /dev/null +++ b/system/packs/core-titles.db @@ -0,0 +1,10 @@ +{"_id":"L5RCoreTit000001","name":"Emerald Magistrate","permission":{"default":0},"type":"title","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"30","description":"","book_reference":"Core Rulebook p.305"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/title.svg","effects":[]} +{"_id":"L5RCoreTit000002","name":"Castellan","permission":{"default":0},"type":"title","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"20","description":"","book_reference":"Court of Stones p.128"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/title.svg","effects":[]} +{"_id":"L5RCoreTit000003","name":"Covert Agent","permission":{"default":0},"type":"title","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"20","description":"","book_reference":"Court of Stones p.128"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/title.svg","effects":[]} +{"_id":"L5RCoreTit000004","name":"Dreaded Enforcer","permission":{"default":0},"type":"title","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"40","description":"","book_reference":"Court of Stones p.129"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/title.svg","effects":[]} +{"_id":"L5RCoreTit000005","name":"Esteemed Negotiator","permission":{"default":0},"type":"title","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"34","description":"","book_reference":"Court of Stones p.129"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/title.svg","effects":[]} +{"_id":"L5RCoreTit000006","name":"Kenshinzen","permission":{"default":0},"type":"title","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"24","description":"","book_reference":"Court of Stones p.130"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/title.svg","effects":[]} +{"_id":"L5RCoreTit000007","name":"Kyuden Asako Shieldbearer","permission":{"default":0},"type":"title","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"40","description":"","book_reference":"Court of Stones p.130"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/title.svg","effects":[]} +{"_id":"L5RCoreTit000008","name":"Master Artisan","permission":{"default":0},"type":"title","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"60","description":"","book_reference":"Court of Stones p.130"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/title.svg","effects":[]} +{"_id":"L5RCoreTit000009","name":"Winter Court Champion","permission":{"default":0},"type":"title","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"16","description":"","book_reference":"Court of Stones p.131"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/title.svg","effects":[]} +{"_id":"L5RCoreTit000010","name":"Seven fold Palace Acolyte","permission":{"default":0},"type":"title","data":{"in_curriculum":false,"xp_used":0,"rank":1,"bought_at_rank":0,"ring":"void","xp_cost":"36","description":"","book_reference":"Court of Stones p.131"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/items/title.svg","effects":[]} diff --git a/system/packs/core-weapons.db b/system/packs/core-weapons.db index 2dde5e5..0d4f178 100644 --- a/system/packs/core-weapons.db +++ b/system/packs/core-weapons.db @@ -35,7 +35,7 @@ {"_id":"L5RCoreWea000035","name":"Shuriken","permission":{"default":0},"type":"weapon","data":{"equipped":false,"quantity":1,"weight":"1","rarity":"6","zeni":"1 koku","properties":[{"id":"L5RCorePro000005","name":"Concealable"}],"category":"Specialist Weapons","skill":"unarmed","readied":false,"range":"","damage":"2","deadliness":"4","grip_1":"(thrown) Martial Arts (Ranged), Range 1-3","grip_2":"","description":"","book_reference":"Core Rulebook p.237"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/weapons/kusarigama.svg","effects":[]} {"_id":"L5RCoreWea000036","name":"Punch","permission":{"default":0},"type":"weapon","data":{"equipped":false,"quantity":1,"weight":"0","rarity":"0","zeni":"0","properties":[{"id":"L5RCorePro000007","name":"Snaring"}],"category":"Unarmed profiles","skill":"unarmed","readied":false,"range":"","damage":"1","deadliness":"2","grip_1":"","grip_2":"","description":"","book_reference":"Core Rulebook p.237"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/weapons/unarmed.svg","effects":[]} {"_id":"L5RCoreWea000037","name":"Kick","permission":{"default":0},"type":"weapon","data":{"equipped":false,"quantity":1,"weight":"0","rarity":"0","zeni":"0","properties":[],"category":"Unarmed profiles","skill":"unarmed","readied":false,"range":"1","damage":"2","deadliness":"1","grip_1":"","grip_2":"","description":"","book_reference":"Core Rulebook p.237"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/weapons/unarmed.svg","effects":[]} -{"_id":"L5RCoreWea000038","name":"BIte","permission":{"default":0},"type":"weapon","data":{"equipped":false,"quantity":1,"weight":"0","rarity":"0","zeni":"0","properties":[],"category":"Unarmed profiles","skill":"unarmed","readied":false,"range":"","damage":"","deadliness":"3","grip_1":"","grip_2":"","description":"","book_reference":"Core Rulebook p.237"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/weapons/unarmed.svg","effects":[]} +{"_id":"L5RCoreWea000038","name":"Bite","permission":{"default":0},"type":"weapon","data":{"equipped":false,"quantity":1,"weight":"0","rarity":"0","zeni":"0","properties":[],"category":"Unarmed profiles","skill":"unarmed","readied":false,"range":"","damage":"","deadliness":"3","grip_1":"","grip_2":"","description":"","book_reference":"Core Rulebook p.237"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/weapons/unarmed.svg","effects":[]} {"_id":"L5RCoreWea000039","name":"Tachi","permission":{"default":0},"type":"weapon","data":{"equipped":false,"quantity":1,"weight":"2","rarity":"8","zeni":"25 koku","properties":[{"id":"L5RCorePro000002","name":"Ceremonial"},{"id":"L5RCorePro000006","name":"Cumbersome"},{"id":"L5RCorePro000001","name":"Razor-Edged"}],"category":"Swords","skill":"melee","readied":false,"range":"1","damage":"5","deadliness":"5","grip_1":"","grip_2":"Deadliness +1","description":"","book_reference":"Celestial Realms p.98"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/weapons/katana.svg","effects":[]} {"_id":"L5RCoreWea000040","name":"Whip","permission":{"default":0},"type":"weapon","data":{"equipped":false,"quantity":1,"weight":"1","rarity":"2","zeni":"4 bu","properties":[{"id":"L5RCorePro000012","name":"Mundane"},{"id":"L5RCorePro000007","name":"Snaring"}],"category":"Specialist Weapons","skill":"melee","readied":false,"range":"2","damage":"3","deadliness":"2","grip_1":"","grip_2":"","description":"","book_reference":"Celestial Realms p.98"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/weapons/kusarigama.svg","effects":[]} {"_id":"L5RCoreWea000041","name":"Moshi Sun Ax","permission":{"default":0},"type":"weapon","data":{"equipped":false,"quantity":1,"weight":"2","rarity":"8","zeni":"20 koku","properties":[{"id":"L5RCorePro000002","name":"Ceremonial"},{"id":"L5RCorePro000006","name":"Cumbersome"},{"id":"L5RCorePro000010","name":"Resplendent"}],"category":"Axes","skill":"melee","readied":false,"range":"1-2","damage":"3","deadliness":"5","grip_1":"","grip_2":"Damage +3","description":"","book_reference":"Celestial Realms p.98"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/weapons/axe.svg","effects":[]} diff --git a/system/scripts/actors/base-sheet.js b/system/scripts/actors/base-sheet.js index 45c44a7..cd247be 100644 --- a/system/scripts/actors/base-sheet.js +++ b/system/scripts/actors/base-sheet.js @@ -20,12 +20,12 @@ export class BaseSheetL5r5e extends ActorSheet { * Commons datas * @override */ - getData() { - const sheetData = super.getData(); + getData(options) { + const sheetData = super.getData(options); sheetData.data.dtypes = ["String", "Number", "Boolean"]; sheetData.data.stances = CONFIG.l5r5e.stances; - sheetData.data.techniquesList = game.l5r5e.HelpersL5r5e.getTechniquesList(); + sheetData.data.techniquesList = game.l5r5e.HelpersL5r5e.getTechniquesList({ displayInTypes: true }); // Sort Items by name sheetData.items.sort((a, b) => { @@ -47,13 +47,14 @@ export class BaseSheetL5r5e extends ActorSheet { */ _splitTechniques(sheetData) { const out = {}; + const schoolTechniques = Array.from(CONFIG.l5r5e.techniques) + .filter(([id, cfg]) => cfg.type === "school") + .map(([id, cfg]) => id); // Build the list order - [...CONFIG.l5r5e.techniques, ...CONFIG.l5r5e.techniques_custom, ...CONFIG.l5r5e.techniques_school].forEach( - (tech) => { - out[tech] = []; - } - ); + Array.from(CONFIG.l5r5e.techniques).forEach(([id, cfg]) => { + out[id] = []; + }); // Add tech the character knows sheetData.items.forEach((item) => { @@ -64,11 +65,7 @@ export class BaseSheetL5r5e extends ActorSheet { // Remove unused techs Object.keys(out).forEach((tech) => { - if ( - out[tech].length < 1 && - !sheetData.data.data.techniques[tech] && - !CONFIG.l5r5e.techniques_school.includes(tech) - ) { + if (out[tech].length < 1 && !sheetData.data.data.techniques[tech] && !schoolTechniques.includes(tech)) { delete out[tech]; } }); @@ -145,7 +142,7 @@ export class BaseSheetL5r5e extends ActorSheet { /** * Handle dropped data on the Actor sheet - * @param {Event} event + * @param {DragEvent} event */ async _onDrop(event) { // *** Everything below here is only needed if the sheet is editable *** @@ -158,7 +155,18 @@ export class BaseSheetL5r5e extends ActorSheet { if ( !item || item.documentName !== "Item" || - !["item", "armor", "weapon", "technique", "peculiarity", "advancement"].includes(item.data.type) + ![ + "item", + "armor", + "weapon", + "technique", + "peculiarity", + "advancement", + "title", + "bond", + "signature_scroll", + "item_pattern", + ].includes(item.data.type) ) { return; } @@ -166,7 +174,7 @@ export class BaseSheetL5r5e extends ActorSheet { // Dropped a item with same "id" as one owned, add qte instead if (item.data.data.quantity && this.actor.data.items) { const tmpItem = this.actor.data.items.find((e) => e.name === item.name && e.type === item.type); - if (tmpItem && this._modifyQuantity(tmpItem._id, 1)) { + if (tmpItem && this._modifyQuantity(tmpItem.id, 1)) { return; } } @@ -174,6 +182,7 @@ export class BaseSheetL5r5e extends ActorSheet { // Item subtype specific switch (item.data.type) { case "advancement": // no break + case "bond": // no break case "peculiarity": // Modify the bought at rank to the current actor rank if (this.actor.data.data.identity?.school_rank) { @@ -183,7 +192,7 @@ export class BaseSheetL5r5e extends ActorSheet { case "technique": // School_ability and mastery_ability, allow only 1 per type - if (CONFIG.l5r5e.techniques_school.includes(item.data.data.technique_type)) { + if (CONFIG.l5r5e.techniques.get(item.data.data.technique_type)?.type === "school") { if ( Array.from(this.actor.items).some( (e) => @@ -316,12 +325,16 @@ export class BaseSheetL5r5e extends ActorSheet { const type = $(event.currentTarget).data("item-type"); const titles = { - item: "l5r5e.items.title_new", - armor: "l5r5e.armors.title_new", - weapon: "l5r5e.weapons.title_new", - technique: "l5r5e.techniques.title_new", - peculiarity: "l5r5e.peculiarities.title_new", - advancement: "l5r5e.advancements.title_new", + item: "ITEM.TypeItem", + armor: "ITEM.TypeArmor", + weapon: "ITEM.TypeWeapon", + technique: "ITEM.TypeTechnique", + peculiarity: "ITEM.TypePeculiarity", + advancement: "ITEM.TypeAdvancement", + title: "ITEM.TypeTitle", + bond: "ITEM.TypeBond", + item_pattern: "ITEM.TypeItem_pattern", + signature_scroll: "ITEM.TypeSignature_scroll", }; const created = await this.actor.createEmbeddedDocuments("Item", [ { @@ -333,9 +346,11 @@ export class BaseSheetL5r5e extends ActorSheet { 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 && ["advancement", "technique"].includes(item.data.type)) { - item.data.data.rank = this.actor.data.data.identity.school_rank; + 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; + } } switch (item.data.type) { @@ -349,13 +364,7 @@ export class BaseSheetL5r5e extends ActorSheet { case "technique": { // If technique, select the current type const techType = $(event.currentTarget).data("tech-type"); - if ( - [ - ...CONFIG.l5r5e.techniques, - ...CONFIG.l5r5e.techniques_school, - ...CONFIG.l5r5e.techniques_custom, - ].includes(techType) - ) { + if (CONFIG.l5r5e.techniques.get(techType)) { item.data.data.technique_type = techType; item.data.img = `${CONFIG.l5r5e.paths.assets}icons/techs/${techType}.svg`; } @@ -393,7 +402,7 @@ export class BaseSheetL5r5e extends ActorSheet { // Remove 1 qty if possible const tmpItem = this.actor.items.get(itemId); - if (tmpItem && tmpItem.data.data.quantity > 1 && this._modifyQuantity(tmpItem._id, -1)) { + if (tmpItem && tmpItem.data.data.quantity > 1 && this._modifyQuantity(tmpItem.id, -1)) { return; } diff --git a/system/scripts/actors/character-sheet.js b/system/scripts/actors/character-sheet.js index 4d45046..1e28ca1 100644 --- a/system/scripts/actors/character-sheet.js +++ b/system/scripts/actors/character-sheet.js @@ -49,8 +49,16 @@ export class CharacterSheetL5r5e extends BaseSheetL5r5e { // Split Money sheetData.data.data.money = this._zeniToMoney(this.actor.data.data.zeni); - // split advancements list by rank, and calculate xp spent - this._prepareAdvancement(sheetData); + // Split school advancements by rank, and calculate xp spent + this._prepareSchoolAdvancement(sheetData); + + // Titles + this._prepareTitles(sheetData); + + // Others + this._prepareOthersAdvancement(sheetData); + + // Total sheetData.data.data.xp_saved = Math.floor( parseInt(sheetData.data.data.xp_total) - parseInt(sheetData.data.data.xp_spent) ); @@ -98,39 +106,56 @@ export class CharacterSheetL5r5e extends BaseSheetL5r5e { } /** - * Return the total xp spent and the current total xp spent for this rank + * Prepare Titles, and get xp spend */ - _prepareAdvancement(sheetData) { + _prepareTitles(sheetData) { + // TODO + } + + /** + * Split the school advancement, calculate the total xp spent and the current total xp spent by rank + */ + _prepareSchoolAdvancement(sheetData) { const adv = []; sheetData.data.data.xp_spent = 0; - sheetData.items.forEach((item) => { - if (!["peculiarity", "technique", "advancement"].includes(item.type)) { - return; - } + sheetData.items + .filter((item) => ["peculiarity", "technique", "advancement"].includes(item.type)) + .forEach((item) => { + let xp = parseInt(item.data.xp_used) || 0; + sheetData.data.data.xp_spent = parseInt(sheetData.data.data.xp_spent) + xp; - let xp = parseInt(item.data.xp_used) || 0; - sheetData.data.data.xp_spent = parseInt(sheetData.data.data.xp_spent) + xp; + // if not in curriculum, xp spent /2 for this item + if (!item.data.in_curriculum && xp > 0) { + xp = Math.ceil(xp / 2); + } - // if not in curriculum, xp spent /2 for this item - if (!item.data.in_curriculum && xp > 0) { - xp = Math.ceil(xp / 2); - } - - const rank = Math.max(0, item.data.bought_at_rank); - if (!adv[rank]) { - adv[rank] = { - rank: rank, - spent: 0, - goal: CONFIG.l5r5e.xp.costPerRank[rank] || null, - list: [], - }; - } - adv[rank].list.push(item); - adv[rank].spent = adv[rank].spent + xp; - }); + const rank = Math.max(0, item.data.bought_at_rank); + if (!adv[rank]) { + adv[rank] = { + rank: rank, + spent: 0, + goal: CONFIG.l5r5e.xp.costPerRank[rank] || null, + list: [], + }; + } + adv[rank].list.push(item); + adv[rank].spent = adv[rank].spent + xp; + }); sheetData.data.advancementsListByRank = adv; } + /** + * Prepare Bonds, Item Pattern, Signature Scroll and get xp spend + */ + _prepareOthersAdvancement(sheetData) { + sheetData.data.advancementsOthers = sheetData.items.filter((item) => + ["bond", "item_pattern", "title", "signature_scroll"].includes(item.type) + ); + + // Sort by rank desc + // sheetData.data.bondsList.sort((a, b) => (b.data.rank || 0) - (a.data.rank || 0)); + } + /** * Update the actor. * @param event diff --git a/system/scripts/actors/twenty-questions-dialog.js b/system/scripts/actors/twenty-questions-dialog.js index f449d82..5c801d0 100644 --- a/system/scripts/actors/twenty-questions-dialog.js +++ b/system/scripts/actors/twenty-questions-dialog.js @@ -142,7 +142,7 @@ export class TwentyQuestionsDialog extends FormApplication { skillsListStep7, skillsListStep17, noHonorSkillsList: ["commerce", "skulduggery", "medicine", "seafaring", "survival", "labor"], - techniquesList: game.l5r5e.HelpersL5r5e.getTechniquesList(), + techniquesList: game.l5r5e.HelpersL5r5e.getTechniquesList({ displayInTypes: true }), data: this.object.data, cache: this.cache, summary: { diff --git a/system/scripts/config.js b/system/scripts/config.js index 0f84f0a..92f60f3 100644 --- a/system/scripts/config.js +++ b/system/scripts/config.js @@ -7,12 +7,29 @@ L5R5E.paths = { L5R5E.money = [50, 10]; L5R5E.stances = ["earth", "air", "water", "fire", "void"]; -L5R5E.techniques = ["kata", "kiho", "inversion", "invocation", "ritual", "shuji", "maho", "ninjutsu"]; -L5R5E.techniques_custom = ["specificity"]; -L5R5E.techniques_school = ["school_ability", "mastery_ability"]; + +// *** Techniques *** +L5R5E.techniques = new Map(); +// Core +L5R5E.techniques.set("kata", { type: "core", displayInTypes: true }); +L5R5E.techniques.set("kiho", { type: "core", displayInTypes: true }); +L5R5E.techniques.set("inversion", { type: "core", displayInTypes: true }); +L5R5E.techniques.set("invocation", { type: "core", displayInTypes: true }); +L5R5E.techniques.set("ritual", { type: "core", displayInTypes: true }); +L5R5E.techniques.set("shuji", { type: "core", displayInTypes: true }); +L5R5E.techniques.set("maho", { type: "core", displayInTypes: true }); +L5R5E.techniques.set("ninjutsu", { type: "core", displayInTypes: true }); +// School +L5R5E.techniques.set("school_ability", { type: "school", displayInTypes: false }); +L5R5E.techniques.set("mastery_ability", { type: "school", displayInTypes: false }); +// Title +L5R5E.techniques.set("title_ability", { type: "title", displayInTypes: false }); +// Custom +L5R5E.techniques.set("specificity", { type: "custom", displayInTypes: false }); L5R5E.xp = { costPerRank: [0, 20, 24, 32, 44, 60], + bondCostPerRank: [0, 3, 4, 6, 8, 10], ringCostMultiplier: 3, skillCostMultiplier: 2, techniqueCost: 3, diff --git a/system/scripts/dice/dietype/ability-die.js b/system/scripts/dice/dietype/ability-die.js index a4f98b4..dde4de6 100644 --- a/system/scripts/dice/dietype/ability-die.js +++ b/system/scripts/dice/dietype/ability-die.js @@ -5,7 +5,7 @@ import { L5rBaseDie } from "./l5r-base-die.js"; */ export class AbilityDie extends L5rBaseDie { /** @override */ - static DENOMINATION = "ds"; + static DENOMINATION = "s"; static FACES = { 1: { success: 0, explosive: 0, opportunity: 0, strife: 0, image: "skill_blank" }, diff --git a/system/scripts/dice/dietype/l5r-base-die.js b/system/scripts/dice/dietype/l5r-base-die.js index c11b793..1eed578 100644 --- a/system/scripts/dice/dietype/l5r-base-die.js +++ b/system/scripts/dice/dietype/l5r-base-die.js @@ -22,20 +22,33 @@ export class L5rBaseDie extends DiceTerm { return this.l5r5e.success + this.l5r5e.explosive; } + /** + * A string representation of the formula expression for this RollTerm, prior to evaluation. + * @type {string} + * @override + */ + get expression() { + return `${this.number}d${this.constructor.DENOMINATION}${this.modifiers.join("")}`; + } + /** * Return a standardized representation for the displayed formula associated with this DiceTerm * @override */ get formula() { - return `${this.number}${this.constructor.DENOMINATION}${this.modifiers.join("")}`; + // No flavor + return this.expression; } /** - * Return the full img string used as the label for each rolled result - * @override + * Return a string used as the label for each rolled result + * @param {DiceTermResult} result The rolled result + * @return {string} The result label */ - static getResultLabel(result) { - return `${result}`; + getResultLabel(result) { + return `${result.result}`; } /** diff --git a/system/scripts/dice/dietype/ring-die.js b/system/scripts/dice/dietype/ring-die.js index e3218a2..53246ff 100644 --- a/system/scripts/dice/dietype/ring-die.js +++ b/system/scripts/dice/dietype/ring-die.js @@ -5,7 +5,7 @@ import { L5rBaseDie } from "./l5r-base-die.js"; */ export class RingDie extends L5rBaseDie { /** @override */ - static DENOMINATION = "dr"; + static DENOMINATION = "r"; static FACES = { 1: { success: 0, explosive: 0, opportunity: 0, strife: 0, image: "ring_blank" }, diff --git a/system/scripts/dice/roll.js b/system/scripts/dice/roll.js index 01bec1a..39d6cb2 100644 --- a/system/scripts/dice/roll.js +++ b/system/scripts/dice/roll.js @@ -5,8 +5,8 @@ export class RollL5r5e extends Roll { static CHAT_TEMPLATE = "dice/chat-roll.html"; static TOOLTIP_TEMPLATE = "dice/tooltip.html"; - constructor(...args) { - super(...args); + constructor(formula, data = {}, options = {}) { + super(formula, data, options); this.l5r5e = { stance: "", @@ -37,7 +37,7 @@ export class RollL5r5e extends Roll { }; // Parse flavor for stance and skillId - const flavors = Array.from(args[0].matchAll(/\d+d(s|r)\[([^\]]+)\]/gmu)); + const flavors = Array.from(formula.matchAll(/\d+d(s|r)\[([^\]]+)\]/gmu)); flavors.forEach((res) => { if (res[1] === "r" && !!res[2] && this.l5r5e.stance === "") { this.l5r5e.stance = res[2]; @@ -160,6 +160,8 @@ export class RollL5r5e extends Roll { * @override */ get total() { + //return 0; // todo Bug : Si 0 tout le temps -> pas de pb pour le chat. mais plus d'inline :'( + if (!this._evaluated) { return null; } @@ -205,7 +207,7 @@ export class RollL5r5e extends Roll { display: !isL5rDie || contexte?.from !== "render", rolls: term.results.map((r) => { return { - result: cls.getResultLabel(r.result), + result: term.getResultLabel(r), classes: [ cls.name.toLowerCase(), "d" + term.faces, @@ -273,7 +275,7 @@ export class RollL5r5e extends Roll { diceTypeL5r: isL5rDie, rolls: term.results.map((r) => { return { - result: term.constructor.getResultLabel(r.result), + result: term.getResultLabel(r), classes: [ isL5rDie && r.swapped ? "swapped" : null, r.rerolled ? "rerolled" : null, @@ -292,6 +294,14 @@ export class RollL5r5e extends Roll { return renderTemplate(chatOptions.template, chatData); } + /** + * Render the HTML for the ChatMessage which should be added to the log + * @return {Promise} + */ + async getHTML() { + console.log(" --------- getHTML"); + } + /** * Transform a Roll instance into a ChatMessage, displaying the roll result. * This function can either create the ChatMessage directly, or return the data object that will be used to create. diff --git a/system/scripts/helpers.js b/system/scripts/helpers.js index 12a43eb..0ab528d 100644 --- a/system/scripts/helpers.js +++ b/system/scripts/helpers.js @@ -43,12 +43,23 @@ export class HelpersL5r5e { /** * Get Techniques for List / Select + * @param types core|school|title|custom + * @param displayInTypes null|true|false + * @returns {{displayInTypes: boolean|*, id: any, label: *, type: *}[]} */ - static getTechniquesList() { - return CONFIG.l5r5e.techniques.map((e) => ({ - id: e, - label: game.i18n.localize(`l5r5e.techniques.${e}`), - })); + static getTechniquesList({ types = [], displayInTypes = null }) { + return Array.from(CONFIG.l5r5e.techniques) + .filter( + ([id, cfg]) => + (types.length === 0 || types.includes(cfg.type)) && + (displayInTypes === null || cfg.displayInTypes === displayInTypes) + ) + .map(([id, cfg]) => ({ + id, + label: game.i18n.localize(`l5r5e.techniques.${id}`), + type: cfg.type, + displayInTypes: cfg.displayInTypes, + })); } /** @@ -128,7 +139,20 @@ export class HelpersL5r5e { * Make a temporary item for compendium drag n drop */ static async createItemFromCompendium(data) { - if (!["item", "armor", "weapon", "technique", "peculiarity", "property"].includes(data.type)) { + if ( + ![ + "item", + "armor", + "weapon", + "technique", + "peculiarity", + "property", + "title", + "bond", + "signature_scroll", + "item_pattern", + ].includes(data.type) + ) { return data; } @@ -177,7 +201,7 @@ export class HelpersL5r5e { `` ); } else { - text = text.replace(new RegExp(``, "gi"), tag); + text = text.replace(new RegExp(``, "gi"), tag); } }); return text; @@ -209,6 +233,10 @@ export class HelpersL5r5e { core.set("Ite", "l5r5e.core-items"); core.set("Arm", "l5r5e.core-armors"); core.set("Wea", "l5r5e.core-weapons"); + core.set("Bon", "l5r5e.core-bonds"); + core.set("Tit", "l5r5e.core-titles"); + core.set("Itp", "l5r5e.core-item-patterns"); + core.set("Sig", "l5r5e.core-signature-scrolls"); core.set("Dis", "l5r5e.core-peculiarities-distinctions"); core.set("Pas", "l5r5e.core-peculiarities-passions"); core.set("Adv", "l5r5e.core-peculiarities-adversities"); diff --git a/system/scripts/hooks.js b/system/scripts/hooks.js index 5d64cc2..6236cae 100644 --- a/system/scripts/hooks.js +++ b/system/scripts/hooks.js @@ -20,12 +20,15 @@ export default class HooksL5r5e { /** * Do anything once the system is ready */ - static ready() { + static async ready() { // Migration stuff if (game.l5r5e.migrations.needUpdate()) { game.l5r5e.migrations.migrateWorld(); } + // For some reasons, not always really ready, so wait a little + await new Promise((r) => setTimeout(r, 500)); + // Settings TN and EncounterType if (game.user.isGM) { new game.l5r5e.GmToolsDialog().render(true); @@ -40,9 +43,10 @@ export default class HooksL5r5e { .on("click", () => new game.l5r5e.HelpDialog().render(true)) .prop("title", game.i18n.localize("l5r5e.logo.alt")); - // Spanish specific - Disclaimer "not translated by Edge" - if (game.i18n.lang === "es") { - ui.notifications.info(game.i18n.localize("l5r5e.global.edge_translation_disclaimer")); + // If any disclaimer "not translated by Edge" + const disclaimer = game.i18n.localize("l5r5e.global.edge_translation_disclaimer"); + if (disclaimer !== "l5r5e.global.edge_translation_disclaimer") { + ui.notifications.info(disclaimer); } } diff --git a/system/scripts/items/advancement-sheet.js b/system/scripts/items/advancement-sheet.js index daa1c88..cfb3a3f 100644 --- a/system/scripts/items/advancement-sheet.js +++ b/system/scripts/items/advancement-sheet.js @@ -20,8 +20,8 @@ export class AdvancementSheetL5r5e extends ItemSheetL5r5e { }); } - async getData() { - const sheetData = await super.getData(); + async getData(options = {}) { + const sheetData = await super.getData(options); sheetData.data.subTypesList = AdvancementSheetL5r5e.types; sheetData.data.skillsList = game.l5r5e.HelpersL5r5e.getSkillsList(true); @@ -47,46 +47,18 @@ export class AdvancementSheetL5r5e extends ItemSheetL5r5e { html.find("#advancement_type").on("change", (event) => { if ($(event.target).val() === "skill") { - this._updateChoice( - { - ring: currentRing, - }, - { - skill: currentSkill, - } - ); + this._updateChoice({ ring: currentRing }, { skill: currentSkill }); } else { - this._updateChoice( - { - skill: currentSkill, - }, - { - ring: currentRing, - } - ); + this._updateChoice({ skill: currentSkill }, { ring: currentRing }); } }); html.find("#advancement_ring").on("change", (event) => { - this._updateChoice( - { - ring: currentRing, - }, - { - ring: $(event.target).val(), - } - ); + this._updateChoice({ ring: currentRing }, { ring: $(event.target).val() }); }); html.find("#advancement_skill").on("change", (event) => { - this._updateChoice( - { - skill: currentSkill, - }, - { - skill: $(event.target).val(), - } - ); + this._updateChoice({ skill: currentSkill }, { skill: $(event.target).val() }); }); } diff --git a/system/scripts/items/bond-sheet.js b/system/scripts/items/bond-sheet.js new file mode 100644 index 0000000..df977fb --- /dev/null +++ b/system/scripts/items/bond-sheet.js @@ -0,0 +1,17 @@ +import { ItemSheetL5r5e } from "./item-sheet.js"; + +/** + * @extends {ItemSheet} + */ +export class BondSheetL5r5e extends ItemSheetL5r5e { + /** @override */ + static get defaultOptions() { + return foundry.utils.mergeObject(super.defaultOptions, { + classes: ["l5r5e", "sheet", "bond"], + template: CONFIG.l5r5e.paths.templates + "items/bond/bond-sheet.html", + width: 520, + height: 480, + tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description" }], + }); + } +} diff --git a/system/scripts/items/item-pattern-sheet.js b/system/scripts/items/item-pattern-sheet.js new file mode 100644 index 0000000..c82a4d4 --- /dev/null +++ b/system/scripts/items/item-pattern-sheet.js @@ -0,0 +1,17 @@ +import { ItemSheetL5r5e } from "./item-sheet.js"; + +/** + * @extends {ItemSheet} + */ +export class ItemPatternSheetL5r5e extends ItemSheetL5r5e { + /** @override */ + static get defaultOptions() { + return foundry.utils.mergeObject(super.defaultOptions, { + classes: ["l5r5e", "sheet", "item-pattern"], + template: CONFIG.l5r5e.paths.templates + "items/item-pattern/item-pattern-sheet.html", + width: 520, + height: 480, + tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description" }], + }); + } +} diff --git a/system/scripts/items/item-sheet.js b/system/scripts/items/item-sheet.js index 2ce2091..e059930 100644 --- a/system/scripts/items/item-sheet.js +++ b/system/scripts/items/item-sheet.js @@ -14,13 +14,14 @@ export class ItemSheetL5r5e extends ItemSheet { }); } - /** @override */ + /** + * @return {Object|Promise} + */ async getData(options = {}) { - const sheetData = super.getData(); + const sheetData = await super.getData(options); sheetData.data.dtypes = ["String", "Number", "Boolean"]; sheetData.data.ringsList = game.l5r5e.HelpersL5r5e.getRingsList(); - sheetData.data.techniquesList = game.l5r5e.HelpersL5r5e.getTechniquesList(); // Prepare Properties (id/name => object) await this._prepareProperties(sheetData); diff --git a/system/scripts/items/peculiarity-sheet.js b/system/scripts/items/peculiarity-sheet.js index 7231a55..9d332b1 100644 --- a/system/scripts/items/peculiarity-sheet.js +++ b/system/scripts/items/peculiarity-sheet.js @@ -21,8 +21,8 @@ export class PeculiaritySheetL5r5e extends ItemSheetL5r5e { }); } - async getData() { - const sheetData = await super.getData(); + async getData(options = {}) { + const sheetData = await super.getData(options); sheetData.data.subTypesList = PeculiaritySheetL5r5e.types.map((e) => ({ id: e, diff --git a/system/scripts/items/signature-scroll-sheet.js b/system/scripts/items/signature-scroll-sheet.js new file mode 100644 index 0000000..1f3425a --- /dev/null +++ b/system/scripts/items/signature-scroll-sheet.js @@ -0,0 +1,17 @@ +import { ItemSheetL5r5e } from "./item-sheet.js"; + +/** + * @extends {ItemSheet} + */ +export class SignatureScrollSheetL5r5e extends ItemSheetL5r5e { + /** @override */ + static get defaultOptions() { + return foundry.utils.mergeObject(super.defaultOptions, { + classes: ["l5r5e", "sheet", "signature-scroll"], + template: CONFIG.l5r5e.paths.templates + "items/signature-scroll/signature-scroll-sheet.html", + width: 520, + height: 480, + tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description" }], + }); + } +} diff --git a/system/scripts/items/technique-sheet.js b/system/scripts/items/technique-sheet.js index 99f705d..9930afe 100644 --- a/system/scripts/items/technique-sheet.js +++ b/system/scripts/items/technique-sheet.js @@ -16,19 +16,15 @@ export class TechniqueSheetL5r5e extends ItemSheetL5r5e { } /** @override */ - async getData() { - const sheetData = await super.getData(); + async getData(options = {}) { + const sheetData = await super.getData(options); - // Add "school ability", "mastery ability" and customs if active - [ - ...CONFIG.l5r5e.techniques_school, - ...(game.settings.get("l5r5e", "techniques-customs") ? CONFIG.l5r5e.techniques_custom : []), - ].forEach((e) => { - sheetData.data.techniquesList.push({ - id: e, - label: game.i18n.localize(`l5r5e.techniques.${e}`), - }); - }); + // List all available techniques type + const types = ["core", "school", "title"]; + if (game.settings.get("l5r5e", "techniques-customs")) { + types.push("custom"); + } + sheetData.data.techniquesList = game.l5r5e.HelpersL5r5e.getTechniquesList({ types }); return sheetData; } diff --git a/system/scripts/items/title-sheet.js b/system/scripts/items/title-sheet.js new file mode 100644 index 0000000..c7413e4 --- /dev/null +++ b/system/scripts/items/title-sheet.js @@ -0,0 +1,17 @@ +import { ItemSheetL5r5e } from "./item-sheet.js"; + +/** + * @extends {ItemSheet} + */ +export class TitleSheetL5r5e extends ItemSheetL5r5e { + /** @override */ + static get defaultOptions() { + return foundry.utils.mergeObject(super.defaultOptions, { + classes: ["l5r5e", "sheet", "title"], + template: CONFIG.l5r5e.paths.templates + "items/title/title-sheet.html", + width: 520, + height: 480, + tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description" }], + }); + } +} diff --git a/system/scripts/items/weapon-sheet.js b/system/scripts/items/weapon-sheet.js index 528bff1..dab3da1 100644 --- a/system/scripts/items/weapon-sheet.js +++ b/system/scripts/items/weapon-sheet.js @@ -15,8 +15,8 @@ export class WeaponSheetL5r5e extends ItemSheetL5r5e { }); } - async getData() { - const sheetData = await super.getData(); + async getData(options = {}) { + const sheetData = await super.getData(options); // Martial skills only sheetData.data.skills = Array.from(CONFIG.l5r5e.skills) diff --git a/system/scripts/main-l5r5e.js b/system/scripts/main-l5r5e.js index a202b5a..84d7cdc 100644 --- a/system/scripts/main-l5r5e.js +++ b/system/scripts/main-l5r5e.js @@ -29,6 +29,10 @@ import { TechniqueSheetL5r5e } from "./items/technique-sheet.js"; import { PropertySheetL5r5e } from "./items/property-sheet.js"; import { AdvancementSheetL5r5e } from "./items/advancement-sheet.js"; import { PeculiaritySheetL5r5e } from "./items/peculiarity-sheet.js"; +import { TitleSheetL5r5e } from "./items/title-sheet.js"; +import { BondSheetL5r5e } from "./items/bond-sheet.js"; +import { SignatureScrollSheetL5r5e } from "./items/signature-scroll-sheet.js"; +import { ItemPatternSheetL5r5e } from "./items/item-pattern-sheet.js"; // JournalEntry import { JournalL5r5e } from "./journal.js"; import { BaseJournalSheetL5r5e } from "./journals/base-journal-sheet.js"; @@ -62,12 +66,11 @@ Hooks.once("init", async () => { CONFIG.JournalEntry.sheetClass = BaseJournalSheetL5r5e; // Define custom Roll class - CONFIG.Dice.rolls.push(CONFIG.Dice.rolls[0]); - CONFIG.Dice.rolls[0] = RollL5r5e; + CONFIG.Dice.rolls.unshift(RollL5r5e); // Define DiceTerms - CONFIG.Dice.terms["s"] = AbilityDie; - CONFIG.Dice.terms["r"] = RingDie; + CONFIG.Dice.terms[AbilityDie.DENOMINATION] = AbilityDie; + CONFIG.Dice.terms[RingDie.DENOMINATION] = RingDie; // Add some classes in game game.l5r5e = { @@ -109,6 +112,10 @@ Hooks.once("init", async () => { Items.registerSheet("l5r5e", PropertySheetL5r5e, { types: ["property"], makeDefault: true }); Items.registerSheet("l5r5e", PeculiaritySheetL5r5e, { types: ["peculiarity"], makeDefault: true }); Items.registerSheet("l5r5e", AdvancementSheetL5r5e, { types: ["advancement"], makeDefault: true }); + Items.registerSheet("l5r5e", TitleSheetL5r5e, { types: ["title"], makeDefault: true }); + Items.registerSheet("l5r5e", BondSheetL5r5e, { types: ["bond"], makeDefault: true }); + Items.registerSheet("l5r5e", SignatureScrollSheetL5r5e, { types: ["signature_scroll"], makeDefault: true }); + Items.registerSheet("l5r5e", ItemPatternSheetL5r5e, { types: ["item_pattern"], makeDefault: true }); // Journal Items.unregisterSheet("core", JournalSheet); diff --git a/system/scripts/preloadTemplates.js b/system/scripts/preloadTemplates.js index d157c1a..ad17ce4 100644 --- a/system/scripts/preloadTemplates.js +++ b/system/scripts/preloadTemplates.js @@ -1,49 +1,56 @@ export const PreloadTemplates = async function () { const templatePaths = [ // Add paths to "systems/l5r5e/templates" - // actors - "systems/l5r5e/templates/actors/character/rings.html", - "systems/l5r5e/templates/actors/character/narrative.html", - "systems/l5r5e/templates/actors/character/identity.html", + // *** Actors : PC *** + "systems/l5r5e/templates/actors/character/advancement-school.html", + "systems/l5r5e/templates/actors/character/advancement-others.html", + "systems/l5r5e/templates/actors/character/attributes.html", "systems/l5r5e/templates/actors/character/category.html", + "systems/l5r5e/templates/actors/character/conflict.html", + "systems/l5r5e/templates/actors/character/experience.html", + "systems/l5r5e/templates/actors/character/identity.html", + "systems/l5r5e/templates/actors/character/narrative.html", + "systems/l5r5e/templates/actors/character/rings.html", "systems/l5r5e/templates/actors/character/skill.html", "systems/l5r5e/templates/actors/character/social.html", - "systems/l5r5e/templates/actors/character/attributes.html", - "systems/l5r5e/templates/actors/character/conflict.html", "systems/l5r5e/templates/actors/character/stance.html", "systems/l5r5e/templates/actors/character/techniques.html", - "systems/l5r5e/templates/actors/character/experience.html", - "systems/l5r5e/templates/actors/character/advancement.html", "systems/l5r5e/templates/actors/character/twenty-questions-item.html", - // npc - "systems/l5r5e/templates/actors/npc/identity.html", - "systems/l5r5e/templates/actors/npc/narrative.html", - "systems/l5r5e/templates/actors/npc/social.html", - "systems/l5r5e/templates/actors/npc/rings.html", + // *** Actors : Npc *** "systems/l5r5e/templates/actors/npc/attributes.html", "systems/l5r5e/templates/actors/npc/conflict.html", + "systems/l5r5e/templates/actors/npc/identity.html", + "systems/l5r5e/templates/actors/npc/narrative.html", + "systems/l5r5e/templates/actors/npc/rings.html", + "systems/l5r5e/templates/actors/npc/social.html", "systems/l5r5e/templates/actors/npc/skill.html", "systems/l5r5e/templates/actors/npc/techniques.html", - // items - "systems/l5r5e/templates/items/advancement/advancements.html", + // *** Items *** "systems/l5r5e/templates/items/advancement/advancement-entry.html", "systems/l5r5e/templates/items/advancement/advancement-sheet.html", "systems/l5r5e/templates/items/armor/armors.html", "systems/l5r5e/templates/items/armor/armor-entry.html", "systems/l5r5e/templates/items/armor/armor-sheet.html", + "systems/l5r5e/templates/items/bond/bond-entry.html", + "systems/l5r5e/templates/items/bond/bond-sheet.html", "systems/l5r5e/templates/items/item/items.html", "systems/l5r5e/templates/items/item/item-entry.html", "systems/l5r5e/templates/items/item/item-value.html", "systems/l5r5e/templates/items/item/item-sheet.html", "systems/l5r5e/templates/items/item/item-infos.html", - "systems/l5r5e/templates/items/peculiarity/peculiarities.html", + "systems/l5r5e/templates/items/item-pattern/item-pattern-entry.html", + "systems/l5r5e/templates/items/item-pattern/item-pattern-sheet.html", "systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html", "systems/l5r5e/templates/items/peculiarity/peculiarity-sheet.html", "systems/l5r5e/templates/items/property/properties.html", "systems/l5r5e/templates/items/property/property-entry.html", "systems/l5r5e/templates/items/property/property-sheet.html", + "systems/l5r5e/templates/items/signature-scroll/signature-scroll-entry.html", + "systems/l5r5e/templates/items/signature-scroll/signature-scroll-sheet.html", "systems/l5r5e/templates/items/technique/technique-entry.html", "systems/l5r5e/templates/items/technique/technique-sheet.html", + "systems/l5r5e/templates/items/title/title-entry.html", + "systems/l5r5e/templates/items/title/title-sheet.html", "systems/l5r5e/templates/items/weapon/weapons.html", "systems/l5r5e/templates/items/weapon/weapon-entry.html", "systems/l5r5e/templates/items/weapon/weapon-sheet.html", diff --git a/system/styles/l5r5e.css b/system/styles/l5r5e.css index 67e7f1f..608aea0 100644 --- a/system/styles/l5r5e.css +++ b/system/styles/l5r5e.css @@ -1 +1 @@ -body{background:url("../assets/imgs/bg-table.webp") no-repeat center;background-size:cover}body>*{scrollbar-width:thin}.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:rgba(0,0,0,0.75)}.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:rgba(0,0,0,0.75)}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%;min-height:5rem}.earth{color:#699678}.air{color:#917896}.water{color:#5f919b}.fire{color:#9b7350}.void{color:#4b4641}table{text-align:center;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"}.window-draggable-handle{z-index:2}@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}p{font-family:"ArchitectsDaughter",sans-serif}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_imperial,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:"\E91B";color:#cd0000}i.i_success:before{content:"\E91C";color:#cd0000}i.i_explosive:before{content:"\E91D";color:#cd0000}i.i_opportunity:before{content:"\E91A";color:#cd0000}i.i_earth:before{content:"\E90C";color:#699678}i.i_air:before{content:"\E90B";color:#917896}i.i_water:before{content:"\E90A";color:#5f919b}i.i_fire:before{content:"\E908";color:#9b7350}i.i_void:before{content:"\E909";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_crab:before{content:"\E914";color:#82828c}i.i_crane:before{content:"\E915";color:#789191}i.i_dragon:before{content:"\E916";color:#55826e}i.i_lion:before{content:"\E90E";color:#a08c50}i.i_mantis:before{content:"\E90F";color:#2d551e}i.i_phoenix:before{content:"\E910";color:#91784b}i.i_scorpion:before{content:"\E911";color:#9b463c}i.i_tortoise:before{content:"\E912";color:#b4c82d}i.i_unicorn:before{content:"\E913";color:#785a87}i.i_imperial:before{content:"\E90D";color:#78ffb4}i.i_bushi:before{content:"\E917";color:#a55a5a}i.i_courtier:before{content:"\E918";color:#6982a5}i.i_shugenja:before{content:"\E919";color:#5aa582}i.i_ring{content:"";background:transparent url("../assets/dices/default/ring_blank.svg") no-repeat 0 center;display:inline-block;height:1rem;width:0.75rem}i.i_skill{content:"";background:transparent url("../assets/dices/default/skill_blank.svg") no-repeat 0 0;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,.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-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 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 .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}#l5r5e-gm-tools-dialog{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-tools-dialog .window-header{text-align:center;border-bottom:1px solid #c3a582}#l5r5e-gm-tools-dialog .window-header h4{letter-spacing:0.25rem;line-height:2.25rem;color:rgba(255,255,255,0.65)}#l5r5e-gm-tools-dialog .window-content{text-align:center;vertical-align:middle;background:transparent;color:rgba(255,255,255,0.65)}#l5r5e-gm-tools-dialog .window-content form{padding:0}#l5r5e-gm-tools-dialog .window-content .gm-tools-container{display:flex;font-size:2rem;line-height:2rem;min-height:2rem;margin:0}#l5r5e-gm-tools-dialog .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-tools-dialog .window-content .gm-tools-container li:last-child{margin:0;border:0 none}#l5r5e-gm-tools-dialog .window-content .gm-tools-container li :hover{text-shadow:0 0 red}#l5r5e-gm-tools-dialog .window-content .gm-tools-container .difficulty_hidden .fa{width:3rem}#l5r5e-gm-tools-dialog .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-tools-dialog .window-content .gm-tools-container .fa{padding:0.5rem}#l5r5e-gm-tools-dialog .window-content .gm-tools-container .fa-bed,#l5r5e-gm-tools-dialog .window-content .gm-tools-container .fa-star-half-alt{width:100%;padding:0.5rem}#l5r5e-gm-tools-dialog .window-draggable-handle{display:none}.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}button{font-size:0.75rem;cursor:url("../assets/cursors/pointer.webp"),pointer}#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% - 1rem);top:0.5rem;min-width:40px;letter-spacing:0.1rem}#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-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") no-repeat}#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") no-repeat}#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:rgba(0,0,0,0.75)}#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{margin:0}#hotbar #action-bar{flex:0 0 100%}#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 rgba(0,0,0,0.75)}#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 rgba(0,0,0,0.75);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:1.15rem;bottom:0.65rem;box-shadow:inset 0 0 0.5rem rgba(0,0,0,0.75)}#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}#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 .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .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 .scene-control.active:hover,#controls .control-tool.active:hover,#controls .scene-control:hover:hover,#controls .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 .scene-control,#controls .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 .scene-control:hover,#controls .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 .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.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% - 27rem)}.l5r5e.sheet.actor fieldset.advancement{display:block}.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 .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 .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 .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 .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.tab[data-tab].active{display:flex}.l5r5e.sheet article .narrative-content,.l5r5e.sheet article .narrative-note{flex:0 0 calc(50% - 0.5rem)}.l5r5e.sheet article .narrative-content fieldset,.l5r5e.sheet article .narrative-note fieldset{display:block}.l5r5e.sheet article .narrative-content fieldset label,.l5r5e.sheet article .narrative-note fieldset label{width:100%}.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 .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:0 0 6rem;flex-direction:column;color:rgba(0,0,0,0.75)}.l5r5e.sheet .xp label,.l5r5e.sheet .money-wrapper label{padding:0.25rem;font-size:0.85rem}.l5r5e.sheet table{font-size:0.85rem;color:rgba(0,0,0,0.75)}.l5r5e.sheet table thead th:first-child{flex:0 0 2rem}.l5r5e.sheet table thead th:nth-child(2){flex:calc(100% - 16rem);padding-left:0.5rem;text-align:left}.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 img{width:16px;height:16px;border:none}.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}.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 .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 nav.sheet-tabs{height:3rem;line-height:3rem;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);--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: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;background-color:rgba(73,12,11,0.85);-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 .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 .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:rgba(0,0,0,0.75)}.l5r5e .item-list .item .item-header .icon-stat-container{line-height:1rem;font-size:0.75rem;padding:0 0.25rem;color:rgba(0,0,0,0.75)}.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:rgba(0,0,0,0.75)}.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.armor .sheet-header,.l5r5e.item .sheet-header,.l5r5e.peculiarity .sheet-header,.l5r5e.property .sheet-header,.l5r5e.technique .sheet-header,.l5r5e.weapon .sheet-header{margin-bottom:0.5rem}.l5r5e.advancement .sheet-header img,.l5r5e.armor .sheet-header img,.l5r5e.item .sheet-header img,.l5r5e.peculiarity .sheet-header img,.l5r5e.property .sheet-header img,.l5r5e.technique .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.armor .sheet-header h1 input,.l5r5e.item .sheet-header h1 input,.l5r5e.peculiarity .sheet-header h1 input,.l5r5e.property .sheet-header h1 input,.l5r5e.technique .sheet-header h1 input,.l5r5e.weapon .sheet-header h1 input{height:5.5rem}.l5r5e.advancement fieldset input[name="data.effects"],.l5r5e.armor fieldset input[name="data.effects"],.l5r5e.item fieldset input[name="data.effects"],.l5r5e.peculiarity fieldset input[name="data.effects"],.l5r5e.property fieldset input[name="data.effects"],.l5r5e.technique fieldset input[name="data.effects"],.l5r5e.weapon fieldset input[name="data.effects"]{text-align:left}.l5r5e.advancement .sheet-body,.l5r5e.armor .sheet-body,.l5r5e.item .sheet-body,.l5r5e.peculiarity .sheet-body,.l5r5e.property .sheet-body,.l5r5e.technique .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.armor article,.l5r5e.item article,.l5r5e.peculiarity article,.l5r5e.property article,.l5r5e.technique article,.l5r5e.weapon article{display:flex;flex-wrap:wrap;min-height:auto}.l5r5e.advancement article label,.l5r5e.armor article label,.l5r5e.item article label,.l5r5e.peculiarity article label,.l5r5e.property article label,.l5r5e.technique article label,.l5r5e.weapon article label{color:#5a6e5a;margin:0.25rem;line-height:1.5rem}.l5r5e.advancement article.attributes,.l5r5e.armor article.attributes,.l5r5e.item article.attributes,.l5r5e.peculiarity article.attributes,.l5r5e.property article.attributes,.l5r5e.technique 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.armor article.attributes #advancement_type,.l5r5e.armor article.attributes #advancement_skill,.l5r5e.item article.attributes #advancement_type,.l5r5e.item 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.technique article.attributes #advancement_type,.l5r5e.technique 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.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.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.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.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.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.armor article.attributes .attribute-value,.l5r5e.armor article.attributes .attribute,.l5r5e.armor article.attributes .value,.l5r5e.item article.attributes .attribute-value,.l5r5e.item article.attributes .attribute,.l5r5e.item 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.technique article.attributes .attribute-value,.l5r5e.technique article.attributes .attribute,.l5r5e.technique 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.armor article.attributes select[name="data.advancement_type"],.l5r5e.armor article.attributes select[name="data.skill"],.l5r5e.item article.attributes select[name="data.advancement_type"],.l5r5e.item 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.technique article.attributes select[name="data.advancement_type"],.l5r5e.technique 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.armor article.attributes .type,.l5r5e.item article.attributes .type,.l5r5e.peculiarity article.attributes .type,.l5r5e.property article.attributes .type,.l5r5e.technique article.attributes .type,.l5r5e.weapon article.attributes .type{display:block}.l5r5e.advancement article.attributes .type label,.l5r5e.armor article.attributes .type label,.l5r5e.item article.attributes .type label,.l5r5e.peculiarity article.attributes .type label,.l5r5e.property article.attributes .type label,.l5r5e.technique article.attributes .type label,.l5r5e.weapon article.attributes .type label{width:calc(50% - 0.5rem);float:left}.l5r5e.advancement article.attributes .properties,.l5r5e.armor article.attributes .properties,.l5r5e.item article.attributes .properties,.l5r5e.peculiarity article.attributes .properties,.l5r5e.property article.attributes .properties,.l5r5e.technique article.attributes .properties,.l5r5e.weapon article.attributes .properties{flex:0 0 calc(50% - 0.5rem);margin:0.25rem}.l5r5e.advancement article.attributes .equipped,.l5r5e.armor article.attributes .equipped,.l5r5e.item article.attributes .equipped,.l5r5e.peculiarity article.attributes .equipped,.l5r5e.property article.attributes .equipped,.l5r5e.technique 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.armor article.attributes input[type="text"],.l5r5e.armor article.attributes input[type="number"],.l5r5e.item article.attributes input[type="text"],.l5r5e.item 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.technique article.attributes input[type="text"],.l5r5e.technique 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.armor article.attributes input[type="text"].grip,.l5r5e.armor article.attributes input[type="number"].grip,.l5r5e.item article.attributes input[type="text"].grip,.l5r5e.item 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.technique article.attributes input[type="text"].grip,.l5r5e.technique article.attributes input[type="number"].grip,.l5r5e.weapon article.attributes input[type="text"].grip,.l5r5e.weapon article.attributes input[type="number"].grip{width:100%;margin-bottom:0.25rem}.l5r5e.advancement article.attributes input[name="data.zeni"],.l5r5e.armor article.attributes input[name="data.zeni"],.l5r5e.item article.attributes input[name="data.zeni"],.l5r5e.peculiarity article.attributes input[name="data.zeni"],.l5r5e.property article.attributes input[name="data.zeni"],.l5r5e.technique 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.armor article.attributes fieldset input[type="text"],.l5r5e.armor article.attributes fieldset input[type="number"],.l5r5e.item article.attributes fieldset input[type="text"],.l5r5e.item 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.technique article.attributes fieldset input[type="text"],.l5r5e.technique 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.armor article.attributes .attribute.full,.l5r5e.item article.attributes .attribute.full,.l5r5e.peculiarity article.attributes .attribute.full,.l5r5e.property article.attributes .attribute.full,.l5r5e.technique article.attributes .attribute.full,.l5r5e.weapon article.attributes .attribute.full{flex:100%}.l5r5e.advancement article.attributes .attribute.full input,.l5r5e.armor article.attributes .attribute.full input,.l5r5e.item article.attributes .attribute.full input,.l5r5e.peculiarity article.attributes .attribute.full input,.l5r5e.property article.attributes .attribute.full input,.l5r5e.technique article.attributes .attribute.full input,.l5r5e.weapon article.attributes .attribute.full input{float:right;width:70%}.l5r5e.advancement article.infos,.l5r5e.armor article.infos,.l5r5e.item article.infos,.l5r5e.peculiarity article.infos,.l5r5e.property article.infos,.l5r5e.technique 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.armor article.infos .reference,.l5r5e.item article.infos .reference,.l5r5e.peculiarity article.infos .reference,.l5r5e.property article.infos .reference,.l5r5e.technique 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.armor article.infos .reference input[name="data.book_reference"],.l5r5e.item 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.technique 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.armor article.infos fieldset,.l5r5e.item article.infos fieldset,.l5r5e.peculiarity article.infos fieldset,.l5r5e.property article.infos fieldset,.l5r5e.technique 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.armor article.properties fieldset,.l5r5e.item article.properties fieldset,.l5r5e.peculiarity article.properties fieldset,.l5r5e.property article.properties fieldset,.l5r5e.technique 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.peculiarity article.attributes .cursus,.l5r5e.technique 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,.l5r5e.technique article.attributes .cursus input{margin-top:0.25rem}.l5r5e.peculiarity article.attributes{height:8.5rem}.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.infos{height:calc(100% - 0.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 .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-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 .toggle-active{height:6rem;overflow-y:auto;scrollbar-width:thin;border:1px solid rgba(186,187,177,0.5)}.l5r5e .item-list>li p.toggle-active{padding:0.25rem}.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 .toggle-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 .toggle-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%}.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}.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} +body{background:url("../assets/imgs/bg-table.webp") no-repeat center;background-size:cover}body>*{scrollbar-width:thin}.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:rgba(0,0,0,0.75)}.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:rgba(0,0,0,0.75)}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%;min-height:5rem}.earth{color:#699678}.air{color:#917896}.water{color:#5f919b}.fire{color:#9b7350}.void{color:#4b4641}table{text-align:center;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"}.window-draggable-handle{z-index:2}@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}p{font-family:"ArchitectsDaughter",sans-serif}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_imperial,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:"\E91B";color:#cd0000}i.i_success:before{content:"\E91C";color:#cd0000}i.i_explosive:before{content:"\E91D";color:#cd0000}i.i_opportunity:before{content:"\E91A";color:#cd0000}i.i_earth:before{content:"\E90C";color:#699678}i.i_air:before{content:"\E90B";color:#917896}i.i_water:before{content:"\E90A";color:#5f919b}i.i_fire:before{content:"\E908";color:#9b7350}i.i_void:before{content:"\E909";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_crab:before{content:"\E914";color:#82828c}i.i_crane:before{content:"\E915";color:#789191}i.i_dragon:before{content:"\E916";color:#55826e}i.i_lion:before{content:"\E90E";color:#a08c50}i.i_mantis:before{content:"\E90F";color:#2d551e}i.i_phoenix:before{content:"\E910";color:#91784b}i.i_scorpion:before{content:"\E911";color:#9b463c}i.i_tortoise:before{content:"\E912";color:#b4c82d}i.i_unicorn:before{content:"\E913";color:#785a87}i.i_imperial:before{content:"\E90D";color:#78ffb4}i.i_bushi:before{content:"\E917";color:#a55a5a}i.i_courtier:before{content:"\E918";color:#6982a5}i.i_shugenja:before{content:"\E919";color:#5aa582}i.i_ring{content:"";background:transparent url("../assets/dices/default/ring_blank.svg") no-repeat 0 center;display:inline-block;height:1rem;width:0.75rem}i.i_skill{content:"";background:transparent url("../assets/dices/default/skill_blank.svg") no-repeat 0 0;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,.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-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 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 .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}#l5r5e-gm-tools-dialog{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-tools-dialog .window-header{text-align:center;border-bottom:1px solid #c3a582}#l5r5e-gm-tools-dialog .window-header h4{letter-spacing:0.25rem;line-height:2.25rem;color:rgba(255,255,255,0.65)}#l5r5e-gm-tools-dialog .window-content{text-align:center;vertical-align:middle;background:transparent;color:rgba(255,255,255,0.65)}#l5r5e-gm-tools-dialog .window-content form{padding:0}#l5r5e-gm-tools-dialog .window-content .gm-tools-container{display:flex;font-size:2rem;line-height:2rem;min-height:2rem;margin:0}#l5r5e-gm-tools-dialog .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-tools-dialog .window-content .gm-tools-container li:last-child{margin:0;border:0 none}#l5r5e-gm-tools-dialog .window-content .gm-tools-container li :hover{text-shadow:0 0 red}#l5r5e-gm-tools-dialog .window-content .gm-tools-container .difficulty_hidden .fa{width:3rem}#l5r5e-gm-tools-dialog .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-tools-dialog .window-content .gm-tools-container .fa{padding:0.5rem}#l5r5e-gm-tools-dialog .window-content .gm-tools-container .fa-bed,#l5r5e-gm-tools-dialog .window-content .gm-tools-container .fa-star-half-alt{width:100%;padding:0.5rem}#l5r5e-gm-tools-dialog .window-draggable-handle{display:none}.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}button{font-size:0.75rem;cursor:url("../assets/cursors/pointer.webp"),pointer}#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% - 1rem);top:0.5rem;min-width:40px;letter-spacing:0.1rem}#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-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") no-repeat}#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") no-repeat}#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:rgba(0,0,0,0.75)}#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{margin:0}#hotbar #action-bar{flex:0 0 100%}#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 rgba(0,0,0,0.75)}#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 rgba(0,0,0,0.75);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:1.15rem;bottom:0.65rem;box-shadow:inset 0 0 0.5rem rgba(0,0,0,0.75)}#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}#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 .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .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 .scene-control.active:hover,#controls .control-tool.active:hover,#controls .scene-control:hover:hover,#controls .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 .scene-control,#controls .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 .scene-control:hover,#controls .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 .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.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% - 27rem)}.l5r5e.sheet.actor fieldset.advancement{display:block}.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 .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 .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 .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 .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.tab[data-tab].active{display:flex}.l5r5e.sheet article .narrative-content,.l5r5e.sheet article .narrative-note{flex:0 0 calc(50% - 0.5rem)}.l5r5e.sheet article .narrative-content fieldset,.l5r5e.sheet article .narrative-note fieldset{display:block}.l5r5e.sheet article .narrative-content fieldset label,.l5r5e.sheet article .narrative-note fieldset label{width:100%}.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 .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:0 0 6rem;flex-direction:column;color:rgba(0,0,0,0.75)}.l5r5e.sheet .xp label,.l5r5e.sheet .money-wrapper label{padding:0.25rem;font-size:0.85rem}.l5r5e.sheet table{font-size:0.85rem;color:rgba(0,0,0,0.75)}.l5r5e.sheet table thead th:first-child{flex:0 0 2rem}.l5r5e.sheet table thead th:nth-child(2){flex:calc(100% - 16rem);padding-left:0.5rem;text-align:left}.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 img{width:16px;height:16px;border:none}.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}.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 .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 nav.sheet-tabs{height:3rem;line-height:3rem;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);--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: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;background-color:rgba(73,12,11,0.85);-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 .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 .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:rgba(0,0,0,0.75)}.l5r5e .item-list .item .item-header .icon-stat-container{line-height:1rem;font-size:0.75rem;padding:0 0.25rem;color:rgba(0,0,0,0.75)}.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:rgba(0,0,0,0.75)}.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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:100%;margin-bottom:0.25rem}.l5r5e.advancement 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.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.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.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.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.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.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.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.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.peculiarity article.attributes .cursus,.l5r5e.technique 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,.l5r5e.technique article.attributes .cursus input{margin-top:0.25rem}.l5r5e.peculiarity article.attributes{height:8.5rem}.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.infos{height:calc(100% - 0.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 .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-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 .toggle-active{height:6rem;overflow-y:auto;scrollbar-width:thin;border:1px solid rgba(186,187,177,0.5)}.l5r5e .item-list>li p.toggle-active{padding:0.25rem}.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 .toggle-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 .toggle-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%}.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}.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} diff --git a/system/styles/scss/items.scss b/system/styles/scss/items.scss index 4da0a8e..9ab6105 100644 --- a/system/styles/scss/items.scss +++ b/system/styles/scss/items.scss @@ -96,10 +96,14 @@ // Advancement Sheet, Armor Sheet, Item Sheet, Peculiarity Sheet, Property Sheet, Technique Sheet, Weapon Sheet &.advancement, &.armor, +&.bond, &.item, +&.item-pattern, &.peculiarity, &.property, +&.signature-scroll, &.technique, +&.title, &.weapon { .sheet-header { margin-bottom: 0.5rem; diff --git a/system/system.json b/system/system.json index 7ba551c..0b7cd49 100644 --- a/system/system.json +++ b/system/system.json @@ -161,6 +161,34 @@ "entity": "Item", "system": "l5r5e" }, + { + "name": "core-bonds", + "label": "Bonds", + "path": "packs/core-bonds.db", + "entity": "Item", + "system": "l5r5e" + }, + { + "name": "core-titles", + "label": "Titles", + "path": "packs/core-titles.db", + "entity": "Item", + "system": "l5r5e" + }, + { + "name": "core-item-patterns", + "label": "Item Patterns", + "path": "packs/core-item-patterns.db", + "entity": "Item", + "system": "l5r5e" + }, + { + "name": "core-signature-scrolls", + "label": "Signature Scrolls", + "path": "packs/core-signature-scrolls.db", + "entity": "Item", + "system": "l5r5e" + }, { "name": "great-clans-presentation", "label": "Great Clans Presentation", diff --git a/system/template.json b/system/template.json index 221dfff..4139f4f 100644 --- a/system/template.json +++ b/system/template.json @@ -139,7 +139,19 @@ } }, "Item": { - "types": ["item", "armor", "weapon", "technique", "property", "peculiarity", "advancement"], + "types": [ + "item", + "armor", + "weapon", + "technique", + "property", + "peculiarity", + "advancement", + "title", + "bond", + "signature_scroll", + "item_pattern" + ], "templates": { "basics": { "book_reference": "", @@ -199,6 +211,24 @@ "templates": ["basics", "advancement"], "advancement_type": "skill", "skill": "" + }, + "title": { + "templates": ["basics", "advancement"], + "xp_cost": 3 + }, + "bond": { + "templates": ["basics", "advancement"], + "bond_type": "", + "xp_cost": 3 + }, + "item_pattern": { + "templates": ["basics", "advancement"], + "rarity_modifier": "", + "xp_cost": 3 + }, + "signature_scroll": { + "templates": ["basics", "advancement"], + "xp_cost": 3 } } } diff --git a/system/templates/actors/character/advancement-others.html b/system/templates/actors/character/advancement-others.html new file mode 100644 index 0000000..1d9c28a --- /dev/null +++ b/system/templates/actors/character/advancement-others.html @@ -0,0 +1,13 @@ + + {{advancement.name}}{{#if advancement.data.bond_type}} ({{advancement.data.bond_type}}){{/if}} + {{advancement.data.xp_used}} + {{advancement.data.rank}} + {{#if editable}} + + + + {{/if}} + \ No newline at end of file diff --git a/system/templates/actors/character/advancement.html b/system/templates/actors/character/advancement-school.html similarity index 90% rename from system/templates/actors/character/advancement.html rename to system/templates/actors/character/advancement-school.html index ce816ba..d86349d 100644 --- a/system/templates/actors/character/advancement.html +++ b/system/templates/actors/character/advancement-school.html @@ -8,7 +8,7 @@ {{/if}} diff --git a/system/templates/actors/character/experience.html b/system/templates/actors/character/experience.html index 72d49d7..8a39388 100644 --- a/system/templates/actors/character/experience.html +++ b/system/templates/actors/character/experience.html @@ -13,8 +13,9 @@ +{{!-- School progession --}}
- {{localize 'l5r5e.advancements.title'}} + {{localize 'l5r5e.school'}}
+ +{{!-- Others progession (does not count in school xp) --}} +
+ {{localize 'l5r5e.advancements.title'}} + + + + + + + {{#if editable}} + + {{/if}} + + + + {{#each data.advancementsOthers as |advancement advancementId|}} + {{> 'systems/l5r5e/templates/actors/character/advancement-others.html' advancement=advancement editable=../options.editable}} + {{/each}} + +
{{localize 'l5r5e.name'}}{{localize 'l5r5e.advancements.spent'}}{{localize 'l5r5e.rank'}}
+
\ No newline at end of file diff --git a/system/templates/actors/character/narrative.html b/system/templates/actors/character/narrative.html index 2da0937..d3cd914 100644 --- a/system/templates/actors/character/narrative.html +++ b/system/templates/actors/character/narrative.html @@ -41,6 +41,54 @@ {{/each}} + {{!-- item-pattern --}} +
+ + {{localize 'l5r5e.advancements.item_pattern' }} + {{#if options.editable}} + + {{/if}} + +
    + {{#each actor.items as |pattern id|}} + {{#ifCond pattern.data.type '==' 'item_pattern'}} + {{> 'systems/l5r5e/templates/items/item-pattern/item-pattern-entry.html' pattern=pattern id=id editable=../options.editable}} + {{/ifCond}} + {{/each}} +
+
+ {{!-- signature-scroll --}} +
+ + {{localize 'l5r5e.advancements.signature_scroll' }} + {{#if options.editable}} + + {{/if}} + +
    + {{#each actor.items as |scroll id|}} + {{#ifCond scroll.data.type '==' 'signature_scroll'}} + {{> 'systems/l5r5e/templates/items/signature-scroll/signature-scroll-entry.html' scroll=scroll id=id editable=../options.editable}} + {{/ifCond}} + {{/each}} +
+
+ {{!-- bonds --}} +
+ + {{localize 'l5r5e.social.bonds' }} + {{#if options.editable}} + + {{/if}} + +
    + {{#each actor.items as |bond id|}} + {{#ifCond bond.data.type '==' 'bond'}} + {{> 'systems/l5r5e/templates/items/bond/bond-entry.html' bond=bond id=id editable=../options.editable}} + {{/ifCond}} + {{/each}} +
+
{{localize 'l5r5e.notes' }} diff --git a/system/templates/actors/npc-sheet.html b/system/templates/actors/npc-sheet.html index 7c76080..521f894 100644 --- a/system/templates/actors/npc-sheet.html +++ b/system/templates/actors/npc-sheet.html @@ -22,23 +22,32 @@
{{!-- Skills No Tab --}} {{> 'systems/l5r5e/templates/actors/npc/skill.html'}} + {{!-- Sheet Tab Navigation --}} + {{!-- Techniques Tab --}}
- {{> 'systems/l5r5e/templates/actors/npc/narrative.html'}} {{> 'systems/l5r5e/templates/actors/npc/techniques.html'}}
+ + {{!-- Narrative Tab --}} +
+ {{> 'systems/l5r5e/templates/actors/character/narrative.html'}} +
+ {{!-- Conflict Tab --}}
{{> 'systems/l5r5e/templates/actors/npc/conflict.html'}} {{> 'systems/l5r5e/templates/items/weapon/weapons.html'}} {{> 'systems/l5r5e/templates/items/armor/armors.html'}}
+ {{!-- Inventory Tab --}}
diff --git a/system/templates/actors/npc/narrative.html b/system/templates/actors/npc/narrative.html index e96e781..4777fd3 100644 --- a/system/templates/actors/npc/narrative.html +++ b/system/templates/actors/npc/narrative.html @@ -27,4 +27,52 @@ {{/ifCond}} {{/each}} +
+{{!-- item-pattern --}} +
+ + {{localize 'l5r5e.advancements.item_pattern' }} + {{#if options.editable}} + + {{/if}} + +
    + {{#each actor.items as |pattern id|}} + {{#ifCond pattern.data.type '==' 'item_pattern'}} + {{> 'systems/l5r5e/templates/items/item-pattern/item-pattern-entry.html' pattern=pattern id=id editable=../options.editable}} + {{/ifCond}} + {{/each}} +
+
+{{!-- signature-scroll --}} +
+ + {{localize 'l5r5e.advancements.signature_scroll' }} + {{#if options.editable}} + + {{/if}} + +
    + {{#each actor.items as |scroll id|}} + {{#ifCond scroll.data.type '==' 'signature_scroll'}} + {{> 'systems/l5r5e/templates/items/signature-scroll/signature-scroll-entry.html' scroll=scroll id=id editable=../options.editable}} + {{/ifCond}} + {{/each}} +
+
+{{!-- bonds --}} +
+ + {{localize 'l5r5e.social.bonds' }} + {{#if options.editable}} + + {{/if}} + +
    + {{#each actor.items as |bond id|}} + {{#ifCond bond.data.type '==' 'bond'}} + {{> 'systems/l5r5e/templates/items/bond/bond-entry.html' bond=bond id=id editable=../options.editable}} + {{/ifCond}} + {{/each}} +
\ No newline at end of file diff --git a/system/templates/items/advancement/advancement-entry.html b/system/templates/items/advancement/advancement-entry.html index dbd521e..f5bd1cb 100644 --- a/system/templates/items/advancement/advancement-entry.html +++ b/system/templates/items/advancement/advancement-entry.html @@ -1,10 +1,9 @@
  • - dsfj,sdifjsjsdiojidfj
    • {{advancement.name}}
    • {{#if editable}} -
    • +
    • {{/if}}
    diff --git a/system/templates/items/advancement/advancements.html b/system/templates/items/advancement/advancements.html deleted file mode 100644 index a32d27a..0000000 --- a/system/templates/items/advancement/advancements.html +++ /dev/null @@ -1,10 +0,0 @@ -
    - {{localize 'l5r5e.advancements.title'}} -
      - {{#each actor.items as |item id|}} - {{#ifCond item.type '==' 'advancement'}} - {{> 'systems/l5r5e/templates/items/advancement/advancement-entry.html' advancement=item id=id}} - {{/ifCond}} - {{/each}} -
    -
    \ No newline at end of file diff --git a/system/templates/items/bond/bond-entry.html b/system/templates/items/bond/bond-entry.html new file mode 100644 index 0000000..807fe47 --- /dev/null +++ b/system/templates/items/bond/bond-entry.html @@ -0,0 +1,18 @@ +
  • +
      +
    • +
    • {{bond.name}}
    • + {{#if editable}} +
    • +
    • + {{/if}} +
    + {{#if bond.data.data.bond_type}} +
      +
    • {{bond.data.data.bond_type}} {{bond.data.data.rank}}
    • +
    + {{/if}} + {{#if bond.data.data.description}} +
    {{{bond.data.data.description}}}
    + {{/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 new file mode 100644 index 0000000..bfad0e0 --- /dev/null +++ b/system/templates/items/bond/bond-sheet.html @@ -0,0 +1,33 @@ +
    +
    + +

    +
    + {{!-- Sheet Body --}} +
    + {{!-- Attributes Tab --}} +
    + + + + + +
    + {{> 'systems/l5r5e/templates/items/item/item-infos.html'}} +
    +
    \ No newline at end of file diff --git a/system/templates/items/item-pattern/item-pattern-entry.html b/system/templates/items/item-pattern/item-pattern-entry.html new file mode 100644 index 0000000..4f3cda7 --- /dev/null +++ b/system/templates/items/item-pattern/item-pattern-entry.html @@ -0,0 +1,13 @@ +
  • +
      +
    • +
    • {{pattern.name}}
    • + {{#if editable}} +
    • +
    • + {{/if}} +
    + {{#if pattern.data.data.description}} +
    {{{pattern.data.data.description}}}
    + {{/if}} +
  • \ No newline at end of file diff --git a/system/templates/items/item-pattern/item-pattern-sheet.html b/system/templates/items/item-pattern/item-pattern-sheet.html new file mode 100644 index 0000000..7647c1b --- /dev/null +++ b/system/templates/items/item-pattern/item-pattern-sheet.html @@ -0,0 +1,33 @@ +
    +
    + +

    +
    + {{!-- Sheet Body --}} +
    + {{!-- Attributes Tab --}} +
    + + + + + +
    + {{> 'systems/l5r5e/templates/items/item/item-infos.html'}} +
    +
    \ No newline at end of file diff --git a/system/templates/items/peculiarity/peculiarities.html b/system/templates/items/peculiarity/peculiarities.html deleted file mode 100644 index 8abe718..0000000 --- a/system/templates/items/peculiarity/peculiarities.html +++ /dev/null @@ -1,10 +0,0 @@ -
    - {{localize 'l5r5e.peculiarities.title'}} -
      - {{#each actor.items as |item id|}} - {{#ifCond item.type '==' 'peculiarity'}} - {{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id}} - {{/ifCond}} - {{/each}} -
    -
    \ No newline at end of file diff --git a/system/templates/items/signature-scroll/signature-scroll-entry.html b/system/templates/items/signature-scroll/signature-scroll-entry.html new file mode 100644 index 0000000..e61e8c0 --- /dev/null +++ b/system/templates/items/signature-scroll/signature-scroll-entry.html @@ -0,0 +1,13 @@ +
  • +
      +
    • +
    • {{scroll.name}}
    • + {{#if editable}} +
    • +
    • + {{/if}} +
    + {{#if scroll.data.data.description}} +
    {{{scroll.data.data.description}}}
    + {{/if}} +
  • \ No newline at end of file diff --git a/system/templates/items/signature-scroll/signature-scroll-sheet.html b/system/templates/items/signature-scroll/signature-scroll-sheet.html new file mode 100644 index 0000000..523e7fd --- /dev/null +++ b/system/templates/items/signature-scroll/signature-scroll-sheet.html @@ -0,0 +1,29 @@ +
    +
    + +

    +
    + {{!-- Sheet Body --}} +
    + {{!-- Attributes Tab --}} +
    + + + + +
    + {{> 'systems/l5r5e/templates/items/item/item-infos.html'}} +
    +
    \ No newline at end of file diff --git a/system/templates/items/title/title-entry.html b/system/templates/items/title/title-entry.html new file mode 100644 index 0000000..20ac86f --- /dev/null +++ b/system/templates/items/title/title-entry.html @@ -0,0 +1,13 @@ +
  • +
      +
    • +
    • {{title.name}}
    • + {{#if editable}} +
    • +
    • + {{/if}} +
    + {{#if title.data.description}} +
    {{{title.data.description}}}
    + {{/if}} +
  • \ No newline at end of file diff --git a/system/templates/items/title/title-sheet.html b/system/templates/items/title/title-sheet.html new file mode 100644 index 0000000..d0bae96 --- /dev/null +++ b/system/templates/items/title/title-sheet.html @@ -0,0 +1,34 @@ +
    +
    + +

    +
    + {{!-- Sheet Body --}} +
    + {{!-- Attributes Tab --}} +
    + + + + +
    + + {{!-- Embbed advancements --}} + {{!-- TODO --}} + + {{!-- Descr + Page ref --}} + {{> 'systems/l5r5e/templates/items/item/item-infos.html'}} +
    +
    \ No newline at end of file