Web Posted November 5, 2018 at 10:25 PM Share Posted November 5, 2018 at 10:25 PM Open uiinventory.py and search: self.wndItem.RefreshSlot() if self.wndBelt: self.wndBelt.RefreshSlot() Add below: def RefreshNewSlotAcce(self): getAcceVnum=player.GetItemIndex illumina_slot_acce = item.COSTUME_SLOT_COUNT for acce_illumina in xrange(illumina_slot_acce): slot_Acce = item.COSTUME_SLOT_START + acce_illumina self.wndEquip.SetItemSlot(slot_Acce, getAcceVnum(slot_Acce), 0) self.wndEquip.RefreshSlot() Search: def Show(self): self.__LoadWindow() Add below: self.RefreshNewSlotAcce() Search: setItemVNum(slotNumber, getItemVNum(slotNumber), itemCount) getItemVNum=player.GetItemIndex Add below: illumina_slot_acce = item.COSTUME_SLOT_COUNT for acce_illumina in xrange(illumina_slot_acce): slot_Acce = item.COSTUME_SLOT_START + acce_illumina self.wndEquip.SetItemSlot(slot_Acce, getItemVNum(slot_Acce), 0) Now open inventorywindow.py and search: import item Add below: SLOT_ACCE_ILLUMINA = item.COSTUME_SLOT_START Search: "slot" : ( Add below: {"index":SLOT_ACCE_ILLUMINA+2, "x":80, "y":3, "width":32, "height":32}, # Slot Acce Illumina -> <- 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now