diff --git a/The One Ring 2e/release-notes.md b/The One Ring 2e/release-notes.md index 2602eaf143..a576e98f33 100644 --- a/The One Ring 2e/release-notes.md +++ b/The One Ring 2e/release-notes.md @@ -4,6 +4,9 @@ This is a rewrite based on the early 2e (basic) and 1e edition that also include # Release History +## 03.01.00 (Build 21) +- added header-alt, sub1-alt, sub2-alt to custom roll template msg + ## 03.00.00 (Build 20) - added adversary json importer diff --git a/The One Ring 2e/sheet.css b/The One Ring 2e/sheet.css index 0b81d956d2..a6402db111 100644 --- a/The One Ring 2e/sheet.css +++ b/The One Ring 2e/sheet.css @@ -1089,7 +1089,6 @@ } .sheet-rolltemplate-msg .sheet-contentmin { - border-top: 1px solid #000; padding-top: 10px; height: min-content; } @@ -1110,7 +1109,10 @@ /* change text-align to center to center the header text */ text-align: left; color: black; - padding: 5px; +} + +.sheet-rolltemplate-msg .sheet-header-sep { + border-bottom: 1px solid #000; } .sheet-rolltemplate-tor .sheet-footer, @@ -1120,7 +1122,8 @@ } .sheet-rolltemplate-tor .sheet-title, -.sheet-rolltemplate-msg .sheet-title { +.sheet-rolltemplate-msg .sheet-title, +.sheet-rolltemplate-msg .sheet-title-alt { font-family: 'Uncial Antiqua', "Palatino Linotype", "Book Antiqua", Palatino, serif, sans-serif; font-weight: lighter; line-height: 1; @@ -1129,11 +1132,21 @@ line-height: 25px; } +.sheet-rolltemplate-msg .sheet-header .sheet-title-alt span { + border: 0px !important; + background-color: transparent !important; +} + .sheet-rolltemplate-tor .sheet-subtitle, .sheet-rolltemplate-msg .sheet-subtitle { font-size: 13px; } +.sheet-rolltemplate-msg .sheet-header .sheet-subtitle-alt span { + border: 0px !important; + background-color: transparent !important; +} + .sheet-rolltemplate-tor .sheet-text-center, .sheet-rolltemplate-msg .sheet-text-center { text-align: center; diff --git a/The One Ring 2e/sheet.html b/The One Ring 2e/sheet.html index 6762e5b1a7..e3b62c7bd2 100644 --- a/The One Ring 2e/sheet.html +++ b/The One Ring 2e/sheet.html @@ -2701,6 +2701,25 @@ } } + if (build < 20) { + attrs["build"] = 21; + let releaselog = {msg:""}; + hlog(`Release 03.01.00 - ${new Date().toLocaleString()}`, releaselog); + if (v.sheettab === "isPC"){ + getAttrs(['releaselog'], function(values){ + hlog(` +### Features +- msg custom rolltemplate: added header-alt, sub1-alt, sub2-alt and fixe horizontal line hides correctly + `, releaselog); + hlog("==============", releaselog); + attrs['releaselog'] = releaselog.msg + values['releaselog']; + if (Object.keys(attrs).length) { + setAttrs(attrs); + } + }); + } + } + /* if (build === 9) { attrs["build"] = 8; @@ -2732,9 +2751,18 @@
{{#header}}
{{header}}
{{/header}} + {{#header-alt}}
{{header-alt}}
{{/header-alt}} {{#sub1}}
{{sub1}}
{{/sub1}} + {{#sub1-alt}}
{{sub1-alt}}
{{/sub1-alt}} {{#sub2}}
{{sub2}}
{{/sub2}} + {{#sub2-alt}}
{{sub2-alt}}
{{/sub2-alt}}
+ {{#header}}{{^sub1}}{{^sub2}}{{#msg}}
{{/msg}}{{/sub2}}{{/sub1}}{{/header}} + {{#sub1}}{{^sub2}}{{#msg}}
{{/msg}}{{/sub2}}{{/sub1}} + {{#sub2}}{{#msg}}
{{/msg}}{{/sub2}} + {{#header-alt}}{{^sub1-alt}}{{^sub2-alt}}{{#msg-alt}}
{{/msg-alt}}{{/sub2-alt}}{{/sub1-alt}}{{/header-alt}} + {{#sub1-alt}}{{^sub2-alt}}{{#msg-alt}}
{{/msg-alt}}{{/sub2-alt}}{{/sub1-alt}} + {{#sub2-alt}}{{#msg-alt}}
{{/msg-alt}}{{/sub2-alt}} {{#msg}}
{{msg}}
diff --git a/The One Ring 2e/sheet.json b/The One Ring 2e/sheet.json index 1e6645dbe8..972ae7ff6c 100644 --- a/The One Ring 2e/sheet.json +++ b/The One Ring 2e/sheet.json @@ -1,6 +1,6 @@ { "title": "The One Ring 2e", - "version": "3.0.0", + "version": "3.1.0", "html": "sheet.html", "css": "sheet.css", "authors": "Bodo Hüsemann, Richard W, Michael (aka Aragent) I, Paul Venner, Michael Heilemann, Stefan Unterhuber, Stuart Johnson, David Domínguez, Eric Le Bourvellec",