Draw all Items,Weapons and Armor on a Window?

Hello Community,

I have a window and would like to display the weapons, items and armor that the player owns in this Window.

I use the Command for the VX Ace:

def draw_item(item)
rect = item_rect_for_text(item)
item = command_name(item)
draw_item_name(item, rect.x, rect.y, true)
draw_text(rect.x, rect.y, contents_width / 2 - 30, line_height, $game_party.item_number(item), 2)
end
This should actually be displayed all the items, weapons and armor, or? It also works just shows me the items on without armor and weapons.

Please help me 😀 Iàm New YAHH!
Are you wanting to learn how to do it yourself or asking for someone else to do it for you? If you are asking for someone else to do it, this needs to be moved to Script Requests. Thanks.
Hello mlogan,

i wanting this to learn but i have no ideas what i make it wrong.
I would like to learn the code at the same time if someone can give me help.

I have no Ideas..why no arms and armor are displayed in the window?

~Jaikee

#BIG EDIT:
I have found the Error. I make a Command List:

def make_command_list
items = $game_party.weapons
items.each {|i| add_command(i, i) }
end

If i make " items = $game_party.weapons" then draw me all Weapons in the Inventory.
It was a Fail from me -.-.
But we can i make Draw all Items to the Window, when i Coding:


def make_command_list
items = $game_party.weapons
items = $game_party.items
items.each {|i| add_command(i, i) }
end

then it Shows again the Items nothing Armor and Weapons...what i make wrong? =( Pls Help, it will Learning.
I'm not super familiar with VXAce, but if
If i make " items = $game_party.weapons" then draw me all Weapons in the Inventory.
then you can try combining all of those by doing this:

items = $game_party.weapons + $game_party.items + $game_party.armors
Hi MobiusXVI,

are you Crazy?
items = $game_party.weapons + $game_party.items + $game_party.armors

That was so RIGHT! BINGO! THANK YOU!
I had all ways tried so much but this never oh man... it was so simple 😀

~Jaikee

Original thread: https://forums.rpgmakerweb.com/threads/draw-all-items-weapons-and-armor-on-a-window.78519/