Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ScriptEntry(Entry = 130032)]
- public static void WestGeneral(Player player, byte option) //1352 670 468
- {
- switch (option)
- {
- case 0:
- {
- Dialog.SendDialog(player, "If you have a EarthToken, I can teleport you to the third level of the labyrinth. ");
- Dialog.SendDialog(player, "Also, if you'd like to go back to TwinCity I can send you free of charge.");
- Dialog.SendOption(player, "I'd like to advance into the labyrinth.", 1);
- Dialog.SendOption(player, "I'd like to go back to TwinCity.", 2);
- Dialog.SendOption(player, "Just passing by.", 255);
- Dialog.Finish(player);
- break;
- }
- case 1:
- {
- if (player.Inventory.ContainsById(721538, out tokenAmount) || tokenAmount < 1)
- {
- Dialog.SendDialog(player, "You don't have a EarthToken.");
- Dialog.SendOption(player, "Oh.", 255);
- Dialog.Finish(player);
- break;
- }
- player.Inventory.RemoveByCount(721538, 1); //EarthToken
- player.Teleport(1352, 106, 110);
- break;
- }
- case 2:
- {
- player.Teleport(1002, 431, 379);
- break;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement