Lune Item Grid

Lune Item Grid


Introduction


This script will add the famous item Grid to your game, it features also shop grid


Portuguese user? Link Here


Features


The script allows gthe following


- Move items


- Discard Items


- Key Items(can't be discarted)


- Unequip items in case there is no space on the item grid


- Optional shop script


- Can be used with or withou images


- Grid Size and Item Size totally configurable


- All event commands can be used normally (gain, lose items)


Images


The Images are in portuguese, but the script HAS been translated to english

Spoiler
srPfvGX.png
Spoiler
drAa9ZX.png
Spoiler
8tjju9r.png

How to Use


Put it above main and configure the script as necessary


Script


Main Script


http://pastebin.com/raw.php?i=LrEFrjmW


Optional Shop Script


http://pastebin.com/raw.php?i=9xfMURS5


FAQ


Credit and Thanks


- Raizen
So like resident evil? Sweet!
More like Diablo/Titan Quest/etc. 😀

Nice script. Too bad I hate inventories with this system. 😛

There is no stack settings for potions and such items? That should be handy.
So like resident evil? Sweet!
Yeah kind of xD, thanks friend for the comment 🙂

More like Diablo/Titan Quest/etc. 😀


Nice script. Too bad I hate inventories with this system. 😛


There is no stack settings for potions and such items? That should be handy.
Yeah, I have 2 things to add here, one is stacking items... which will be pretty annoying to do, but hey thanks for the help xD
I wish this is compatible with your Lune Item Vault system that can be No_Weapon/No_Armor/No_Gold but for KeyItem and Item-Only dedicated customizable?? I really love this Grid System, only problem is that I can't find a good storage system compatible with this. I found an also cool Storage Box system made by Imp1, but withdrawing items from that storage system with the Lune Grid Inventory maxed out or unorganizedly out of space will only delete the withdrawn items.

Until I met your Lune Item Vault like from 2012 or 2013 just recently, oh bliss; Im new to VXAce that's why only now, but not sure if they are compatible. Can you please make them compatible please and switchable to item only-storage? Please...

The Vault needed not to requure to become a Grid, what I want is simple, I want the items to become secured, not withdrawable with a full Grid only to be wasted. I hope this aint much. Thanks.
So Resident Evil 4 Remake was just released, and I remembered that I made an addon for this script.

Lune Item Grid - Size Upgrade Addon

So this addon makes you can upgrade the inventory size after the game is started. And that's all I guess. Make sure that the new grid size is at least the same or larger than the previous one, or an error will happen.

Use the following script call to change the grid size:
Code:
$game_party.party_grid_upgrade(x,y)

I hope someone might find this addon useful. 😂
Thanks for the script, it's been really fun to play with! I'm coming across a slight bug where you can "use" items even if the occasion on the item is listed as "Only in Battle", and the item gets consumed. Where in the script do you think I could change that so it disallows you to use the item outside of fights?

EDIT: Never mind, I got it. Edit the use item and command use code to look something like this:

Ruby:
  #--------------------------------------------------------------------------
  # * Usando um item
  #--------------------------------------------------------------------------
  def use_item
    if item_usable?
      return
    end
    $game_party.item_grid_x = @item_window.current_col
    $game_party.item_grid_y = @item_window.current_row   
    super
    @item_used = true
    @item_window.dispose
    create_item_window
    $game_party.item_grid_x = $game_party.item_grid_y = -1
  end
  #--------------------------------------------------------------------------
  # * Comando de utilização
  #--------------------------------------------------------------------------
  def command_use
    @use_item.close
    if item.is_a?(RPG::Item) && item_usable?
      @old_index = @item_window.index
      determine_item
    else
      Sound.play_buzzer
      @item_window.activate
    end
  end

Original thread: https://forums.rpgmakerweb.com/threads/lune-item-grid.37399/