TL More UI
This commit is contained in:
parent
4dd1730ea3
commit
ea3074486a
5 changed files with 25 additions and 9 deletions
|
|
@ -16496,7 +16496,7 @@
|
|||
2,
|
||||
0,
|
||||
4,
|
||||
"'プロローグ『勇者と悪魔と天の首輪』'"
|
||||
"'Prologue: The Hero, the Demon, and the Celestial Collar'"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -34270,7 +34270,7 @@
|
|||
2,
|
||||
0,
|
||||
4,
|
||||
"'プロローグ『勇者と悪魔と天の首輪』'"
|
||||
"'Prologue: The Hero, the Demon, and the Celestial Collar'"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1478,7 +1478,7 @@
|
|||
2,
|
||||
0,
|
||||
4,
|
||||
"'プロローグ『勇者と悪魔と天の首輪』'"
|
||||
"'Prologue: The Hero, the Demon, and the Celestial Collar'"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -501,13 +501,13 @@ var $plugins = [
|
|||
MaxItem: "0",
|
||||
Item0: "6",
|
||||
Item0Length: "300",
|
||||
Item1title: "プレイ時間",
|
||||
Item1title: "Playtime",
|
||||
Item1: "2",
|
||||
Item2title: "現在地",
|
||||
Item2title: "Location",
|
||||
Item2: "3",
|
||||
Item3title: "所持金",
|
||||
Item3title: "Money",
|
||||
Item3: "4",
|
||||
Item4title: "セーブ回数",
|
||||
Item4title: "Saves",
|
||||
Item4: "5",
|
||||
Item5: "0",
|
||||
ItemValue1: "2",
|
||||
|
|
@ -5960,7 +5960,7 @@ var $plugins = [
|
|||
"Default Skill Set": "4",
|
||||
"Default CP": "8",
|
||||
"CP Name": "CP",
|
||||
"Set Name": "セット数",
|
||||
"Set Name": "Set Skills",
|
||||
"LvUp CP Rate": "0.5",
|
||||
"LvUp Set Rate": "0",
|
||||
"No Equip Slot Name": "---------------------------",
|
||||
|
|
|
|||
|
|
@ -275,6 +275,22 @@ Window_Base.prototype.drawTextEx = function (text, x, y) {
|
|||
}
|
||||
};
|
||||
|
||||
Window_Base.prototype.drawTextExHelp = function (text, x, y) {
|
||||
if (text) {
|
||||
var textState = { index: 0, x: x, y: y, left: x };
|
||||
textState.text = this.convertEscapeCharacters(text);
|
||||
textState.height = this.calcTextHeight(textState, false);
|
||||
this.resetFontSettings();
|
||||
this.contents.fontSize = 24
|
||||
while (textState.index < textState.text.length) {
|
||||
this.processCharacter(textState);
|
||||
}
|
||||
return textState.x - x;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
|
||||
Window_Base.prototype.convertEscapeCharacters = function (text) {
|
||||
text = text.replace(/\\/g, "\x1b");
|
||||
text = text.replace(/\x1b\x1b/g, "\\");
|
||||
|
|
@ -1553,7 +1569,7 @@ Window_Help.prototype.setItem = function (item) {
|
|||
|
||||
Window_Help.prototype.refresh = function () {
|
||||
this.contents.clear();
|
||||
this.drawTextEx(this._text, this.textPadding(), 0);
|
||||
this.drawTextExHelp(this._text, this.textPadding(), 0);
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue