diff --git a/src/js/assayJS.js b/src/js/assayJS.js index b75a8c74f0e6be656379e2148fdfebbab0694274..083eec5bd591ad7762821c2e1fe96a8684bc879f 100644 --- a/src/js/assayJS.js +++ b/src/js/assayJS.js @@ -452,8 +452,14 @@ window.Enunciate = function Enunciate(slave) { } } } - if (slave.custom.titleLisp && slave.custom.titleLisp !== "") { - V.titleEnunciate = slave.custom.titleLisp; + if (slave.custom.titleLisp !== undefined && slave.custom.titleLisp !== "") { + if (slave.rudeTitle === 1) { + if (slave.trust > 20) { + V.titleEnunciate = slave.custom.titleLisp; + } + } else { + V.titleEnunciate = slave.custom.titleLisp; + } } V.sayEnunciate = "lisp"; V.sEnunciate = "th"; @@ -525,7 +531,13 @@ window.Enunciate = function Enunciate(slave) { } } if (slave.custom.title !== undefined && slave.custom.title !== "") { - V.titleEnunciate = slave.custom.title; + if (slave.rudeTitle === 1) { + if (slave.trust > 20) { + V.titleEnunciate = slave.custom.title; + } + } else { + V.titleEnunciate = slave.custom.title; + } } V.sayEnunciate = "say"; V.sEnunciate = "s";