// Shortcuts
newChar.registerShortCut(new L2ShortCut(0, 0, 3, 2, -1, 1)); // Attack
newChar.registerShortCut(new L2ShortCut(3, 0, 3, 5, -1, 1)); // Take
newChar.registerShortCut(new L2ShortCut(10, 0, 3, 0, -1, 1)); // Sit
ItemTable itemTable = ItemTable.getInstance();
L2Item[] items = template.getItems();
for (L2Item item2 : items)
{
L2ItemInstance item = newChar.getInventory().addItem("Init", item2.getItemId(), 1, newChar, null);