From ca69a8f1822379b3a2435f68ebb04241530e9031 Mon Sep 17 00:00:00 2001 From: Vlyan Date: Thu, 10 Dec 2020 13:51:18 +0100 Subject: [PATCH] Dice dialog v1 and Minus all key in template and long files --- system/lang/en-en.json | 274 ++++++++--------- system/lang/es-es.json | 268 ++++++++--------- system/lang/fr-fr.json | 276 +++++++++--------- system/scripts/dice/dice-picker-dialog.js | 56 ++-- system/scripts/dice/roll.js | 18 +- system/scripts/main-l5r5e.js | 16 +- system/scripts/sheets/actor-sheet.js | 2 +- system/styles/l5r5e.css | 2 +- system/styles/scss/ui.scss | 3 + system/templates/dice/chat-roll.html | 3 +- system/templates/dice/dice-picker-dialog.html | 8 +- system/templates/dice/tooltip.html | 1 + system/templates/item/feat-sheet.html | 4 +- system/templates/item/weapon-sheet.html | 10 +- system/templates/item/weapons.html | 2 +- system/templates/sheets/actor-sheet.html | 12 +- system/templates/sheets/actor/attributes.html | 24 +- system/templates/sheets/actor/category.html | 10 +- system/templates/sheets/actor/conflict.html | 2 +- system/templates/sheets/actor/experience.html | 18 +- system/templates/sheets/actor/feats.html | 2 +- system/templates/sheets/actor/identity.html | 10 +- system/templates/sheets/actor/narrative.html | 8 +- system/templates/sheets/actor/rings.html | 10 +- system/templates/sheets/actor/social.html | 6 +- 25 files changed, 538 insertions(+), 507 deletions(-) diff --git a/system/lang/en-en.json b/system/lang/en-en.json index ac2c86b..a851464 100644 --- a/system/lang/en-en.json +++ b/system/lang/en-en.json @@ -22,155 +22,155 @@ "SIMPLE.NotifyInitFormulaUpdated": "Initiative formula was updated to:", "SIMPLE.NotifyInitFormulaInvalid": "Initiative formula was invalid:", - "L5r5e": { - "Rings": { - "Title": "Rings", - "Earth": "Earth", - "Air": "Air", - "Water": "Water", - "Fire": "Fire", - "Void": "Void" + "l5r5e": { + "rings": { + "title": "Rings", + "earth": "Earth", + "air": "Air", + "water": "Water", + "fire": "Fire", + "void": "Void" }, - "Narrative": "Narrative", - "Experience": "Experience", - "Clan": "Clan", - "Family": "Family", - "School": "School", - "SchoolRank": "Rank", - "Roles": "Roles", - "Distinctions": "Distinctions", - "DistinctionsTip": "Reroll up to two dice of your choice when a distinction helps you on a check.", - "Adversities": "Adversities", - "AdversitiesTip": "Reroll two dice containing Success or Explosive Success symbols when an adversity hinders you on a check. If you fail, gain 1 Void point.", - "Anxieties": "Anxieties", - "AnxietiesTip": "After performing a check related to your anxiety, receive 3 strife. Then, gain 1 Void point (limit once per scene).", - "Passions": "Passions", - "PassionsTip": "After performing a check related to your passion, remove 3 strife.", - "Personality": "Personality", - "Max": "Max", - "Current": "Current", - "Quantity": "Quantity", - "Weight": "Weight", - "Damage": "Damage", - "Range": "Range", - "Properties": "Properties", - "Weapons": "Weapons", - "Items": "Items", - "Feats": "Feats", - "Skill": "Skill", - "Level": "Level", - "Approaches": "Approaches", - "FeatPlaceholderName": "New Feat", - "Notes": "Notes", - "Inventory": "Inventory", - "Rank": "Rank", - "Name": "Name", - "SocialStanding": { - "Title": "Social Standing", - "Honor": "Honor", - "Glory": "Glory", - "Status": "Status", - "Ninjo": "Ninjo", - "Giri": "Giri", - "SocialTitles": "Titles" + "narrative": "Narrative", + "experience": "Experience", + "clan": "Clan", + "family": "Family", + "school": "School", + "schoolrank": "Rank", + "roles": "Roles", + "distinctions": "Distinctions", + "distinctionstip": "Reroll up to two dice of your choice when a distinction helps you on a check.", + "adversities": "Adversities", + "adversitiestip": "Reroll two dice containing Success or Explosive Success symbols when an adversity hinders you on a check. If you fail, gain 1 Void point.", + "anxieties": "Anxieties", + "anxietiestip": "After performing a check related to your anxiety, receive 3 strife. Then, gain 1 Void point (limit once per scene).", + "passions": "Passions", + "passionstip": "After performing a check related to your passion, remove 3 strife.", + "personality": "Personality", + "max": "Max", + "current": "Current", + "quantity": "Quantity", + "weight": "Weight", + "damage": "Damage", + "range": "Range", + "properties": "Properties", + "weapons": "Weapons", + "items": "Items", + "feats": "Feats", + "skill": "Skill", + "level": "Level", + "approaches": "Approaches", + "featplaceholdername": "New Feat", + "notes": "Notes", + "inventory": "Inventory", + "rank": "Rank", + "name": "Name", + "socialstanding": { + "title": "Social Standing", + "honor": "Honor", + "glory": "Glory", + "status": "Status", + "ninjo": "Ninjo", + "giri": "Giri", + "socialtitles": "Titles" }, - "Skills": { - "Title": "Skills", - "Artisan": { - "Title": "Artisan", - "Aesthetics": "Aesthetics", - "Composition": "Composition", + "skills": { + "title": "Skills", + "artisan": { + "title": "Artisan", + "aesthetics": "Aesthetics", + "composition": "Composition", "Design": "Design", - "Smithing": "Smithing", - "Air": "Refine", - "Earth": "Restore", - "Fire": "Invent", - "Water": "Adapt", - "Void": "Attune" + "smithing": "Smithing", + "air": "Refine", + "earth": "Restore", + "fire": "Invent", + "water": "Adapt", + "void": "Attune" }, - "Martial": { - "Title": "Martial", - "Fitness": "Fitness", - "Melee": "Martial Arts [Melee]", - "Ranged": "Martial Arts [Melee]", - "Unarmed": "Martial Arts [Unarmed]", - "Meditation": "Meditation", - "Tactics": "Tactics", - "Air": "Feint", - "Earth": "Withstand", - "Fire": "Overwelm", - "Water": "Shift", - "Void": "Sacrifice" + "martial": { + "title": "Martial", + "fitness": "Fitness", + "melee": "Martial Arts [Melee]", + "ranged": "Martial Arts [Melee]", + "unarmed": "Martial Arts [Unarmed]", + "meditation": "Meditation", + "tactics": "Tactics", + "air": "Feint", + "earth": "Withstand", + "fire": "Overwelm", + "water": "Shift", + "void": "Sacrifice" }, - "Scholar": { - "Title": "Scholar", - "Culture": "Culture", - "Government": "Government", - "Medicine": "Medicine", - "Sentiment": "Sentiment", - "Theology": "Theology", - "Air": "Analyze", - "Earth": "Recall", - "Fire": "Theorize", - "Water": "Survey", - "Void": "Sense" + "scholar": { + "title": "Scholar", + "culture": "Culture", + "government": "Government", + "medicine": "Medicine", + "sentiment": "Sentiment", + "theology": "Theology", + "air": "Analyze", + "earth": "Recall", + "fire": "Theorize", + "water": "Survey", + "void": "Sense" }, - "Social": { - "Title": "Social", - "Command": "Command", - "Courtesy": "Courtesy", - "Games": "Games", - "Performance": "Performance", - "Air": "Trick", - "Earth": "Reason", - "Fire": "Incite", - "Water": "Charm", - "Void": "Enlighten" + "social": { + "title": "Social", + "command": "Command", + "courtesy": "Courtesy", + "games": "Games", + "performance": "Performance", + "air": "Trick", + "earth": "Reason", + "fire": "Incite", + "water": "Charm", + "void": "Enlighten" }, - "Trade": { - "Title": "Trade", - "Commerce": "Commerce", - "Labor": "Labor", - "Seafaring": "Seafaring", - "Skulduggery": "Skulduggery", - "Survival": "Survival", - "Air": "Con", - "Earth": "Produce", - "Fire": "Innovate", - "Water": "Exchange", - "Void": "Subsist" + "trade": { + "title": "Trade", + "commerce": "Commerce", + "labor": "Labor", + "seafaring": "Seafaring", + "skulduggery": "Skulduggery", + "survival": "Survival", + "air": "Con", + "earth": "Produce", + "fire": "Innovate", + "water": "Exchange", + "void": "Subsist" } }, - "Attributes": { - "Title": "Attributes", - "Endurance": "Endurance", - "EnduranceTip": "(Earth + Fire) x2", - "Composure": "Composure", - "ComposureTip": "(Earth + Water) x2", - "Focus": "Focus", - "FocusTip": "Air + Fire", - "Vigilante": "Vigilante", - "VigilanteTip": "(Air + Water) /2", - "VoidPoints": "Void Points", - "Fatigue": "Fatigue", - "Strife": "Strife" + "attributes": { + "title": "Attributes", + "endurance": "Endurance", + "endurancetip": "(Earth + Fire) x2", + "composure": "Composure", + "composuretip": "(Earth + Water) x2", + "focus": "Focus", + "focustip": "Air + Fire", + "vigilante": "Vigilante", + "vigilantetip": "(Air + Water) /2", + "voidpoints": "Void Points", + "fatigue": "Fatigue", + "strife": "Strife" }, - "Conflict": { - "Title": "Conflict", - "Stance": "Stance", - "Stances": { - "AirTip": "+1 to TN of Attack and Scheme checks targeting you (+2 at rank 4+).", - "EarthTip": "Others cannot spend Opportunity to inflict critical strikes or conditions on you.", - "FireTip": "If you succeed, +1 bonus success per Strife symbol.", - "WaterTip": "Perform a second action on your turn that does not require a check or share a type with first action.", - "VoidTip": "You do not receive strife from Strife symbols on checks." + "conflict": { + "title": "Conflict", + "stance": "Stance", + "stances": { + "airtip": "+1 to TN of Attack and Scheme checks targeting you (+2 at rank 4+).", + "earthtip": "Others cannot spend Opportunity to inflict critical strikes or conditions on you.", + "firetip": "If you succeed, +1 bonus success per Strife symbol.", + "watertip": "Perform a second action on your turn that does not require a check or share a type with first action.", + "voidtip": "You do not receive strife from Strife symbols on checks." } }, - "XP": { - "Total": "Total", - "Spent": "Used", - "Saved": "Saved", - "Adquisitions": "Adquisitions" + "xp": { + "total": "Total", + "spent": "Used", + "saved": "Saved", + "acquisitions": "Adquisitions" } } } diff --git a/system/lang/es-es.json b/system/lang/es-es.json index aa7c314..ebcfe42 100644 --- a/system/lang/es-es.json +++ b/system/lang/es-es.json @@ -22,154 +22,154 @@ "SIMPLE.NotifyInitFormulaUpdated": "La fórmula de la iniciativa fue actualizada a:", "SIMPLE.NotifyInitFormulaInvalid": "La fórmula de la iniciativa fue inválida:", - "L5r5e": { - "Rings": { - "Title": "Anillos", - "Earth": "Tierra", - "Air": "Aire", - "water": "Agua", - "Fire": "Fuego", - "Void": "Vacío" + "l5r5e": { + "rings": { + "title": "Anillos", + "earth": "Tierra", + "air": "Aire", + "WATER": "Agua", + "fire": "Fuego", + "void": "Vacío" }, - "Narrative": "Narrativa", - "Experience": "Experiencia", - "Clan": "Clan", - "Family": "Familia", - "School": "Escuela", - "SchoolRank": "Rango", - "Roles": "Funciones", - "Distinctions": "Distinciones", - "DistinctionsTip": "Puedes volver a lanzar hasta dos dados si una distición te ayuda en la tirada.", - "Adversities": "Adversidades", - "AdversitiesTip": "Vuelve a lanzar dos dados con Éxito o Éxito relanzable si una adversidad influye en tu tirada. Si fallas, ganas 1 punto de vacío.", - "Anxieties": "Ansiedades", - "AnxietiesTip": "Tras realizar una tirada relacionada con tu ansiedad, recibes 3 puntos de Conflicto. Luego ganas 1 punto de vacío (limitado a 1 por escena).", - "Passions": "Pasiones", - "PassionsTip": "Después de efectuar una tirada relacionada con tu pasión, descarta tres puntos de Conflicto.", - "Personality": "Personalidad", - "Max": "Max", - "Current": "Actuales", - "Quantity": "Cantidad", - "Weight": "Peso", - "Damage": "Daño", - "Range": "Rango", - "Properties": "Propiedades", - "Weapons": "Armas", - "Items": "Equipo", - "Feats": "Rasgos", - "Skill": "Habilidad", - "Level": "Nivel", - "Approaches": "Planteamientos", - "FeatPlaceholderName": "Nuevo Rasgo", - "Notes": "Notas", - "Inventory": "Inventario", - "Rank": "Rango", - "Name": "Nombre", - "SocialStanding": { - "Title": "Posición Social", - "Honor": "Honor", - "Glory": "Gloria", - "Status": "Estatus", - "Ninjo": "Ninjo", - "Giri": "Giri", - "SocialTitles": "Títulos" + "narrative": "Narrativa", + "experience": "Experiencia", + "clan": "Clan", + "family": "Familia", + "school": "Escuela", + "schoolrank": "Rango", + "roles": "Funciones", + "distinctions": "Distinciones", + "distinctionstip": "Puedes volver a lanzar hasta dos dados si una distición te ayuda en la tirada.", + "adversities": "Adversidades", + "adversitiestip": "Vuelve a lanzar dos dados con Éxito o Éxito relanzable si una adversidad influye en tu tirada. Si fallas, ganas 1 punto de vacío.", + "anxieties": "Ansiedades", + "anxietiestip": "Tras realizar una tirada relacionada con tu ansiedad, recibes 3 puntos de Conflicto. Luego ganas 1 punto de vacío (limitado a 1 por escena).", + "passions": "Pasiones", + "passionstip": "Después de efectuar una tirada relacionada con tu pasión, descarta tres puntos de Conflicto.", + "personality": "Personalidad", + "max": "Max", + "current": "Actuales", + "quantity": "Cantidad", + "weight": "Peso", + "damage": "Daño", + "range": "Rango", + "properties": "Propiedades", + "weapons": "Armas", + "items": "Equipo", + "feats": "Rasgos", + "skill": "Habilidad", + "level": "Nivel", + "approaches": "Planteamientos", + "featplaceholdername": "Nuevo Rasgo", + "notes": "Notas", + "inventory": "Inventario", + "rank": "Rango", + "name": "Nombre", + "socialstanding": { + "title": "Posición Social", + "honor": "Honor", + "glory": "Gloria", + "status": "Estatus", + "ninjo": "Ninjo", + "giri": "Giri", + "socialtitles": "Títulos" }, - "Skills": { - "Title": "Habilidades", - "Artisan": { - "Title": "Artesanales", - "Aesthetics": "Estética", - "Composition": "Composición", - "Design": "Diseño", - "Smithing": "Herrería", - "Air": "Refinar", - "Earth": "Restaurar", - "Fire": "Inventar", - "Water": "Adaptar", - "Void": "Sintonizar" + "skills": { + "title": "Habilidades", + "artisan": { + "title": "Artesanales", + "aesthetics": "Estética", + "composition": "Composición", + "design": "Diseño", + "smithing": "Herrería", + "air": "Refinar", + "earth": "Restaurar", + "fire": "Inventar", + "water": "Adaptar", + "void": "Sintonizar" }, - "Martial": { - "Title": "Marciales", - "Fitness": "Aptitud Física", - "Melee": "Cuerpo a Cuerpo", - "Ranged": "A distancia", - "Unarmed": "Sin armas", - "Meditation": "Meditación", - "Tactics": "Tácticas", - "Air": "Amagar", - "Earth": "Resistir", - "Fire": "Abrumar", - "Water": "Alterar", - "Void": "Sacrificarse" + "martial": { + "title": "Marciales", + "fitness": "Aptitud Física", + "melee": "Cuerpo a Cuerpo", + "ranged": "A distancia", + "unarmed": "Sin armas", + "meditation": "Meditación", + "tactics": "Tácticas", + "air": "Amagar", + "earth": "Resistir", + "fire": "Abrumar", + "water": "Alterar", + "void": "Sacrificarse" }, "scholar": { - "Title": "Académicas", - "Culture": "Cultura", - "Government": "Gobierno", - "Medicine": "Medicina", - "Sentiment": "Sentimiento", - "Theology": "Teología", - "Air": "Analizar", - "Earth": "Recordar", - "Fire": "Teorizar", - "Water": "Examinar", - "Void": "Percibir" + "title": "Académicas", + "culture": "Cultura", + "government": "Gobierno", + "medicine": "Medicina", + "sentiment": "Sentimiento", + "theology": "Teología", + "air": "Analizar", + "earth": "Recordar", + "fire": "Teorizar", + "water": "Examinar", + "void": "Percibir" }, "social": { - "Title": "Sociales", - "Command": "Mando", - "Courtesy": "Cortesía", - "Games": "Pasatiempos", - "Performance": "Interpretación", - "Air": "Engañar", - "Earth": "Razonar", - "Fire": "Incitar", - "Water": "Encandilar", - "Void": "Iluminar" + "title": "Sociales", + "command": "Mando", + "courtesy": "Cortesía", + "games": "Pasatiempos", + "performance": "Interpretación", + "air": "Engañar", + "earth": "Razonar", + "fire": "Incitar", + "water": "Encandilar", + "void": "Iluminar" }, "trade": { - "Title": "Mercantiles", - "Commerce": "Comercio", - "Labor": "Trabajo manual", - "Seafaring": "Navegación", - "Skulduggery": "Actividad criminal", - "Survival": "Supervivencia", - "Air": "Estafar", - "Earth": "Producir", - "Fire": "Idear", - "Water": "Intercambiar", - "Void": "Subsistir" + "title": "Mercantiles", + "commerce": "Comercio", + "labor": "Trabajo manual", + "seafaring": "Navegación", + "skulduggery": "Actividad criminal", + "survival": "Supervivencia", + "air": "Estafar", + "earth": "Producir", + "fire": "Idear", + "water": "Intercambiar", + "void": "Subsistir" } }, - "Conflict": { - "Endurance": "Aguante", - "EnduranceTip": "(Tierra + Fuego) x2", - "Composure": "Compostura", - "ComposureTip": "(Tierra + Agua) x2", - "Focus": "Concentración", - "FocusTip": "Aire + Fuego", - "Vigilante": "Alerta", - "VigilanteTip": "(Aire + Agua) /2", - "VoidPoints": "P. Vacío", - "Fatigue": "Fatiga", - "Strife": "Conflicto" + "conflict": { + "endurance": "Aguante", + "endurancetip": "(Tierra + Fuego) x2", + "composure": "Compostura", + "composuretip": "(Tierra + Agua) x2", + "focus": "Concentración", + "focustip": "Aire + Fuego", + "vigilante": "Alerta", + "vigilantetip": "(Aire + Agua) /2", + "voidpoints": "P. Vacío", + "fatigue": "Fatiga", + "strife": "Conflicto" }, - "Attributes": { - "Title": "Enfrentamiento", - "Stance": "Actitud", - "Stances": { - "AirTip": "+1 al NO de las tiradas de ataque y maquinación que te tengan como objetivo (+2 a rango 4+).", - "EarthTip": "Oponentes no pueden gastar Oportunidad para causarte impactos críticos ni estados.", - "FireTip": "Si tienes éxito, +1 éxito adicional por cada símbolo de Conflicto.", - "WaterTip": "Efectúa una segunda acción durante tu turno que no requiera tirada ni comparta tipo con tu primera acción.", - "VoidTip": "No acumulas Conflicto de los símbolos de Conflicto de tus tiradas." + "attributes": { + "title": "Enfrentamiento", + "stance": "Actitud", + "stances": { + "airtip": "+1 al NO de las tiradas de ataque y maquinación que te tengan como objetivo (+2 a rango 4+).", + "earthtip": "Oponentes no pueden gastar Oportunidad para causarte impactos críticos ni estados.", + "firetip": "Si tienes éxito, +1 éxito adicional por cada símbolo de Conflicto.", + "watertip": "Efectúa una segunda acción durante tu turno que no requiera tirada ni comparta tipo con tu primera acción.", + "voidtip": "No acumulas Conflicto de los símbolos de Conflicto de tus tiradas." } }, - "XP": { - "Total": "Total", - "Spent": "Usada", - "Saved": "Restante", - "Adquisitions": "Adquisiciones" + "xp": { + "total": "Total", + "spent": "Usada", + "saved": "Restante", + "acquisitions": "Adquisiciones" } } } diff --git a/system/lang/fr-fr.json b/system/lang/fr-fr.json index 2632442..875a0ac 100644 --- a/system/lang/fr-fr.json +++ b/system/lang/fr-fr.json @@ -22,155 +22,155 @@ "SIMPLE.NotifyInitFormulaUpdated": "La formule de l'initiative a été mise à jour pour :", "SIMPLE.NotifyInitFormulaInvalid": "La formule d'initiative suivante n'est pas valable :", - "L5r5e": { - "Rings": { - "Title": "Anneaux", - "Earth": "Terre", - "Air": "Air", - "Water": "Eau", - "Fire": "Feu", - "Void": "Vide" + "l5r5e": { + "rings": { + "title": "Anneaux", + "earth": "Terre", + "air": "Air", + "water": "Eau", + "fire": "Feu", + "void": "Vide" }, - "Narrative": "Mode Narratif", - "Experience": "Expérience", - "Clan": "Clan", - "Family": "Famille", - "School": "Ecole", - "SchoolRank": "Rang", - "Roles": "Rôles", - "Distinctions": "Aptitudes", - "DistinctionsTip": "Lorsque vous effectuez un test auquel s'applique une aptitude, vous pouvez relancer jusqu'à 2 dés.", - "Adversities": "Coups du sort", - "AdversitiesTip": " lorsque vous effectuez un test auquel s'applique un coup du sort, vous relancez jusqu'à 2 dés dont le résultat contient Succès ou Succès explosif. Vous regagnez 1 point de Vide si vous ratez ce test.", - "Anxieties": "Défaillances", - "AnxietiesTip": "Lorsque vous effectuez un test auquel s'applique une défaillance, vous recevez 2 points de Conflit. S'il s'agit de la première fois dans la scène, vous regagnez 1 point de Vide.", - "Passions": "Passions", - "PassionsTip": "Lorsque vous effectuez un test auquel s'applique une passion, éliminez 3 points de Conflit.", - "Personality": "Personalité", - "Max": "Max", - "Current": "Actuel", - "Quantity": "Quantité", - "Weight": "Poids", - "Damage": "Dommage", - "Range": "Distance", - "Properties": "Propriétés", - "Weapons": "Armement", - "Items": "Equipement", - "Feats": "Techniques", - "Skill": "Compétence", - "Level": "Niveau", - "Approaches": "Approches", - "FeatPlaceholderName": "Nouvelle technique", - "Notes": "Notes", - "Inventory": "Inventaire", - "Rank": "Rang", - "Name": "Nom", - "SocialStanding": { - "Title": "Position Social", - "Honor": "Honneur", - "Glory": "Gloire", - "Status": "Status", - "Ninjo": "Ninjo", - "Giri": "Giri", - "SocialTitles": "Titres" + "narrative": "Mode Narratif", + "experience": "Expérience", + "clan": "Clan", + "family": "Famille", + "school": "Ecole", + "schoolRank": "Rang", + "roles": "Rôles", + "distinctions": "Aptitudes", + "distinctionsTip": "Lorsque vous effectuez un test auquel s'applique une aptitude, vous pouvez relancer jusqu'à 2 dés.", + "adversities": "Coups du sort", + "adversitiesTip": " lorsque vous effectuez un test auquel s'applique un coup du sort, vous relancez jusqu'à 2 dés dont le résultat contient Succès ou Succès explosif. Vous regagnez 1 point de Vide si vous ratez ce test.", + "anxieties": "Défaillances", + "anxietiesTip": "Lorsque vous effectuez un test auquel s'applique une défaillance, vous recevez 2 points de Conflit. S'il s'agit de la première fois dans la scène, vous regagnez 1 point de Vide.", + "passions": "Passions", + "passionsTip": "Lorsque vous effectuez un test auquel s'applique une passion, éliminez 3 points de Conflit.", + "personality": "Personalité", + "max": "Max", + "current": "Actuel", + "quantity": "Quantité", + "weight": "Poids", + "damage": "Dommage", + "range": "Distance", + "properties": "Propriétés", + "weapons": "Armement", + "items": "Equipement", + "feats": "Techniques", + "skill": "Compétence", + "level": "Niveau", + "approaches": "Approches", + "featplaceholdername": "Nouvelle technique", + "notes": "Notes", + "inventory": "Inventaire", + "rank": "Rang", + "name": "Nom", + "socialstanding": { + "title": "Position Social", + "honor": "Honneur", + "glory": "Gloire", + "status": "Status", + "ninjo": "Ninjo", + "giri": "Giri", + "socialtitles": "Titres" }, - "Skills": { - "Title": "Compétences", - "Artisan": { - "Title": "Artisanales", - "Aesthetics": "Esthétique", - "Composition": "Composition", - "Design": "Stylisme", - "Smithing": "Forge", - "Air": "Raffiner", - "Earth": "Restaurer", - "Fire": "Inventer", - "Water": "Adapter", - "Void": "S’harmoniser" + "skills": { + "title": "Compétences", + "artisan": { + "title": "Artisanales", + "aesthetics": "Esthétique", + "composition": "Composition", + "design": "Stylisme", + "smithing": "Forge", + "air": "Raffiner", + "earth": "Restaurer", + "fire": "Inventer", + "water": "Adapter", + "void": "S’harmoniser" }, - "Martial": { - "Title": "Martiales", - "Fitness": "Forme", - "Melee": "Arts martiaux (corps à corps)", - "Ranged": "Arts martiaux (distance)", - "Unarmed": "Arts martiaux (mains nues)", - "Meditation": "Méditation", - "Tactics": "Tactique", - "Air": "Feinter", - "Earth": "Résister", - "Fire": "Submerger", - "Water": "Détourner", - "Void": "Lâcher prise" + "martial": { + "title": "Martiales", + "fitness": "Forme", + "melee": "Arts martiaux (corps à corps)", + "ranged": "Arts martiaux (distance)", + "unarmed": "Arts martiaux (mains nues)", + "meditation": "Méditation", + "tactics": "Tactique", + "air": "Feinter", + "earth": "Résister", + "fire": "Submerger", + "water": "Détourner", + "void": "Lâcher prise" }, - "Scholar": { - "Title": "Savantes", - "Culture": "Culture", - "Government": "Gouvernement", - "Medicine": "Médecine", - "Sentiment": "Sentiments", - "Theology": "Théologie", - "Air": "Analyser", - "Earth": "Se remémorer", - "Fire": "Théoriser", - "Water": "Observer", - "Void": "Ressentir" + "scholar": { + "title": "Savantes", + "culture": "Culture", + "government": "Gouvernement", + "medicine": "Médecine", + "sentiment": "Sentiments", + "theology": "Théologie", + "air": "Analyser", + "earth": "Se remémorer", + "fire": "Théoriser", + "water": "Observer", + "void": "Ressentir" }, - "Social": { - "Title": "Sociales", - "Command": "Commandement", - "Courtesy": "Courtoisie", - "Games": "Jeux", - "Performance": "Représentations", - "Air": "Duper", - "Earth": "Raisonner", - "Fire": "Inciter", - "Water": "Charmer", - "Void": "Illuminer" + "social": { + "title": "Sociales", + "command": "Commandement", + "courtesy": "Courtoisie", + "games": "Jeux", + "performance": "Représentations", + "air": "Duper", + "earth": "Raisonner", + "fire": "Inciter", + "water": "Charmer", + "void": "Illuminer" }, - "Trade": { - "Title": "Professionnelles", - "Commerce": "Commerce", - "Labor": "Travail manuel", - "Seafaring": "Navigation", - "Skulduggery": "Magouilles", - "Survival": "Survie", - "Air": "Escroquer", - "Earth": "Produire", - "Fire": "Innover", - "Water": "Échanger", - "Void": "Subsister" + "trade": { + "title": "Professionnelles", + "commerce": "Commerce", + "labor": "Travail manuel", + "seafaring": "Navigation", + "skulduggery": "Magouilles", + "survival": "Survie", + "air": "Escroquer", + "earth": "Produire", + "fire": "Innover", + "water": "Échanger", + "void": "Subsister" } }, - "Attributes": { - "Title": "Attributs", - "Endurance": "Endurance", - "EnduranceTip": "(Terre + Feu) x2", - "Composure": "Sang Froid", - "ComposureTip": "(Earth + Eau) x2", - "Focus": "Attention", - "FocusTip": "Air + Feu", - "Vigilante": "Vigilance", - "VigilanteTip": "(Air + Eau) /2", - "VoidPoints": "Points de Vide", - "Fatigue": "Fatigue", - "Strife": "Conflit" + "attributes": { + "title": "Attributs", + "endurance": "Endurance", + "endurancetip": "(Terre + Feu) x2", + "composure": "Sang Froid", + "composuretip": "(Earth + Eau) x2", + "focus": "Attention", + "focustip": "Air + Feu", + "vigilante": "Vigilance", + "vigilantetip": "(Air + Eau) /2", + "voidPoints": "Points de Vide", + "fatigue": "Fatigue", + "strife": "Conflit" }, - "Conflict": { - "Title": "Conflit", - "Stance": "Posture", - "Stances": { - "AirTip": "Augmentez de 1 le ND des tests d'Attaque et de Manipulation dont vous êtes la cible. Si votre rang d'école est au moins égal à 4, augmentez le ND de 2 au lieu de 1.", - "EarthTip": "Quand vous êtes la cible d'un test d'Attaque ou de Manipulation, votre adversaire ne peut pas dépenser d'Aubaine pour vous infliger des coups critiques ou des états.", - "FireTip": "Lorsque vous réussissez un test, chaque Conflit obtenu sur vos dés gardés compte comme un succès bonus.", - "WaterTip": "Pendant votre tour, vous pouvez effectuer une action supplémentaire qui ne nécessite pas de test, et dont le type est différent de l'action que vous avez déjà effectuée à ce tour.", - "VoidTip": "Tant que vous êtes dans cette posture, vous ne subissez aucun point de Conflit en cas de Conflit." + "conflict": { + "title": "Conflit", + "stance": "Posture", + "stances": { + "airtip": "Augmentez de 1 le ND des tests d'Attaque et de Manipulation dont vous êtes la cible. Si votre rang d'école est au moins égal à 4, augmentez le ND de 2 au lieu de 1.", + "earthtip": "Quand vous êtes la cible d'un test d'Attaque ou de Manipulation, votre adversaire ne peut pas dépenser d'Aubaine pour vous infliger des coups critiques ou des états.", + "firetip": "Lorsque vous réussissez un test, chaque Conflit obtenu sur vos dés gardés compte comme un succès bonus.", + "watertip": "Pendant votre tour, vous pouvez effectuer une action supplémentaire qui ne nécessite pas de test, et dont le type est différent de l'action que vous avez déjà effectuée à ce tour.", + "voidtip": "Tant que vous êtes dans cette posture, vous ne subissez aucun point de Conflit en cas de Conflit." } }, - "XP": { - "Total": "Totale", - "Spent": "Dépensée", - "Saved": "Restante", - "Adquisitions": "Acquisitions" + "xp": { + "total": "Totale", + "spent": "Dépensée", + "saved": "Restante", + "acquisitions": "Acquisitions" } } } diff --git a/system/scripts/dice/dice-picker-dialog.js b/system/scripts/dice/dice-picker-dialog.js index 30e057c..b887a58 100644 --- a/system/scripts/dice/dice-picker-dialog.js +++ b/system/scripts/dice/dice-picker-dialog.js @@ -6,7 +6,7 @@ import { RollL5r5e } from "./roll.js"; export class DicePickerDialog extends Application { /** - * Current actor + * Current Actor */ actor = {}; @@ -29,9 +29,11 @@ export class DicePickerDialog extends Application { id: "l5r5e-dice-picker-dialog", classes: ["l5r5e", "dice-picker-dialog"], template: "systems/l5r5e/templates/dice/dice-picker-dialog.html", - width: 360, + width: 400, // height: 400, // title: "L5R Dice Roller", + actor: null, + skillId: "", }); } @@ -43,10 +45,15 @@ export class DicePickerDialog extends Application { super(options); // Get Actor from: sheet, selected token, nothing - this.actor = options?.actor || canvas.tokens.controlled[0]?.actor.data || null; + const actor = options?.actor || canvas.tokens.controlled[0]?.actor || null; + if (actor instanceof Actor) { + this.actor = actor; + } + + console.log(this.actor); // TODO TMP // Skill ? - if (!!this.actor && !!options?.skillId) { + if (options?.skillId) { this.setSkillData(options.skillId); } } @@ -56,7 +63,7 @@ export class DicePickerDialog extends Application { * @type {String} */ get title() { - return `L5R Dice Roller` + (this.actor ? " - " + this.actor.name : ""); + return `L5R Dice Roller` + (this.actor ? " - " + this.actor.data.name : ""); } /** @@ -116,12 +123,22 @@ export class DicePickerDialog extends Application { return false; } - await new RollL5r5e( - `${ring}dr[${approach}] + ${skill}ds` + (this.skillData.id ? `[${this.skillData.id}]` : "") - ) - .roll() - .toMessage(); + let formula = []; + if (ring > 0) { + formula.push(`${ring}dr`); + } + if (skill > 0) { + formula.push(`${skill}ds`); + } + const roll = await new RollL5r5e(formula.join("+")); + + roll.l5r5e.stance = approach; + roll.l5r5e.skillId = this.skillData.id; + roll.l5r5e.actor = this.actor; + + await roll.roll(); + await roll.toMessage(); await this.close(); }); @@ -138,22 +155,23 @@ export class DicePickerDialog extends Application { return; } - const skillData = { - id: skillId.trim(), + this.skillData = { + id: skillId.toLowerCase().trim(), value: 0, cat: "", name: "", }; - if (!this.actor) { + const cat = RollL5r5e.getCategoryForSkillId(skillId); + if (!this.actor || !cat) { return; } - skillData.cat = Object.keys(this.actor.data.skills).find((e) => !!this.actor.data.skills[e][skillData.id]); - skillData.value = this.actor.data.skills[skillData.cat][skillData.id].value ?? 0; - skillData.name = game.i18n.localize("L5r5e.Skills." + skillData.cat + "." + skillData.id); + this.skillData.cat = cat; + this.skillData.value = this.actor.data.data.skills[cat]?.[this.skillData.id].value || 0; + this.skillData.name = game.i18n.localize("l5r5e.skills." + cat + "." + this.skillData.id); - return skillData; + console.log("****** skillData", this.skillData, this.actor.data.data.skills); } /** @@ -164,8 +182,8 @@ export class DicePickerDialog extends Application { return ["air", "earth", "fire", "water", "void"].map((e) => { return { id: e, - label: game.i18n.localize(`L5r5e.Rings.${e.capitalize()}`), - value: this.actor ? this.actor.data.rings[e] : 0, + label: game.i18n.localize(`l5r5e.rings.${e}`), + value: this.actor ? this.actor.data.data.rings[e] : 0, }; }); } diff --git a/system/scripts/dice/roll.js b/system/scripts/dice/roll.js index 270eaf5..709387a 100644 --- a/system/scripts/dice/roll.js +++ b/system/scripts/dice/roll.js @@ -194,6 +194,11 @@ export class RollL5r5e extends Roll { this.roll(); } + const skillName = + game.i18n.translations.l5r5e.skills?.[RollL5r5e.getCategoryForSkillId(this.l5r5e.skillId)]?.[ + this.l5r5e.skillId + ] || ""; + // Define chat data const chatData = { formula: isPrivate ? "???" : this._formula, @@ -207,7 +212,7 @@ export class RollL5r5e extends Roll { ? {} : { stance: this.l5r5e.stance, - skillId: this.l5r5e.skillId, + skillName: skillName, dicesTypes: this.l5r5e.dicesTypes, summary: this.l5r5e.summary, dices: this.dice.map((d) => { @@ -266,6 +271,17 @@ export class RollL5r5e extends Roll { return create ? CONFIG.ChatMessage.entityClass.create(messageData, messageOptions) : messageData; } + /** + * Return the categoryId for the skillId + * TODO in proper category helper ? + * @param skillId + */ + static getCategoryForSkillId(skillId) { + return Object.keys(game.i18n.translations.l5r5e.skills).find((e) => { + return !!game.i18n.translations.l5r5e.skills?.[e]?.[skillId]; + }); + } + /** @override */ static fromData(data) { const roll = super.fromData(data); diff --git a/system/scripts/main-l5r5e.js b/system/scripts/main-l5r5e.js index 6d0c6a4..6b653a3 100644 --- a/system/scripts/main-l5r5e.js +++ b/system/scripts/main-l5r5e.js @@ -66,33 +66,27 @@ Hooks.once("init", async function () { }); Handlebars.registerHelper("localizeSkillCategory", function (skillName) { - const key = "L5r5e.Skills." + skillName.charAt(0).toUpperCase() + skillName.slice(1) + ".Title"; + const key = "l5r5e.skills." + skillName.toLowerCase() + ".title"; return game.i18n.localize(key); }); Handlebars.registerHelper("localizeSkill", function (skillCategory, skillName) { - const key = - "L5r5e.Skills." + - skillCategory.charAt(0).toUpperCase() + - skillCategory.slice(1) + - "." + - skillName.charAt(0).toUpperCase() + - skillName.slice(1); + const key = "l5r5e.skills." + skillCategory.toLowerCase() + "." + skillName.toLowerCase(); return game.i18n.localize(key); }); Handlebars.registerHelper("localizeRing", function (ringName) { - const key = "L5r5e.Rings." + ringName.charAt(0).toUpperCase() + ringName.slice(1); + const key = "l5r5e.rings." + ringName.toLowerCase(); return game.i18n.localize(key); }); Handlebars.registerHelper("localizeRingTip", function (ringName) { - const key = "L5r5e.Rings." + ringName.charAt(0).toUpperCase() + ringName.slice(1) + "Tip"; + const key = "l5r5e.rings." + ringName.toLowerCase() + "tip"; return game.i18n.localize(key); }); Handlebars.registerHelper("localizeStanceTip", function (ringName) { - const key = "L5r5e.Conflict.Stances." + ringName.charAt(0).toUpperCase() + ringName.slice(1) + "Tip"; + const key = "l5r5e.conflict.stances." + ringName.toLowerCase() + "tip"; return game.i18n.localize(key); }); }); diff --git a/system/scripts/sheets/actor-sheet.js b/system/scripts/sheets/actor-sheet.js index 94d4ab4..e0904d3 100644 --- a/system/scripts/sheets/actor-sheet.js +++ b/system/scripts/sheets/actor-sheet.js @@ -133,6 +133,6 @@ export class ActorSheetL5r5e extends ActorSheet { async _onSkillClicked(skillId) { console.log("Clicked on skill " + skillId); - // TODO + new game.l5r5e.DicePickerDialog({ skillId: skillId, actor: this.actor }).render(); } } diff --git a/system/styles/l5r5e.css b/system/styles/l5r5e.css index d1f3d62..5274278 100644 --- a/system/styles/l5r5e.css +++ b/system/styles/l5r5e.css @@ -1 +1 @@ -.window-app .window-content{z-index:1;position:relative;background:url("../assets/imgs/bgL5R.webp") no-repeat;background-size:cover}.window-app .window-resizable-handle{z-index:2;background:rgba(0,0,0,0.75)}*{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 rgba(255,0,0,0.75)}.tabs .item.active{text-shadow:0 0 10px rgba(255,0,0,0.75)}#controls .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .control-tool:hover{box-shadow:0 0 10px rgba(255,0,0,0.75)}ul,li{list-style-type:none;margin:0;padding:0}input[type="text"],input[type="number"],input[type="password"],input[type="date"],input[type="time"]{background:rgba(255,255,255,0.5);border:1px solid rgba(186,187,177,0.5);padding:0.25rem;color:#764f40}@font-face{font-family:"LogotypeL5r";src:url("../fonts/LogotypeL5r.ttf") format("truetype")}@font-face{font-family:"BrushtipTexe";src:url("../fonts/BrushtipTexe.otf") format("opentype")}@font-face{font-family:"PatrickHand";src:url("../fonts/PatrickHand.ttf") format("truetype")}body{font:16px "PatrickHand",sans-serif;letter-spacing:0.05rem}h1,h4{font-family:"BrushtipTexe",sans-serif}h1{font-size:2rem}h4{font-size:1.25rem}i.strife,i.success,i.explosive,i.opportunity,i.d6,i.d12,i.i_earth,i.i_water,i.i_fire,i.i_air,i.i_void{font-family:LogotypeL5r;line-height:1rem;font-style:normal;font-weight:normal;vertical-align:middle}i.strife:before{content:"f"}i.success:before{content:"s"}i.explosive:before{content:"e"}i.opportunity:before{content:"o"}i.d6:before{content:"r"}i.d12:before{content:"k"}i.i_earth:before{content:"g"}i.i_water:before{content:"w"}i.i_fire:before{content:"i"}i.i_air:before{content:"a"}i.i_void:before{content:"v"}#sidebar{background-position:top;background-size:100%;background-repeat:no-repeat;background:url("../assets/ui/bgSidebar.png") no-repeat;top:0;height:100%;padding:0.5rem}#sidebar #sidebar-tabs{flex:0 0 1rem;box-sizing:border-box;margin:0 0 0.25rem;border-bottom:1px solid rgba(255,255,255,0.25);box-shadow:none}#sidebar #sidebar-tabs>.item{line-height:27px;border-radius:100%;margin:0;flex:0 0 27px;height:27px}#sidebar #sidebar-tabs>.item .active{border:1px solid rgba(255,100,0,0.75);box-shadow:0 0 6px rgba(255,100,0,0.75)}#sidebar .message-sender{color:#963c41}#hotbar{margin:0}#hotbar #action-bar{flex:0 0 100%}#hotbar #action-bar .macro{-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:transparent}#hotbar #action-bar #macro-list{background:rgba(0,0,0,0.75);margin:0;padding:0.05rem;border:none;border-radius:0;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.25rem 0.25rem 0.5rem rgba(0,0,0,0.75)}#hotbar .bar-controls{background:rgba(0,0,0,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{background:rgba(0,0,0,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;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{height:80px;margin-left:0.5rem;opacity:0.5}#logo:hover{opacity:0.75}#navigation{left:120px}#navigation #nav-toggle,#navigation #scene-list .scene.nav-item{cursor:default;color:rgba(255,255,255,0.65);background:linear-gradient(#285064, #0a141e, #285064);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 #scene-list .scene.nav-item.active{background:linear-gradient(#41140f, #230a05, #41140f)}#navigation #scene-list .scene.view,#navigation #scene-list .scene.context{cursor:default;color:#FFF;background:linear-gradient(#41140f, #230a05, #41140f);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}#controls{top:100px}#controls .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .control-tool:hover{background:linear-gradient(#41140f, #230a05, #41140f);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 rgba(255,0,0,0.75)}#controls .scene-control,#controls .control-tool{background:linear-gradient(#285064, #0a141e, #285064);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}.l5r5e.chat-dice>img{border:1px solid transparent;background-repeat:no-repeat;background-position:center;background-size:100%;height:44px;width:44px;outline:none;margin:0;flex:0 0 20px;display:inline-block}.l5r5e.sheet{min-width:600px}.l5r5e.sheet .sheet-header h1{flex:auto;margin:0 0.5rem 0.25rem}.l5r5e.sheet .sheet-header h1 input{flex:0 0 100%;height:4rem;margin:0.5rem 0 0;width:100%;color:#963c41;background:transparent;border:0 none;border-radius:0;border-bottom:1px dotted rgba(0,0,0,0.5)}.l5r5e.sheet .sheet-header h1:before{content:"";position:absolute;background:url("../assets/imgs/brushL5r.webp") no-repeat 0 0;background-size:contain;height:225px;width:100%;z-index:-1;left:-0.25rem}.l5r5e.sheet .sheet-header img{flex:0 0 150px;height:150px;margin-right:0;-o-object-fit:contain;object-fit:contain;background:rgba(255,255,255,0.5);border:1px solid rgba(186,187,177,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% - 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 .header-fields h2{font-family:"BrushtipTexe",sans-serif;float:right;width:50%;padding:0 0.25rem;margin:0;text-align:right;color:rgba(0,0,0,0.5);border-bottom:rgba(255,255,255,0.65);--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:before{content:"";position:absolute;height:1px;width:100%}.l5r5e.sheet .sheet-header .identity-wrapper{display:flex;flex-wrap:wrap;flex:0 0 calc(100% - 150px - 0.25rem)}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content{flex:0 0 100%;display:flex;flex-wrap:wrap;margin: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:50%;margin:0 0 0.5rem}.l5r5e.sheet .sheet-header .rings{float:left;width:calc(50% - 0.25rem);padding:0.25rem}.l5r5e.sheet .sheet-header .social-content{flex:0 0 100%;display:flex;padding:0.25rem}.l5r5e.sheet .sheet-header .attributes-wrapper{float:right;width:calc(50% - 0.25rem);padding:0.5rem 0 0.5rem 1rem;display:flex;flex-wrap:wrap;flex-direction:column;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 .attributes-wrapper .endurance-content label,.l5r5e.sheet .sheet-header .attributes-wrapper .composure-content label,.l5r5e.sheet .sheet-header .attributes-wrapper .void-content label{float:left;width:50%}.l5r5e.sheet .sheet-header .attributes-wrapper li p{display:none;position:absolute}.l5r5e.sheet .sheet-header .attributes-wrapper li:hover p{display:block}.l5r5e.sheet .sheet-header .identity-wrapper label,.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;line-height:2rem}.l5r5e.sheet .sheet-header .identity-wrapper label input,.l5r5e.sheet .sheet-header .social-content label input,.l5r5e.sheet .sheet-header .attributes-wrapper label input{flex:1;margin:0 1rem 0 0.5rem}.l5r5e.sheet article{background:rgba(255,255,255,0.5);padding:0.5rem}.l5r5e nav.sheet-tabs{background:rgba(186,187,177,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:rgba(0,0,0,0.75);color:#fff;text-shadow:black 1px 2px 0}.l5r5e nav .item.active{height:2.5rem;line-height:2rem;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;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 6px rgba(255,0,0,0.75);box-shadow:0 0 6px inset rgba(255,0,0,0.75)}.l5r5e .rings #earth{float:right;color:#699678}.l5r5e .rings #earth input{top:auto;right:0;bottom:-1rem;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:-1rem;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 .testing{width:14.28571%}.l5r5e .testing{width:28.57143%}.l5r5e .testing{width:14.28571%}.l5r5e .testing{width:28.57143%} +.window-app .window-content{z-index:1;position:relative;background:url("../assets/imgs/bgL5R.webp") no-repeat;background-size:cover}.window-app .window-resizable-handle{z-index:2;background:rgba(0,0,0,0.75)}*{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 rgba(255,0,0,0.75)}.tabs .item.active{text-shadow:0 0 10px rgba(255,0,0,0.75)}#controls .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .control-tool:hover{box-shadow:0 0 10px rgba(255,0,0,0.75)}ul,li{list-style-type:none;margin:0;padding:0}input[type="text"],input[type="number"],input[type="password"],input[type="date"],input[type="time"]{background:rgba(255,255,255,0.5);border:1px solid rgba(186,187,177,0.5);padding:0.25rem;color:#764f40}@font-face{font-family:"LogotypeL5r";src:url("../fonts/LogotypeL5r.ttf") format("truetype")}@font-face{font-family:"BrushtipTexe";src:url("../fonts/BrushtipTexe.otf") format("opentype")}@font-face{font-family:"PatrickHand";src:url("../fonts/PatrickHand.ttf") format("truetype")}body{font:16px "PatrickHand",sans-serif;letter-spacing:0.05rem}h1,h4{font-family:"BrushtipTexe",sans-serif}h1{font-size:2rem}h4{font-size:1.25rem}i.strife,i.success,i.explosive,i.opportunity,i.d6,i.d12,i.i_earth,i.i_water,i.i_fire,i.i_air,i.i_void{font-family:LogotypeL5r;line-height:1rem;font-style:normal;font-weight:normal;vertical-align:middle}i.strife:before{content:"f"}i.success:before{content:"s"}i.explosive:before{content:"e"}i.opportunity:before{content:"o"}i.d6:before{content:"r"}i.d12:before{content:"k"}i.i_earth:before{content:"g"}i.i_water:before{content:"w"}i.i_fire:before{content:"i"}i.i_air:before{content:"a"}i.i_void:before{content:"v"}#sidebar{background-position:top;background-size:100%;background-repeat:no-repeat;background:url("../assets/ui/bgSidebar.png") no-repeat;top:0;height:100%;padding:0.5rem}#sidebar #sidebar-tabs{flex:0 0 1rem;box-sizing:border-box;margin:0 0 0.25rem;border-bottom:1px solid rgba(255,255,255,0.25);box-shadow:none}#sidebar #sidebar-tabs>.item{line-height:27px;border-radius:100%;margin:0;flex:0 0 27px;height:27px}#sidebar #sidebar-tabs>.item .active{border:1px solid rgba(255,100,0,0.75);box-shadow:0 0 6px rgba(255,100,0,0.75)}#sidebar .message-sender{color:#963c41}#sidebar .chat-control-icon{cursor:url(../l5r-ui/ui/cursors/pointer.webp),pointer}#hotbar{margin:0}#hotbar #action-bar{flex:0 0 100%}#hotbar #action-bar .macro{-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:transparent}#hotbar #action-bar #macro-list{background:rgba(0,0,0,0.75);margin:0;padding:0.05rem;border:none;border-radius:0;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.25rem 0.25rem 0.5rem rgba(0,0,0,0.75)}#hotbar .bar-controls{background:rgba(0,0,0,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{background:rgba(0,0,0,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;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{height:80px;margin-left:0.5rem;opacity:0.5}#logo:hover{opacity:0.75}#navigation{left:120px}#navigation #nav-toggle,#navigation #scene-list .scene.nav-item{cursor:default;color:rgba(255,255,255,0.65);background:linear-gradient(#285064, #0a141e, #285064);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 #scene-list .scene.nav-item.active{background:linear-gradient(#41140f, #230a05, #41140f)}#navigation #scene-list .scene.view,#navigation #scene-list .scene.context{cursor:default;color:#fff;background:linear-gradient(#41140f, #230a05, #41140f);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}#controls{top:100px}#controls .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .control-tool:hover{background:linear-gradient(#41140f, #230a05, #41140f);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 rgba(255,0,0,0.75)}#controls .scene-control,#controls .control-tool{background:linear-gradient(#285064, #0a141e, #285064);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}.l5r5e.chat-dice>img{border:1px solid transparent;background-repeat:no-repeat;background-position:center;background-size:100%;height:44px;width:44px;outline:none;margin:0;flex:0 0 20px;display:inline-block}.l5r5e.sheet{min-width:600px}.l5r5e.sheet .sheet-header h1{flex:auto;margin:0 0.5rem 0.25rem}.l5r5e.sheet .sheet-header h1 input{flex:0 0 100%;height:4rem;margin:0.5rem 0 0;width:100%;color:#963c41;background:transparent;border:0 none;border-radius:0;border-bottom:1px dotted rgba(0,0,0,0.5)}.l5r5e.sheet .sheet-header h1:before{content:"";position:absolute;background:url("../assets/imgs/brushL5r.webp") no-repeat 0 0;background-size:contain;height:225px;width:100%;z-index:-1;left:-0.25rem}.l5r5e.sheet .sheet-header img{flex:0 0 150px;height:150px;margin-right:0;-o-object-fit:contain;object-fit:contain;background:rgba(255,255,255,0.5);border:1px solid rgba(186,187,177,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% - 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 .header-fields h2{font-family:"BrushtipTexe",sans-serif;float:right;width:50%;padding:0 0.25rem;margin:0;text-align:right;color:rgba(0,0,0,0.5);border-bottom:rgba(255,255,255,0.65);--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:before{content:"";position:absolute;height:1px;width:100%}.l5r5e.sheet .sheet-header .identity-wrapper{display:flex;flex-wrap:wrap;flex:0 0 calc(100% - 150px - 0.25rem)}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content{flex:0 0 100%;display:flex;flex-wrap:wrap;margin: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:50%;margin:0 0 0.5rem}.l5r5e.sheet .sheet-header .rings{float:left;width:calc(50% - 0.25rem);padding:0.25rem}.l5r5e.sheet .sheet-header .social-content{flex:0 0 100%;display:flex;padding:0.25rem}.l5r5e.sheet .sheet-header .attributes-wrapper{float:right;width:calc(50% - 0.25rem);padding:0.5rem 0 0.5rem 1rem;display:flex;flex-wrap:wrap;flex-direction:column;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 .attributes-wrapper .endurance-content label,.l5r5e.sheet .sheet-header .attributes-wrapper .composure-content label,.l5r5e.sheet .sheet-header .attributes-wrapper .void-content label{float:left;width:50%}.l5r5e.sheet .sheet-header .attributes-wrapper li p{display:none;position:absolute}.l5r5e.sheet .sheet-header .attributes-wrapper li:hover p{display:block}.l5r5e.sheet .sheet-header .identity-wrapper label,.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;line-height:2rem}.l5r5e.sheet .sheet-header .identity-wrapper label input,.l5r5e.sheet .sheet-header .social-content label input,.l5r5e.sheet .sheet-header .attributes-wrapper label input{flex:1;margin:0 1rem 0 0.5rem}.l5r5e.sheet article{background:rgba(255,255,255,0.5);padding:0.5rem}.l5r5e nav.sheet-tabs{background:rgba(186,187,177,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:rgba(0,0,0,0.75);color:#fff;text-shadow:black 1px 2px 0}.l5r5e nav .item.active{height:2.5rem;line-height:2rem;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;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 6px rgba(255,0,0,0.75);box-shadow:0 0 6px inset rgba(255,0,0,0.75)}.l5r5e .rings #earth{float:right;color:#699678}.l5r5e .rings #earth input{top:auto;right:0;bottom:-1rem;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:-1rem;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 .testing{width:14.28571%}.l5r5e .testing{width:28.57143%}.l5r5e .testing{width:14.28571%}.l5r5e .testing{width:28.57143%} diff --git a/system/styles/scss/ui.scss b/system/styles/scss/ui.scss index 28800c8..dc169d6 100644 --- a/system/styles/scss/ui.scss +++ b/system/styles/scss/ui.scss @@ -30,6 +30,9 @@ .message-sender { color: $l5r5e-red; } + .chat-control-icon { + cursor: url(../l5r-ui/ui/cursors/pointer.webp), pointer; + } } // hotbar diff --git a/system/templates/dice/chat-roll.html b/system/templates/dice/chat-roll.html index 708fa41..8948935 100644 --- a/system/templates/dice/chat-roll.html +++ b/system/templates/dice/chat-roll.html @@ -5,8 +5,7 @@ {{#if l5r5e.stance}}
- - {{l5r5e.skillId}} + {{l5r5e.skillName}}
{{/if}} diff --git a/system/templates/dice/dice-picker-dialog.html b/system/templates/dice/dice-picker-dialog.html index e4c740c..a87be19 100644 --- a/system/templates/dice/dice-picker-dialog.html +++ b/system/templates/dice/dice-picker-dialog.html @@ -1,7 +1,7 @@
- +
{{#each elementsList}} @@ -13,7 +13,7 @@

- +
{{#each dicesList}} @@ -25,7 +25,7 @@

- +
{{#each dicesList}} @@ -39,7 +39,7 @@ {{#if skillData.name}}
- +
{{/if}} diff --git a/system/templates/dice/tooltip.html b/system/templates/dice/tooltip.html index f68e416..b45bea4 100644 --- a/system/templates/dice/tooltip.html +++ b/system/templates/dice/tooltip.html @@ -21,6 +21,7 @@ {{/if}} {{/each}} + {{#if chatData.l5r5e.dicesTypes.l5r}} {{#if chatData.displaySummary}} {{#chatData.l5r5e.summary}} diff --git a/system/templates/item/feat-sheet.html b/system/templates/item/feat-sheet.html index 660f70f..bb9354e 100644 --- a/system/templates/item/feat-sheet.html +++ b/system/templates/item/feat-sheet.html @@ -24,11 +24,11 @@
- +
- +
diff --git a/system/templates/item/weapon-sheet.html b/system/templates/item/weapon-sheet.html index 0c019af..d1b262d 100644 --- a/system/templates/item/weapon-sheet.html +++ b/system/templates/item/weapon-sheet.html @@ -4,11 +4,11 @@

- +
- +
@@ -26,15 +26,15 @@
- +
- +
-

{{ localize 'L5r5e.Properties' }}

+

{{ localize 'l5r5e.properties' }}

{{editor content=data.properties target="data.properties" button=true owner=owner editable=editable}}
diff --git a/system/templates/item/weapons.html b/system/templates/item/weapons.html index efc5e2f..9eb5a62 100644 --- a/system/templates/item/weapons.html +++ b/system/templates/item/weapons.html @@ -1,5 +1,5 @@
-

{{ localize 'L5r5e.Weapons' }}

+

{{ localize 'l5r5e.weapons' }}

    {{#each actor.items as |item id|}} {{#if item.isWeapon }} diff --git a/system/templates/sheets/actor-sheet.html b/system/templates/sheets/actor-sheet.html index 80bcbe6..26af618 100644 --- a/system/templates/sheets/actor-sheet.html +++ b/system/templates/sheets/actor-sheet.html @@ -8,7 +8,7 @@
{{> 'systems/l5r5e/templates/sheets/actor/social.html' }} -

{{ localize 'L5r5e.Attributes.Title' }}

+

{{ localize 'l5r5e.attributes.title' }}

{{> 'systems/l5r5e/templates/sheets/actor/rings.html' }} {{> 'systems/l5r5e/templates/sheets/actor/attributes.html' }}
@@ -16,11 +16,11 @@ {{!-- Sheet Tab Navigation --}} {{!-- Sheet Body --}} diff --git a/system/templates/sheets/actor/attributes.html b/system/templates/sheets/actor/attributes.html index 2a26cb4..fd4d6d1 100644 --- a/system/templates/sheets/actor/attributes.html +++ b/system/templates/sheets/actor/attributes.html @@ -1,47 +1,47 @@
  • -

    {{ localize 'L5r5e.Attributes.EnduranceTip' }}

    +

    {{ localize 'l5r5e.attributes.endurancetip' }}

  • -

    {{ localize 'L5r5e.Attributes.ComposureTip' }}

    +

    {{ localize 'l5r5e.attributes.composuretip' }}

  • -

    {{ localize 'L5r5e.Attributes.FocusTip' }}

    +

    {{ localize 'l5r5e.attributes.focustip' }}

  • -

    {{ localize 'L5r5e.Attributes.VigilanteTip' }}

    +

    {{ localize 'l5r5e.attributes.vigilantetip' }}

  • diff --git a/system/templates/sheets/actor/category.html b/system/templates/sheets/actor/category.html index 7116214..5982f6f 100644 --- a/system/templates/sheets/actor/category.html +++ b/system/templates/sheets/actor/category.html @@ -6,10 +6,10 @@ {{/each}}
    -
  • {{ localizeSkill categoryId 'Air' }}
  • -
  • {{ localizeSkill categoryId 'Earth' }}
  • -
  • {{ localizeSkill categoryId 'Fire' }}
  • -
  • {{ localizeSkill categoryId 'Water' }}
  • -
  • {{ localizeSkill categoryId 'Void' }}
  • +
  • {{ localizeSkill categoryId 'air' }}
  • +
  • {{ localizeSkill categoryId 'earth' }}
  • +
  • {{ localizeSkill categoryId 'fire' }}
  • +
  • {{ localizeSkill categoryId 'water' }}
  • +
  • {{ localizeSkill categoryId 'void' }}
\ No newline at end of file diff --git a/system/templates/sheets/actor/conflict.html b/system/templates/sheets/actor/conflict.html index 3f40571..c3379f4 100644 --- a/system/templates/sheets/actor/conflict.html +++ b/system/templates/sheets/actor/conflict.html @@ -1,7 +1,7 @@
-

{{ localize 'L5r5e.Conflict.Stance' }}

+

{{ localize 'l5r5e.conflict.stance' }}

{{#each data.stances as |stance stanceId|}} {{> 'systems/l5r5e/templates/sheets/actor/stance.html' stance=stance stanceId=stanceId }} {{/each}} diff --git a/system/templates/sheets/actor/experience.html b/system/templates/sheets/actor/experience.html index 275843a..8449647 100644 --- a/system/templates/sheets/actor/experience.html +++ b/system/templates/sheets/actor/experience.html @@ -1,31 +1,31 @@
-

{{ localize 'L5r5e.XP.Total' }}

+

{{ localize 'l5r5e.xp.total' }}

-

{{ localize 'L5r5e.XP.Spent' }}

+

{{ localize 'l5r5e.xp.spent' }}

-

{{ localize 'L5r5e.XP.Saved' }}

+

{{ localize 'l5r5e.xp.saved' }}

-
-

{{ localize 'L5r5e.XP.Adquisitions'}}

+
+

{{ localize 'l5r5e.xp.acquisitions'}}

-

{{ localize 'L5r5e.Name' }}

-

{{ localize 'L5r5e.XP.Spent' }}

-

{{ localize 'L5r5e.Rank' }}

+

{{ localize 'l5r5e.name' }}

+

{{ localize 'l5r5e.xp.spent' }}

+

{{ localize 'l5r5e.rank' }}

{{#each data.feats as |feat featId| }} {{> 'systems/l5r5e/templates/sheets/actor/adquisition.html' adquisition=feat }} {{/each}}
- +
\ No newline at end of file diff --git a/system/templates/sheets/actor/feats.html b/system/templates/sheets/actor/feats.html index 32fe090..043801e 100644 --- a/system/templates/sheets/actor/feats.html +++ b/system/templates/sheets/actor/feats.html @@ -1,6 +1,6 @@
-

{{ localize 'L5r5e.Feats' }}

+

{{ localize 'l5r5e.feats' }}

diff --git a/system/templates/sheets/actor/identity.html b/system/templates/sheets/actor/identity.html index 25ad456..427828f 100644 --- a/system/templates/sheets/actor/identity.html +++ b/system/templates/sheets/actor/identity.html @@ -1,31 +1,31 @@
  • diff --git a/system/templates/sheets/actor/narrative.html b/system/templates/sheets/actor/narrative.html index 297d972..412de0c 100644 --- a/system/templates/sheets/actor/narrative.html +++ b/system/templates/sheets/actor/narrative.html @@ -1,16 +1,16 @@
    • - +
    • - +
    • - +
    -

    {{ localize 'L5r5e.Notes' }}

    +

    {{ localize 'l5r5e.notes' }}

    {{ editor content=data.notes.value target="data.notes.value" button=true editable=editable }} \ No newline at end of file diff --git a/system/templates/sheets/actor/rings.html b/system/templates/sheets/actor/rings.html index a28ef95..86eac77 100644 --- a/system/templates/sheets/actor/rings.html +++ b/system/templates/sheets/actor/rings.html @@ -2,35 +2,35 @@
  • diff --git a/system/templates/sheets/actor/social.html b/system/templates/sheets/actor/social.html index 0672a9f..25e0557 100644 --- a/system/templates/sheets/actor/social.html +++ b/system/templates/sheets/actor/social.html @@ -1,19 +1,19 @@