From c2e3f3451758a3b880de23abc4fb1844624d15b1 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sun, 16 Jan 2022 21:29:12 +0100 Subject: [PATCH] Multiple changes --- templates/chat/rolls/attack-heroic-card.hbs | 8 +-- templates/chat/rolls/default-roll-card.hbs | 4 +- templates/dialogs/adv-roll-part.hbs | 12 ++++ templates/dialogs/aptitude-roll-dialog.hbs | 52 +++------------- templates/dialogs/aptitude-roll-part.hbs | 16 +++++ templates/dialogs/attribute-roll-dialog.hbs | 52 +++------------- templates/dialogs/attribute-roll-part.hbs | 13 ++++ templates/dialogs/career-roll-part.hbs | 14 +++++ templates/dialogs/mod-roll-part.hbs | 19 ++++++ templates/dialogs/weapon-roll-dialog.hbs | 68 ++++----------------- 10 files changed, 111 insertions(+), 147 deletions(-) create mode 100644 templates/dialogs/adv-roll-part.hbs create mode 100644 templates/dialogs/aptitude-roll-part.hbs create mode 100644 templates/dialogs/attribute-roll-part.hbs create mode 100644 templates/dialogs/career-roll-part.hbs create mode 100644 templates/dialogs/mod-roll-part.hbs diff --git a/templates/chat/rolls/attack-heroic-card.hbs b/templates/chat/rolls/attack-heroic-card.hbs index 27f4c92..a950afc 100644 --- a/templates/chat/rolls/attack-heroic-card.hbs +++ b/templates/chat/rolls/attack-heroic-card.hbs @@ -1,6 +1,6 @@ -{{attacker.name}} +{{actor.name}} Jet Héroïque ! - - - + + + diff --git a/templates/chat/rolls/default-roll-card.hbs b/templates/chat/rolls/default-roll-card.hbs index 2cee17f..88d98e7 100644 --- a/templates/chat/rolls/default-roll-card.hbs +++ b/templates/chat/rolls/default-roll-card.hbs @@ -13,9 +13,11 @@

 {{localize "BOL.ui.failure"}}...

{{/if}} {{/if}} +

{{description}}

+ {{#if reroll}} -Relancer! +Relancer! {{/if}} {{!#if hasDescription}} diff --git a/templates/dialogs/adv-roll-part.hbs b/templates/dialogs/adv-roll-part.hbs new file mode 100644 index 0000000..cb22557 --- /dev/null +++ b/templates/dialogs/adv-roll-part.hbs @@ -0,0 +1,12 @@ +
+
+ +
+
+ 2d6B
+ 2d6BB
+ 2d6
+ 2d6M
+ 2d6MM
+
+
diff --git a/templates/dialogs/aptitude-roll-dialog.hbs b/templates/dialogs/aptitude-roll-dialog.hbs index b2b8762..5b207a9 100644 --- a/templates/dialogs/aptitude-roll-dialog.hbs +++ b/templates/dialogs/aptitude-roll-dialog.hbs @@ -7,47 +7,13 @@ -
-
- -
-
- -
-
-
-
- -
-
- -
-
-
-
- -
-
- -
-
- {{#if careers.items}} -
-
- -
-
- -
-
- {{/if}} + + {{> "systems/bol/templates/dialogs/aptitude-roll-part.hbs"}} + + {{> "systems/bol/templates/dialogs/adv-roll-part.hbs"}} + + {{> "systems/bol/templates/dialogs/mod-roll-part.hbs"}} + + {{> "systems/bol/templates/dialogs/career-roll-part.hbs"}} + \ No newline at end of file diff --git a/templates/dialogs/aptitude-roll-part.hbs b/templates/dialogs/aptitude-roll-part.hbs new file mode 100644 index 0000000..83e4aac --- /dev/null +++ b/templates/dialogs/aptitude-roll-part.hbs @@ -0,0 +1,16 @@ +
+
+ +
+
+ +
+
\ No newline at end of file diff --git a/templates/dialogs/attribute-roll-dialog.hbs b/templates/dialogs/attribute-roll-dialog.hbs index 5413f11..4d6600d 100644 --- a/templates/dialogs/attribute-roll-dialog.hbs +++ b/templates/dialogs/attribute-roll-dialog.hbs @@ -7,49 +7,15 @@ -
-
- -
-
- -
-
-
-
- -
-
- -
-
-
-
- -
-
- -
-
- {{#if careers.items}} -
-
- -
-
- -
-
- {{/if}} + + {{> "systems/bol/templates/dialogs/attribute-roll-part.hbs"}} + + {{> "systems/bol/templates/dialogs/adv-roll-part.hbs"}} + + {{> "systems/bol/templates/dialogs/mod-roll-part.hbs"}} + + {{> "systems/bol/templates/dialogs/career-roll-part.hbs"}} + diff --git a/templates/dialogs/attribute-roll-part.hbs b/templates/dialogs/attribute-roll-part.hbs new file mode 100644 index 0000000..96637a7 --- /dev/null +++ b/templates/dialogs/attribute-roll-part.hbs @@ -0,0 +1,13 @@ +
+
+ +
+
+ +
+
diff --git a/templates/dialogs/career-roll-part.hbs b/templates/dialogs/career-roll-part.hbs new file mode 100644 index 0000000..057d269 --- /dev/null +++ b/templates/dialogs/career-roll-part.hbs @@ -0,0 +1,14 @@ + {{#if careers.items}} +
+
+ +
+
+ +
+
+ {{/if}} diff --git a/templates/dialogs/mod-roll-part.hbs b/templates/dialogs/mod-roll-part.hbs new file mode 100644 index 0000000..1e70e41 --- /dev/null +++ b/templates/dialogs/mod-roll-part.hbs @@ -0,0 +1,19 @@ +
+
+ +
+
+ +
+
diff --git a/templates/dialogs/weapon-roll-dialog.hbs b/templates/dialogs/weapon-roll-dialog.hbs index 036168e..4f77f76 100644 --- a/templates/dialogs/weapon-roll-dialog.hbs +++ b/templates/dialogs/weapon-roll-dialog.hbs @@ -7,48 +7,15 @@ -
-
- -
-
- -
-
-
-
- -
-
- -
-
-
-
- -
-
- -
-
-
-
- -
-
- -
-
+ + {{> "systems/bol/templates/dialogs/attribute-roll-part.hbs"}} + + {{> "systems/bol/templates/dialogs/aptitude-roll-part.hbs"}} + + {{> "systems/bol/templates/dialogs/adv-roll-part.hbs"}} + + {{> "systems/bol/templates/dialogs/mod-roll-part.hbs"}} +
@@ -75,18 +42,7 @@
{{/if}} - {{#if careers.items}} -
-
- -
-
- -
-
- {{/if}} + + {{> "systems/bol/templates/dialogs/career-roll-part.hbs"}} + \ No newline at end of file