TL results and fontsize for battle
This commit is contained in:
parent
a0a8ba11bc
commit
22b6332b80
2 changed files with 42 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Generated by RPG Maker.
|
||||
// Generated by RPG Maker.
|
||||
// Do not edit this file directly.
|
||||
var $plugins = [
|
||||
{
|
||||
|
|
@ -1231,7 +1231,7 @@ var $plugins = [
|
|||
{
|
||||
name: "NUUN_Result",
|
||||
status: true,
|
||||
description: "リザルト",
|
||||
description: "Battle Results",
|
||||
parameters: {
|
||||
CommonSetting: "------------------------------",
|
||||
ResultVisibleFrame: "60",
|
||||
|
|
@ -1262,7 +1262,7 @@ var $plugins = [
|
|||
ResultHelpWindow_X: "0",
|
||||
ResultHelpWindow_Y: "0",
|
||||
ResultTextPosition: "'center'",
|
||||
ResultName: "戦闘結果",
|
||||
ResultName: "Battle Results",
|
||||
ResultHelpWindowsSkin: "",
|
||||
LevelUpHelpWindowSetting: "------------------------------",
|
||||
LevelUpHelpWindowVisible: "true",
|
||||
|
|
@ -1271,7 +1271,7 @@ var $plugins = [
|
|||
LevelUpResultHelpWindow_X: "0",
|
||||
LevelUpResultHelpWindow_Y: "0",
|
||||
LevelUpResultTextPosition: '"TextEx"',
|
||||
LevelUpResultHelpName: "%1は\\c[16]レベル\\c[17]%2\\c[0]に上がった!",
|
||||
LevelUpResultHelpName: "%1 reached \\c[16]Level\\c[17] %2\\c[0]!",
|
||||
LevelUpResultHelpWindowsSkin: "",
|
||||
GetWindowSetting: "------------------------------",
|
||||
ResultWindowVisible: "false",
|
||||
|
|
@ -1285,7 +1285,7 @@ var $plugins = [
|
|||
GetActorExp: "------------------------------",
|
||||
GetActorExpSetting: "------------------------------",
|
||||
ActorExpDataList:
|
||||
'["{\\"DateSelect\\":\\"2\\",\\"X_Coordinate\\":\\"8\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"0\\",\\"textMethod\\":\\"\\"}","{\\"DateSelect\\":\\"10\\",\\"X_Coordinate\\":\\"160\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"200\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"-4\\",\\"textMethod\\":\\"\\"}","{\\"DateSelect\\":\\"11\\",\\"X_Coordinate\\":\\"370\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"100\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"-4\\",\\"textMethod\\":\\"\\"}","{\\"DateSelect\\":\\"20\\",\\"X_Coordinate\\":\\"160\\",\\"Y_Coordinate\\":\\"62\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"0\\",\\"textMethod\\":\\"\\"}","{\\"DateSelect\\":\\"12\\",\\"X_Coordinate\\":\\"160\\",\\"Y_Coordinate\\":\\"48\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"100\\",\\"ParamName\\":\\"獲得経験値\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"-4\\",\\"textMethod\\":\\"\\"}","{\\"DateSelect\\":\\"30\\",\\"X_Coordinate\\":\\"24\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"0\\",\\"textMethod\\":\\"\\"}"]',
|
||||
'["{\\"DateSelect\\":\\"2\\",\\"X_Coordinate\\":\\"8\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"0\\",\\"textMethod\\":\\"\\"}","{\\"DateSelect\\":\\"10\\",\\"X_Coordinate\\":\\"160\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"200\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"-4\\",\\"textMethod\\":\\"\\"}","{\\"DateSelect\\":\\"11\\",\\"X_Coordinate\\":\\"370\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"100\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"-4\\",\\"textMethod\\":\\"\\"}","{\\"DateSelect\\":\\"20\\",\\"X_Coordinate\\":\\"160\\",\\"Y_Coordinate\\":\\"62\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"0\\",\\"textMethod\\":\\"\\"}","{\\"DateSelect\\":\\"12\\",\\"X_Coordinate\\":\\"160\\",\\"Y_Coordinate\\":\\"48\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"100\\",\\"ParamName\\":\\"EXP Gained\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"-4\\",\\"textMethod\\":\\"\\"}","{\\"DateSelect\\":\\"30\\",\\"X_Coordinate\\":\\"24\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"0\\",\\"textMethod\\":\\"\\"}"]',
|
||||
ActorExpWindowVisible: "false",
|
||||
ReserveMembers: "false",
|
||||
ActorCols: "1",
|
||||
|
|
@ -1322,7 +1322,7 @@ var $plugins = [
|
|||
SeparationY: "0",
|
||||
GetInfo: "------------------------------",
|
||||
GainParam:
|
||||
'["{\\"GainParamData\\":\\"1\\",\\"Y_Position\\":\\"1\\",\\"X_Coordinate\\":\\"0\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"獲得金額\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"0\\"}","{\\"GainParamData\\":\\"2\\",\\"Y_Position\\":\\"2\\",\\"X_Coordinate\\":\\"0\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"獲得経験値\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"0\\"}","{\\"GainParamData\\":\\"10\\",\\"Y_Position\\":\\"3\\",\\"X_Coordinate\\":\\"0\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"獲得SP\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\'BattleManager._rewards.sp;//Skill tree Get Sp\'\\",\\"FontSize\\":\\"0\\"}","{\\"GainParamData\\":\\"1000\\",\\"Y_Position\\":\\"4\\",\\"X_Coordinate\\":\\"0\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"\\",\\"SystemNameColor\\":\\"16\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"0\\"}"]',
|
||||
'["{\\"GainParamData\\":\\"1\\",\\"Y_Position\\":\\"1\\",\\"X_Coordinate\\":\\"0\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"Gold Gained\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"0\\"}","{\\"GainParamData\\":\\"2\\",\\"Y_Position\\":\\"2\\",\\"X_Coordinate\\":\\"0\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"EXP Gained\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"0\\"}","{\\"GainParamData\\":\\"10\\",\\"Y_Position\\":\\"3\\",\\"X_Coordinate\\":\\"0\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"SP Gained\\",\\"SystemNameColor\\":\\"0\\",\\"DetaEval\\":\\"\'BattleManager._rewards.sp;//Skill tree Get Sp\'\\",\\"FontSize\\":\\"0\\"}","{\\"GainParamData\\":\\"1000\\",\\"Y_Position\\":\\"4\\",\\"X_Coordinate\\":\\"0\\",\\"Y_Coordinate\\":\\"0\\",\\"ItemWidth\\":\\"0\\",\\"SystemItemWidth\\":\\"0\\",\\"ParamName\\":\\"\\",\\"SystemNameColor\\":\\"16\\",\\"DetaEval\\":\\"\\",\\"FontSize\\":\\"0\\"}"]',
|
||||
GetInfoWindowVisible: "false",
|
||||
GetInfoWidth: "0",
|
||||
GetInfoHeight: "0",
|
||||
|
|
@ -1332,7 +1332,7 @@ var $plugins = [
|
|||
GetInfoWindowsSkin: "",
|
||||
GetItemWindow: "------------------------------",
|
||||
GetItemParam:
|
||||
'["{\\"GetItemParamData\\":\\"1\\",\\"X_Position\\":\\"1\\",\\"Y_Position\\":\\"2\\",\\"X_Coordinate\\":\\"0\\",\\"Y_Coordinate\\":\\"0\\",\\"ParamName\\":\\"入手アイテム\\",\\"SystemNameColor\\":\\"0\\",\\"FontSize\\":\\"0\\",\\"ItemCols\\":\\"1\\",\\"ItemRows\\":\\"0\\"}"]',
|
||||
'["{\\"GetItemParamData\\":\\"1\\",\\"X_Position\\":\\"1\\",\\"Y_Position\\":\\"2\\",\\"X_Coordinate\\":\\"0\\",\\"Y_Coordinate\\":\\"0\\",\\"ParamName\\":\\"Items Obtained\\",\\"SystemNameColor\\":\\"0\\",\\"FontSize\\":\\"0\\",\\"ItemCols\\":\\"1\\",\\"ItemRows\\":\\"0\\"}"]',
|
||||
GetItemWindowVisible: "false",
|
||||
GetItemWidth: "0",
|
||||
GetItemHeight: "0",
|
||||
|
|
@ -2508,4 +2508,10 @@ var $plugins = [
|
|||
description: "",
|
||||
parameters: {},
|
||||
},
|
||||
{
|
||||
name: "BattleHelpFontSize",
|
||||
status: true,
|
||||
description: "Reduces the skill/item description font size in the battle help window.",
|
||||
parameters: { "fontSize": "20" },
|
||||
},
|
||||
];
|
||||
|
|
|
|||
29
js/plugins/BattleHelpFontSize.js
Normal file
29
js/plugins/BattleHelpFontSize.js
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/*:
|
||||
* @plugindesc Reduces the skill/item description font size in the battle help window.
|
||||
* @author DazedTranslations
|
||||
*
|
||||
* @param fontSize
|
||||
* @text Battle Help Font Size
|
||||
* @type number
|
||||
* @min 8
|
||||
* @max 72
|
||||
* @default 20
|
||||
* @desc Font size used for the help window description during battle.
|
||||
*/
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
var parameters = PluginManager.parameters('BattleHelpFontSize');
|
||||
var battleHelpFontSize = Number(parameters['fontSize'] || 20);
|
||||
|
||||
// drawTextEx internally calls resetFontSettings(), so we override that
|
||||
// on Window_Help to apply the smaller size whenever we're in battle.
|
||||
var _Window_Help_resetFontSettings = Window_Help.prototype.resetFontSettings;
|
||||
Window_Help.prototype.resetFontSettings = function() {
|
||||
_Window_Help_resetFontSettings.call(this);
|
||||
if (SceneManager._scene instanceof Scene_Battle) {
|
||||
this.contents.fontSize = battleHelpFontSize;
|
||||
}
|
||||
};
|
||||
})();
|
||||
Loading…
Reference in a new issue