Script to add a space before every item/weapon/equip name automatically? (Picture)

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
232
Reaction score
85
First Language
english
Primarily Uses
N/A
So long story short, I'm trying to figure out how to get a space before every item in my game automatically. I think the text is basically touching the icons and want some distance. Either a script to automatically put a space before the word or a way to move the text over would be greatly appreciated.

I tried changing the "x + 24" in "draw_text(x + 24, y, width, line_height, item.name)" in "Window_Base" under "Draw Item Name" to something higher but got no change.
 

Attachments

J-G

Veteran
Member
Joined
Oct 4, 2019
Messages
606
Reaction score
143
First Language
English
Primarily Uses
RMMV
I think you have to add padding between the icon and text drawing. I'm not good with code but I've seen it done in that way.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
Please show how you changed the x + 24 (screenshot, don't type it, as you may have made a typo in your code but not reproduce it when retyping here). Unless you did something really unusual, that SHOULD work.

The other thing that might make it not work is if you have added a script that overwrites that method. Have you added any scripts? If you do a global search (control + shift + f) for def draw_item_name how many results does it give you?
 

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
232
Reaction score
85
First Language
english
Primarily Uses
N/A
Please show how you changed the x + 24 (screenshot, don't type it, as you may have made a typo in your code but not reproduce it when retyping here). Unless you did something really unusual, that SHOULD work.

The other thing that might make it not work is if you have added a script that overwrites that method. Have you added any scripts? If you do a global search (control + shift + f) for def draw_item_name how many results does it give you?
Wow, thank you so much. Dunno why I didn't think about doing that in the first place. Had a brainfart I guess.
Only two results, one being the Window_Base, the other being Himes Item Rarity script. I changed it in Himes script and it solved the issue. Thanks so much!
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,018
Messages
1,018,358
Members
137,803
Latest member
andrewcole
Top