Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. case 17:
  2. ItemLabelEvent itemLabel = player.getInventory().hasItem(Citem);
  3. if (itemLabel != null) {
  4. player.getDialogueInterpreter().sendDialogues(npc, FacialExpression.NORMAL, "You are about to chance a " + itemLabel.getName() + "!", "Are you sure you want to chance it?");
  5. stage = 3;
  6. return true;
  7. }
  8. player.getDialogueInterpreter().sendDialogues(npc, FacialExpression.GRUMPY, "Come back when you have something to gamble.");
  9. stage = 3;
  10. break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement