Small change to item menu display

Status
Not open for further replies.

Ivan_the_Terrible

Devil Hunter
Member
Joined
Mar 20, 2018
Messages
25
Reaction score
3
First Language
English
Primarily Uses
RMVXA
Greetings, fellow bipeds!

I started a different project to try some other things, and one of the things I figured out was how to use a different font in the game. It looks great, but with one small problem.

In the Item Menu, whenever it shows the number of items you have, it has a big empty rectangle next to the number (where it would normally show a colon or an X). So clearly there is an issue with it not being able to draw a colon with the font I'm using. (Not that I have any idea why, since you can type a colon in this font in, say, Word.) Rather than change fonts, though, could I alter the script somehow so that it just shows the item and a number without using a colon, X or any other symbol? Is that even possible to do? Thanks in advance!
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,592
Reaction score
6,522
First Language
Indonesian
Primarily Uses
RMVXA
You can try to look at yourself. Window_ItemList > Line 101
There is a string ":%2d", you might want to remove the colon and make it only "%2d"
 

Ivan_the_Terrible

Devil Hunter
Member
Joined
Mar 20, 2018
Messages
25
Reaction score
3
First Language
English
Primarily Uses
RMVXA
You can try to look at yourself. Window_ItemList > Line 101
There is a string ":%2d", you might want to remove the colon and make it only "%2d"
Thank you for replying, but I already tried that and it didn't change anything. The rectangle still appeared.
 

JGreene

Veteran
Veteran
Joined
Oct 24, 2015
Messages
395
Reaction score
297
First Language
English
Primarily Uses
RMMV
Change the colon to a space, if you don't want anything to display.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,592
Reaction score
6,522
First Language
Indonesian
Primarily Uses
RMVXA
If you're using Yanfly Core Engine, look at the config,
Code:
ITEM_AMOUNT = "×%s"  # The prefix used for item amounts.
You change the item amount here, leave it only %s
Other than that idk, why not upload the screenshot here?
 

JGreene

Veteran
Veteran
Joined
Oct 24, 2015
Messages
395
Reaction score
297
First Language
English
Primarily Uses
RMMV
Code:
ITEM_AMOUNT = "×%s"  # The prefix used for item amounts.
You change the item amount here, leave it only %s
And that works, too. I had only tested it on a blank project. :p
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,842
Reaction score
5,225
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top