on rightclick: if tool of player is paper named "zwój naprawy": repair all items in player's inventory remove 1 paper named "zwój naprawy" if tool of player is paper named "zwój teleportacji": teleport player to location at 0, 0, 0 in world "world" remove 1 paper named "zwój teleportacji"