Change content Status Menu

● ARCHIVED · READ-ONLY
Started by ThomasHarris 3 posts View original ↗
  1. Hi everyone, I've been looking for this option within scripts or any other way to be achieved but I'm unable to find it, what I'm trying to do is to replace the Equipment that show up in the Status Menu for the characters to show instead some KeyItems, this is what I've tried:

    Within Draw Block3 I had:

     #--------------------------------------------------------------------------

      # * Draw Block 3

      #--------------------------------------------------------------------------

      def draw_block3(y)

        draw_parameters(32, y)

        draw_item(288,y)

      end

     

    But it gave me errors so I had to change it to:

     

     #--------------------------------------------------------------------------

      # * Draw Block 3

      #--------------------------------------------------------------------------

      def draw_block3(y)

        draw_parameters(32, y)

        draw_item(288)

      end


    Once this is done I keep getting errors when trying to draw the items(I'm trying this first then I'll try the Key Items)

    #--------------------------------------------------------------------------

      # * Draw Item

      #--------------------------------------------------------------------------

      def draw_item(index)

        item = @data[index]

           if item

          rect = item_rect(index)

          rect.width -= 4

          draw_item_name(item, rect.x, rect.y, enable?(item))

          draw_item_number(rect, item)

        end

      end

     

     

    The error now becomes: undefined method '[]' for nil:NilClass, I'm not sure of what I'm doing wrong or if anyone can tell me how to show up just a few KeyItems there instead of the Equipments.

     

    Regards,
  2. Try renaming your draw item method. This is a default definition to draw database items and the draw item Mame def uses it.
  3. Not sure if done it wrong or it didn't fix it. I also need it to only show 8 different KeyItems, not all of the KeyItems