More adjustments
This commit is contained in:
parent
b8708e007f
commit
d5aa1f9381
5 changed files with 90 additions and 3 deletions
|
|
@ -965286,7 +965286,7 @@
|
|||
"code": 401,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"\\N[6] began grinding her hips on top of \\N[21]. For \\N[6], who had no sexual\nexperience, this was truly uncharted territory, and she was flustered."
|
||||
"\\N[6] began grinding her hips on top of \\N[21]. For \\N[21], who had no sexual\nexperience, this was truly uncharted territory, and he was flustered."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -36522,7 +36522,7 @@
|
|||
"code": 401,
|
||||
"indent": 0,
|
||||
"parameters": [
|
||||
"That's quite a rough state you're in. But don't worry, \\N[22] will be dispatched\nas a healer shortly."
|
||||
"That's quite a rough state you're in. But don't worry, Red will be dispatched\nas a healer shortly."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8574,6 +8574,25 @@
|
|||
"row = 12"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 357,
|
||||
"indent": 1,
|
||||
"parameters": [
|
||||
"MPP_MessageEX",
|
||||
"messageFontSize",
|
||||
"メッセージフォントサイズ",
|
||||
{
|
||||
"size": "22"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 657,
|
||||
"indent": 1,
|
||||
"parameters": [
|
||||
"size = 22"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 355,
|
||||
"indent": 1,
|
||||
|
|
@ -8775,6 +8794,25 @@
|
|||
"this.setWaitMode(\"message\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 357,
|
||||
"indent": 1,
|
||||
"parameters": [
|
||||
"MPP_MessageEX",
|
||||
"messageFontSize",
|
||||
"メッセージフォントサイズ",
|
||||
{
|
||||
"size": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 657,
|
||||
"indent": 1,
|
||||
"parameters": [
|
||||
"size = 0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": 357,
|
||||
"indent": 1,
|
||||
|
|
|
|||
|
|
@ -8914,7 +8914,7 @@
|
|||
"code": 401,
|
||||
"indent": 1,
|
||||
"parameters": [
|
||||
"Good point. I'd have to hear what Big Sis wants before thinking it through."
|
||||
"Good point. You'd have to hear what Big Sis wants before thinking it through."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -115,6 +115,11 @@
|
|||
* 〇 SetMesRow row / messageRow
|
||||
* row : Number of lines in the message window
|
||||
* - Change the number of lines displayed in the message window.
|
||||
*
|
||||
* 〇 SetMesFontSize size / messageFontSize
|
||||
* size : Body font size in pixels (0 = clear override, use System default)
|
||||
* - Overrides message body font size for subsequent Show Text until cleared.
|
||||
* - Does not change Database System font; call with 0 when finished.
|
||||
*
|
||||
* 〇 SetMesFadeOut type / messageFadeOut
|
||||
* type : Fade out type
|
||||
|
|
@ -148,6 +153,15 @@
|
|||
* @max 99
|
||||
* @default 4
|
||||
*
|
||||
* @command messageFontSize
|
||||
* @desc Override message body font size (0 clears)
|
||||
* @arg size
|
||||
* @desc 0 uses System default until set again
|
||||
* @type number
|
||||
* @min 0
|
||||
* @max 96
|
||||
* @default 0
|
||||
*
|
||||
* @command messageFadeOut
|
||||
* @desc
|
||||
* @arg type
|
||||
|
|
@ -502,6 +516,11 @@
|
|||
* 〇 SetMesRow row / メッセージ行数設定
|
||||
* row : メッセージウィンドウの行数
|
||||
* - メッセージウィンドウの表示行数をn行に変更します。
|
||||
*
|
||||
* 〇 SetMesFontSize size / メッセージフォントサイズ
|
||||
* size : 本文のフォントサイズ(px)(0で上書き解除・システム標準)
|
||||
* - 以降の文章表示で本文フォントサイズを上書きします。
|
||||
* - データベースの標準サイズは変わりません。終わったら0で解除してください。
|
||||
*
|
||||
* 〇 SetMesFadeOut type / メッセージフェードアウト
|
||||
* type : フェードアウトのタイプ
|
||||
|
|
@ -535,6 +554,16 @@
|
|||
* @max 99
|
||||
* @default 4
|
||||
*
|
||||
* @command messageFontSize
|
||||
* @text メッセージフォントサイズ
|
||||
* @desc 本文フォントサイズの上書き(0で解除)
|
||||
* @arg size
|
||||
* @desc 0でデータベースの設定に戻す
|
||||
* @type number
|
||||
* @min 0
|
||||
* @max 96
|
||||
* @default 0
|
||||
*
|
||||
* @command messageFadeOut
|
||||
* @text メッセージフェードアウト
|
||||
* @desc
|
||||
|
|
@ -1030,6 +1059,7 @@
|
|||
this._messageRow = getDefaultParam('Message Row', 4);
|
||||
this._fadeOutType = getDefaultParam('FadeOut Type', 0);
|
||||
this._effectSkip = false;
|
||||
this._mppFontSizeOverride = null;
|
||||
};
|
||||
|
||||
const _Game_Message_clear = Game_Message.prototype.clear;
|
||||
|
|
@ -1074,6 +1104,14 @@
|
|||
this._effectSkip = skip;
|
||||
};
|
||||
|
||||
Game_Message.prototype.mppFontSizeOverride = function() {
|
||||
return this._mppFontSizeOverride;
|
||||
};
|
||||
|
||||
Game_Message.prototype.setMppFontSizeOverride = function(size) {
|
||||
this._mppFontSizeOverride = size;
|
||||
};
|
||||
|
||||
const _Game_Message_isBusy = Game_Message.prototype.isBusy;
|
||||
Game_Message.prototype.isBusy = function() {
|
||||
return (
|
||||
|
|
@ -1087,11 +1125,13 @@
|
|||
|
||||
const _mzCommands = {
|
||||
SetMesRow: { name:'messageRow', keys:['row'] },
|
||||
SetMesFontSize: { name:'messageFontSize', keys:['size'] },
|
||||
SetMesFadeOut: { name:'messageFadeOut', keys:['type'] },
|
||||
SetEffectSkip: { name:'effectSkip', keys:['boolean'] }
|
||||
};
|
||||
Object.assign(_mzCommands, {
|
||||
'メッセージ行数設定': _mzCommands.SetMesRow,
|
||||
'メッセージフォントサイズ': _mzCommands.SetMesFontSize,
|
||||
'メッセージフェードアウト': _mzCommands.SetMesFadeOut,
|
||||
'演出スキップ': _mzCommands.SetEffectSkip
|
||||
});
|
||||
|
|
@ -1135,6 +1175,11 @@
|
|||
$gameMessage.setMessageRow(PluginManager.mppValue(args.row));
|
||||
});
|
||||
|
||||
_registerCommand.call(PluginManager, pluginName, 'messageFontSize', args => {
|
||||
const v = PluginManager.mppValue(args.size);
|
||||
$gameMessage.setMppFontSizeOverride(v > 0 ? v : null);
|
||||
});
|
||||
|
||||
_registerCommand.call(PluginManager, pluginName, 'messageFadeOut', args => {
|
||||
$gameMessage.setFadeOutType(PluginManager.mppValue(args.type));
|
||||
});
|
||||
|
|
@ -1641,6 +1686,10 @@
|
|||
this._rubyBitmap.fontSize = param_RubyFontSize;
|
||||
this._rubyBitmap.outlineWidth = param_RubyOutlineWidth;
|
||||
this._rubyBitmap.outlineColor = outlineColor;
|
||||
const fs = $gameMessage.mppFontSizeOverride();
|
||||
if (fs != null) {
|
||||
this.contents.fontSize = fs;
|
||||
}
|
||||
};
|
||||
|
||||
const _Window_Message_initMembers = Window_Message.prototype.initMembers;
|
||||
|
|
|
|||
Loading…
Reference in a new issue