Adjust wordwrap for items and stuf
This commit is contained in:
parent
df3585576c
commit
e196c9fd0b
5 changed files with 654 additions and 638 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
"id": 1,
|
||||
"animationId": 133,
|
||||
"description": "A sword imbued with the soul of the heroic spirit Nero. Its abilities\nare still unknown. Attack +10 Defense +3 M. Attack +6 Element:\nSlash/Dark Accuracy: 98%",
|
||||
"description": "A sword imbued with the soul of the heroic spirit Nero. Its abilities are still unknown.\nAttack +10 Defense +3 M. Attack +6 Element: Slash/Dark Accuracy: 98%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -76,7 +76,7 @@
|
|||
{
|
||||
"id": 2,
|
||||
"animationId": 134,
|
||||
"description": "A phantom soul sword, its dark power amplified and transformed into a\nmore ferocious form. Attack +16 Defense +4 M. Attack +9 M. Defense +4\nElement: Slash/Dark Accuracy: 98%",
|
||||
"description": "A phantom soul sword, its dark power amplified and transformed into a more ferocious form.\nAttack +16 Defense +4 M. Attack +9 M. Defense +4 Element: Slash/Dark Accuracy: 98%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -169,7 +169,7 @@
|
|||
{
|
||||
"id": 3,
|
||||
"animationId": 134,
|
||||
"description": "A phantom soul sword, further amplified with ominous dark power.\nAttack +32 Defense +4 M. Attack +16 M. Defense +4 Element: Slash/Dark\nAccuracy: 98%",
|
||||
"description": "A phantom soul sword, further amplified with ominous dark power. Attack +32 Defense +4 M.\nAttack +16 M. Defense +4 Element: Slash/Dark Accuracy: 98%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -302,7 +302,7 @@
|
|||
{
|
||||
"id": 4,
|
||||
"animationId": 134,
|
||||
"description": "The form in which Nero's power is drawn out to the fullest. Attack +60\nDefense +5 M. Attack +28 M. Defense +5 Element: Slash/Dark Accuracy:\n98%",
|
||||
"description": "The form in which Nero's power is drawn out to the fullest. Attack +60 Defense +5 M.\nAttack +28 M. Defense +5 Element: Slash/Dark Accuracy: 98%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -475,7 +475,7 @@
|
|||
{
|
||||
"id": 5,
|
||||
"animationId": 162,
|
||||
"description": "Reaps lives with swordplay as graceful as flowing water. Attack +37\nAgility +10 Element: Slash/Water/Dark Accuracy: 95%",
|
||||
"description": "Reaps lives with swordplay as graceful as flowing water. Attack +37 Agility +10 Element:\nSlash/Water/Dark Accuracy: 95%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -593,7 +593,7 @@
|
|||
{
|
||||
"id": 6,
|
||||
"animationId": 163,
|
||||
"description": "A sword of cherry blossoms, scattered in the night, maddeningly\nbeautiful. Attack +61 Defense -7 Agility +15 Element: Slash/Light/Dark\nAccuracy: 95%",
|
||||
"description": "A sword of cherry blossoms, scattered in the night, maddeningly beautiful. Attack +61\nDefense -7 Agility +15 Element: Slash/Light/Dark Accuracy: 95%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -731,7 +731,7 @@
|
|||
{
|
||||
"id": 7,
|
||||
"animationId": 8,
|
||||
"description": "A magic sword specialized in fire element. Attack +7 M. Attack +16 M.\nDefense +8 Element: Slash/Fire Accuracy: 97%",
|
||||
"description": "A magic sword specialized in fire element. Attack +7 M. Attack +16 M. Defense +8 Element:\nSlash/Fire Accuracy: 97%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -824,7 +824,7 @@
|
|||
{
|
||||
"id": 8,
|
||||
"animationId": 8,
|
||||
"description": "A staff-like sword modeled after rising flames. Attack +10 M. Attack\n+36 M. Defense +14 Max MP +10 Element: Slash/Fire Accuracy: 97%",
|
||||
"description": "A staff-like sword modeled after rising flames. Attack +10 M. Attack +36 M. Defense +14\nMax MP +10 Element: Slash/Fire Accuracy: 97%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -932,7 +932,7 @@
|
|||
{
|
||||
"id": 9,
|
||||
"animationId": 8,
|
||||
"description": "An ultimate flame magic sword wreathed in swirling vortexes of fire.\nAttack +19 M. Attack +66 M. Defense +15 Max MP +25 Element: Slash/Fire\nAccuracy: 97%",
|
||||
"description": "An ultimate flame magic sword wreathed in swirling vortexes of fire. Attack +19 M. Attack\n+66 M. Defense +15 Max MP +25 Element: Slash/Fire Accuracy: 97%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -1060,7 +1060,7 @@
|
|||
{
|
||||
"id": 10,
|
||||
"animationId": 156,
|
||||
"description": "A whirlwind magic sword clad in wind along its blade. Attack +16 M.\nAttack +31 Agility +16 Element: Slash/Wind Accuracy: 99%",
|
||||
"description": "A whirlwind magic sword clad in wind along its blade. Attack +16 M. Attack +31 Agility +16\nElement: Slash/Wind Accuracy: 99%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -1183,7 +1183,7 @@
|
|||
{
|
||||
"id": 11,
|
||||
"animationId": 156,
|
||||
"description": "A magic sword that absorbs wind mana and converts it into energy.\nAttack +25 M. Attack +58 Agility +46 Element: Slash/Wind Accuracy: 99%",
|
||||
"description": "A magic sword that absorbs wind mana and converts it into energy. Attack +25 M. Attack +58\nAgility +46 Element: Slash/Wind Accuracy: 99%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -1331,7 +1331,7 @@
|
|||
{
|
||||
"id": 12,
|
||||
"animationId": 135,
|
||||
"description": "A sword embodying the power of the earth. Engraved with runes filled\nwith magic. Attack +12 Defense +9 M. Attack +10 Max MP +10 Element:\nSlash/Earth Accuracy: 95%",
|
||||
"description": "A sword embodying the power of the earth. Engraved with runes filled with magic. Attack\n+12 Defense +9 M. Attack +10 Max MP +10 Element: Slash/Earth Accuracy: 95%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -1424,7 +1424,7 @@
|
|||
{
|
||||
"id": 13,
|
||||
"animationId": 135,
|
||||
"description": "A sword that assimilates with a strong aura of earth. Attack +27\nDefense +18 M. Attack +20 Element: Slash/Earth Accuracy: 96%",
|
||||
"description": "A sword that assimilates with a strong aura of earth. Attack +27 Defense +18 M. Attack +20\nElement: Slash/Earth Accuracy: 96%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -1547,7 +1547,7 @@
|
|||
{
|
||||
"id": 14,
|
||||
"animationId": 135,
|
||||
"description": "A phantom soul sword imbued with the earth spirit that envelops the\nworld. Attack +50 Defense +30 M. Attack +42 Accuracy: Slash/Earth\nAccuracy: 96%",
|
||||
"description": "A phantom soul sword imbued with the earth spirit that envelops the world. Attack +50\nDefense +30 M. Attack +42 Accuracy: Slash/Earth Accuracy: 96%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -1700,7 +1700,7 @@
|
|||
{
|
||||
"id": 15,
|
||||
"animationId": 161,
|
||||
"description": "A phantom soul sword imbued with the moon's magic shining in the dark\nnight. Attack +20 Defense +10 M. Attack +29 Max HP +50 Element:\nSlash/Light/Dark Accuracy: 97%",
|
||||
"description": "A phantom soul sword imbued with the moon's magic shining in the dark night. Attack +20\nDefense +10 M. Attack +29 Max HP +50 Element: Slash/Light/Dark Accuracy: 97%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -1828,7 +1828,7 @@
|
|||
{
|
||||
"id": 16,
|
||||
"animationId": 161,
|
||||
"description": "A phantom soul sword clad in moonlight, slicing through darkness.\nAttack +43 Defense +18 M. Attack +53 Max HP +100 Element:\nSlash/Light/Dark Accuracy: 97%",
|
||||
"description": "A phantom soul sword clad in moonlight, slicing through darkness. Attack +43 Defense +18\nM. Attack +53 Max HP +100 Element: Slash/Light/Dark Accuracy: 97%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -1996,7 +1996,7 @@
|
|||
{
|
||||
"id": 17,
|
||||
"animationId": 11,
|
||||
"description": "A phantom soul sword that pierces foes with dazzling flashes of light.\nAttack +9 M. Attack +13 Luck +9 Max HP +30 Element: Slash/Light\nAccuracy: 94%",
|
||||
"description": "A phantom soul sword that pierces foes with dazzling flashes of light. Attack +9 M. Attack\n+13 Luck +9 Max HP +30 Element: Slash/Light Accuracy: 94%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -2089,7 +2089,7 @@
|
|||
{
|
||||
"id": 18,
|
||||
"animationId": 11,
|
||||
"description": "A thrusting phantom soul sword shaped like a white teardrop flower.\nAttack +18 M. Attack +29 Luck +16 Max MP +45 Element: Slash/Light\nAccuracy: 95%",
|
||||
"description": "A thrusting phantom soul sword shaped like a white teardrop flower. Attack +18 M. Attack\n+29 Luck +16 Max MP +45 Element: Slash/Light Accuracy: 95%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -2212,7 +2212,7 @@
|
|||
{
|
||||
"id": 19,
|
||||
"animationId": 11,
|
||||
"description": "A phantom soul sword adorned with falling stardust flowers. Attack +36\nM. Attack +50 Luck +24 Max MP +60 Element: Slash/Light Accuracy: 95%",
|
||||
"description": "A phantom soul sword adorned with falling stardust flowers. Attack +36 M. Attack +50 Luck\n+24 Max MP +60 Element: Slash/Light Accuracy: 95%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -2370,7 +2370,7 @@
|
|||
{
|
||||
"id": 20,
|
||||
"animationId": 7,
|
||||
"description": "A phantom soul sword hardened and strengthened by condensed light.\nAttack +30 M. Attack +25 Luck +13 Max MP +40 Element: Slash Accuracy:\n96%",
|
||||
"description": "A phantom soul sword hardened and strengthened by condensed light. Attack +30 M. Attack\n+25 Luck +13 Max MP +40 Element: Slash Accuracy: 96%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -2498,7 +2498,7 @@
|
|||
{
|
||||
"id": 21,
|
||||
"animationId": 7,
|
||||
"description": "A phantom soul sword that circulates light mana through its blade,\nturning it into power. Attack +53 M. Attack +34 Luck +20 Max MP +50\nElement: Slash Accuracy: 96%",
|
||||
"description": "A phantom soul sword that circulates light mana through its blade, turning it into power.\nAttack +53 M. Attack +34 Luck +20 Max MP +50 Element: Slash Accuracy: 96%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -3138,7 +3138,7 @@
|
|||
{
|
||||
"id": 36,
|
||||
"animationId": 7,
|
||||
"description": "An ordinary, common sword. Easy for women to handle as well. Attack +5\nElement: Slash Accuracy: 95%",
|
||||
"description": "An ordinary, common sword. Easy for women to handle as well. Attack +5 Element: Slash\nAccuracy: 95%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -3270,7 +3270,7 @@
|
|||
{
|
||||
"id": 40,
|
||||
"animationId": 7,
|
||||
"description": "A sword bearing the name of freedom. Blessed by the elves. Attack +40\nElement: Slash Accuracy: 100%",
|
||||
"description": "A sword bearing the name of freedom. Blessed by the elves. Attack +40 Element: Slash\nAccuracy: 100%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
@ -3364,7 +3364,7 @@
|
|||
{
|
||||
"id": 43,
|
||||
"animationId": 7,
|
||||
"description": "A magic sword named after stardust. Attack +70 M. Attack +30\nDefense/M. Defense/Agility +10 Element: Slash Accuracy: 100%",
|
||||
"description": "A magic sword named after stardust. Attack +70 M. Attack +30 Defense/M. Defense/Agility\n+10 Element: Slash Accuracy: 100%",
|
||||
"etypeId": 1,
|
||||
"traits": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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 = 20
|
||||
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, '\\');
|
||||
|
|
@ -1502,7 +1518,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