1. # Arat
  2. onPressKeyDict[app.DIK_W] = lambda : self.MoveUp()
  3. onPressKeyDict[app.DIK_S] = lambda : self.MoveDown()
  4. onPressKeyDict[app.DIK_A] = lambda : self.MoveLeft()
  5. onPressKeyDict[app.DIK_D] = lambda : self.MoveRight()
  6. # Ekle
  7. if app.WJ_SPLIT_INVENTORY_SYSTEM:
  8. onPressKeyDict[app.DIK_K] = lambda : self.__PressExtendedInventory()
  9. # Arat
  10. elif player.SLOT_TYPE_DRAGON_SOUL_INVENTORY == dropType:
  11. # PRIVATESHOP_DISABLE_ITEM_DROP
  12. self.__SendDropItemPacket(dropNumber, dropCount, player.DRAGON_SOUL_INVENTORY)
  13. # END_OF_PRIVATESHOP_DISABLE_ITEM_DROP
  14. # Ekle
  15. elif app.WJ_SPLIT_INVENTORY_SYSTEM:
  16. if player.SLOT_TYPE_SKILL_BOOK_INVENTORY == dropType
  17. or player.SLOT_TYPE_UPGRADE_ITEMS_INVENTORY == dropType
  18. or player.SLOT_TYPE_STONE_INVENTORY == dropType
  19. or player.SLOT_TYPE_BOX_INVENTORY == dropType
  20. or player.SLOT_TYPE_EFSUN_INVENTORY == dropType
  21. or player.SLOT_TYPE_CICEK_INVENTORY == dropType:
  22. self.__SendDropItemPacket(dropNumber, dropCount, player.SLOT_TYPE_SKILL_BOOK_INVENTORY or player.SLOT_TYPE_UPGRADE_ITEMS_INVENTORY or player.SLOT_TYPE_STONE_INVENTORY or player.SLOT_TYPE_BOX_INVENTORY or player.SLOT_TYPE_EFSUN_INVENTORY or player.SLOT_TYPE_CICEK_INVENTORY)
  23. # En sona ekle
  24. if app.WJ_SPLIT_INVENTORY_SYSTEM:
  25. def __PressExtendedInventory(self):
  26. if translate.karakter != str(player.GetName()) or translate.karakterkilit != 1:
  27. self.interface.AskParola()
  28. return
  29. if self.interface:
  30. self.interface.ToggleExtendedInventoryWindow()
  31. # Arat
  32. ## Inventory
  33. elif player.SLOT_TYPE_INVENTORY == attachedType:
  34. # Değiştir
  35. ## Inventory
  36. #elif player.SLOT_TYPE_INVENTORY == attachedType:
  37. #elif player.SLOT_TYPE_INVENTORY == attachedType or player.SLOT_TYPE_SKILL_BOOK_INVENTORY == attachedType or player.SLOT_TYPE_UPGRADE_ITEMS_INVENTORY == attachedType or player.SLOT_TYPE_STONE_INVENTORY == attachedType:
  38. elif player.SLOT_TYPE_INVENTORY == attachedType or player.SLOT_TYPE_SKILL_BOOK_INVENTORY == attachedType or player.SLOT_TYPE_UPGRADE_ITEMS_INVENTORY == attachedType or player.SLOT_TYPE_STONE_INVENTORY == attachedType or player.SLOT_TYPE_BOX_INVENTORY == attachedType or player.SLOT_TYPE_EFSUN_INVENTORY == attachedType or player.SLOT_TYPE_CICEK_INVENTORY == attachedType:
  39. # Arat __PutItem(self, attachedType, İçinde
  40. if player.SLOT_TYPE_INVENTORY == attachedType or player.SLOT_TYPE_DRAGON_SOUL_INVENTORY == attachedType:
  41. # Değiştir
  42. #if player.SLOT_TYPE_INVENTORY == attachedType or player.SLOT_TYPE_DRAGON_SOUL_INVENTORY == attachedType:
  43. #if player.SLOT_TYPE_INVENTORY == attachedType or player.SLOT_TYPE_DRAGON_SOUL_INVENTORY == attachedType or player.SLOT_TYPE_SKILL_BOOK_INVENTORY == attachedType or player.SLOT_TYPE_UPGRADE_ITEMS_INVENTORY == attachedType or player.SLOT_TYPE_STONE_INVENTORY == attachedType:
  44. if player.SLOT_TYPE_INVENTORY == attachedType or player.SLOT_TYPE_DRAGON_SOUL_INVENTORY == attachedType or player.SLOT_TYPE_SKILL_BOOK_INVENTORY == attachedType or player.SLOT_TYPE_UPGRADE_ITEMS_INVENTORY == attachedType or player.SLOT_TYPE_STONE_INVENTORY == attachedType or player.SLOT_TYPE_BOX_INVENTORY == attachedType or player.SLOT_TYPE_EFSUN_INVENTORY == attachedType or player.SLOT_TYPE_CICEK_INVENTORY == attachedType:
  45. # Arat
  46. if player.SLOT_TYPE_INVENTORY == attachedType:
  47. # Değiştir
  48. #if player.SLOT_TYPE_INVENTORY == attachedType:
  49. #if player.SLOT_TYPE_INVENTORY == attachedType or player.SLOT_TYPE_SKILL_BOOK_INVENTORY == attachedType or player.SLOT_TYPE_UPGRADE_ITEMS_INVENTORY == attachedType or player.SLOT_TYPE_STONE_INVENTORY == attachedType:
  50. if player.SLOT_TYPE_INVENTORY == attachedType or player.SLOT_TYPE_SKILL_BOOK_INVENTORY == attachedType or player.SLOT_TYPE_UPGRADE_ITEMS_INVENTORY == attachedType or player.SLOT_TYPE_STONE_INVENTORY == attachedType or player.SLOT_TYPE_BOX_INVENTORY == attachedType or player.SLOT_TYPE_EFSUN_INVENTORY == attachedType or player.SLOT_TYPE_CICEK_INVENTORY == attachedType:
  51. # Arat def RequestDropItem(self, answer): İçinde
  52. if player.SLOT_TYPE_INVENTORY == dropType:
  53. # Değiştir
  54. #if player.SLOT_TYPE_INVENTORY == dropType:
  55. #if player.SLOT_TYPE_INVENTORY == dropType or player.SLOT_TYPE_SKILL_BOOK_INVENTORY == dropType or player.SLOT_TYPE_UPGRADE_ITEMS_INVENTORY == dropType or player.SLOT_TYPE_STONE_INVENTORY == dropType:
  56. if player.SLOT_TYPE_INVENTORY == dropType or player.SLOT_TYPE_SKILL_BOOK_INVENTORY == dropType or player.SLOT_TYPE_UPGRADE_ITEMS_INVENTORY == dropType or player.SLOT_TYPE_STONE_INVENTORY == dropType or player.SLOT_TYPE_BOX_INVENTORY == dropType or player.SLOT_TYPE_EFSUN_INVENTORY == dropType or player.SLOT_TYPE_CICEK_INVENTORY == dropType:

eklenecek olan