SHOW:
|
|
- or go back to the newest paste.
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 | } |