private void itemAction(int slot, String act) {
        if (slot < 0)
            slot = 0;
        if (slot > 15)
            slot = 15;
        Coord c = new Coord(0, 0);
        if (UI.instance.equip.equed != null)
            if (UI.instance.equip.equed.get(slot) != null) {
                if (act.equals("itemact")) {
                    UI.instance.equip.wdgmsg("itemact", slot);
                } else
                    UI.instance.equip.wdgmsg(act, slot, c);
            }
    }