Python error SHOW CHEST DROP
this code uispecialstorage.py
Code
- if app.ENABLE_SHOW_CHEST_DROP:
- chestSlot = self.__InventoryLocalSlotPosToGlobalSlotPos(slotIndex)
- itemVnum = player.GetItemIndex(self.SLOT_WINDOW_TYPE[self.categoryPageIndex]["window"], chestSlot)
- item.SelectItem(itemVnum)
- #if app.IsPressed(app.DIK_LCONTROL) and player.GetItemTypeBySlot(self.SLOT_WINDOW_TYPE[self.categoryPageIndex]["window"], chestSlot) == item.ITEM_TYPE_GIFTBOX:
- if player.GetItemTypeBySlot(self.SLOT_WINDOW_TYPE[self.categoryPageIndex]["window"], chestSlot) == item.ITEM_TYPE_GIFTBOX:
- if self.interface:
- self.interface.OpenChestDropInfo(self.SLOT_WINDOW_TYPE[self.categoryPageIndex]["window"], chestSlot)
- return