RMMV Is there a way to remove "x" near the quantity number?

MS_MANGO

Villager
Member
Joined
Sep 27, 2023
Messages
13
Reaction score
2
First Language
English
Primarily Uses
RMMV
It's a small thing, but it'll be nice if I can put at least a space between that "x" and the quantity (doesn't look good with my font). I tried looking for it myself but couldn't find it :kaoslp:

1696346427064.png
(Screenshot from the item menu)

I'm using:
Yanfly's Core Engine + Yanfly's Item Core
RPG Maker MV 1.6.2
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
12,520
Reaction score
10,960
First Language
English
Primarily Uses
RMMV
It would be more helpful if you said exactly what screen this is referring to or showed a less cropped screenshot :wink:

By default, the items in the menu don't have that vertically-centered x, so that looks like something you've already modified.

1696348261744.png

That's defined in Window_ItemList.prototype.drawItemNumber - but I couldn't tell you which plugin you're using to make it look like that, or if you're using HUD Maker or Graphical Design Mode or whatever.
 

AquaEcho

Script Kitty
Regular
Joined
Sep 20, 2021
Messages
2,226
Reaction score
1,643
First Language
English
Primarily Uses
RMMV
HUD Maker or Graphical Design Mode
I don't think either HUDMaker or GDM changes the text to show x1. The OP said YEP Item Core but maybe there's another plugin not mentioned
 

Niniann

Regular
Regular
Joined
Feb 16, 2016
Messages
91
Reaction score
43
First Language
English
Primarily Uses
RMMZ
It is definitely the Yanfly Item Core / Core Engine creating the quantity format.

I don't use MV, but in MZ with the VisuStella Item Core / Core engine, what you're referring to with the x1 can be edited by going into the javascript settings and tweaking the distances between elements.

It is a bit complex, but I would assume (perhaps wrongly) that the Yanfly MV plugins allow similar element repositioning to the Visustella MZ plugins.
 

MS_MANGO

Villager
Member
Joined
Sep 27, 2023
Messages
13
Reaction score
2
First Language
English
Primarily Uses
RMMV
It would be more helpful if you said exactly what screen this is referring to or showed a less cropped screenshot :wink:

By default, the items in the menu don't have that vertically-centered x, so that looks like something you've already modified.

View attachment 278854

That's defined in Window_ItemList.prototype.drawItemNumber - but I couldn't tell you which plugin you're using to make it look like that, or if you're using HUD Maker or Graphical Design Mode or whatever.

The screenshot is from the Item Menu (Item List). I did use SRD's SuperToolsEngine to modify the window's properties (but I don't remember touching this particular thing).

1696349071796.png

I was able to track "Window_ItemList.prototype.drawItemNumber", and it seems Yanfly's Core Engine swapped ":" with "x". But still, thanks! :kaoblush:
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
12,520
Reaction score
10,960
First Language
English
Primarily Uses
RMMV
It is definitely the Yanfly Item Core / Core Engine creating the quantity format.
You're right. It's neither of the Item plugins, it's the Core Engine using the Unicode for that floating multiplication symbol.

So you simply open up the Core Engine in a text editor, go to drawItemNumber, and add a space after that character.

It'll look like:
Code:
this.drawText('\u00d7 ' + numItems, x, y, width, 'right');
 

Latest Threads

Latest Profile Posts

"Do this task for me, and you will be allowed to eat your weight in gold as a reward".
Hmm. Like. I do art things. But, every time I try to make a logo I keep thinking about how awesome it would be if I was not doing it. That may go into the outsource pile. :kaothx:
I put lights up in my living room! And, a stego with hats ^-^
20231130_131859.jpg
Yo, anybody seen this yet?
At what stage are you?

87shj5.jpg

Forum statistics

Threads
136,627
Messages
1,268,124
Members
180,305
Latest member
Tony_Waters
Top