Advertisement
stigs

Untitled

Oct 26th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. [ScriptEntry(Entry = 130032)]
  2. public static void WestGeneral(Player player, byte option) //1352 670 468
  3. {
  4. switch (option)
  5. {
  6. case 0:
  7. {
  8. Dialog.SendDialog(player, "If you have a EarthToken, I can teleport you to the third level of the labyrinth. ");
  9. Dialog.SendDialog(player, "Also, if you'd like to go back to TwinCity I can send you free of charge.");
  10. Dialog.SendOption(player, "I'd like to advance into the labyrinth.", 1);
  11. Dialog.SendOption(player, "I'd like to go back to TwinCity.", 2);
  12. Dialog.SendOption(player, "Just passing by.", 255);
  13. Dialog.Finish(player);
  14. break;
  15. }
  16. case 1:
  17. {
  18. if (player.Inventory.ContainsById(721538, out tokenAmount) || tokenAmount < 1)
  19. {
  20. Dialog.SendDialog(player, "You don't have a EarthToken.");
  21. Dialog.SendOption(player, "Oh.", 255);
  22. Dialog.Finish(player);
  23. break;
  24. }
  25.  
  26. player.Inventory.RemoveByCount(721538, 1); //EarthToken
  27. player.Teleport(1352, 106, 110);
  28. break;
  29. }
  30. case 2:
  31. {
  32. player.Teleport(1002, 431, 379);
  33. break;
  34. }
  35.  
  36. }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement