Original Source
- Original title: Display "Current / Max" Item Count on Item screen.
- Original author: Blue001
- Original date: August 23, 2014
- Source thread: https://forums.rpgmakerweb.com/threads/display-current-max-item-count-on-item-screen.31344/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support
Summary
Hello forum. While normally it is used to increase item limits pas 99, I am using "Yanfly Engine Ace - Adjust Limits v1.00" in an interesting way. I am using it to limit the use of every item carried on a per item basis down to lower numbers. So my party can only carry 10 potions, and 5 Hi-potions. etc. However, I do not want to have to manually list the maximum number you can carry of these items in the HELP text, as that box is already limited on...
Archived First Post
While normally it is used to increase item limits pas 99, I am using "Yanfly Engine Ace - Adjust Limits v1.00" in an interesting way. I am using it to limit the use of every item carried on a per item basis down to lower numbers.
So my party can only carry 10 potions, and 5 Hi-potions. etc.
However, I do not want to have to manually list the maximum number you can carry of these items in the HELP text, as that box is already limited on space as it is.
Is there a way to change the text listing of an item... which currently look like this in the item list...
___________
potion x5
to instead display
____________
potion 5/5
where the first number is current count and the second is the max imposed by Yanflys limit notetag?
I found where the text is drawn by the base Window_ItemList...
#--------------------------------------------------------------------------
# * Draw Number of Items
#--------------------------------------------------------------------------
def draw_item_number(rect, item)
draw_text(rect, sprintf(":%2d", $game_party.item_number(item)), 2)
end
What do I have to write in a script to override the default and add the /max info?
Thanks!
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...