Skip to content

items

Opens the gump to look item templates up: you type a part of a name or of an id, or a graphic number, and it lists the matches with their picture, to give them to yourself or to put them at your feet.

Syntax Console In game Minimum level Role
items [text] No Yes GameMaster Game
.items
.items gold coin

In game only. Without a text the gump opens with an empty search box; with one it opens already searched, the words after the command being the text.

Type a part of a name or of an id, or a graphic number (3821 or 0xEED), and press Search. The match is a part of the name or of the template id, without regard to case, and the templates of the graphic when the text is a number; the list is sorted by id. It shows five matches to a page, each with the picture of the item, its name and its template id, and keeps the first 40; when there are more the title says so (Items: the first 40, type more to narrow it.):

gold coin
gold_coin

1 / 3 and the arrows under the list turn the pages. A very large picture can run into the row below it or into the text.

Beside each match are two buttons. Give puts the item in your backpack, as item.give does; Here makes it on the ground where you stand. You read Gave gold coin (gold_coin)., Put gold coin (gold_coin) at 1500, 1600., or Could not give gold coin (gold_coin). and Could not put gold coin (gold_coin). when it cannot be made, and the list opens again on the same page for the next one. A button of the gump does nothing for one who has lost the rank since it was opened.

The gump is templates/gumps/items.xml and its script scripts/gumps/items.lua, which are yours to change.

Made with ❤️ by Tom

Buy me a coffee