Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Item menu mod : No amounts !

Greetings everyone ! =)

- REQUEST UPDATED -

When the regular item menu is shown, I would like the colon and the number of items to be invisible ! (Because there is only one item of each kind in my game....)

Voila ! I really hope somebody will be kind enough to help a lost soul... Thank you for reading.

Regards.

PS : Excuse me if my language sounds "strange" but I'm French...
 
Moreover, if there could be a switch called MENU allowing to easily grant/deny the use of the menu, it would be wonderful...
I know XP had the command option in the event window to grant / deny access, maybe VX includes such option, too. So I don't see why you'd need a switch at all.
 
I asked that because VX does not include that option ! Or I didn't find it...

Anyway, if ESC is the key used to access to the Menu, I could make a Parallel Process (activated with the switch MENU I was speaking earlier) with a Conditional Branch like "if ESC key is pressed -> Do nothing" but I would prefer a SCRIPT for that. That's all.

But this is not my main issue right now. The Menu itself is. ^^
 

dricc

Member

Well , it doesn't seems difficult . Just one line to comment .


#==============================================================================
# ** Window_Item
#------------------------------------------------------------------------------
# This window displays a list of inventory items for the item screen, etc.
#==============================================================================

class Window_Item < Window_Selectable
#--------------------------------------------------------------------------
# * Draw Item
# index : item number
#--------------------------------------------------------------------------
def draw_item(index)
rect = item_rect(index)
self.contents.clear_rect(rect)
item = @data[index]
if item != nil
number = $game_party.item_number(item)
enabled = enable?(item)
rect.width -= 4
draw_item_name(item, rect.x, rect.y, enabled)
# self.contents.draw_text(rect, sprintf(":%2d", number), 2)
end
end
end

J'ai testé , ça marche !!! (ben oui , entre français , on va pas se parler anglais :) )
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top