Advertisement
Guest User

Untitled

a guest
Mar 18th, 2014
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.rs.game.player.dialogues;
  2.  
  3. import com.rs.game.player.Player;
  4.  
  5.  
  6. if (player.getInventory().containsItem(562, 25) {
  7. sendEntityDialogue(9777, 9827, "Well done, I shall reward you with this gift. Please take good care of it."):
  8. player.getInventory().deleteItem(562, 25);
  9. player.getInventory().addItem(4151, 1);
  10. } else {
  11. sendEntityDialogue(9777, 9827, "I'm sorry but you've not collected enough bones. Please hurry, I need them as soon as possible!");
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement