Guest User

Untitled

a guest
Mar 13th, 2016
2,404
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. case "Yoba":
  2. if (who.getToolFromName("Wand") == null || ((Wand) who.getToolFromName("Wand")).charged)
  3. {
  4. Game1.drawObjectDialogue("Altar of Yoba");
  5. break;
  6. }
  7. ((Wand) who.getToolFromName("Wand")).charged = true;
  8. who.getToolFromName("Wand").description = "Teleports you to your farm.";
  9. Game1.screenGlowOnce(Color.Yellow, false, 0.005f, 0.3f);
  10. Game1.drawObjectDialogue(Game1.parseText("The wand draws mystical energy from the altar of Yoba. You can now use it to teleport back to your farm!"));
  11. Game1.playSound("wand");
Advertisement
Add Comment
Please, Sign In to add comment